[GiNaC-list] Installation ginac(1.4) + cln(1.1.13) on powermac

Sheplyakov Alexei varg at theor.jinr.ru
Mon Sep 10 10:16:36 CEST 2007


Hi!

On Sun, Sep 09, 2007 at 01:00:47PM +0200, Hans-Jürgen Greif wrote:
> here you have some config.log  without/with settings of
> 
> CPPFLAGS="-I/usr/local/include"
> 
> LDFLAGS="-L/usr/local/lib"

Thanks.

> This time I work on another G4 macosx 10.4.10  system. You are right  
> on this system I haven't got error messages from ginac configure.
> But every-time time the same output:
> 
> checking for CLN... configure: error: Package requirements (cln >=  
> 1.1.6) were not met.

It also gives an adivice:

"Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix."

The manual page of pkg-config says
"pkg-config retrieves information about packages from special metadata files.
These files are named after the package, with the extension .pc. By default,
pkg-config looks in the directory prefix/lib/pkgconfig for these files; it
will also look in the colon-separated list of directories specified by
the PKG_CONFIG_PATH environment variable."

So, probably you need to do this:

PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure --foo --bar

I'm not sure if this will help, I'd expect /usr/local/lib/pkgconfig 
directory to be in the "standard" search path of pkg-config. But may be
it is not on Mac OS.

If you've installed CLN as a dynamic library, you might need to set extra
environment variable to tell the run-time linker where to look for
the library. On ELF systems (such as Linux, Solaris, FreeBSD), this would
be either

LD_LIBRARY_PATH=/usr/local/lib

or 

LDFLAGS="-Wl,-R -Wl,/usr/local/lib"

Unfortunately, I don't know how to do this on Mac OS :(


Best regards,
 Alexei

-- 
All science is either physics or stamp collecting.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: Digital signature
Url : http://www.cebix.net/pipermail/ginac-list/attachments/20070910/8956d54a/attachment.pgp


More information about the GiNaC-list mailing list