Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
i installed the gcc 2.95.2 package from the
sunfreeware (setup_sfw_gcc_2952x.class)#java setup_sfw_gcc_2952x
#mv /usr/ucb/cc /usr/ucb/cc.dist
#ln -s /usr/local/bin/gcc usr/ucb/cc
#echo $PATH
/usr/local/bin:/usr/sbin:/usr/bin:.:/usr/ucb
#gcc hello.cpp -o hello
gcc: installation problem, cannot exec `as':
No such file or directoryhow can i do ah....
by the way, when i do
#echo $MANPATH
/usr/dt/man:/usr/man:/usr/openwin/share/man:/usr/local/man
#man man
No Manual entry for man."No ..." appears, whats wrong ?
thanks

Hey, out of interest, how much space on /var did gcc gobble up? I have like 59MB free on my /var and gcc screamed about it... looked at df -k in install and it'd eaten it all up!! Cancelled install after that.
I'm going to expand my /var partition via a concatenated volume (solstice) but it'd be nice to know about how much space I need for gcc...

thanks, but error message still appears
when i do:# export PATH=$PATH:/usr/ucb/bin
# gcc hello.cpp
gcc: installation problem, cannot exec `as': No such file or directory
and i have enough space in /var# df -k | grep var
/dev/dsk/c0d1s3 246463 21526 200291 10% /var
swap 339156 0 339156 0% /var/run
so how can i do then .....

"as" is part of the SUNWsprot package. Make sure it's installed.
pkginfo|grep SUNWsprot
or
find / -name as

I got exactly the same error when I installed
RedHat 7.2 on a small partion of my PC. I think that I missed some rpms for 'as'.
Can anyone help me to identify which rpm
contains 'as'?

I had the same problem on above message but all the info the above ask is my server has. Can anyone help me this kind of error.
gccusr@statman: make
gcc -I/usr/local/include -c sdefdcom.c -o sdefdcom.o
gcc: installation problem, cannot exec as: No such file or directory
gmake: *** Error 1This will happen on solaris 8 environment.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |