Noah Salzman <[EMAIL PROTECTED]> writes:
>
> If I edit the gcc line above and then run it manually I can get that
> one line to succeed without an error. Here is the edit I make, I
> simply add the path to my python dynamic library (which happens to be
> in /opt because I built python 2.4 from the MacPorts tree):
>
> gcc -o .libs/_pokereval_2_4.1.0.0.so -bundle .libs/
> _pokereval_2_4_la-pypokereval.o -L/usr/local/lib /opt/local/lib/
> libpython2.4.4.dylib /usr/local/lib/libpoker-eval.dylib
>
> That edited line will compile, however, I have _not_ been able to
> figure out how to edit my configure file or Makefile to get it to add
> that path. Any ideas?
Your problem is related to the
pokersource/pypoker-eval/config/ccpython.m4
configuration file. Your python library is installed in a non-standard
location and it fails to find it. In this file (ccpython.m4), you'll
see that it asks python and tries to figure out where the libraries are.
Couldy you please:
1) send the full output of configure, with command line
2) send the full content of the config.log file
3) try
python -c "from distutils import sysconfig; print
sysconfig.get_config_var('INCLUDEPY')"
python -c "from distutils import sysconfig; print
sysconfig.get_config_var('LIBPL')"
If you find the solution, please send a mail to the list for archive ;-)
Cheers,
+33 1 76 60 72 81 Loic Dachary mailto:[EMAIL PROTECTED]
http://dachary.org/loic/gpg.txt sip:[EMAIL PROTECTED]
Latitude: 48.86962325498033 Longitude: 2.3623046278953552
_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users