Hi all
I'm trying to install sudo. When I first ran the sudo configure script it errored saying that I didn't have a C compiler. I have since installed the GCC 3.4.6 package for sol8 from sun freeware.
Doing that resolved the no C complier found error. I was then getting an error saying "gcc: installation problem, cannot exec `as': No such file or directory"
I installed
GNU binutils and this solved the "as" problem. Now when I run the sudo configure script I'm getting the following error:
configure: error: C compiler cannot create executables
when I look in the config.log file I see the following:
ld: fatal: file values-Xa.o: open failed: No such file or directory
ld: fatal: File processing errors. No output written to a.out
I can see the following in the config.log file which I don't think is helping
Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77
my "as" is in usr/local/bin (which is in my PATH) but if I do a whereis ld is see the following:
ld: /usr/ccs/bin/ld /usr/lib/ld /usr/lib/ld.so /usr/ucb/ld /usr/local/bin/ld
Any help on why I'm getting that ld error would be greatly appreciated. Could it be some kind of conflict as I seem to have multiple occurences of ld?
Many Thanks!!!