Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Anders on October 15, 2003, 10:16:19 PM

Title: GCC Compiler
Post by: Anders on October 15, 2003, 10:16:19 PM
Hi

I have tryed to install GCC and looked at the FAQ : http://www.e-smith.org/faq.php3#8q7

but when I try installing the rpms I get this error :

[root@Linux gcc stuff]# rpm -ivh glibc-devel-2.2.2-10.i386.rpm
error: failed dependencies:
        glibc = 2.2.2 is needed by glibc-devel-2.2.2-10
        glibc-devel < 2.2.3 conflicts with glibc-2.2.5-40

Can any1 help me with this???

T.I.A
Title: Re: GCC Compiler
Post by: Jens Kruuse on October 15, 2003, 10:23:16 PM
When you attempt to install a bunch of RPMs you should always do them in one swoop unless specifically instructed otherwise. That may (or may not) take care of various dependency problems. As an example of doing it the wrong way, search for various Samba upgrade threads in this forum.

Also, most package installations are done using -Uvh, not -ivh. Again, read the how-to/docs for details.

/Jens
Title: Re: GCC Compiler
Post by: Anders on October 15, 2003, 10:33:39 PM
then I get this :


[root@Linux gcc stuff]# rpm -Uvh glibc-devel-2.2.2-10.i386.rpm
error: failed dependencies:
        glibc = 2.2.2 is needed by glibc-devel-2.2.2-10
        glibc-devel < 2.2.3 conflicts with glibc-2.2.5-40
Title: Re: GCC Compiler
Post by: Charlie Brady on October 15, 2003, 10:43:31 PM
Anders wrote:

> I have tryed to install GCC and looked at the FAQ :
> http://www.e-smith.org/faq.php3#8q7

The FAQ item you quote says that you should avoid installing gcc if you can. Search rpmfind.net for the software you want to use. Failing that, if you really need to build your own code, then set up a RedHat workstation (on a spare computer, or a spare hard drive on the same computer) and use that.

If you really, really want to compile packages on your server, then go ahead - but note that there is an error in the FAQ - RedHat 7.3 packages should be used.

Charlie
Title: Re: GCC Compiler
Post by: Anders on October 15, 2003, 10:45:16 PM
hmmmm okay, but I need to have a Irc bot installed, and for that I have to compile the bot.......
Title: Re: GCC Compiler
Post by: Charlie Brady on October 15, 2003, 10:59:35 PM
Anders wrote:
>
> hmmmm okay, but I need to have a Irc bot installed, and for
> that I have to compile the bot.......

Do you? Nobody else has ever compiled it?

http://rpmfind.net/linux/rpm2html/search.php?query=eggdrop

Charlie
Title: Re: GCC Compiler
Post by: Anders on October 15, 2003, 11:06:48 PM
thx I'll look into that :D

[root@Linux irc]# rpm -ivh eggdrop-1.6.13-2.i386.rpm
error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open Packages database in /var/lib/rpm
Title: Re: GCC Compiler
Post by: Jens Kruuse on October 16, 2003, 12:10:48 AM
You blindly ignored the first (important part) of my msg, Anders. :-)

There is a French how-to for Eggdrop for SME 5.x: translated by Babelfish here:
http://babelfish.altavista.com/babelfish/urltrurl?url=http%3A%2F%2Fwww.frenchcancan.net%2Fv3%2Fbot_howto.htm&lp=fr_en&tt=url

/Jens
Title: Re: GCC Compiler
Post by: Anders on October 16, 2003, 01:36:42 AM
thx jens

Gonna try that tut :D