Skip to Content.
Sympa Menu

en - Re: [sympa-users] upgrade from 4.1.5 to 5.2 - XML::LibXML won't install

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Redmond Militante <address@concealed>
  • To: Chris Peck <address@concealed>, address@concealed
  • Cc: Redmond Militante <address@concealed>
  • Subject: Re: [sympa-users] upgrade from 4.1.5 to 5.2 - XML::LibXML won't install
  • Date: Thu, 27 Apr 2006 14:20:11 -0500

I have equivalent lines in my apache2.conf file and sympa.conf file.

I've gotten rid of a lot of the errors in my apache2 error.log by installing
Template::Provider via cpan. It looks like the rest of the errors I'm
getting in my apache2 error.log are related to XML::LibXML.

I'm unable to install this module via cpan. I am on ubuntu breezy - my guess
is I am running into the same problem detailed in the FAQ :

LibXML installation problem on Debian woody
Moderator: address@concealed (inherited from parent)
First problem: The installation of XML::LibXML-1.58 downloaded from a CPAN
mirror (on April 26th) fails with a compilation error of perl-libxml-mm. The
solution is to install XML-LibXML-1.58_1 from www.cpan.org
Second problem: XML-LibXML installation controls that a "tested version" of
libxml2 package is installed (see README). The Woody "default" version is too
old, and the "backported" 2.6.11 version too recent. A solution is to install
the last tested version (2.6.8) from
http://ftp.gnome.org/pub/GNOME/sources/libxml2/2.6/libxml2-2.6.8.tar.gz prior
to XML-LibXML-1.58_1.
address@concealed


I've tried to follow the solution in the FAQ to get this module installed.
I've downloaded the XML-LibXML-1.58.tar.gz file from www.cpan.org, the latest
tested libxml2 package from ftp.gnome.org.

perl Makefile.PL && make && make test && make install of XML-LibXML-1.58
fails.

the error I get is

enable native perl UTF8
running xml2-config...ok
looking for -lxml2... yes
Warning: prerequisite XML::LibXML::Common 0 not found.
Writing Makefile for XML::LibXML

so I try to install XML::LibXML::Common via cpan

I get the error
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.
Running make test
Make had some problems, maybe interrupted? Won't test
Running make install
Make had some problems, maybe interrupted? Won't install


-is there any way to get these modules installed so I can upgrade sympa? I
tried to force install them via cpan and that didn't work either.

Thanks,
Redmond




+++ Chris Peck <address@concealed> [06/04/27 11:50]:
> Somewhere in the httpd.conf file for apache you have a line that
> defines the location of the fcgi piece, on mine it's:
> FastCgiServer /home/sympa/bin/wwsympa.fcgi -processes 10 -idle-
> timeout 120
>
> I also have these lines which force a redirecto to the ssl site:
> <IfModule mod_alias.c>
> RedirectMatch ^/$ https://sympa5.it.wm.edu/wws
> </IfModule>
>
> <Location /wws>
> SetHandler fastcgi-script
> </Location>
> ScriptAlias /wws /home/sympa/bin/wwsympa.fcgi
>
> and, I have this set in my sympa.conf file:
> wwsympa_url http://sympa5.it.wm.edu/wws
>
> (hmm, I'll have to check that it probably should be
> wwsympa_url https://sympa5.it.wm.edu/wws
>
> This is all on my test system - which i'm testing from going from
> 4.1.1 to 5.2 with. The web piece works fine, I'm having issues with
> Oracle based lists now.
>
> -chris
>
> On Apr 27, 2006, at 12:34 PM, Redmond Militante wrote:
>
> >Thanks. I got past this error - I accepted most of the defaults
> >for make, except system specific info like db user/password. make
> >install finished without errors. However, when I attempt to call
> >up http://mysympa.org/cgi-bin/sympa/wwsympa.fcgi I get an internal
> >server error, I'm pasting the apache error.log snippet below
> >related to this internal server error. I'm not sure what step I
> >missed in the upgrade process...
> >
> >[Thu Apr 27 11:25:21 2006] [error] [client 128.135.0.88] attempt to
> >invoke directory as script: /usr/lib/cgi-bin/sympa/
> >[Thu Apr 27 11:25:25 2006] [error] [client 128.135.0.88] File does
> >not exist: /var/www/html/sympa
> >[Thu Apr 27 11:25:33 2006] [error] [client 128.135.0.88] attempt to
> >invoke directory as script: /usr/lib/cgi-bin/sympa/
> >[Thu Apr 27 11:25:39 2006] [error] [client 128.135.0.88] Base class
> >package "Template::Provider" is empty.
> >[Thu Apr 27 11:25:39 2006] [error] [client 128.135.0.88]
> >(Perhaps you need to 'use' the module which defines that package
> >first.)
> >[Thu Apr 27 11:25:39 2006] [error] [client 128.135.0.88] at /usr/
> >lib/sympa/bin/tt2.pl line 27
> >[Thu Apr 27 11:25:39 2006] [error] [client 128.135.0.88] BEGIN
> >failed--compilation aborted at /usr/lib/sympa/bin/tt2.pl line 27.
> >[Thu Apr 27 11:25:39 2006] [error] [client 128.135.0.88]
> >Compilation failed in require at /usr/lib/sympa/bin/Message.pm line
> >28.
> >[Thu Apr 27 11:25:39 2006] [error] [client 128.135.0.88]
> >Compilation failed in require at /usr/lib/sympa/bin/List.pm line 231.
> >[Thu Apr 27 11:25:39 2006] [error] [client 128.135.0.88] BEGIN
> >failed--compilation aborted at /usr/lib/sympa/bin/List.pm line 231.
> >[Thu Apr 27 11:25:39 2006] [error] [client 128.135.0.88]
> >Compilation failed in require at /usr/lib/cgi-bin/sympa/
> >wwsympa.bak.fcgi line 41.
> >[Thu Apr 27 11:25:39 2006] [error] [client 128.135.0.88] BEGIN
> >failed--compilation aborted at /usr/lib/cgi-bin/sympa/
> >wwsympa.bak.fcgi line 41.
> >[Thu Apr 27 11:25:39 2006] [error] [client 128.135.0.88] Premature
> >end of script headers: wwsympa.fcgi
> >[Thu Apr 27 11:25:42 2006] [error] [client 128.135.0.88] Base class
> >package "Template::Provider" is empty.
> >[Thu Apr 27 11:25:42 2006] [error] [client 128.135.0.88]
> >(Perhaps you need to 'use' the module which defines that package
> >first.)
> >[Thu Apr 27 11:25:42 2006] [error] [client 128.135.0.88] at /usr/
> >lib/sympa/bin/tt2.pl line 27
> >[Thu Apr 27 11:25:42 2006] [error] [client 128.135.0.88] BEGIN
> >failed--compilation aborted at /usr/lib/sympa/bin/tt2.pl line 27.
> >[Thu Apr 27 11:25:42 2006] [error] [client 128.135.0.88]
> >Compilation failed in require at /usr/lib/sympa/bin/Message.pm line
> >28.
> >[Thu Apr 27 11:25:42 2006] [error] [client 128.135.0.88]
> >Compilation failed in require at /usr/lib/sympa/bin/List.pm line 231.
> >[Thu Apr 27 11:25:42 2006] [error] [client 128.135.0.88] BEGIN
> >failed--compilation aborted at /usr/lib/sympa/bin/List.pm line 231.
> >[Thu Apr 27 11:25:42 2006] [error] [client 128.135.0.88]
> >Compilation failed in require at /usr/lib/cgi-bin/sympa/
> >wwsympa.bak.fcgi line 41.
> >
> >
> >+++ Chris Peck <address@concealed> [06/04/27 11:13]:
> >>Check directory your source is in (/home/me/tmp/sympa-5.2/src) and
> >>make sure the file named queue is there - it should have been
> >>compiled during the make.
> >>
> >>I'd suggest doing a make first, then, if there are no errors do the
> >>make install.
> >>-chris
> >>
> >>On Apr 27, 2006, at 11:34 AM, Redmond Militante wrote:
> >>
> >>>
> >>>I'm trying to upgrade our installation of sympa 4.1.5 to 5.2.
> >>>
> >>>The 4.1.5 was installed on ubuntu via apt-get. I have downloaded
> >>>the source tarball for 5.2 and am using that for the upgrade.
> >>>
> >>>I've tried
> >>>
> >>>tar -xzvf sympa-5.2.tar.gz
> >>>cd sympa-5.2
> >>>./configure --enable-secure --prefix=/usr/lib/sympa (location where
> >>>sympa is installed currently)
> >>>make install
> >>>
> >>>
> >>>... it goes through the installation process but then it eventually
> >>>gets to an installation error
> >>>
> >>>Overwriting /usr/lib/sympa/bin/time_utils.pl
> >>>Installing Queue binary...
> >>>cp queue /usr/lib/sympa/bin/
> >>>cp: cannot stat `queue': No such file or directory
> >>>make[1]: *** [installqueue] Error 1
> >>>make[1]: Leaving directory `/home/me/tmp/sympa-5.2/src'
> >>>make: *** [installsrc] Error 1
> >>>
> >>>How can I get past this error and complete the upgrade?
> >>>
> >>>Redmond
> >>>
> >>>
> >>>--
> >>>Redmond Militante / NSIT / The University of Chicago
> >>>PGP Public Key: <http://home.uchicago.edu/~rjm/pubkey.asc>
> >
> >--
> >Redmond Militante / NSIT / The University of Chicago
> >PGP Public Key: <http://home.uchicago.edu/~rjm/pubkey.asc>

--
Redmond Militante / NSIT / The University of Chicago
PGP Public Key: <http://home.uchicago.edu/~rjm/pubkey.asc>



Archive powered by MHonArc 2.6.19+.

Top of Page