On Fri, 1 May 2009, Berend Hasselman wrote:
The script was made with information provided by otool -L on the
gretl I have compiled without fink and with R GTK...
I have added a new target to the top-level gretl Makefile,
"osx-dist". This calls "make -C osx postinst" which does three
things:
1. Deletes some extraneous files that we assume will not be wanted
in the disk image (such as headers and libtool .la files).
2. Replaces the regular "gretl" script with an OS X-special
version.
3. Runs osx/fixlinks.sh, which is a script to fix the install
names of executables and libraries. This is based on your script.
There's one remaining issue with osx/fixlinks.sh -- the path that
will be present in "auxiliary" libs such as libgmp and libmpfr.
This is given by the variable
AUXPATH="/usr/local/lib"
and this will have to be changed manually if it's not right.
I've also added a configure option, "--disable-gnuplot-checks".
You can use this if you're confident that gnuplot is in fact OK
but there might be some problem with determining this at build
time.
For the dmg, I'm now building CVS gnuplot 4.3 using the GTK+
framework to enable the pngcairo and pdfcairo terminals (and thus
cutting out dependencies on libgd and libpdf). I've put an
archive of the source I'm using at
http://ricardo.ecn.wfu.edu/pub/gretl/osxbuild/gnuplot-20090503.tar.gz
Allin.