Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 298232 - app-office/dia fails to find libpython26.a from the prefix
Summary: app-office/dia fails to find libpython26.a from the prefix
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on: 271855
Blocks:
  Show dependency tree
 
Reported: 2009-12-24 16:27 UTC by Richard Connon
Modified: 2010-04-26 18:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Connon 2009-12-24 16:27:00 UTC
the configure script ends with this output...
checking for libpython2.6.a... not found
configure: error: could not find files required to build python plugin

the configure script doesn't take a path on --with-python

Reproducible: Always
Comment 1 Fabian Groffen gentoo-dev 2010-01-23 15:48:51 UTC
what does python -c "import sys; print sys.prefix" return?

and is usr/lib/python2.6/config/libpython2.6.a a valid symlink?
Comment 2 Fabian Groffen gentoo-dev 2010-01-23 15:50:07 UTC
(does it exist at all)
Comment 3 Fabian Groffen gentoo-dev 2010-01-23 15:50:48 UTC
hmmm, weird, proper gentoo linux doesn't have that file either
Comment 4 Fabian Groffen gentoo-dev 2010-01-23 15:57:09 UTC
-  if test -e "${py_config_dir}/libpython${PYTHON_VERSION}.a"; then
+  if test -e "$PYTHON_PREFIX/${py_lib}/libpython${PYTHON_VERSION}.so"; then

right.  braindead patch.
Comment 5 Richard Connon 2010-01-27 12:36:22 UTC
What's the status of this bug? Do you still need info?
Comment 6 Fabian Groffen gentoo-dev 2010-01-27 16:49:01 UTC
it's looking for .so, not .a, and you only have a .dylib.
Comment 7 Fabian Groffen gentoo-dev 2010-04-26 18:24:07 UTC
I applied a brute force sed hack to make the check look for the right extension instead of the hardcoded .so, which should fix this problem.