• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Help on installing linux libraries

CrackaLackaZe

Senior member
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 🙁
 
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.
 
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
 
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.
 
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.
 
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...
 
Back
Top