[Gretl-devel] OS X build process
Allin Cottrell
cottrell at wfu.edu
Wed Dec 19 09:55:14 EST 2007
On Wed, 19 Dec 2007, Sven Schreiber wrote:
> Am 18.12.2007 23:47, Allin Cottrell schrieb:
> > On Tue, 18 Dec 2007, Sven Schreiber wrote:
> >
> >
> > > Next problem right after that:
> > > 'make' gives me:
> > >
> > > make -C lib
> > > make[1]: *** No rule to make target
> > > `/sw/include/libxml2/libxml/xmlmemory.h',
> > > needed by `adf_kpss.lo'. Stop.
> > > make: *** [lib] Error 2
> > >
> >
> > ~$ uname -a
> > Darwin nancy-crooks-computer.local 8.11.1 Darwin Kernel Version 8.11.1: Wed
> > Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 i386
> > ~$ locate libxml-2.0.pc
> > /usr/lib/pkgconfig/libxml-2.0.pc
> >
> > Is this different on Leopard? libxml2 should not be installed via Fink.
>
> It wasn't installed by fink, and it's the same location, but it
> didn't work. So I tried the opposite, installing libxml2 via
> fink...
Hmm, that's not really the right way to go. We need to get the
native OS X packages recognized. [See also below, re. gnome] Try
echo $PKG_CONFIG_PATH
This should include /usr/lib/pkgconfig and
/usr/X11R6/lib/pkgconfig. If not, export a corrected version.
Then try
pkg-config --cflags libxml-2.0
This should produce
-I/usr/include/libxml2
> On to section 7:
> libpangoft2 ...dylib was picked up ok, no need for manual intervention;
> emptied gtk.immodules manually;
> left gdk-pixbuf.loaders unchanged, but I don't understand the ../lib part I
> guess -- from the location of the file wouldn't lib be ../../lib?;
> same for pango.modules;
I think these paths are actually relative to the bin directory
from which gretl will be executed. They should be OK.
> Ok, now I got to the testing stage running ./gretl with fink disabled; I get:
>
> 1) A system dialog window saying in German "gnuplot was closed unexpectedly".
> The report (SIGTRAP) says:
> "Dyld Error Message: Library not loaded:
> /sw/Library/Frameworks/AquaTerm.framework/Versions/A/AquaTerm //
> Referenced from: .<....>/Gretl.app/Contents/Resources/bin/gnuplot //
> Reason: image not found"
Oof, that sounds pretty mixed-up. Is there an
/sw/Library/Frameworks directory at all (when /sw is enabled)? We
don't really want the gnuplot build to include AquaTerm. If
there's a Fink aquaterm package installed it may be necessary to
remove it. I'll try some experimentation myself.
> 2) gretl's main window, (in German! -- this was different with
> my prior builds BTW)
OK, that's progress!
> 3) an error window saying in English/literally "An error occurred while
> loading or saving configuration information for Das Ökonometrie-Paket von
> GNOME 2.0. Some of your configuration settings may not work properly.
> -Details- OK-".
> Details say: "Failed to launch configuration server: Failed to execute child
> process "/sw/lib/gconf2/gconfd-2" (No such file or directory) <several times>
Do you have some gnome components installed via Fink? In that
case you should add
--without-gnome
to the flags used when configuring gretl. (This may explain the
confusion over libxml2, come to think of it.)
> 4) on the terminal/stderr: a host of error messsages, for example "Error
> reading gretldir", ..., reading gnuplot, .... etc.
OK, that's just fallout from trying to use gconf, which we
shouldn't be using at all.
Allin.
More information about the Gretl-devel
mailing list