[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: Re: koffice/lib/kross
From: Knut Morten Johansson <knutmj () online ! no>
Date: 2006-02-06 0:17:46
Message-ID: 200602060117.46728.knutmj () online ! no
[Download RAW message or body]
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
["Makefile.diff" (text/x-makefile)]
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 \
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic