an ebuild for opale, depends on kde/koffice Reproducible: Always Steps to Reproduce: 1. 2. 3.
Here's an actual homepage for some more info: http://orzel.freehackers.org/opale/
actually, i think it should depends on koffice-1.3 rc2, as it has just been released. I will compile with it, though it wont with rc1 (i'm the author of opale, you can trust me :)
Just tried the ebuild. It failed with the following: checking for kprinter.h (kdelibs>2.1)... found in /usr/kde/3.2/include checking for KOffice... configure: error: Cannot find KOffice headers in . Please check your installation, or use --with-koffice-includes. died running ./configure, kde_src_compile:configure What a pity.
I get past that last problem with: myconf="--with-koffice-includes=/usr/include" emerge opale So presumably the ebuild is just not picking up the default directory for the koffice headers. Sorry, I don't know how to make a proper fix for this. But now the compilation fails with: /bin/sh ../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -march=pentium3 -Os -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -o opale.la -rpath /usr/lib -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.2/lib -module -avoid-version main.lo libopalepart.la /bin/sh ../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -march=pentium3 -Os -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -o opale dummy.o opale.la *** Warning: Linking the executable opale against the loadable module *** opale.so is not portable! /var/tmp/portage/opale-0.5/work/opale-0.5/opale/.libs/libopalepart.so: undefined reference to `KMainWindow::hide()' /var/tmp/portage/opale-0.5/work/opale-0.5/opale/.libs/libopalepart.so: undefined reference to `KMainWindow::show()' collect2: ld returned 1 exit status make[3]: *** [opale] Error 1 make[3]: Leaving directory `/var/tmp/portage/opale-0.5/work/opale-0.5/opale' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/opale-0.5/work/opale-0.5/opale' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/opale-0.5/work/opale-0.5' make: *** [all] Error 2
With myconf="--with-koffice-includes=/usr/include" emerge opale and a 2 week old CVS Version of KOffice I now get: /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/cvs/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -march=pentium3 -O3 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -c -o opale_graph.lo `test -f 'opale_graph.cc' || echo './'`opale_graph.cc opale_factory.cc: In member function `virtual KParts::Part* OpaleFactory::createPartObject(QWidget*, const char*, QObject*, const char*, const char*, const QStringList&)': opale_factory.cc:54: error: cannot allocate an object of type `OpalePart' opale_factory.cc:54: error: because the following virtual functions are abstract: /usr/include/koDocument.h:425: error: virtual bool KoDocument::loadOasis(const QDomDocument&, KoOasisStyles&) make[3]: *** [opale_factory.lo] Fehler 1 make[3]: *** Warte auf noch nicht beendete Prozesse... make[3]: Leaving directory `/var/tmp/portage/opale-0.5/work/opale-0.5/opale' make[2]: *** [all-recursive] Fehler 1 make[2]: Leaving directory `/var/tmp/portage/opale-0.5/work/opale-0.5/opale' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/opale-0.5/work/opale-0.5' make: *** [all] Fehler 2 !!! ERROR: app-office/opale-0.5 failed. !!! Function kde_src_compile, Line 127, Exitcode 2 !!! died running emake, kde_src_compile:make
Another compiler/linker error: Since my first bug report, I have removed all of KDE 3.1 (so I'm fully migrated to KDE 3.2). make now fails in the filters directory: /bin/sh ../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -o libcashimport.la -rpath /usr/kde/3.2/lib/kde3 -R /usr/kde/3.2/lib -R /usr/qt/3/lib -R /usr/X11R6/lib -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.2/lib -module -avoid-version -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined cashimport.lo cashimport.moc.lo -lkofficeui grep: /usr/kde/3.1/lib/libkdeprint.la: No such file or directory /bin/sed: can't read /usr/kde/3.1/lib/libkdeprint.la: No such file or directory libtool: link: `/usr/kde/3.1/lib/libkdeprint.la' is not a valid libtool archive make: *** [libcashimport.la] Error 1 As you can see, it's looking for libkdeprint.la in the KDE 3.1 directory (which no longer exists). I can't find where it is getting a reference to 3.1. (This is a completely new attempt at building by the way - I downloaded and unpacked a fresh copy of the archive, so it shouldn't even know I ever had KDE 3.1 on my machine!)
it's not supposed to work with post-koffice-1.3 cvs. They changed a lot of stuff, especially migrating to oasis file format (your error). Pleas try this new ebuild..
Created attachment 26516 [details] new opale ebuild
Created attachment 26517 [details] yet another opale ebuild
Thanks for the new ebuild. It solved the initial problems, but I still got the error I described in comment #6. It's still trying to find the file /usr/kde/3.1/lib/libkdeprint.la, which of course doesn't exist in my kde 3.2 system. Is there anything I can do to help you diagnose this problem? I'm afraid when I looked at libtool I didn't understand any of what it was supposed to be doing, why it should be invoking grep, or where it got the 3.1 from. But if you can give me any guidance, I'm very happy to help you solve this.
Opale is available since some time already, closing this old Bug.
Sorry, I was wrong, this is not yet available in Portage, reopening this Bug.
opale 0.6.1 is released... this one is out of date then.
definitely out of date. current version is 0.7.1