I am trying to build python-bibtex under Tiger. The package (that I maintain) does not compile anymore on Tiger, so I have I tried to download the source and compile it by myself. When I build it with Fink's python2.3 and install it, I get the following error:

[kepler:~/Desktop/python-bibtex-1.2.1] smaret% /sw/bin/python2.3 setup.py build_ext -I/sw/include -L/sw/lib

[...]

[kepler:~/Desktop/python-bibtex-1.2.1] smaret% sudo /sw/bin/python2.3 setup.py install --prefix=/usr/local
running install
running check
running build
running build_ext
Traceback (most recent call last):
  File "setup.py", line 210, in ?
    libraries = ['recode'])
File "/sw/src/root-python23-2.3.5-12/sw/lib/python2.3/distutils/ core.py", line 149, in setup File "/sw/src/root-python23-2.3.5-12/sw/lib/python2.3/distutils/ dist.py", line 907, in run_commands File "/sw/src/root-python23-2.3.5-12/sw/lib/python2.3/distutils/ dist.py", line 927, in run_command
  File "setup.py", line 165, in run
    self.run_command ('check')
  File "/sw/lib/python2.3/cmd.py", line 333, in run_command

File "/sw/src/root-python23-2.3.5-12/sw/lib/python2.3/distutils/ dist.py", line 927, in run_command
  File "setup.py", line 149, in run
    failures = testsuite.run ()
File "/Users/smaret/Desktop/python-bibtex-1.2.1/testsuite.py", line 101, in run
    failures += check_recode ()
File "/Users/smaret/Desktop/python-bibtex-1.2.1/testsuite.py", line 9, in check_recode
    import _recode
ImportError: Failure linking new module: /Users/smaret/Desktop/python- bibtex-1.2.1/build/lib.darwin-8.1.0-PowerMacintosh-2.3/_recode.so: Symbol not found: _program_name
  Referenced from: /sw/lib/librecode.0.dylib
  Expected in: dynamic lookup

Surprisingly, the build and installation go well with MacOSX's python:

[kepler:~/Desktop/python-bibtex-1.2.1] smaret% /usr/bin/python setup.py build_ext -I/sw/include -L/sw/lib

[...]

[kepler:~/Desktop/python-bibtex-1.2.1] smaret% sudo /usr/bin/python setup.py install --prefix=/usr/local
running install
running check
running build
running build_ext
testsuite: 2 checks, 0 failures
running install_lib
copying build/lib.darwin-8.1.0-Power_Macintosh-2.3/_bibtex.so -> /usr/ local/lib/python2.3/site-packages copying build/lib.darwin-8.1.0-Power_Macintosh-2.3/_recode.so -> /usr/ local/lib/python2.3/site-packages
[kepler:~/Desktop/python-bibtex-1.2.1] smaret%

What could explain this ? Is this a bug in Fink's python2.3 ? The versions looks the same:


[kepler:~/Desktop/python-bibtex-1.2.1] smaret% python2.3
Python 2.3.5 (#1, May 15 2005, 13:23:15)
[GCC 4.0.0 20041026 (Apple Computer, Inc. build 4061)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
[kepler:~/Desktop/python-bibtex-1.2.1] smaret% /usr/bin/python
Python 2.3.5 (#1, Mar 20 2005, 20:38:20)
[GCC 3.3 20030304 (Apple Computer, Inc. build 1809)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
[kepler:~/Desktop/python-bibtex-1.2.1] smaret%





-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to