View previous topic :: View next topic |
Author |
Message |
elomire678 n00b
Joined: 13 Apr 2002 Posts: 3
|
Posted: Sat Apr 27, 2002 9:34 pm Post subject: C++ problems, emerge libsigc++ fails |
|
|
I'm pretty sure that programs that used c++ would compile before, but lately they've been coming up with errors in config.. I have unmerged some packages before, but none that should take away c++. err.. help? I'm figuring that I'd have to remerge the package that gives me c++ but I'm not sure which one that is.. glibc and gcc?
checking for c++... c++
checking whether the C++ compiler (c++ -march=i686 -O3 -pipe ) works... no
configure: error: installation or configuration problem: C++ compiler cannot create executables. |
|
Back to top |
|
|
celtic_hack n00b
Joined: 19 Apr 2002 Posts: 20 Location: Liberty, MO
|
Posted: Sun Apr 28, 2002 3:41 am Post subject: Re: C++ problems, emerge libsigc++ fails |
|
|
elomire678 wrote: | I'm pretty sure that programs that used c++ would compile before, but lately they've been coming up with errors in config.. I have unmerged some packages before, but none that should take away c++. err.. help? I'm figuring that I'd have to remerge the package that gives me c++ but I'm not sure which one that is.. glibc and gcc?
checking for c++... c++
checking whether the C++ compiler (c++ -march=i686 -O3 -pipe ) works... no
configure: error: installation or configuration problem: C++ compiler cannot create executables. |
I have had to re-emerge the gcc twice now. It seems the default behavior is to compile only the c compiler, and neither c++ nor fortran. Fortran is of course required for gimp and c++ for X. Also the dependency for X and gimp don't precheck for f77 or c++ compilers. So some work probably needs to be done there. I had to modify the gcc ebuild file to include c++ and f77 in the enable-languages option line.
HTH, _________________ Celt
One OS to rule them all ... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|