On Wednesday 17 July 2002 12:15, Quinn, Richard C. - Collinsville IT wrote: >Hi, > > >I am trying to compile amanda vers 2.4.3b2 on my solaris 2.6 > box. > >I am getting an error regarding the C Compiler not being able to > create executables. > >I did a google search on the particular error and saw postings > relating to the absence of 'ar' and 'ld', both of which are > present on my box. > >Anyways: > >I run my configure command: > > ./configure --with-user=amanda --with-group=backup >--prefix=/usr/local/amanda --exec-prefix=/usr/local/amanda > >checking build system type... sparc-sun-solaris2.6 >............ >............. >checking for gcc... /usr/local/bin/gcc >checking for C compiler default output... configure: error: C > compiler cannot create executables > > >I am running gcc version 2.95.3 20010315 (release) > >ld and ar are both under /usr/local/bin, which is listed first in > $PATH. > >Going off of what config.log told me, there is an if statement in > the configure script that didn't get executed. >Before I dig any deeper into the configure script, I want to find > out if this is something more obvious that I could easily fix. > > >Any ideas? > I've been watching this go by for a couple of days now, and it sure looks to me as if something in the gcc package group is missing from your system. Packed up into rpms for linux, its about 6 packages all told, so you might want to see if you've got the solaris equ to the gcc group and libstdc all in the same versions, and modutils, binutils of late release but not the same version number family as gcc. They should track, but don't, and it can be confusing to the initiate.
> >Thanks, > > >Rich Quinn -- Cheers, Gene AMD K6-III@500mhz 320M Athlon1600XP@1400mhz 512M 99.07% setiathome rank, not too shabby for a WV hillbilly
