[Gretl-devel] OS X build process
Allin Cottrell
cottrell at wfu.edu
Thu Dec 20 10:57:10 EST 2007
On Thu, 20 Dec 2007, Sven Schreiber wrote:
> > make clean ; make
>
> Ah, of course.
>
> Then I got an error because I previously had only removed the
> fink package libxml2 and not libxml2-shlibs. For libxml2-shlibs
> again one has to do --recursive which clears out quite many
> packages. I wonder whether the fink installation will be good
> for anything else than building gretl afterwards ;-)
I think this should probably work: make sure you use the flag
"--without-gnome" when configuring gretl, and make sure that
/sw/lib/pkgconfig comes after /usr/lib/pkgconfig and
/usr/X11R6/lib/pkgconfig in your PKG_CONFIG_PATH. Then, with any
luck, gretl will pick up libxml2 from OS X and not Fink. That way
one shouldn't have to trash all those Fink packages.
> Oh and it seems that this affects gtksourceview, too, so that
> will be missing in the build I guess (whatever that means,
> because in the end syntax coloring is there).
If gretl doesn't find an installed gtksourceview, it uses its own
version. This is preferable unless one is doing a build for
a fully-fledged gnome system. As with gnome, though, you should
be able to stop gretl from using an installed gtksourceview by
adding "--without-gtksourceview" to the configure flags.
> Gnuplot also gave an error again, as I had also forgotten to
> remove aquaterm-shlibs (including -dev).
On aquaterm: I thought that "/sw/Library/..." path looked
suspicous. But if it's correct, it should probably be possible to
use an aquaterm-enabled build of gnuplot in the gretl package.
This would require that aquaterm.dylib (or whatever it's called)
is copied from its Fink location to the lib directory under
Gretl.app/Contents/Resources as with the other Fink libs.
> Ok, building all over... success -- at least when starting from
> the terminal via ./gretl. (of course with fink disabled)
>
> Double-clicking also works!
Ah, nice.
> creating the dmg I stumbled over cp; one needs the coreutils
> package and watch out a bit -- quoted from the fink database
> page:
> "The commands are named with 'g' prefix like 'gls' or 'gcp'. If you want to
> use them as 'ls' or 'cp', add /sw/lib/coreutils/bin to your PATH or install
> the coreutils-default package."
OK, thanks for the info; that's a change relative to my Fink
installation. (Or possibly I installed coreutils-default and
forgot about it; I'll see if I can check that.)
> Ok, I created the dmg alright (hopefully).
>
> The resulting dmg should be available from:
> www.wiwi.uni-frankfurt.de/profs/nautz/downloads/software/gretl.dmg
>
> To anybody else reading this: this is highly experimental, use
> this only for testing purposes! And it's not a 100% current cvs
> version, either. What else? Intel only. Maybe 10.5 (Leopard)
> only, but I'm sure Allin will test it on 10.4.
Thanks, I'll give it a try on 10.4 this evening.
Allin.
More information about the Gretl-devel
mailing list