emerge -u koffice gives me the below. Saw this error for -lpython2.2 earlier... but this is for 2.1. I even added python-2.1 as a dependency to koffice, compiled it up and still got this error... /bin/sh ../../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++ -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=pentium3 -O3 -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -DKDE_NO_COMPAT -o kivio -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.1/lib -R /usr/kde/3.1/lib -R /usr/qt/3/lib -R /usr/X11R6/lib dummy.o kivio.la /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lpython2.1 collect2: ld returned 1 exit status make[4]: *** [libkiviopart.la] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory `/var/tmp/portage/koffice-1.2.1/work/koffice-1.2.1/kivio/kiviopart' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/koffice-1.2.1/work/koffice-1.2.1/kivio/kiviopart' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/koffice-1.2.1/work/koffice-1.2.1/kivio' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/koffice-1.2.1/work/koffice-1.2.1' make: *** [all] Error 2 !!! ERROR: app-office/koffice-1.2.1 failed. !!! Function kde_src_compile, Line 88, Exitcode 2 !!! died running emake, kde_src_compile:make
what does 'python-config --libs' return on your system? please also append the output of 'emerge info'. what does 'emerge -s python' return?
OK, works now. What I had to do it emerge python 2.1 (didn't merge at this point), then remerge python 2.2 and it merged. Close it I assume, or should it be chased a little more. Here's the info you wanted all the same, although the above has taken place since the error... # python-config --libs -lpython2.2 -lm -L/usr/lib/python2.2/config (this just said -lpython2.1 after the merge of python 2.1) # emerge info Portage 2.0.46-r2 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2) ================================================================= System uname: 2.4.19-gentoo-r10 i686 Pentium III (Coppermine) USE="x86 oss 3dnow apm libg++ mikmod nls zlib gtkhtml gdbm berkdb slang aalib nas guile mysql X libwww ldap cdr scanner mmx sse nocardbus cups slp x dgs opengl xv kde qt qtmt arts gnome gtk gtk2 bonobo evo gtk-html motif tcltk imlib ncurses readline sdl svga lcms gif jpeg png tiff avi mpeg quicktime alsa esd dvd xmms oggvorbis flash encode pam ssl crypt imap maildir mbox tcpd mozilla spell truetype xml xml2 pdflib tetex java perl python samba smooth gpm" ARCH="x86" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign- functions=4 -fprefetch-loop-arrays" CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign- functions=4 -fprefetch-loop-arrays" ACCEPT_KEYWORDS="x86 ~x86" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share /config /usr/kde/3.1/share/config /usr/share/config /opt/quake3/cpma/server.cfg" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" MAKEOPTS="-j2" JDK_HOME="/opt/sun-jdk-1.4.1.01" JAVA_HOME="/opt/sun-jdk-1.4.1.01" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo" # emerge -s python Searching... [ Results for search key : python ] [ Applications found : 17 ] * app-emacs/python-mode Latest version available: 4.6 Latest version installed: [ Not Installed ] Size of downloaded files: 31 kB Homepage: http://www.python.org/emacs/python-mode/ Description: Python Mode is a major editing mode for the XEmacs and FSF Emacs text editors. * app-xemacs/python-modes Latest version available: 1.01 Latest version installed: [ Not Installed ] Size of downloaded files: 79 kB Homepage: http://xemacs.org/ Description: Python support. * dev-lang/python e Latest version available: 2.2.2 Latest version installed: 2.2.2 Size of downloaded files: 6,513 kB Homepage: http://www.python.org Description: A really great language * dev-python/ScientificPython Latest version available: 2.2-r1 Latest version installed: [ Not Installed ] Size of downloaded files: 327 kB Homepage: http://starship.python.net/crew/hinsen/scientific.html Description: scientific python module * dev-python/bonobo-python m Latest version available: 0.2.0-r3 Latest version installed: [ Not Installed ] Size of downloaded files: 268 kB Homepage: http://bonobo-python.lajnux.nu/ Description: Bonobo bindings for Python * dev-python/gnome-python Latest version available: 1.99.13 Latest version installed: [ Not Installed ] Size of downloaded files: 213 kB Homepage: http://www.daa.com.au/~james/pygtk/ Description: Gnome-2 bindings for Python * dev-python/irman-python Latest version available: 0.1 Latest version installed: [ Not Installed ] Size of downloaded files: 16 kB Homepage: http://bluweb.com/chouser/proj/irman-python/ Description: A minimal set of Python bindings for libirman. e* dev-python/mod_python Latest version available: 3.0.0_beta4 Latest version installed: [ Not Installed ] Size of downloaded files: 206 kB Homepage: http://www.modpython.org/ Description: An Apache2 DSO providing an embedded Python interpreter * dev-python/mysql-python Latest version available: 0.9.2 Latest version installed: [ Not Installed ] Size of downloaded files: 62 kB Homepage: http://sourceforge.net/projects/mysql-python/ Description: MySQL Module for python * dev-python/orbit-python Latest version available: 1.99.0 Latest version installed: [ Not Installed ] Size of downloaded files: 540 kB Homepage: http://orbit-python.sault.org/ Description: Orbit bindings for Python * dev-python/python-docs Latest version available: 2.2.1-r1 Latest version installed: [ Not Installed ] Size of downloaded files: 922 kB Homepage: http://www.python.org/doc/2.2/ Description: HTML documentation for Python * dev-python/python-fchksum Latest version available: 1.6.1 Latest version installed: 1.6.1 Size of downloaded files: 36 kB Homepage: http://www.azstarnet.com/~donut/programs/fchksum.html Description: fchksum is a Python module to find the checksum of files. * dev-python/python-ldap Latest version available: 2.0.0_pre05-r1 Latest version installed: [ Not Installed ] Size of downloaded files: 45 kB Homepage: http://python-ldap.sourceforge.net/ Description: Various LDAP-related Python modules * dev-python/python-xlib Latest version available: 0.12 Latest version installed: [ Not Installed ] Size of downloaded files: 292 kB Homepage: http://python-xlib.sourceforge.net/ Description: A fully functional X client library for Python, written in Python. * dev-python/pythoncard Latest version available: 0.6.9 Latest version installed: [ Not Installed ] Size of downloaded files: 955 kB Homepage: http://pythoncard.sourceforge.net/index.html Description: Cross-platform GUI construction kit for python * dev-python/wxPython Latest version available: 2.3.3.1-r2 Latest version installed: [ Not Installed ] Size of downloaded files: 10,882 kB Homepage: http://www.wxpython.org/ Description: A blending of the wxWindows C++ class library with Python. * sys-devel/spython Latest version available: 2.0-r9 Latest version installed: [ Not Installed ] Size of downloaded files: 3,369 kB Homepage: http://www.python.org http://www.azstarnet.com/~donut/programs/fchksum/ Description: A really great language -- minimalist python environment And so you can see the versions of python: # emerge -Cp python >>> These are the packages that I would unmerge: dev-lang/python selected: 2.1.3-r1 2.2.2 protected: none omitted: none >>> Packages in red are slated for removal. >>> Packages in green will not be removed. Hope that helps Feel free just to close the bug, cos it works for me now
because this is fixed and your output is when 'emerge koffice' works, not when it didn't work, i will mark as fixed. thanks.