Computing.Net > Forums > Solaris > gcc runtime problem, help me~~~~~

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

gcc runtime problem, help me~~~~~

Reply to Message Icon

Name: Allen
Date: December 5, 2001 at 08:28:01 Pacific
Comment:

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 directory

how 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



Sponsored Link
Ads by Google

Response Number 1
Name: oliver
Date: December 5, 2001 at 14:20:49 Pacific
Reply:

try
PATH=$PATH:/usr/ccs/bin
export PATH


0

Response Number 2
Name: Mark M
Date: December 5, 2001 at 20:18:47 Pacific
Reply:

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...


0

Response Number 3
Name: Allen
Date: December 6, 2001 at 04:45:50 Pacific
Reply:

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 .....


0

Response Number 4
Name: oliver
Date: December 6, 2001 at 06:55:01 Pacific
Reply:

"as" is part of the SUNWsprot package. Make sure it's installed.

pkginfo|grep SUNWsprot

or

find / -name as


0

Response Number 5
Name: wei
Date: January 19, 2002 at 23:56:53 Pacific
Reply:

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'?


0

Related Posts

See More



Response Number 6
Name: Val
Date: March 18, 2002 at 00:26:41 Pacific
Reply:

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 1

This will happen on solaris 8 environment.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

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


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: gcc runtime problem, help me~~~~~

David , help me with this script www.computing.net/answers/solaris/david-help-me-with-this-script/3625.html

solaris 2.6 Can any one help me out www.computing.net/answers/solaris/solaris-26-can-any-one-help-me-out/590.html

please help me out www.computing.net/answers/solaris/please-help-me-out/3774.html