[SOLVED] Cannot build gcc package on current
by perseus12 from LinuxQuestions.org on (#5QZKC)
I'm feeling embaressed posting this however I'm in a bind.
when I try to build gcc using the Pat's build script I get:
configure: error: in `/usr/ports/tmp/build/gcc-build':
configure: error: C compiler cannot create executables
I have all disksets installed of current except e, f, kde, t, xap and xfce. Current is is recent as Tue Oct 19 01:10:06 UTC 2021
I did build and install some 3rd party software: gnucash, vlc, trinity amongst others, so gcc works!
I then tried to build ffmpeg and failed. Got error:
'g++: no such file'.
I reinstalled the gcc-g++ package which fixed this error.
Then on a whim i decided to build gcc package using Pat's SlackBuild script. This fails with the above error. I'm sure nothing wrong with Slackware or Pat's script but what may I have screwed up? Where should I start looking to solve this?
BTW: I have reinstalled all of 'd' diskset as I thought binutils may have been hosed somehow by my custom build scripts for 3rd party software.
TIA
when I try to build gcc using the Pat's build script I get:
configure: error: in `/usr/ports/tmp/build/gcc-build':
configure: error: C compiler cannot create executables
I have all disksets installed of current except e, f, kde, t, xap and xfce. Current is is recent as Tue Oct 19 01:10:06 UTC 2021
I did build and install some 3rd party software: gnucash, vlc, trinity amongst others, so gcc works!
I then tried to build ffmpeg and failed. Got error:
'g++: no such file'.
I reinstalled the gcc-g++ package which fixed this error.
Then on a whim i decided to build gcc package using Pat's SlackBuild script. This fails with the above error. I'm sure nothing wrong with Slackware or Pat's script but what may I have screwed up? Where should I start looking to solve this?
BTW: I have reinstalled all of 'd' diskset as I thought binutils may have been hosed somehow by my custom build scripts for 3rd party software.
TIA