Menu

#1 Fails to configure

open
nobody
None
5
2003-06-04
2003-06-04
Anonymous
No

When configuring fluxspace to build it fails with this.

If you have questions or you resolve this issue please
email:
saseag@unx.sas.com

checking for imlib_create_image in -lImlib2... yes
checking for python... /usr/local/bin/python
checking for python version... 2.2
checking for python platform... freebsd4
checking for python >= 2.2... okay
checking for headers required to compile python
extensions... found
checking for python-config... no
checking for Py_Initialize in -lpython2.2... no
checking for Py_Finalize in -lpython2.2... no
checking for Py_IsInitialized in -lpython2.2... no
configure: error: Unable to determine proper Python
link flags.

Discussion

  • Jim McHale

    Jim McHale - 2003-06-28

    Logged In: YES
    user_id=146465

    I'm running redhat 8; I got past the configure error by
    specifiying the LDFLAGS before I run configure:
    export LDFLAGS="-L/usr/lib/python2.2/config -lpthread -lc
    -lutil"
    ./configure

    Then I got into problems executing; It couldnt find the
    modules (some were in /usr/lib/python2.2 and the fluxspace
    ones were in /usr/local/lib/python2.2/site-packages):
    export
    PYTHONPATH=/usr/local/lib/python2.2/site-packages/:/usr/lib/python2.2/

    So now I'm stuck; I get this at run time:
    fluxspace
    Traceback (most recent call last):
    File "/usr/local/bin/fluxspace", line 15, in ?
    import fluxspace
    File
    "/usr/local/lib/python2.2/site-packages/fluxspace/__init__.py",
    line 4, in ?
    import _fluxspace
    ImportError:
    /usr/local/lib/python2.2/site-packages/_fluxspace.so:
    undefined symbol: __cxa_pure_virtual

    Any ideas?
    Thanx
    -jim

     
  • Nobody/Anonymous

    Logged In: NO

    I made a pkgsrc entry for netbsd.

    Try adding it to ports, and add python22/buildlink2.mk

    Even then, don't work on netbsd, no /proc/status :/

     

Log in to post a comment.

MongoDB Logo MongoDB