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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
07-18-2004, 12:51 PM
|
#1
|
Member
Registered: Jul 2004
Location: India
Distribution: RH, RHEL, CentOS
Posts: 46
Rep:
|
Install GCC
Hi,
I want to install GCC on my RH 9 non-gui installation.
When i try
rpm -ivh gcc-3.2.2-5.i386.rpm
It says, some glibc-devel missing.
When i try to install glibc-devel, it says
Quote:
[root@localhost RPMS]# rpm -ivh glibc-devel-2.3.2-11.9.i386.rpm
warning: glibc-devel-2.3.2-11.9.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
error: Failed dependencies:
kernel-headers is needed by glibc-devel-2.3.2-11.9
kernel-headers >= 2.2.1 is needed by glibc-devel-2.3.2-11.9
|
I can't find kernel-headers in the RH 9 install CDs.
How do i install GCC, i need it to compile PureFTPd. Now it says it can't find compiler in the system.
Is there any one command installation or i have to try installing on, then it says some thing missing, then i go and find that, it says some tghing else missing.... i found it difficult...its usuall with linux or happen because i am new to linux ?
Regards,
Yujin
|
|
|
07-18-2004, 01:11 PM
|
#2
|
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672
Rep:
|
redhat has a different rpm that satisfys the kernel headers dependency. cant rmemeber what its called.
seems you are trying to install a gcc rpm that was not intended for redhat 9 ?
install why whole thing from the rpms on your redhat 9 cd's
|
|
|
07-18-2004, 01:42 PM
|
#3
|
Member
Registered: Jul 2004
Location: India
Distribution: RH, RHEL, CentOS
Posts: 46
Original Poster
Rep:
|
When i try to install PureFTPd i get following error
Quote:
[root@localhost pure-ftpd-1.0.18]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
[root@localhost pure-ftpd-1.0.18]#
|
What i should do next ?
Regards,
Yujin
|
|
|
07-18-2004, 02:40 PM
|
#4
|
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672
Rep:
|
the error message says you dont have a compiler installed.
didnt you say you are using Redhat 9 ?
whats wrong with the 'vsftpd' ftp server ?
why dont you use that ? it comes with redhat 9.
Last edited by qwijibow; 07-18-2004 at 02:43 PM.
|
|
|
07-18-2004, 03:50 PM
|
#5
|
Member
Registered: Jul 2004
Location: India
Distribution: RH, RHEL, CentOS
Posts: 46
Original Poster
Rep:
|
OS is RedHat.
Login says
Red Hat Linux release 9 (Shrike)
kernel 2.4.20-8 on an i686
I want to try PureFTPd on my local machine as it's used on the server. I could get it running on GUI installation of RH9 from same CD. But not on non-gui installation if RH9.
|
|
|
07-18-2004, 07:23 PM
|
#6
|
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672
Rep:
|
vsftpd and pureftpd are very very similar. is it realy worth the effort?
anyways. okay.. if you want to use a different ftp server, install it and see what you think.
|
|
|
07-18-2004, 07:39 PM
|
#7
|
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290
|
You should try using something like apt4rpm or Yum, as they do automatic dependency resolving. I personally like apt4rpm -- you can find more information about it at http://apt4rpm.sourceforge.net .
|
|
|
07-19-2004, 01:42 AM
|
#8
|
Member
Registered: Jul 2004
Location: India
Distribution: RH, RHEL, CentOS
Posts: 46
Original Poster
Rep:
|
Thanks for the help.
I will try apt4rpm. I need pureftpd as i am using it on server (cpanel box), i want it on local box to try some configuration changes.
|
|
|
07-19-2004, 02:07 PM
|
#9
|
Member
Registered: Jul 2004
Location: India
Distribution: RH, RHEL, CentOS
Posts: 46
Original Poster
Rep:
|
Hi,
I downloaded apt4rpm.
apt4rpm-0.68.2-2.noarch.rpm
When installing it says, it need LibXML. So i downloaded
XML-LibXML-1.53.tar.gz
When installing XML-LibXML-1.53.tar.gz it said, it require libxml2 from xmlsoft.org i downloaded and it need zlib-1.2.1.1-3.i686.rpm, i installed that.
Now when i try
--------------------
[root@localhost XML-LibXML-1.53]# perl Makefile.PL
enable native perl UTF8
running xml2-config... ok
running gdome-config...failed
GDOME support is optional and is not required for running
this package
looking for -lxml2... no
looking for -llibxml2... no
libxml2 not found
Try setting LIBS and INC values on the command line
Or get libxml2 from
http://xmlsoft.org/
If you install via RPMs, make sure you also install the -devel
RPMs, as this is where the headers (.h files) are.
--------------------
But libxml2 is already installed.
--------------------
[root@localhost XML-LibXML-1.53]# rpm -qa|grep libxml2
libxml2-2.6.11-1
libxml2-devel-2.6.11-1
--------------------
Can any one tell what to do next ?
Regards,
Yujin
|
|
|
07-19-2004, 03:23 PM
|
#10
|
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290
|
Sorry this has been such a headache -- welcome to the wonderful world of RPMs :-( . When you downloaded LibXML, did you also get the development packages. Perl probably needs those to get XML support. You might try LibXML2-devel or something similar. There may also be a Perl-LibXML RPM you might install to give Perl the needed XML libraries. The good news is, once you get this sorted and have apt4rpm installed, things should get much easier. If you already have yum on your system, you may want to go with that, but I'm not very familiar with it. Good luck!
|
|
|
07-19-2004, 04:26 PM
|
#11
|
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672
Rep:
|
the problem here is you mix of RPM and source code !
IF you use rpm's try to use ONLY rpm's
an RPM does not install everything that is installed when you install by source.
rpm's assume you are going to install everything else by rpm, and so dount include source code (which is vital for compiling other things on-top of it)
thats why source code install sometimes says that somthing is not installed, when rpm says it is. the source code is looking for source code.
you can kind of hack this, by installing a devel rpm package.
to install packwage XYZ by source, just install it..
to install it via rpm (if you intend to compile somthing which lists it as a dependency.. then insrall XYZ and ZYX-devel
choose the install method you prefere.. and stick with it. you are making a mess :P
|
|
|
All times are GMT -5. The time now is 03:14 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|