(hmm) I'm reinstalling with suse 9.0 at this point, but for the last 5 SuSE
releases, I've found better results, by -not- using the RPM's (well I allow
the RPM's to be installed to mungle the dependcies list for RPM),  but I
install/recompile  Perl,  Apache, mod-perl and AxKit.
 As soon as there is a problem, the first recomendation that you will get
(most cases...) is to rebuild the packages with the latest revision.
  And I have /never/ had success updating an RPM built perl with CPAN
modules. Your mileage will vary...


----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 22, 2004 8:47 AM
Subject: Axkit Installation on default SUSE 9.0 installation


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]


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

Reply via email to