Summary: | dev-tcltk/tclpython-4.1 does not respect LDFLAGS and is not working... (fix suggested) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Peter Volkov (RETIRED) <pva> |
Component: | Current packages | Assignee: | TCL/TK Project <tcltk> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 331933 |
Description
Peter Volkov (RETIRED)
2008-11-17 13:24:34 UTC
Well, now I'm sure it's not working: camobap-unstable ~ # tclsh % package require tclpython couldn't load file "/usr/lib/tclpython/tclpython.so.4.1": /usr/lib/tclpython/tclpython.so.4.1: undefined symbol: Py_NoSiteFlag % You need to add --libs after `python-config`. So I've not checked but it looks like: $(tc-getCC) -shared -o tclpython.so.${PV} -fPIC ${CFLAGS} ${LDFGAGS} -Wall -I/usr/include/python${PYVER} tcl{python,thread}.c `python-config --libs` -lpthread -lutil || die will fix both issues. In CVS. Thanks Peter ;) |