Stop Microsoft
Operating Systems => Linux and UNIX => Topic started by: Master of Reality on 6 December 2002, 03:19
-
whenever i try to install a program from source when running configure it says:
should i try to upgrade gcc or something?? This is on slackware8.1 with gcc version 2.95.3
-
You shouldn't have to upgrade GCC but it would indicate that you don't have it entirely installed. Must be some library packages missing. The configure script just creates a very small C program of a few lines and tries to compile it. If it can not then it gives that error message. Can you create your own little test program and try and compile it and see what errors gcc is really giving? Try putting this in a file called "tst.c":
Then compile it with "gcc tst.c" and see if it gives you an error. Also look at your "configure.log" to see what error messages it may have produced.
[ December 06, 2002: Message edited by: void main ]
-
and config.log has that line^ and right underneath it says:
-
On my RedHat system that crt1.o is part of the "glibc-devel" RPM. That is the C development library. Did you install the Slackware equivalent to that on your system? I haven't used Slackware in quite some time but I would suspect that if you installed all of the GCC packages from here:
ftp://ftp.slackware.com/pub/slackware/slackware-8.1/slackware/d (http://ftp://ftp.slackware.com/pub/slackware/slackware-8.1/slackware/d)
You would also need this:
ftp://ftp.slackware.com/pub/slackware/slackware-8.1/slackware/l/glibc-2.2.5-i386-2.tgz (http://ftp://ftp.slackware.com/pub/slackware/slackware-8.1/slackware/l/glibc-2.2.5-i386-2.tgz)
Don't know if that one contains the missing pieces but it's the one I would expect it would be in.
[edit]
Yep, I just checked the MANIFEST.gz file and that should be the correct package (glibc mentioned above).
[/edit]
[ December 05, 2002: Message edited by: void main ]
-
thanks
that worked. Now i can compile some more security programs and and ease my paranoia (those integrational polytheist are always plotting to destroy the bob hub)
[ December 06, 2002: Message edited by: The Master of Reality / B0B ]
-
that was a bit of a poor comment at the end of a thread that i was reading with interest, as i had the same problem with basiclinux 1.7 and i think gcc 2.95 also.
MoR why are you so hostile to other religions? are you feling insecure? i certainly don't ever criticise your 'religion' publicly.
-
lighten the fuck up.
You shall find the truth when the revolution comes when i upgrade my server.
[ December 06, 2002: Message edited by: The Master of Reality / B0B ]
-
ho hum.