Bug 99759 - error compiling python support
Summary: error compiling python support
Status: RESOLVED FIXED
Alias: None
Product: kig
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Dominique Devriese
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-19 10:28 UTC by Marco Clocchiatti
Modified: 2005-02-21 16:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Clocchiatti 2005-02-19 10:28:47 UTC
Version:            (using KDE KDE 3.3.92)
Installed from:    Gentoo Packages
Compiler:          x86_64-pc-linux-gnu/3.4.3 -  i686-pc-linux-gnu/3.4.3 
OS:                Linux

gentoo ebuild for kdeedu-3.4* fails compiling phyton support.
That's particularly important, because, without phyton support, some features indipendent from scripting are bad working.
See also this link: http://bugs.gentoo.org/show_bug.cgi?id=80964

That's the error:

Making all in scripting
In file included from /usr/include/python2.3/Python.h:8,
                 from python_scripter.cc:20:
/usr/include/python2.3/pyconfig.h:850:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/features.h:7,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include/g++-v3/x86_64-pc-linux-gnu/bits/os_defines.h:39,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include/g++-v3/x86_64-pc-linux-gnu/bits/c++config.h:35,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include/g++-v3/bits/stl_algobase.h:64,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include/g++-v3/bits/stl_tree.h:66,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include/g++-v3/set:66,
                 from ../objects/common.h:21,
                 from python_scripter.h:21,
                 from python_scripter.cc:18:
/usr/include/gentoo-multilib/amd64/features.h:150:1: warning: this is the location of the previous definition
/usr/include/boost/python/with_custodian_and_ward.hpp: In static member function `static PyObject* boost::python::with_custodian_and_ward_postcall<custodian, ward, BasePolicy_>::postcall(const ArgumentPackage&, PyObject*) [with ArgumentPackage = PyObject*, long unsigned int custodian = 0ul, long unsigned int ward = 1ul, BasePolicy_ = boost::python::default_call_policies]':
/usr/include/boost/python/detail/caller.hpp:201:   instantiated from `PyObject* boost::python::detail::caller_arity<1u>::impl<F, Policies, Sig>::operator()(PyObject*, PyObject*) [with F = boost::python::detail::member<Coordinate, ConicPolarData>, Policies = boost::python::return_internal_reference<1ul, boost::python::default_call_policies>, Sig = boost::mpl::vector2<Coordinate&, ConicPolarData&>]'
/usr/include/boost/python/object/py_function.hpp:39:   instantiated from `PyObject* boost::python::objects::caller_py_function_impl<Caller>::operator()(PyObject*, PyObject*) [with Caller = boost::python::detail::caller<boost::python::detail::member<Coordinate, ConicPolarData>, boost::python::return_internal_reference<1ul, boost::python::default_call_policies>, boost::mpl::vector2<Coordinate&, ConicPolarData&> >]'
python_scripter.cc:576:   instantiated from here
/usr/include/boost/python/with_custodian_and_ward.hpp:88: warning: comparison is always false due to limited range of data type
/usr/include/boost/python/detail/caller.hpp: At global scope:
/usr/include/boost/python/detail/caller.hpp:89: warning: unused parameter 'args_'
/usr/include/boost/python/detail/caller.hpp:89: warning: unused parameter 'args_'
/usr/include/boost/python/detail/caller.hpp:89: warning: unused parameter 'args_'
/usr/include/boost/tuple/detail/tuple_basic.hpp:291: warning: unused parameter 't1'
/usr/include/boost/tuple/detail/tuple_basic.hpp:291: warning: unused parameter 't1'
/usr/include/boost/tuple/detail/tuple_basic.hpp:291: warning: unused parameter 't1'
/usr/include/boost/python/detail/caller.hpp:89: warning: unused parameter 'args_'
/usr/include/boost/python/detail/caller.hpp:89: warning: unused parameter 'args_'
/usr/include/boost/python/detail/caller.hpp:89: warning: unused parameter 'args_'
/usr/include/boost/python/detail/caller.hpp:89: warning: unused parameter 'args_'
/usr/include/boost/python/detail/caller.hpp:89: warning: unused parameter 'args_'
/usr/include/boost/python/detail/caller.hpp:89: warning: unused parameter 'args_'
/usr/include/boost/python/detail/caller.hpp:89: warning: unused parameter 'args_'
/usr/include/boost/python/detail/caller.hpp:89: warning: unused parameter 'args_'
/usr/include/boost/python/detail/caller.hpp:89: warning: unused parameter 'args_'
/usr/include/boost/python/detail/caller.hpp:89: warning: unused parameter 'args_'
/usr/include/boost/python/detail/caller.hpp:89: warning: unused parameter 'args_'
/usr/include/boost/python/detail/caller.hpp:89: warning: unused parameter 'args_'
/usr/include/boost/python/detail/caller.hpp:89: warning: unused parameter 'args_'
/usr/include/boost/python/detail/caller.hpp:89: warning: unused parameter 'args_'
/usr/include/boost/python/detail/caller.hpp:89: warning: unused parameter 'args_'
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lboost_python
collect2: ld returned 1 exit status
make[3]: *** [libkigpart.la] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

!!! ERROR: kde-base/kdeedu-3.4.0_beta2 failed.
!!! Function kde_src_compile, Line 153, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.

    ...done!
>>> emerge (1 of 1) kde-base/kdeedu-3.4.0_beta2 to /
>>> md5 src_uri ;-) kdeedu-3.3.92.tar.bz2
Comment 1 Gregorio Guidi 2005-02-19 12:07:15 UTC
That error is probably Gentoo-specific, and related to the boost package on amd64.
The real reason for python scripting being disabled by default on Gentoo is this other error, which happens also on x86 and seems to be a real kig issue:

/bin/sh ../libtool --silent --mode=link --tag=CXX 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 -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o libkigpart.la -rpath /local/kde/lib/kde3 -module -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /local/kde/lib -R /local/kde/lib -R /usr/qt/3/lib -R /usr/lib  -L/local/kde/lib -L/usr/qt/3/lib -L/usr/lib    dummy.lo -lkparts misc/libmisc.la objects/libobjects.la filters/libfilters.la modes/libmodes.la scripting/libscripting.la kig/libkigparttemp.la
scripting/.libs/libscripting.a(newscriptwizard.o)(.text+0x339): In function `NewScriptWizard::~NewScriptWizard [not-in-charge]()':
: undefined reference to `typeinfo for KTextEditor::DynWordWrapInterface'
scripting/.libs/libscripting.a(newscriptwizard.o)(.text+0x34c): In function `NewScriptWizard::~NewScriptWizard [not-in-charge]()':
: undefined reference to `typeinfo for KTextEditor::View'
scripting/.libs/libscripting.a(newscriptwizard.o)(.text+0x432): In function `NewScriptWizard::~NewScriptWizard [in-charge]()':
: undefined reference to `typeinfo for KTextEditor::DynWordWrapInterface'
scripting/.libs/libscripting.a(newscriptwizard.o)(.text+0x43c): In function `NewScriptWizard::~NewScriptWizard [in-charge]()':
: undefined reference to `typeinfo for KTextEditor::View'
scripting/.libs/libscripting.a(newscriptwizard.o)(.text+0x523): In function `NewScriptWizard::~NewScriptWizard [in-charge deleting]()':
: undefined reference to `typeinfo for KTextEditor::DynWordWrapInterface'
scripting/.libs/libscripting.a(newscriptwizard.o)(.text+0x52d): In function `NewScriptWizard::~NewScriptWizard [in-charge deleting]()':
: undefined reference to `typeinfo for KTextEditor::View'
scripting/.libs/libscripting.a(newscriptwizard.o)(.text+0x5e3): In function `NewScriptWizard::NewScriptWizard[not-in-charge](QWidget*, ScriptMode*)':
: undefined reference to `KTextEditor::EditorChooser::createDocument(QObject*, char const*, QString const&, bool)'
scripting/.libs/libscripting.a(newscriptwizard.o)(.text+0x9a7): In function `NewScriptWizard::NewScriptWizard[not-in-charge](QWidget*, ScriptMode*)':
: undefined reference to `typeinfo for KTextEditor::PopupMenuInterface'
scripting/.libs/libscripting.a(newscriptwizard.o)(.text+0x9b1): In function `NewScriptWizard::NewScriptWizard[not-in-charge](QWidget*, ScriptMode*)':
: undefined reference to `typeinfo for KTextEditor::View'
scripting/.libs/libscripting.a(newscriptwizard.o)(.text+0x9c7): In function `NewScriptWizard::NewScriptWizard[not-in-charge](QWidget*, ScriptMode*)':
: undefined reference to `typeinfo for KTextEditor::DynWordWrapInterface'
scripting/.libs/libscripting.a(newscriptwizard.o)(.text+0x9da): In function `NewScriptWizard::NewScriptWizard[not-in-charge](QWidget*, ScriptMode*)':
: undefined reference to `typeinfo for KTextEditor::View'
scripting/.libs/libscripting.a(newscriptwizard.o)(.text+0x9fc): In function `NewScriptWizard::NewScriptWizard[not-in-charge](QWidget*, ScriptMode*)':
: undefined reference to `typeinfo for KTextEditor::DynWordWrapInterface'
scripting/.libs/libscripting.a(newscriptwizard.o)(.text+0xa06): In function `NewScriptWizard::NewScriptWizard[not-in-charge](QWidget*, ScriptMode*)':
: undefined reference to `typeinfo for KTextEditor::View'
scripting/.libs/libscripting.a(newscriptwizard.o)(.text+0xa48): In function `NewScriptWizard::NewScriptWizard[not-in-charge](QWidget*, ScriptMode*)':
: undefined reference to `typeinfo for KTextEditor::HighlightingInterface'
scripting/.libs/libscripting.a(newscriptwizard.o)(.text+0xa5b): In function `NewScriptWizard::NewScriptWizard[not-in-charge](QWidget*, ScriptMode*)':
: undefined reference to `typeinfo for KTextEditor::Document'
scripting/.libs/libscripting.a(newscriptwizard.o)(.text+0xb43): In function `NewScriptWizard::NewScriptWizard[in-charge](QWidget*, ScriptMode*)':
: undefined reference to `KTextEditor::EditorChooser::createDocument(QObject*, char const*, QString const&, bool)'
scripting/.libs/libscripting.a(newscriptwizard.o)(.text+0xf07): In function `NewScriptWizard::NewScriptWizard[in-charge](QWidget*, ScriptMode*)':
: undefined reference to `typeinfo for KTextEditor::PopupMenuInterface'
scripting/.libs/libscripting.a(newscriptwizard.o)(.text+0xf11): In function `NewScriptWizard::NewScriptWizard[in-charge](QWidget*, ScriptMode*)':
: undefined reference to `typeinfo for KTextEditor::View'
scripting/.libs/libscripting.a(newscriptwizard.o)(.text+0xf27): In function `NewScriptWizard::NewScriptWizard[in-charge](QWidget*, ScriptMode*)':
: undefined reference to `typeinfo for KTextEditor::DynWordWrapInterface'
scripting/.libs/libscripting.a(newscriptwizard.o)(.text+0xf3a): In function `NewScriptWizard::NewScriptWizard[in-charge](QWidget*, ScriptMode*)':
: undefined reference to `typeinfo for KTextEditor::View'
scripting/.libs/libscripting.a(newscriptwizard.o)(.text+0xf5c): In function `NewScriptWizard::NewScriptWizard[in-charge](QWidget*, ScriptMode*)':
: undefined reference to `typeinfo for KTextEditor::DynWordWrapInterface'
scripting/.libs/libscripting.a(newscriptwizard.o)(.text+0xf66): In function `NewScriptWizard::NewScriptWizard[in-charge](QWidget*, ScriptMode*)':
: undefined reference to `typeinfo for KTextEditor::View'
scripting/.libs/libscripting.a(newscriptwizard.o)(.text+0xfa8): In function `NewScriptWizard::NewScriptWizard[in-charge](QWidget*, ScriptMode*)':
: undefined reference to `typeinfo for KTextEditor::HighlightingInterface'
scripting/.libs/libscripting.a(newscriptwizard.o)(.text+0xfbb): In function `NewScriptWizard::NewScriptWizard[in-charge](QWidget*, ScriptMode*)':
: undefined reference to `typeinfo for KTextEditor::Document'
scripting/.libs/libscripting.a(newscriptwizard.o)(.text+0x1325): In function `NewScriptWizard::setText(QString const&)':
: undefined reference to `typeinfo for KTextEditor::EditInterface'
scripting/.libs/libscripting.a(newscriptwizard.o)(.text+0x1338): In function `NewScriptWizard::setText(QString const&)':
: undefined reference to `typeinfo for KTextEditor::Document'
scripting/.libs/libscripting.a(newscriptwizard.o)(.text+0x13be): In function `NewScriptWizard::text()':
: undefined reference to `typeinfo for KTextEditor::EditInterface'
scripting/.libs/libscripting.a(newscriptwizard.o)(.text+0x13c8): In function `NewScriptWizard::text()':
: undefined reference to `typeinfo for KTextEditor::Document'
scripting/.libs/libscripting.a(newscriptwizard.o)(.text+0x1600): In function `NewScriptWizard::slotUndo()':
: undefined reference to `typeinfo for KTextEditor::UndoInterface'
scripting/.libs/libscripting.a(newscriptwizard.o)(.text+0x160a): In function `NewScriptWizard::slotUndo()':
: undefined reference to `typeinfo for KTextEditor::Document'
scripting/.libs/libscripting.a(newscriptwizard.o)(.text+0x1660): In function `NewScriptWizard::slotRedo()':
: undefined reference to `typeinfo for KTextEditor::UndoInterface'
scripting/.libs/libscripting.a(newscriptwizard.o)(.text+0x166a): In function `NewScriptWizard::slotRedo()':
: undefined reference to `typeinfo for KTextEditor::Document'
scripting/.libs/libscripting.a(newscriptwizard.o)(.text+0x16c0): In function `NewScriptWizard::slotCut()':
: undefined reference to `typeinfo for KTextEditor::ClipboardInterface'
scripting/.libs/libscripting.a(newscriptwizard.o)(.text+0x16ca): In function `NewScriptWizard::slotCut()':
: undefined reference to `typeinfo for KTextEditor::View'
scripting/.libs/libscripting.a(newscriptwizard.o)(.text+0x1717): In function `NewScriptWizard::slotCopy()':
: undefined reference to `typeinfo for KTextEditor::ClipboardInterface'
scripting/.libs/libscripting.a(newscriptwizard.o)(.text+0x172a): In function `NewScriptWizard::slotCopy()':
: undefined reference to `typeinfo for KTextEditor::View'
scripting/.libs/libscripting.a(newscriptwizard.o)(.text+0x1780): In function `NewScriptWizard::slotPaste()':
: undefined reference to `typeinfo for KTextEditor::ClipboardInterface'
scripting/.libs/libscripting.a(newscriptwizard.o)(.text+0x178a): In function `NewScriptWizard::slotPaste()':
: undefined reference to `typeinfo for KTextEditor::View'
collect2: ld returned 1 exit status
make[1]: *** [libkigpart.la] Error 1
make[1]: Leaving directory `/local/kde-build/kdeedu/kig'
make: *** [all-recursive] Error 1
Comment 2 Dominique Devriese 2005-02-19 13:50:23 UTC
Gregorio Guidi writes:

> That error is probably Gentoo-specific, and related to the boost
> package on amd64.  

I don't think so, it's a general problem caused by boost.python
changing their library name in boost 1.32.  I'm going to fix it as
soon as I find the time..

> The real reason for python scripting being
> disabled by default on Gentoo is this other error, which happens
> also on x86 and seems to be a real kig issue:

I am not sure about this, but it may be caused by you mixing different
compiler or library versions ( e.g. kdelibs compiled with g++ 3.3 and
kig with 3.4 or something like that ).  I don't think it's related to
this bug..

cheers
domi

Comment 3 Dominique Devriese 2005-02-19 15:37:57 UTC
CVS commit by domi: 

This commit improves the kig configure macro's, so that they check for
the boost.python library name, and automatically choose the right one.

This fixes problems on SuSE and Gentoo, where g++ no longer found the
-lboost_python library.  Debian was not affected because the
boost_python maintainers had provided a backwards compatibility link.

Can all of you please try out this new code, so that I can be sure
it's in good shape before the KDE 3.4 release ?

BUGS:99759
CCMAIL:80964@bugs.gentoo.org
CCMAIL:Ferdinand Gassauer <gassauer@kde.org>


  M +23 -7     configure.in.in   1.36


--- kdeedu/kig/configure.in.in  #1.35:1.36
@@ -154,11 +154,27 @@
                   ], [
                     AC_MSG_RESULT([yes])
-
-                    # And we're done!
-                    BOOST_PYTHON_INCLUDES="-I$incdir"
-                    BOOST_PYTHON_LIBS="-lboost_python"
-                    PYTHON_LIBS="-l$pylib $extralibs"
-                    PYTHON_LDFLAGS="-L$pylibdir"
-                    __regina_py_ok=1
+                    for bplib in "-lboost_python-gcc-mt-1_32" "-lboost_python-gcc-mt-1_31" "-lboost_python"; do
+                      AC_MSG_CHECKING([compilation of a boost.python program with $bplib])
+                      LDFLAGS="$__regina_py_save_ldflags -L$pylibdir"
+                      LIBS="-l$pylib $bplib $extralibs"
+                      AC_TRY_LINK([
+                        #include <boost/python.hpp>
+                        const char* greet() { return "Hello world!"; }
+                        BOOST_PYTHON_MODULE(hello) { boost::python::def("greet", greet); }
+                      ], [
+                        /* No main body. */
+                      ], [
+                        AC_MSG_RESULT([yes])
+                        # And we're done!
+                        BOOST_PYTHON_INCLUDES="-I$incdir"
+                        BOOST_PYTHON_LIBS="$bplib"
+                        PYTHON_LIBS="-l$pylib $extralibs"
+                        PYTHON_LDFLAGS="-L$pylibdir"
+                        __regina_py_ok=1
+                      ], [
+                        AC_MSG_RESULT([no])
+                      ])
+                      if test "$__regina_py_ok" = "1"; then break; fi
+                    done
                   ], [
                     AC_MSG_RESULT([no])


Comment 4 Gregorio Guidi 2005-02-19 16:10:44 UTC
Hi Dominique, thanks for clarifying the issue of the missing library and for fixing it.
About the linking error, I investigated a bit and it seems that the following patch is needed here. I don't know exactly what it means, though.

diff -u -B -r1.7 Makefile.am
--- scripting/Makefile.am       13 Sep 2004 17:01:53 -0000      1.7
+++ scripting/Makefile.am       19 Feb 2005 15:06:16 -0000
@@ -14,7 +14,7 @@
        script_mode.cc \
        newscriptwizardbase.ui \
        newscriptwizard.cc
-libscripting_la_LIBADD = $(BOOST_PYTHON_LIBS) $(PYTHON_LIBS) -lkatepartinterfaces
+libscripting_la_LIBADD = $(BOOST_PYTHON_LIBS) $(PYTHON_LIBS) -lktexteditor
 libscripting_la_LDFLAGS = $(PYTHON_LDFLAGS)
 METASOURCES=AUTO
Comment 5 Marco Clocchiatti 2005-02-20 12:21:14 UTC
Thank you for your work.

I've also tested both patches, and I may confirm a good behaviour.
Comment 6 Marco Clocchiatti 2005-02-20 13:41:00 UTC
Sorry. I've again a problem with 64-bit:

Making all in scripting
In file included from /usr/include/python2.3/Python.h:8,
                 from python_scripter.cc:20:
/usr/include/python2.3/pyconfig.h:856:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/features.h:7,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include/g++-v3/x86_64-pc-linux-gnu/bits/os_defines.h:39,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include/g++-v3/x86_64-pc-linux-gnu/bits/c++config.h:35,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include/g++-v3/bits/stl_algobase.h:64,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include/g++-v3/bits/stl_tree.h:66,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include/g++-v3/set:66,
                 from ../objects/common.h:21,
                 from python_scripter.h:21,
                 from python_scripter.cc:18:
/usr/include/gentoo-multilib/amd64/features.h:150:1: warning: this is the location of the previous definition
/usr/include/boost/python/with_custodian_and_ward.hpp: In static member function `static PyObject* boost::python::with_custodian_and_ward_postcall<custodian, ward, BasePolicy_>::postcall(const ArgumentPackage&, PyObject*) [with ArgumentPackage = PyObject*, long unsigned int custodian = 0ul, long unsigned int ward = 1ul, BasePolicy_ = boost::python::default_call_policies]':
/usr/include/boost/python/detail/caller.hpp:201:   instantiated from `PyObject* boost::python::detail::caller_arity<1u>::impl<F, Policies, Sig>::operator()(PyObject*, PyObject*) [with F = boost::python::detail::member<Coordinate, ConicPolarData>, Policies = boost::python::return_internal_reference<1ul, boost::python::default_call_policies>, Sig = boost::mpl::vector2<Coordinate&, ConicPolarData&>]'
/usr/include/boost/python/object/py_function.hpp:39:   instantiated from `PyObject* boost::python::objects::caller_py_function_impl<Caller>::operator()(PyObject*, PyObject*) [with Caller = boost::python::detail::caller<boost::python::detail::member<Coordinate, ConicPolarData>, boost::python::return_internal_reference<1ul, boost::python::default_call_policies>, boost::mpl::vector2<Coordinate&, ConicPolarData&> >]'python_scripter.cc:576:   instantiated from here
/usr/include/boost/python/with_custodian_and_ward.hpp:88: warning: comparison is always false due to limited range of data type
/usr/include/boost/python/detail/caller.hpp: At global scope:
/usr/include/boost/python/detail/caller.hpp:89: warning: unused parameter 'args_'
/usr/include/boost/python/detail/caller.hpp:89: warning: unused parameter 'args_'
/usr/include/boost/python/detail/caller.hpp:89: warning: unused parameter 'args_'
/usr/include/boost/tuple/detail/tuple_basic.hpp:291: warning: unused parameter 't1'
/usr/include/boost/tuple/detail/tuple_basic.hpp:291: warning: unused parameter 't1'
/usr/include/boost/tuple/detail/tuple_basic.hpp:291: warning: unused parameter 't1'
/usr/include/boost/python/detail/caller.hpp:89: warning: unused parameter 'args_'
/usr/include/boost/python/detail/caller.hpp:89: warning: unused parameter 'args_'
/usr/include/boost/python/detail/caller.hpp:89: warning: unused parameter 'args_'
/usr/include/boost/python/detail/caller.hpp:89: warning: unused parameter 'args_'
/usr/include/boost/python/detail/caller.hpp:89: warning: unused parameter 'args_'
/usr/include/boost/python/detail/caller.hpp:89: warning: unused parameter 'args_'
/usr/include/boost/python/detail/caller.hpp:89: warning: unused parameter 'args_'
/usr/include/boost/python/detail/caller.hpp:89: warning: unused parameter 'args_'
/usr/include/boost/python/detail/caller.hpp:89: warning: unused parameter 'args_'
/usr/include/boost/python/detail/caller.hpp:89: warning: unused parameter 'args_'
/usr/include/boost/python/detail/caller.hpp:89: warning: unused parameter 'args_'
/usr/include/boost/python/detail/caller.hpp:89: warning: unused parameter 'args_'
/usr/include/boost/python/detail/caller.hpp:89: warning: unused parameter 'args_'
/usr/include/boost/python/detail/caller.hpp:89: warning: unused parameter 'args_'
/usr/include/boost/python/detail/caller.hpp:89: warning: unused parameter 'args_'
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/../lib64/libboost_python-gcc-mt-1_31.a(list.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib/../lib64/libboost_python-gcc-mt-1_31.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [libkigpart.la] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

!!! ERROR: kde-base/kdeedu-3.4.0_beta2 failed.
!!! Function kde_src_compile, Line 166, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.

>>> md5 src_uri ;-) kdeedu-3.3.92.tar.bz2
Comment 7 Marco Clocchiatti 2005-02-20 15:39:53 UTC
solved recompiling boost-1.32.0
Comment 8 Dominique Devriese 2005-02-20 15:55:41 UTC
Marco Clocchiatti writes:

> solved recompiling boost-1.32.0

K, thx
domi

Comment 9 Gregorio Guidi 2005-02-21 15:13:41 UTC
Should I open a new bug with the patch for the linking problem?
Comment 10 Dominique Devriese 2005-02-21 16:06:27 UTC
Gregorio Guidi writes:

> Should I open a new bug with the patch for the linking problem?

Please do.

thanks
domi