Upgrading to 2.2beta3 failed perl-xml build error

Thomas Arendsen Hein thomas at intevation.de
Tue Dec 11 09:34:18 CET 2007


* Günter Herberholz <admin at kjh.de> [20071210 20:16]:
> During the upgrade I get an error, when building perl-xml. Trying to install perl-xml via openpkg did not work either.
> I always run into the following error: 
[...]
> ++ configuring module via ExtUtils::MakeMaker environment
> Can't locate object method "new" via package "XML::SAX::Expat" at
> /kolab/lib/perl/vendor_perl/5.8.8/XML/SAX/ParserFactory.pm line 43.
> Checking installed modules ...
> ++ step 3: build
> perl-openpkg:ERROR: neither "Build" nor "Makefile" found in working
> directory (No such file or directory)
> error: Bad exit status from /kolab/RPM/TMP/rpm-tmp.68759 (%install)

Which command line did you use for upgrading?

Do you have the kolab-install.log available? If yes, please store it
in a safe place for later questions.

Can you post the output of the following command to this list?
ls -lrt /kolab/RPM/PKG
(if your mailer doesn't like long lines, you can drop the "l" or "-lrt")

Meanwhile a workaround could be to create your own "binary distribution"
and use that for upgrading:

Stop your running Kolab, mv /kolab /kolab-old, use install-kolab.sh to
compile a new installation from scratch.

su - kolab
cd RPM/PKG
ln -s /path/to/your/kolab/sources/*.src.rpm .
PLATTAG=`/kolab/lib/openpkg/shtool platform --type=binary`-kolab
/kolab/bin/openpkg index -r . -p "$PLATTAG" -o 00INDEX.rdf -i .
exit

Now you should have everything install-kolab.sh needs for an upgrade
in /kolab/RPM/PKG. (for a full binary distribution you would have
needed to copy the openpkg-20071030-20071030.*-kolab.sh file into
that directory, too, but for upgrades this isn't used)

Thomas

-- 
thomas at intevation.de - http://intevation.de/~thomas/ - OpenPGP key: 0x5816791A
Intevation GmbH, Osnabrueck - Register: Amtsgericht Osnabrueck, HR B 18998
Geschaeftsfuehrer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.kolab.org/pipermail/users/attachments/20071211/1bbc8526/attachment.sig>


More information about the users mailing list