Help on installing linux libraries

CrackaLackaZe

Senior member
Jun 29, 2002
922
0
76
First, I did ./configure somephpversion, and it told me that libxml2 is not 2.5.0 or greater.



So I downloaded and gunzipped libxml, tarred it, did ./configure and it said:

checking for libxml-2.0 >= 2.6.1 glibmm-2.4 >= 2.4.0... Requested 'libxml-2.0 >= 2.6.1' but version of libXML is 2.4.23

configure: error: Library requirements (libxml-2.0 >= 2.6.1 glibmm-2.4 >= 2.4.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.


So then, I downloaded, gunzipped, tarred it, did ./configure and it said:

checking for pkg-config... /usr/bin/pkg-config
checking for sigc++-2.0 >= 1.9.14 glib-2.0 >= 2.2.0 gobject-2.0 >= 2.2.0 gmodule-2.0 >= 2.2.0... Package sigc++-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `sigc++-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'sigc++-2.0' found


Am I going to have to keep doing this for every package it shows as missing? Or is there a better way to do this? All I wanted to do was install php5 :(
 

rahvin

Elite Member
Oct 10, 1999
8,475
1
0
I recommend you install Gentoo or Debian to avoid what is commonly called dependency hell. I did that game only once and tossed the Redhat and installed Gentoo.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: CrackaLackaZe
Originally posted by: n0cmonkey
Yeah, that's the jist of it. What distro?

redhat :(

Redhat Enterprise? There should be RPMs for this, and maybe yum works there too.

Try something like yum install php5
 

CrackaLackaZe

Senior member
Jun 29, 2002
922
0
76
I didnt install this, this is a school server that I've been given permission to work on, uname -a just shows Linux xxx.xxx.xxx.edu 2.4.18-14 #1 Wed Sep 4 11:57:57 EDT 2002 i586 i586 i386 GNU/Linux
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Ok, so it's probably RH 8. It's old and out of date, and possibly has holes all over it. _sigh_

It doesn't look like there are any php5 rpms on rpmfind for rh8.
 

rahvin

Elite Member
Oct 10, 1999
8,475
1
0
Redhat has a /etc/init.d/rc.d/rc* set of directories. There Uname always shows the redhat too so given that output I would say you have some other installation. Redhat also comes with a utility I think called setup that's cli based and is unique to redhat.
 

cleverhandle

Diamond Member
Dec 17, 2001
3,566
3
81
Does core PHP 5 really require libxml? I'm pretty sure that 4 didn't. If you don't need XML functionality, you should be able to pass a switch to configure to disable it. Try ./configure --help to see the options.

That being said, that's a mighty old machine. You might very well run into more problems as you go...
 

duragezic

Lifer
Oct 11, 1999
11,234
4
81
Dude just say fvck RH and get a distro that does that all for you. I only played the game once, or maybe even twice. :)
 

CrackaLackaZe

Senior member
Jun 29, 2002
922
0
76
bleh, I dont wanna mess with re installing another kernel. I'll just go with php 4. Thanks for the help guys.