Hallo Marius Schamschula,

Your ansatz with CPPFLAGS...  produces many errors. These errors don't appear without these setting.

I have reinstalled cln and see the following output of cln installation:

/usr/bin/install -c .libs/libcln.a /usr/local/lib/libcln.a
ranlib /usr/local/lib/libcln.a
ranlib: file: /usr/local/lib/libcln.a(cl_low_mul.o) has no symbols
chmod 644 /usr/local/lib/libcln.a
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable
       during execution

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
mkdir -p /usr/local/include/cln
/usr/bin/install -c -m 644 ../include/cln/*.h /usr/local/include/cln
/usr/bin/install -c -m 644 ../include/cln/*.h /usr/local/include/cln
cd tests && make install
make[1]: Nothing to be done for `install'.
cd benchmarks && make install
make[1]: Nothing to be done for `install'.
cd examples && make install
make[1]: Nothing to be done for `install'.
cd doc && make install
mkdir -p /usr/local/share
mkdir -p /usr/local/share/info
mkdir -p /usr/local/share/html
mkdir -p /usr/local/share/dvi
/usr/bin/install -c -m 644 ./cln.info /usr/local/share/info/cln.info
install-info --info-dir=/usr/local/share/info /usr/local/share/info/cln.info
/usr/bin/install -c -m 644 ./cln_*.html /usr/local/share/html
/usr/bin/install -c -m 644 ./cln.dvi /usr/local/share/dvi/cln.dvi
/usr/bin/install -c cln-config /usr/local/bin/cln-config
/usr/bin/install -c -m 644 cln-config.1 /usr/local/share/man/man1/cln-config.1
/usr/bin/install -c -m 644 ./cln.m4 /usr/local/share/aclocal/cln.m4
/usr/bin/install -c -m 644 cln.pc /usr/local/lib/pkgconfig/cln.pc

Perhaps the remark "Libraries have been installed in:" explains the problem of ginac not finding the library cln. 

Any hints available?

Hans-Jürgen Greif





 


Am 09.09.2007 um 02:17 schrieb Marius Schamschula:

Hans-Jürgen,

You might want to pass

CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib

it works for me.

On Sep 8, 2007, at 11:05 AM, Sheplyakov Alexei wrote:

Hello!

On Sat, Sep 08, 2007 at 04:35:04PM +0200, Hans-Jürgen Greif wrote:

because octave can't install symbolic package, I have tried to  
install ginac on powermac G4 v. 10.4.10.

uname -s, please? 

The ginac configure script ends with:

checking for pkg-config... /sw/bin/pkg-config

I guess it is Mac OS X, but it is better to explicitly state what OS
do you use.

checking pkg-config is at least version 0.9.0... yes
checking for CLN... configure: error: Package requirements (cln >=  
1.1.6) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively you may set the CLN_CFLAGS and CLN_LIBS environment  
variables
to avoid the need to call pkg-config.  See the pkg-config man page for
more details.
________________________

I have no experience with pkg-config, so I decided to use  
environments variables
bash shell:

declare -x CLN_CFLAGS="-I/usr/local/include/cln"
declare -x CLN_ LIBS="-L/usr/local/libs/ -lcln"

This should have been CLN_LIBS, but I suppose this is a copy/paste error.

for installed cln 1.1.13 which is definitely greater (newer)  as 1.1.6.

However, this does not work. Can anyone tell to me, how to set the  
variables above.

Could you please post your config.log file? It should be in the build 
directory, most likely the top of the GiNaC source tree.

Best regards,
 Alexei

Marius
--
Marius Schamschula,  Alabama A & M University, Department of Physics

    The Center for Hydrology Soil Climatology and Remote Sensing
   http://optics.physics.aamu.edu/ - http://www.physics.aamu.edu/
          http://wx.aamu.edu/ - http://www.aamu.edu/hscars/



_______________________________________________
GiNaC-list mailing list
GiNaC-list@ginac.de
https://www.cebix.net/mailman/listinfo/ginac-list