LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 07-23-2001, 12:40 PM   #1
glj
Member
 
Registered: Jul 2001
Location: London
Distribution: RH 9
Posts: 151

Rep: Reputation: 30
RPM dependancy problem


I'm trying to install a GCC RPM in Redhat 7.1. Another RPM
CPP-something is dependant on the GCC compiler and won't let me continue. I've also downloaded the cpp RPM and tried to install them both using a wildcard, and letting rpm sort out the order to install them, but that doesn't work either.

Is there a way to install it without forcing it? If not, will there be any side effects of forcing it? Should I get rid of the offending RPMs and install the new ones?

Cheers

glj
 
Old 07-23-2001, 06:45 PM   #2
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
i wasn't even aware that the gcc package came in rpms. i thought they only distributed it as tarballs. are you trying to install the gcc 3.0?
 
Old 07-24-2001, 04:29 AM   #3
glj
Member
 
Registered: Jul 2001
Location: London
Distribution: RH 9
Posts: 151

Original Poster
Rep: Reputation: 30
I'm trying to install 2.96-85 (got it from rpmfind.net, along ith cpp-2.96-85). Red Hat 7.1 ships with 2.96.81, which I was told is a mistake as it is a development version and isn't even listed on the gcc site. The reason I need to upgrade gcc is because of MySQL. I was using Apache Tool Box and it would always bomb out when compiling MySQL (I cant compile MySQL by itself either). The ATB web site says you should upgrade your MySQL version to xx-38 to fix that, but I was running that anyway (I've also tried xx-40). I thought that maybe it was the c compiler that was the problem, so I'm trying to get that to a reasonable version.

Help!

glj

Last edited by glj; 07-24-2001 at 04:34 AM.
 
Old 07-24-2001, 05:03 AM   #4
cinnix
Member
 
Registered: Jun 2001
Location: Northern Ohio
Distribution: RedHat, Engarde and LFS
Posts: 237

Rep: Reputation: 30
I had a similiar problem before trying to update gcc in redhat 7.0. If you use the --nodeps option when using rpm, it will get you past this problem. I know that this is the sloppy way to do things but after unsuccessfully asking the question here and at redhat, I was not able to find an acceptable answer.

This is my previous post regarding the same (or similiar) problem.

http://www.linuxquestions.org/questi...&highlight=gcc

One thing that you want to make sure of is that you have all of the necessary packages before using the --nodep option.
 
Old 07-24-2001, 05:34 AM   #5
glj
Member
 
Registered: Jul 2001
Location: London
Distribution: RH 9
Posts: 151

Original Poster
Rep: Reputation: 30
Got it!

Went here: -

http://www.redhat.com/support/errata/RHBA-2001-082.html

downloaded all the packages and they installed fine.

Now to install MySQL........

Cheers

glj
 
Old 07-24-2001, 05:59 AM   #6
cinnix
Member
 
Registered: Jun 2001
Location: Northern Ohio
Distribution: RedHat, Engarde and LFS
Posts: 237

Rep: Reputation: 30
good to here, a lot of people have had problems updating these packages in redhat 7.0. I am happy to see that this problem may not exist in 7.1.
 
Old 07-24-2001, 06:17 AM   #7
glj
Member
 
Registered: Jul 2001
Location: London
Distribution: RH 9
Posts: 151

Original Poster
Rep: Reputation: 30
MySQL RPM

I still can't compile MySQL after installing the newer GCC RPM. Anyone else done it in RH 7.1, specifically using Apache Toolbox (although it fails when I do it by itself).

Cheers

glj
 
Old 07-24-2001, 06:22 AM   #8
cinnix
Member
 
Registered: Jun 2001
Location: Northern Ohio
Distribution: RedHat, Engarde and LFS
Posts: 237

Rep: Reputation: 30
what kind of error are you getting?
 
Old 07-24-2001, 06:40 AM   #9
glj
Member
 
Registered: Jul 2001
Location: London
Distribution: RH 9
Posts: 151

Original Poster
Rep: Reputation: 30
Here's the tail of mysql-compile.log: -

mysqld.cc: In function `void *handle_connections_sockets (void *)':
/usr/include/tcpd.h:131: too many arguments to function `void sock_host
()'
mysqld.cc:2289: at this point in file
/usr/include/tcpd.h:69: too many arguments to function `int
hosts_access ()'
mysqld.cc:2290: at this point in file
/usr/include/tcpd.h:124: too many arguments to function `char
*eval_client ()'
mysqld.cc:2295: at this point in file
make[3]: *** [mysqld.o] Error 1
make[3]: Leaving directory `/root/Apachetoolbox-1.5.33/src/mysql-3.23.38/sql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/Apachetoolbox-1.5.33/src/mysql-3.23.38/sql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/Apachetoolbox-1.5.33/src/mysql-3.23.38'
make: *** [all-recursive-am] Error 2
 
Old 07-24-2001, 06:50 AM   #10
cinnix
Member
 
Registered: Jun 2001
Location: Northern Ohio
Distribution: RedHat, Engarde and LFS
Posts: 237

Rep: Reputation: 30
It seems that it is choking on a file from the tcp_wrappers package. Check to see if it needs updating.
 
Old 07-24-2001, 06:55 AM   #11
glj
Member
 
Registered: Jul 2001
Location: London
Distribution: RH 9
Posts: 151

Original Poster
Rep: Reputation: 30
tcp wrapper is current to 7.6-18 (rpmfind lists that for RH 7.1)
 
Old 07-24-2001, 07:14 AM   #12
cinnix
Member
 
Registered: Jun 2001
Location: Northern Ohio
Distribution: RedHat, Engarde and LFS
Posts: 237

Rep: Reputation: 30
You may need a newer version of the tcp-wrappers since you are using a newer version of mysql.

you could also try this

Code:
rpm --verify tcp_wrappers
and see if you have any files that are having problems.

I am out of ideas here as to why that is failing. Hopefully someone else will be able to provide an answer.
 
Old 07-24-2001, 07:18 AM   #13
glj
Member
 
Registered: Jul 2001
Location: London
Distribution: RH 9
Posts: 151

Original Poster
Rep: Reputation: 30
Unfortunatley, verify came up with nothing so I'm stuck for now!

Thanks anyway

glj
 
Old 07-24-2001, 08:52 AM   #14
glj
Member
 
Registered: Jul 2001
Location: London
Distribution: RH 9
Posts: 151

Original Poster
Rep: Reputation: 30
I really should look at redhat.com more often! Went here: -

http://www.redhat.com/support/errata/RHSA-2001-003.html

downloaded all the rpms, installed (rpm -Uvh mysql*), and ran ATB, seems to be installing ok (it's gone past the mysql bit at least, it's configuring and compiling php at the mo).

Thanks for all the help anyway

glj

P.S. Happy Birthday cinnix
 
Old 07-24-2001, 09:23 AM   #15
cinnix
Member
 
Registered: Jun 2001
Location: Northern Ohio
Distribution: RedHat, Engarde and LFS
Posts: 237

Rep: Reputation: 30
thanks.

There are RPMS for PHP too. The ones from redhat 7.0 were no-good because they were not built with mysql support but the ones from 7.1 should be okay.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rpm failed dependancy for a file that exists mrtumnus Linux - Software 2 03-03-2005 03:39 AM
rpm dependancy problems chow-stl Mandriva 5 01-16-2005 09:21 PM
Re: /bin/sh rpm dependancy problem MunCH Slackware 5 09-13-2004 06:49 AM
rpm dependancy nearfar Programming 1 01-27-2004 07:53 PM
checking dependancy of rpm without installation mayankjohri Linux - Newbie 2 08-01-2002 11:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration