On 12/22/2017 12:35 PM, Rick Stevens wrote:
On 12/22/2017 09:24 AM, Temlakos wrote:
> On 12/22/2017 11:49 AM, Tom Horsley wrote:
>> On Fri, 22 Dec 2017 11:36:44 -0500
>> Temlakos wrote:
>>
>>> Anyone ever run into this? And how to fix it?
>> Virtually everything in fedora has separate *-devel packages
>> that contain the stuff you need to build code using those
>> libs (separate from just the libs needed to run already
>> built programs). For instance:
>>
>> openssl-devel-1.1.0g-1.fc27.x86_64
>> _______________________________________________
> OK. I went through several cycles of installing -devel packages. The
> configure script finally worked.
>
> But when I ran the make command, I got this output:
>
>> mkdir -p out
>> gcc -g -O2 -D_linux_ -D_REENTRANT -shared -Wl,-z,defs
>> -oout/libdriveio.so.0.full -I./libdriveio/inc
>> libdriveio/src/infolist.cpp libdriveio/src/scsihlp.cpp
>> libdriveio/src/srlist.cpp libdriveio/src/stdquery.cpp
>> libdriveio/src/tipclient.cpp libdriveio/src/tipcommon.cpp
>> libdriveio/src/tipserver.cpp libdriveio/src/drives/pioneer.cpp
>> libdriveio/src/drives/xboxhddvd.cpp \
>> -fPIC -Xlinker -dy -Xlinker
>> --version-script=libdriveio/src/libdriveio.vers \
>> -Xlinker -soname=libdriveio.so.0 -lc -lstdc++
>> gcc: error trying to exec 'cc1plus': execvp: No such file or directory
>> gcc: error trying to exec 'cc1plus': execvp: No such file or directory
>> gcc: error trying to exec 'cc1plus': execvp: No such file or directory
>> gcc: error trying to exec 'cc1plus': execvp: No such file or directory
>> gcc: error trying to exec 'cc1plus': execvp: No such file or directory
>> gcc: error trying to exec 'cc1plus': execvp: No such file or directory
>> gcc: error trying to exec 'cc1plus': execvp: No such file or directory
>> gcc: error trying to exec 'cc1plus': execvp: No such file or directory
>> gcc: error trying to exec 'cc1plus': execvp: No such file or directory
>> make: *** [Makefile:69: out/libdriveio.so.0.full] Error 1
> Now what?
Install gcc-c++. It's C++ you're trying to compile (as shown by the
".cpp" suffix).
You could also do "dnf whatprovides */cc1plus" to get a list of what
RPMs provide that program. You'll get a batch of them, but for native
compiles, just use "dnf install gcc-c++".
Happy Holidays!
Success.
Thank you all.
Temlakos