Hi Srinivas,
Many linking problems that arise during compilation on OS X can be
worked around using the "-undefined dynamic_lookup" option whenever
the "-shared" flag would be needed on a Unix system. Hence, please try
replacing
LDFLAGS := -O4 -shared
with
LDFLAGS := -O4 -undefined dynamic_lookup
in the main Makefile.
Also, please check if file /usr/include/python2.5/Python.h does exist
on your machine and if not, change PYTHONINC accordingly in ALGENCAN
Makefile so that the directory pointed to by it contains the standard
Python include files (namely, Python.h). Apart from that, PYTHONLIB
must be redefined in order to become your local installation path for
Python modules.
Finally, after both your PYTHONINC and PYTHONLIB variables are
correctly set, a complete recompilation of all the object files is
necessary. In order to accomplish this, please run "make distclean" in
your ALGENCAN installation directory prior to executing "make algencan-
py" once again. Hopefully, those error messages will vanish this time.
However, please note that while these procedures will allow you to
successfully compile ALGENCAN interface with Python on OS X, you are
likely to face a segmentation fault when trying to run it, probably
due to safety limits on memory allocation imposed by Leopard. We are
still seeking a solution for this problem and will keep you informed
of any progress in that matter.
If any queries may arise, please do not hesitate to contact us.
--
Jan Marcel