List Info

Thread: Upgrading to 2.2beta3 failed perl-xml build error




Upgrading to 2.2beta3 failed perl-xml build error
country flaguser name
Germany
2007-12-10 13:14:49
Hello
 
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:
 
++ cleaning up environment
+ /kolab/bin/perl-openpkg -d
/kolab/RPM/SRC/perl-xml/XML-RegExp-0.03.tar.gz configure build install
++ OpenPKG perl-openpkg 2.0.1 (03-Dec-2004)
++ determined RPM ; program: /kolab/libexec/openpkg/rpm (4.2.1)
++ determined Perl program: /kolab/bin/perl (5.8.8)
++ step 2: configure
++ configuring module via ExtUtils::MakeMaker environment
Checking if your kit is complete...
Looks good
Writing Makefile for XML::RegExp
++ step 3: build
++ building module via ExtUtils::MakeMaker environment
cp lib/XML/RegExp.pm blib/lib/XML/RegExp.pm
++ step 4: install
++ installing module via ExtUtils::MakeMaker environment
Installing
/kolab/RPM/TMP/perl-xml-5.8.8-root/kolab/lib/perl/vendor_perl/5.8.8/XML/RegExp.pm
Writing
/kolab/RPM/TMP/perl-xml-5.8.8-root/kolab/lib/perl/vendor_perl/5.8.8/i686-linux/auto/XML/RegExp/.packlist
++ cleaning up environment
+ /kolab/bin/perl-openpkg -d
/kolab/RPM/SRC/perl-xml/XML-Simple-2.18.tar.gz configure build install
++ OpenPKG perl-openpkg 2.0.1 (03-Dec-2004)
++ determined RPM ; program: /kolab/libexec/openpkg/rpm (4.2.1)
++ determined Perl program: /kolab/bin/perl (5.8.8)
++ step 2: configure
++ 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)


RPM build errors:
    Bad exit status from /kolab/RPM/TMP/rpm-tmp.68759 (%install)

Please help, ;I am a newbie to kolab.
 
best regards
Günter Herberholz
Re: Upgrading to 2.2beta3 failed perl-xml build error
country flaguser name
Germany
2007-12-11 02:05:56
Hi Günter,

Günter Herberholz <adminkjh.de> writes:

> Hello
>  
> 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:
>  
> ++ cleaning up environment
> + /kolab/bin/perl-openpkg -d
> /kolab/RPM/SRC/perl-xml/XML-RegExp-0.03.tar.gz
configure build install
> ++ OpenPKG perl-openpkg 2.0.1 (03-Dec-2004)
> ++ determined RPM  program: /kolab/libexec/openpkg/rpm
(4.2.1)
> ++ determined Perl program: /kolab/bin/perl (5.8.8)
> ++ step 2: configure
> ++ configuring module via ExtUtils::MakeMaker
environment
> Checking if your kit is complete...
> Looks good
> Writing Makefile for XML::RegExp
> ++ step 3: build
> ++ building module via ExtUtils::MakeMaker environment
> cp lib/XML/RegExp.pm blib/lib/XML/RegExp.pm
> ++ step 4: install
> ++ installing module via ExtUtils::MakeMaker
environment
> Installing
>
/kolab/RPM/TMP/perl-xml-5.8.8-root/kolab/lib/perl/vendor_per
l/5.8.8/XML/RegExp.pm
> Writing
>
/kolab/RPM/TMP/perl-xml-5.8.8-root/kolab/lib/perl/vendor_per
l/5.8.8/i686-linux/auto/XML/RegExp/.packlist
> ++ cleaning up environment
> + /kolab/bin/perl-openpkg -d
> /kolab/RPM/SRC/perl-xml/XML-Simple-2.18.tar.gz
configure build install
> ++ OpenPKG perl-openpkg 2.0.1 (03-Dec-2004)
> ++ determined RPM  program: /kolab/libexec/openpkg/rpm
(4.2.1)
> ++ determined Perl program: /kolab/bin/perl (5.8.8)
> ++ step 2: configure
> ++ 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)
>
> RPM build errors:
>     Bad exit status from /kolab/RPM/TMP/rpm-tmp.68759
(%install)
>
> Please help, I am a newbie to kolab.

I played around with my development environment to see if I
can
reproduce your error but failed to do so.

So it would be good if you could open up a bug in the Kolab
bug
tracker and please attach the output of the following
command to that
bug:

/kolab/bin/openpkg rpm -q -a

This should provide a list of all packages currently
installed in your
Kolab environment and that might make it easier to spot the
problem.

Cheers,

Gunnar

>  
> best regards
> Günter Herberholz
>
> _______________________________________________
> Kolab-users mailing list
> Kolab-userskolab.org
> https:
//kolab.org/mailman/listinfo/kolab-users

-- 
______ http://kdab.com
_______________ http://kolab-konsortium.c
om _

prdus Kolab work is funded in part by KDAB and the
Kolab Konsortium

____ http://www.pardus.de
_________________ http://gunnarwrobel.de _
E-mail : prdus.de                                 Dr. Gunnar
Wrobel
Tel.   : +49 40 432 72335                          
Bundesstrasse 29
Fax    : +49 40 432 70855                            D-20146
Hamburg
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~
   >> Mail at ease - Rent a kolab groupware server at
prdus <<                 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~

_______________________________________________
Kolab-users mailing list
Kolab-userskolab.org
https:
//kolab.org/mailman/listinfo/kolab-users
Re: Upgrading to 2.2beta3 failed perl-xml build error
user name
2007-12-11 02:34:18
* Günter Herberholz <adminkjh.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

-- 
thomasintevation.de - http://intevation.de/~t
homas/ - OpenPGP key: 0x5816791A
Intevation GmbH, Osnabrueck - Register: Amtsgericht
Osnabrueck, HR B 18998
Geschaeftsfuehrer: Frank Koormann, Bernhard Reiter, Dr.
Jan-Oliver Wagner

_______________________________________________
Kolab-users mailing list
Kolab-userskolab.org
https:
//kolab.org/mailman/listinfo/kolab-users

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )