LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   gcc installation (https://www.linuxquestions.org/questions/linux-software-2/gcc-installation-28146/)

exigent 08-17-2002 05:09 PM

gcc installation
 
hey, i'm trying to install gcc (a version i am certain is the one for my distro and kernel and such), but i get a file dependency issue: libtcl8.3.so is needed, and i can't find it anywhere. i don't even know what it is! well, i understand it's a library of some sort, but is it for C, python, or something else? if so, how can i get it, and where do i put it when i do? and why doesn't gcc (the latest version btw) come with it??

acid_kewpie 08-17-2002 05:28 PM

it's tcl.

exigent 08-17-2002 11:21 PM

might i ask what tcl is??

neo77777 08-17-2002 11:29 PM

take a look here http://tcl.activestate.com/ to find out.

exigent 08-17-2002 11:33 PM

ah cool, thanks....

i've managed to install it now, but unfortunetly, i still can't compile anything , because, apperantly, "C compiler cannot create executables." i don't understand why not, i am root...

exigent 08-18-2002 12:15 AM

/gtk+-2.0.6# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables



i've looked around some other message boards, and seen that there are alot of others that have the same problem... but no answers. what's the deal?

j-ray 08-19-2002 06:03 AM

check
'gcc -v' or 'gcc -version' to see what gcc u have installed
or if u have it at all.
if u donīt have a working compiler u should download an rpm of gcc and install that on ur machine.
maybe someone else knows better...
cheers,
jens

exigent 08-19-2002 12:41 PM

wow, i'd find it hard to belive if someone else knew better....

i've actually fixed it now, all i had to do was install the rpm with midnight commander instead of kpackage, which seems like an odd solution, but one that worked none the less

tundra 09-01-2002 04:47 AM

why not just install with rpm at the command line everytime? would it not have the same effect?

exigent 09-01-2002 02:39 PM

no doubt it would

trickykid 09-01-2002 02:59 PM

Quote:

Originally posted by tundra
why not just install with rpm at the command line everytime? would it not have the same effect?
What if they don't have an RPM based distro like Slackware or Gentoo ?? I know you can use on any distro, but I personally stay away from RPM if I can. ;)

tundra 09-01-2002 10:02 PM

Quote:

Originally posted by trickykid
What if they don't have an RPM based distro like Slackware or Gentoo ?? I know you can use on any distro, but I personally stay away from RPM if I can. ;)
lol. yea, only a blueblood slacker would say that. i tried to be one, but ah, the vagaries of marketing got me going round and round...

i think the RPM ppl are mostly those who want it fast and convenient. also, it's easily "un-installable". i know it's not much different from compiling from source as it is to type an RPM install command. but some sources don't come with the uninstall option in the makefiles. i've some experience with this and to hunt down the stuff and delete them manually can be a pain...

all that said, i must make clear that i'm not slamming slack. i use it and it's great fun. just stating why i'm not anti-rpm.

oh yea, and in answer to your question tricky, um i thought exigent was talking about an rpm distro.

exigent 09-02-2002 10:01 PM

yes, you're right i was. but i don't see why an RPM pre-compiled for suse wouldn't work properly on my system, but the same thing done from a command line would.

tundra 09-03-2002 09:01 AM

ah i see. didn't know u were using suse. sorry about that.


All times are GMT -5. The time now is 11:30 AM.