Hi,

Is there anyone who's managed to achieve the above and could give me a few pointers?

I've been reading webpages and the mail archives for the past three days and just 
don't seem to be making any progress.  If I could get this working, I think I'd be 
happy to reinstall it and write up the solution for a WiKi page like the two Red Hat 
installation descriptions currently available.

>From installation, I've installed the apache packages (not Apache2 - tho I made that 
>mistake originally) along with the mod_perl module.  I confirmed this was up and 
>working by running a few perl scripts and checking the logs to make sure mod_perl was 
>compiled.  I also installed the latest SUSE xml library RPM's for:

libxml2
libxml2-devel
libxml2-python
libxslt
libxslt-devel
libxslt-python

I believe these are installed correctly as I'm able to run xmlconfig from the command 
line.

The default locale in /etc/sysconfig/language is temporarily set to en_US to avoid 
some of the posts I read regarding perl / UTF-8 issues.

Naively, I hoped I could now install the required modules from the CPAN command line, 
finishing up with Axkit, as detailed in:

http://axkit.org/wiki/view/AxKit/AxKitRedHat9AnotherWay#        

However, as soon as I reach install XML::LibXML::Common it fails out due to what 
appears to be (according to the mailing list archive) the now familiar:

> running xml2-config... ok
> 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://www.libxml.org/
> If you install via RPMs, make sure you also install the -devel
> RPMs, as this is where the headers (.h files) are.

So, what do I do here?  I have definitely installed the appropriate SUSE RPMs.  I've 
tried setting the LIBS, INC and PERL5LIB bash variables to the right location (I think 
it's /usr/include/libxml2) but that doesn't seem to have any affect on the CPAN shell.

I've downloaded the source from xmlsoft.org but I don't know if I should install it.  
If I try to remove all of the libraries mentioned above I get a list of programs which 
depend on it, including gcc which I will need to compile the source code I want to 
replace it with!  I also have no idea how to install the src version alongside the rpm 
(if that were possible).

So ... can anyone point me in the right direction or show me a mail I may have missed 
which explains where I'm going wrong?

Peter.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to