On Sunday, January 26, 2003, at 04:29 PM, Alexander Hansen wrote:
One quick notion:
Did you set up your evironment as per
http://fink.sourceforge.net/faq/usage-general.php#compile-myself
Yes, that is needed.
setenv CFLAGS -I/sw/include
setenv LDFLAGS -L/sw/lib
setenv CXXFLAGS $CFLAGS
setenv CPPFLAGS $CXXFLAGS
Additionally for PGPLOT to be found and linked properly, you seem to need:
setenv LIBS "-framework Cocoa -lpng"
./configure --with-pgplot-include=/sw/lib/pgplot --with-pgplot-lib=/sw/lib/pgplot
make
Compiles fine.
I hope you consider making a fink package, it would be very very simple indeed.
For fink you would use:
ConfigureParams: --mandir=%p/share/man --with-pgplot-include=%p/lib/pgplot --with-pgplot-lib=%p/lib/pgplot
<defalult compile script>
<default install script>
However there is one problem in that the help files are not installed into the proper DESTDIR. That part of the makefile would need to be patched for the fink package.
mkdir: cannot create directory `/sw/share/gnome/help/nightfall': Permission denied
-Ben