Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am new to Linux, but have been given the nasty (in my opinion) task of installing the new GCC onto the company computers. I am attempting to install GCC 3.3 - and things are not going to plan.
On a fresh install of Redhat 7.2 I have done the following commands which I believe should be all I need...
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
./xgcc -B./ -B/mnts/...<path>.../gcc.3.3.ixl//i386-unknown-linux/bin/ -isystem /mnts/...<path>.../gcc.3.3.ixl//i386-unknown-linux/include -isystem /mnts/...<path>.../gcc.3.3.ixl//i386-unknown-linux/sys-include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc-3.3/gcc -I../../gcc-3.3/gcc/. -I../../gcc-3.3/gcc/config -I../../gcc-3.3/gcc/../include -DL_muldi3 -c ../../gcc-3.3/gcc/libgcc2.c -o libgcc/./_muldi3.o
In file included from tconfig.h:23,
from ../../gcc-3.3/gcc/libgcc2.c:36:
../../gcc-3.3/gcc/config/i386/linux.h:232:20: signal.h: No such file or directory
../../gcc-3.3/gcc/config/i386/linux.h:233:26: sys/ucontext.h: No such file or directory
make[3]: *** [libgcc/./_muldi3.o] Error 1
make[3]: Leaving directory `/user/me/LinuxGnuCompiler/gcc-3.3-obj/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/user/me/LinuxGnuCompiler/gcc-3.3-obj/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/user/me/LinuxGnuCompiler/gcc-3.3-obj/gcc'
make: *** [bootstrap] Error 2
Now, I have had a good look around the system for signal.h and have found a few different files. Which ever one I force include it gives different errors.
I figure signal.h is a system file that handles all the error signals etc, but why can't the GCC installation find it?
Thanks for any help in advance for this frustrated newbie
what kind of distribution do you use? cause, well, I became so lazy that I started using rpms for everything and, why don't you try to install the gcc 3.3.x rpm?
can i ask why you're trying to install it from source? I'd strongly suggest just using a precompiled RPM file. redhat 7.2 is really knocking on a bit too. you may well want a newer distribution if you really want gcc 3.3, which is brand shiny new...
Umm, anyway, RPM? Like I say I am forced onto this Linux stuff and am very new to it. Is that a like a pre-compiled binary?
Do you have any handy links where I can get one I did a search on google, but it wasn't very friendly with the results.
We are stuck with this version of RedHat as we have to support our product on it. We can't move to newer versions until our customers are ready, and even then have to continue to support older OS's. We have only just dropped Win95 support!!
rpmfind.net it also WILL be one those distro cd's you used to install redhat in the first place. redhat 7.2 used gcc 2.96, which is prety old now though.
please search this site or read a guide like the rute link in my siganture for advice on installing rpms.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.