Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | --enable-kde and WIDGETSET_KDE_CFLAGS vs KDE_CFLAGS, qt in configure | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | gsl | Reporter: | pavel | ||||||
Component: | code | Assignee: | rene | ||||||
Status: | CLOSED FIXED | QA Contact: | issues@gsl <issues> | ||||||
Severity: | Trivial | ||||||||
Priority: | P2 | CC: | issues, mmeeks, quetschke, rodarvus | ||||||
Version: | current | ||||||||
Target Milestone: | OOo 2.0 | ||||||||
Hardware: | PC | ||||||||
OS: | Linux, all | ||||||||
Issue Type: | PATCH | Latest Confirmation in: | --- | ||||||
Developer Difficulty: | --- | ||||||||
Attachments: |
|
Description
pavel
2004-12-05 08:20:29 UTC
Even with this patch, the build fails in vcl/util because it can't find KDE libs and co. This should be applied: --- makefile.mk 13 lis 2004 18:10:51 +0100 1.63 +++ makefile.mk 05 pro 2004 09:30:06 +0100 @@ -391,7 +391,7 @@ SHL5IMPLIB=ikde_plug_ SHL5LIBS=$(LIB5TARGET) # libs for KDE plugin -SHL5STDLIBS=$(WIDGETSET_KDE_LIBS) +SHL5STDLIBS=$(KDE_LIBS) SHL5STDLIBS+=-l$(SHL2TARGET) SHL5STDLIBS+=$(SHL3STDLIBS) -lX11 -ldl .ENDIF # "$(ENABLE_KDE)" != "" and even with this, it can't find stuff. Environment file contains: KDE_LIBS="-L/opt/kde3/lib -lkdeui" but I had to use at least this to be able to link all libs in vcl/util: KDE_LIBS='-L/opt/kde3/lib -lkdeui -lkdecore -L/usr/lib/qt3/lib/ -lqt-mt' oo@oo:~/BuildDir-SRC680_m64-1102203527/ooo_SRC680_m64_src/vcl/util> cat /etc/SuSE-release SuSE Linux 9.0 (i586) VERSION = 9.0 So I have kdebase3-3.1.4-48 and everything from this distro. This seems to partially duplicate #i37637# and #i36761#. Sorry for that. kendy: where do you get -lqt-mt in your build? update Summary accordingly, set target and finally, I need to patch scp2 to include libvclplug_kde. See attached patch. Created attachment 20134 [details]
scp2 patch for KDE VCL plugin
Created attachment 20141 [details]
and add missing dependency
kdescp2.diff is a duplicate of http://www.openoffice.org/issues/show_bug.cgi?id=35433, fixed in vcl32. The missing dependecy should have been fixed, see http://www.openoffice.org/issues/show_bug.cgi?id=38446, but was not, it seems. It builds fine for me, so I did not notice, sorry :( Do you have a CWS to commit vclbuild.diff, please? vcl32 seems to be ready for QA already. Sorry for the missing -lqt-mt; it just works for me automagically, but you are right that it should be listed in KDE_LIBS. Not #i38446#, but http://www.openoffice.org/issues/show_bug.cgi?id=35430 in the previous comment; cut'n'paste from wrong window:( I fixed vcl/prj/build.lst in pj14. kendy: now it looks like the following should be done: configure.in should be extended: by adding -lkdecore -lqt-mt to KDE_LIBS and by adding -L$QTLIB (which is to be found out) to KDE_LIBS. rodarvus: can you help here, please? pavel: Will look over it and do it in configure4 OK, reassigning to rene. committed to cws_src680_configure4. Please check. set to FIXED Seen in configure4 close |