[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Package for MacOS

From: Achim Mueller
Subject: Re: [Bug-gnubg] Package for MacOS
Date: Wed, 14 May 2008 06:14:17 +0200

Am 14.05.2008 um 05:46 schrieb Michael Petch:

On 5/13/08 9:12 PM, "Achim Mueller" <address@hidden> wrote:

Shouldn't it be fine to put all listed libraries of /opt/local into
the package? Or does i also need some header files? I saw that you put
some into the old gnubg.dmg.

mv /opt /opt.tmp

Now that the OPT directory has "disappeared", try installing your package, and run GnuBG. Does Gnubg run correctly or does it fail with messages that
dynamic libraries can't be found?

This obviously won't work already during the installation:

macace:gnubg ace$ sudo make install
make  install-recursive
Making install in lib
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. - I.. -I./.. -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/ include -I/opt/local/include -I/opt/local//include -I/opt/local/ include -g -O2 -MT neuralnet.lo -MD -MP -MF .deps/neuralnet.Tpo -c -o neuralnet.lo neuralnet.c gcc -DHAVE_CONFIG_H -I. -I.. -I./.. -I/opt/local/include/glib-2.0 -I/ opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local// include -I/opt/local/include -g -O2 -MT neuralnet.lo -MD -MP -MF .deps/ neuralnet.Tpo -c neuralnet.c -o neuralnet.o
neuralnet.c:24:18: error: glib.h: No such file or directory

And after copying all gnubg stuff manually to the new /opt it won't find the libraries (expected to be in /opt/local/lib).

acace:/ ace$ /opt/local/bin/gnubg
dyld: Library not loaded: /opt/local/lib/libgthread-2.0.0.dylib
  Referenced from: /opt/local/bin/gnubg
  Reason: image not found
Trace/BPT trap

There must be another way.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]