Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
merging libwww-5.4.0-r2 and kdelibs-3.1.4 fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
hulk2nd
Guru
Guru


Joined: 25 Mar 2003
Posts: 512
Location: Freiburg, Germany

PostPosted: Thu Dec 11, 2003 1:31 pm    Post subject: merging libwww-5.4.0-r2 and kdelibs-3.1.4 fails Reply with quote

hi there,

when i try to merge libwww and kdelibs i get the following errors:
Code:
creating wwwconf.h
cd . && aclocal
cd . && automake --foreign --include-deps Makefile
cd . && autoconf
aclocal.m4:267: error: m4_defn: undefined macro: _m4_divert_diversion
autoconf/c.m4:1180: AC_C_VOLATILE is expanded from...
aclocal.m4:267: the top level
autom4te-2.58: /usr/bin/m4 failed with exit status: 1
make: *** [configure] Error 1

!!! ERROR: net-libs/libwww-5.4.0-r2 failed.
!!! Function src_compile, Line 59, Exitcode 2
!!! (no error message)

and
Code:
deviceman.cc: In member function 'int DeviceManager::initManager()':
deviceman.cc:345: aggregate 'snd_seq_client_info_t clienti' has incomplete type and cannot be defined
deviceman.cc:346: aggregate 'snd_seq_port_info_t porti' has incomplete type and cannot be defined
deviceman.cc:348: 'SND_SEQ_OPEN' undeclared (first use this function
deviceman.cc:348: (Each undeclared identifier is reported only once for each function it appears in.)
deviceman.cc:351: aggregate 'snd_seq_system_info_t info' has incomplete type and cannot be defined
make[2]: *** deviceman.lo Error 1
make[2]: *** waiting for unfinished jobs...
make[2]: Leaving directory '/var/tmp/portage/kdelibs-3.1.4/work/kdelibs-3.1.4/libkmid'
make[1]:all-recursive Error 1
make[1]:Leaving directory '/var/tmp/portage/kdelibs-3.1.4/work/kdelibs-3.1.4'
make: *** [all] Error 2

!!! Error: kde-base/kdelibs-3.1.4 falied
!!! Function kde_src_compile, Line 137, Exitcode 2
!!! died running emake, kde_src_compile:make


any suggestions?

greets,
hulk
Back to top
View user's profile Send private message
Tom.Fischer
n00b
n00b


Joined: 10 Dec 2003
Posts: 31
Location: Cologne, Germany

PostPosted: Thu Dec 11, 2003 11:16 pm    Post subject: Re: merging libwww-5.4.0-r2 and kdelibs-3.1.4 fails Reply with quote

hulk2nd wrote:
hi there,

when i try to merge libwww and kdelibs i get the following errors:
Code:
creating wwwconf.h
cd . && aclocal
cd . && automake --foreign --include-deps Makefile
cd . && autoconf
aclocal.m4:267: error: m4_defn: undefined macro: _m4_divert_diversion
autoconf/c.m4:1180: AC_C_VOLATILE is expanded from...
aclocal.m4:267: the top level
autom4te-2.58: /usr/bin/m4 failed with exit status: 1
make: *** [configure] Error 1

!!! ERROR: net-libs/libwww-5.4.0-r2 failed.
!!! Function src_compile, Line 59, Exitcode 2
!!! (no error message)



I had the same problem with libwww. The following has worked for me.
I changed into the work directory from the package (/var/tmp/portage/libwww-5.4.0-r2/work/w3c-libwww-5.4.0) and did a make and after that make install. Then i merged it with ebuild /usr/portage/net-libs/libwww/libwww-5.4.0-r2.ebuild merge

HTH

Tom
Back to top
View user's profile Send private message
hulk2nd
Guru
Guru


Joined: 25 Mar 2003
Posts: 512
Location: Freiburg, Germany

PostPosted: Thu Dec 11, 2003 11:50 pm    Post subject: Reply with quote

great, worked! big thanks!

and according to the other problems, this should solve it for everyone ...

https://bugs.gentoo.org/show_bug.cgi?id=35412


greets,
hulk
Back to top
View user's profile Send private message
uglyman
Apprentice
Apprentice


Joined: 21 Apr 2002
Posts: 216
Location: Seattle, WA USA

PostPosted: Fri Dec 12, 2003 1:01 am    Post subject: more info Reply with quote

if you need more info on this you can find it at

https://bugs.gentoo.org/show_bug.cgi?id=35327

This issue shows up about half way down the discussion comments.

later
uglyman
Back to top
View user's profile Send private message
bwins46
n00b
n00b


Joined: 10 Dec 2003
Posts: 9
Location: Massachusetts

PostPosted: Fri Dec 12, 2003 2:14 am    Post subject: libwww solution (the easy way) Reply with quote

After looking thru the posts here and in the bug log - I was able to get the emerge to be successful by editing usr/portage/net-libs/libwww/libwww-5.4.0-r2.ebuild. Change the two lines

WANT_AUTOCONF_2_5="yes" and WANT_AUTOCONF="2.5"
to
WANT_AUTOCONF_2_5="no" and WANT_AUTOCONF="2.1"

then emerge libwww (or emerge -u libwww) and all is well. Remember that an 'emerge sync' will wipe out this change to the ebuild but hopefully a correct (_r3) ebuild will replace it. Enjoy :D
Back to top
View user's profile Send private message
uglyman
Apprentice
Apprentice


Joined: 21 Apr 2002
Posts: 216
Location: Seattle, WA USA

PostPosted: Fri Dec 12, 2003 6:43 am    Post subject: thanks Reply with quote

Thanks a lot bwins, tried and worked!
-ugh
Back to top
View user's profile Send private message
Kow
Apprentice
Apprentice


Joined: 28 Dec 2003
Posts: 227

PostPosted: Sat Feb 07, 2004 7:47 am    Post subject: Reply with quote

perhaps developers have realized this problem has been laid stagnant since November and it is coming back to haunt them in the wake up KDE 3.2....
_________________
-Kow
Back to top
View user's profile Send private message
Kow
Apprentice
Apprentice


Joined: 28 Dec 2003
Posts: 227

PostPosted: Sat Feb 07, 2004 7:48 am    Post subject: Reply with quote

perhaps developers realize that their autoconf setup is totally off the wall stupid and should be redone....
_________________
-Kow
Back to top
View user's profile Send private message
Kow
Apprentice
Apprentice


Joined: 28 Dec 2003
Posts: 227

PostPosted: Sat Feb 07, 2004 7:51 am    Post subject: Reply with quote

*hint emerge libwww will not notice a difference between libtool 1.4.3 and 1.5.2 even tho both are completely different versions....

1.4.3 works 1.5.2 does not
_________________
-Kow
Back to top
View user's profile Send private message
hertog
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jun 2002
Posts: 138
Location: Enschede/The Netherlands/Europe

PostPosted: Sun Feb 08, 2004 1:55 pm    Post subject: Reply with quote

Kow wrote:
*hint emerge libwww will not notice a difference between libtool 1.4.3 and 1.5.2 even tho both are completely different versions....

1.4.3 works 1.5.2 does not


Thanks for the hint :)

emerge libtool-1.4.3-r3 and all is fine here :)

Thanks!
Back to top
View user's profile Send private message
Frans
n00b
n00b


Joined: 27 Nov 2003
Posts: 13

PostPosted: Mon Feb 09, 2004 4:00 pm    Post subject: Reply with quote

I say WHOHOO 2 kow!

good hint!
Code:
emerge /usr/portage/sys-devel/libtool/libtool-1.4.3-r3.ebuild

then
Code:
emerge libwww


and libwww works!

tnx kow... it took me 2 hours....
Back to top
View user's profile Send private message
kozmic
n00b
n00b


Joined: 29 Oct 2002
Posts: 33

PostPosted: Wed Feb 18, 2004 1:23 am    Post subject: Reply with quote

Code:

WANT_AUTOCONF_2_5="no" WANT_AUTOCONF="2.1" emerge libwww


this worked for me.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum