There is a new version of pgplot in the unstable branch of fink which breaks the ifeffit install process. The only thing that needs to be changed is to include the two "library" like arguments: -framework Foundation -framework AppKit to the linking arguments (or compile arguments). The location of the pgplot library has also been changed to (the now standard location) /sw/lib/pgplot. I can see how to make the changed to the Makefile in src/macosx without trouble, but I am thrown a little by the python setup (it seems somewhat convoluted). What changes need to be made there to reflect the new link arguments and the new location of the pgplot library? Thanks.
Hi Paul,
There is a new version of pgplot in the unstable branch of fink which breaks the ifeffit install process. The only thing that needs to be changed is to include the two "library" like arguments:
-framework Foundation -framework AppKit
to the linking arguments (or compile arguments). The location of the pgplot library has also been changed to (the now standard location) /sw/lib/pgplot.
I can see how to make the changed to the Makefile in src/macosx without trouble, but I am thrown a little by the python setup (it seems somewhat convoluted). What changes need to be made there to reflect the new link arguments and the new location of the pgplot library? Thanks.
Working with the src/macosx Makefile, it should be as simple
as adding '-framework Foundation -framework AppKit'
to PGPLOT_LIB, and pointing it to /sw/lib/pgplot in this
Makefile, probably to something like:
PGPLOT_LIB = -framwork Foundation -framework AppKit \
-L/sw/lib/pgplot -lpgplot -L/usr/lib -L/sw/lib -lpng $(X_LIBS)
Running make should then create a setup_install.py that
includes these flags, and copy it to ../../wrappers/python/.
It should be as simple as
cd src/macosx
participants (2)
-
Dr. Paul Fons
-
Matt Newville