Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emergeing kde 3.4.0, failing on quanta
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
lockejr
n00b
n00b


Joined: 02 Oct 2003
Posts: 3
Location: Kansas

PostPosted: Thu Mar 17, 2005 2:19 pm    Post subject: emergeing kde 3.4.0, failing on quanta Reply with quote

I am trying to emerge the new kde-meta package for kde 3.4.0 final. When I started I had a ton of blocks from the old kde install si I unmerged all of them and I am starting clean (or so I hope I am). Here is the errors I am getting on the quanta part

make[1]: Entering directory `/var/tmp/portage/quanta-3.4.0/work/quanta-3.4.0/quanta/src'
/bin/sh ../../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon-xp -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DENABLE_CVSSERVICE -o quanta -L/usr/kde/3.4/lib -L/usr/qt/3/lib -L/usr/lib -R /usr/kde/3.4/lib -R /usr/kde/3.4/lib -R /usr/qt/3/lib -R /usr/lib quanta_init.o quantaview.o quantadoc.o main.o document.o kqapp.o quanta.o dcopsettings.o dtds.o dcopquanta.o viewmanager.o dcopwindowmanagerif_skel.o dcopsettingsif_skel.o dcopquantaif_skel.o ../../quanta/project/libproject.la ../../quanta/plugins/libplugins.la ../../quanta/parsers/libparser.la ../../quanta/parsers/dtd/libdtdparser.la ../../quanta/treeviews/libtreeviews.la ../../quanta/dialogs/libdialogs.la ../../quanta/components/debugger/libdebuggermanager.la ../../quanta/dialogs/tagdialogs/libtagdialogs.la ../../quanta/dialogs/settings/libsettingsdialogs.la ../../quanta/messages/libmessages.la ../../quanta/components/framewizard/libframewizard.la ../../quanta/components/csseditor/libcsseditor.la ../../quanta/components/tableeditor/libtableeditor.la ../../quanta/parts/preview/libpreview.la ../../quanta/utility/libutility.la ../../lib/libquantamodule.la -lkatepartinterfaces -lknewstuff ../../quanta/parts/kafka/libkafkalibrary.la ../../quanta/components/cvsservice/libcvsservice.la -lcvsservice -lkmdi -lkabc -lkspell -lkhtml
../../quanta/parsers/dtd/.libs/libdtdparser.a(dtdparser.o)(.text+0x611): In function `DTDParser::parse()':
: undefined reference to `xmlCharStrndup'
../../quanta/parsers/dtd/.libs/libdtdparser.a(dtdparser.o)(.text+0x621): In function `DTDParser::parse()':
: undefined reference to `xmlParseDTD'
../../quanta/parsers/dtd/.libs/libdtdparser.a(dtdparser.o)(.text+0x674): In function `DTDParser::parse()':
: undefined reference to `xmlGetLastError'
../../quanta/parsers/dtd/.libs/libdtdparser.a(dtdparser.o)(.text+0x7e8): In function `DTDParser::parse()':
: undefined reference to `xmlResetError'
../../quanta/parsers/dtd/.libs/libdtdparser.a(dtdparser.o)(.text+0x1300): In function `DTDParser::parse()':
: undefined reference to `xmlHashScan'
../../quanta/parsers/dtd/.libs/libdtdparser.a(dtdparser.o)(.text+0x131d): In function `DTDParser::parse()':
: undefined reference to `xmlFreeDtd'
../../quanta/parsers/dtd/.libs/libdtdparser.a(dtdparser.o)(.text+0x16bd): In function `DTDParser::parse()':
: undefined reference to `xmlHashScan'
../../quanta/parsers/dtd/.libs/libdtdparser.a(dtdparser.o)(.text+0x1d97): In function `saveElement(_xmlElement*, _xmlBuffer*)':
: undefined reference to `xmlGetDtdElementDesc'
../../quanta/parsers/dtd/.libs/libdtdparser.a(dtdparser.o)(.text+0x2012): In function `saveElement(_xmlElement*, _xmlBuffer*)':
: undefined reference to `xmlValidGetPotentialChildren'
../../quanta/parsers/dtd/.libs/libdtdparser.a(dtdparser.o)(.text+0x20e9): In function `saveElement(_xmlElement*, _xmlBuffer*)':
: undefined reference to `xmlGetDtdElementDesc'
../../quanta/treeviews/.libs/libtreeviews.a(scripttreeview.o)(.text+0x3952): In function `ScriptTreeView::infoFile(KURL const&, bool)':
: undefined reference to `xmlSubstituteEntitiesDefault'
../../quanta/treeviews/.libs/libtreeviews.a(scripttreeview.o)(.text+0x3957): In function `ScriptTreeView::infoFile(KURL const&, bool)':
: undefined reference to `__xmlLoadExtDtdDefaultValue'
../../quanta/treeviews/.libs/libtreeviews.a(scripttreeview.o)(.text+0x3a70): In function `ScriptTreeView::infoFile(KURL const&, bool)':
: undefined reference to `xmlCharStrndup'
../../quanta/treeviews/.libs/libtreeviews.a(scripttreeview.o)(.text+0x3a78): In function `ScriptTreeView::infoFile(KURL const&, bool)':
: undefined reference to `xsltParseStylesheetFile'
../../quanta/treeviews/.libs/libtreeviews.a(scripttreeview.o)(.text+0x3aca): In function `ScriptTreeView::infoFile(KURL const&, bool)':
: undefined reference to `xmlParseFile'
../../quanta/treeviews/.libs/libtreeviews.a(scripttreeview.o)(.text+0x3b10): In function `ScriptTreeView::infoFile(KURL const&, bool)':
: undefined reference to `xsltApplyStylesheet'
../../quanta/treeviews/.libs/libtreeviews.a(scripttreeview.o)(.text+0x3b2e): In function `ScriptTreeView::infoFile(KURL const&, bool)':
: undefined reference to `xsltSaveResultToFile'
../../quanta/treeviews/.libs/libtreeviews.a(scripttreeview.o)(.text+0x3b3a): In function `ScriptTreeView::infoFile(KURL const&, bool)':
: undefined reference to `xsltFreeStylesheet'
../../quanta/treeviews/.libs/libtreeviews.a(scripttreeview.o)(.text+0x3b46): In function `ScriptTreeView::infoFile(KURL const&, bool)':
: undefined reference to `xmlFreeDoc'
../../quanta/treeviews/.libs/libtreeviews.a(scripttreeview.o)(.text+0x3b4e): In function `ScriptTreeView::infoFile(KURL const&, bool)':
: undefined reference to `xmlFreeDoc'
../../quanta/treeviews/.libs/libtreeviews.a(scripttreeview.o)(.text+0x3b53): In function `ScriptTreeView::infoFile(KURL const&, bool)':
: undefined reference to `xsltCleanupGlobals'
../../quanta/treeviews/.libs/libtreeviews.a(scripttreeview.o)(.text+0x3b58): In function `ScriptTreeView::infoFile(KURL const&, bool)':
: undefined reference to `xmlCleanupParser'
collect2: ld returned 1 exit status
make[1]: *** [quanta] Error 1
make[1]: Leaving directory `/var/tmp/portage/quanta-3.4.0/work/quanta-3.4.0/quanta/src'
make: *** [install-recursive] Error 1

!!! ERROR: kde-base/quanta-3.4.0 failed.
!!! Function kde-meta_src_install, Line 419, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Anybody have any ideas? do I need to re-emerge libxml?
_________________
-Chris
http://StageOfBattle.org
Back to top
View user's profile Send private message
szaman
n00b
n00b


Joined: 20 Jan 2004
Posts: 71
Location: Poland, Siemianowice

PostPosted: Sun Apr 10, 2005 6:47 pm    Post subject: Reply with quote

I've got the same :(
any help, please...
Back to top
View user's profile Send private message
mvc
Tux's lil' helper
Tux's lil' helper


Joined: 27 Nov 2002
Posts: 98
Location: Portugal

PostPosted: Wed Jul 13, 2005 1:32 am    Post subject: Reply with quote

I'm having the same problem but with quanta-3.4.1.

Any solution to this?
Marco
Back to top
View user's profile Send private message
ejona
n00b
n00b


Joined: 09 Jan 2004
Posts: 11
Location: Texas, USA

PostPosted: Thu Jul 21, 2005 7:18 pm    Post subject: Same here Reply with quote

Same here for quanta-3.4.1 - fail (<-- I was looking for that keyword and it didn't show up, so now it is there). I am amd64 2005.0 with gcc 3.4.4 and libxml2-2.6.19. That seems like a libxml problem during linking. Normally something like that would be solved with -lxml2... There is a new libxml2 out, so I will emerge that to see if it helps (instead of just re-emerging my current version).
Back to top
View user's profile Send private message
ejona
n00b
n00b


Joined: 09 Jan 2004
Posts: 11
Location: Texas, USA

PostPosted: Thu Jul 21, 2005 8:29 pm    Post subject: Reply with quote

Okay, I got the new libxml2 and it didn't work (which is what I was thinking). Then I cd into /var/tmp/portage/ etc and tried to compile that one file by hand. I tried it once with the same command that was issued in make, and I got the same error as in portage. I then added "`xml2-config --cflags --libs` `xslt-config --cflags --libs`" and it worked... now what? What is the best way to add these to automation?
Back to top
View user's profile Send private message
ejona
n00b
n00b


Joined: 09 Jan 2004
Posts: 11
Location: Texas, USA

PostPosted: Thu Jul 21, 2005 8:45 pm    Post subject: Reply with quote

I looked at the ebuild and I see:

Code:

src_compile () {
    myconf="--with-extra-include=$(xml2-config --cflags | sed -e 's:^-I::')"
    export LIBXML_LIBS="`xml2-config --libs`"
    export LIBXSLT_LIBS="`xslt-config --libs`"
    kde-meta_src_compile
}


So I don't know what is up. I will probably file a bug report on this soon. I just wish I knew part was breaking.
Back to top
View user's profile Send private message
ejona
n00b
n00b


Joined: 09 Jan 2004
Posts: 11
Location: Texas, USA

PostPosted: Thu Jul 21, 2005 9:38 pm    Post subject: Reply with quote

For those wishing to fix the problem immediately, you can start the compile, wait for configure to finish, and then:
Code:
cd /var/tmp/portage/quanta-3.4.1/work/quanta-3.4.1/quanta/src
nano -w Makefile
# Find 'LIB_KHTML' and add:
`xml2-config --cflags --libs` `xslt-config --cflags --libs`
# so that it lookes something like:
LIB_KHTML = -lkhtml `xml2-config --cflags --libs` `xslt-config --cflags --libs`


Note that the --cflags probably aren't needed because we noticed the errors during linking. The LIB_KHTML variable is used only once and on the line that was failing. You will be happy (or annoyed) to know that this was the last file to compile in src.

I will post on this thread if/when I submit a bug report. One should really be submitted.
Back to top
View user's profile Send private message
ejona
n00b
n00b


Joined: 09 Jan 2004
Posts: 11
Location: Texas, USA

PostPosted: Thu Jul 21, 2005 9:52 pm    Post subject: Reply with quote

I submitted a bug report:
https://bugs.gentoo.org/show_bug.cgi?id=99842
Back to top
View user's profile Send private message
mvc
Tux's lil' helper
Tux's lil' helper


Joined: 27 Nov 2002
Posts: 98
Location: Portugal

PostPosted: Fri Jul 22, 2005 12:21 am    Post subject: Reply with quote

I solved the problem here. I don't really know what exactly solved it since a did a lot of re-emerges, but you can try: sys-libs/com_err.

good luck
marco
Back to top
View user's profile Send private message
ejona
n00b
n00b


Joined: 09 Jan 2004
Posts: 11
Location: Texas, USA

PostPosted: Fri Jul 22, 2005 2:07 pm    Post subject: Reply with quote

If you have trouble try deleting all the files in /var/tmp/portage as seen in the bug report https://bugs.gentoo.org/show_bug.cgi?id=87623. This worked for me without having to edit that Makefile.
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