From koffice-devel Mon Feb 06 00:17:46 2006 From: Knut Morten Johansson Date: Mon, 06 Feb 2006 00:17:46 +0000 To: koffice-devel Subject: Re: koffice/lib/kross Message-Id: <200602060117.46728.knutmj () online ! no> X-MARC-Message: https://marc.info/?l=koffice-devel&m=113921577310653 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--Boundary-00=_qWp5D72J6xwWBoS" --Boundary-00=_qWp5D72J6xwWBoS Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Sunday 05 February 2006 11:18, Sebastian Sauer wrote: > SVN commit 505894 by sebsauer: > > Hopefully a fix for the at koffice.devel reported compile-problem. > > Knut, could you please try to recompile with scripting enabled and provide > feedback if the prob got fixed? Very much thanks in advance! :-) > No problem. I did a recompile, but it got slightly worse. In addition to the 3 errors I had in the original version: g++: /usr/lib/libkdecore.so: No such file or directory g++: /usr/lib/libDCOP.so: No such file or directory g++: /usr/lib/libkdefx.so: No such file or directory I got more of the same, something like (these are from memory): g++: /usr/lib/libkdeui.so: No such file or directory g++: /usr/lib/libkdefile.so: No such file or directory Short version, it did not fix my problem. Seeing David Faure answer to my original post, where he suspected a configure check (probably the one for python) was responsible for bringing in some ld parameters. I tried reordering myself, moving the python variables. Changing the LDFLAGS to: krosspython_la_LDFLAGS = $(KDE_PLUGIN) $(all_libraries) $(LIBPYTHON) $(PYTHONLIB) -module $(VER_INFO) And this did compile. Since I have very little understanding of makefiles etc, I have no idea if this is a correct solution or not. Or if it creates problems for others. I have no problem with disabling scripting to make it build on my non standard setup, so it's not particularly important to me. Anyway, diff attached. Regards Knut --Boundary-00=_qWp5D72J6xwWBoS Content-Type: text/x-makefile; charset="utf-8"; name="Makefile.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="Makefile.diff" Index: lib/kross/python/Makefile.am =================================================================== --- lib/kross/python/Makefile.am (revision 505938) +++ lib/kross/python/Makefile.am (working copy) @@ -2,7 +2,7 @@ kde_module_LTLIBRARIES = krosspython.la -krosspython_la_LDFLAGS = $(LIBPYTHON) $(PYTHONLIB) -module $(KDE_PLUGIN) $(all_libraries) $(VER_INFO) +krosspython_la_LDFLAGS = $(KDE_PLUGIN) $(all_libraries) $(LIBPYTHON) $(PYTHONLIB) -module $(VER_INFO) krosspython_la_SOURCES = \ pythonextension.cpp \ --Boundary-00=_qWp5D72J6xwWBoS Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ koffice-devel mailing list koffice-devel@kde.org https://mail.kde.org/mailman/listinfo/koffice-devel --Boundary-00=_qWp5D72J6xwWBoS--