[GiNaC-list] Installation ginac(1.4) + cln(1.1.13) on powermac
Hans-Jürgen Greif
hans-juergen.greif at freenet.de
Mon Sep 10 23:30:55 CEST 2007
Hello Sheplyakov Alexei,
I succeed in configuring ginac1.4 with
PKG_CONFIG=/sw/bin/pkg-config
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure
in directory of ginac-1-4.0.
I got some errors at the end of make procedure:
.
.
.
Making all in check
make[2]: Nothing to be done for `all'.
Making all in ginsh
sed -n -f ./ginsh_fcn_help.sed <ginsh.1 >ginsh_fcn_help.h
sed -n -f ./ginsh_op_help.sed <ginsh.1 >ginsh_op_help.h
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../ginac -I../ginac -
DIN_GINAC -I/usr/l
ocal/include -g -O2 -MT ginsh_parser.o -MD -MP -MF ".deps/
ginsh_parser.Tpo" -
c -o ginsh_parser.o ginsh_parser.cc; \
then mv -f ".deps/ginsh_parser.Tpo" ".deps/ginsh_parser.Po"; else rm -
f ".deps/g
insh_parser.Tpo"; exit 1; fi
../../GiNaC/ginsh/ginsh_parser.yy:51:6: error: missing binary
operator before to
ken "wrapper"
../../GiNaC/ginsh/ginsh_parser.yy:57:6: error: missing binary
operator before to
ken "wrapper"
../../GiNaC/ginsh/ginsh_parser.yy:863:6: error: missing binary
operator before t
oken "wrapper"
../../GiNaC/ginsh/ginsh_parser.yy:873:6: error: missing binary
operator before t
oken "wrapper"
../../GiNaC/ginsh/ginsh_parser.yy:927:6: error: missing binary
operator before t
oken "wrapper"
../../GiNaC/ginsh/ginsh_parser.yy: In function 'char** fcn_completion
(const char
*, int, int)':
../../GiNaC/ginsh/ginsh_parser.yy:861: error: invalid conversion from
'const cha
r*' to 'char*'
../../GiNaC/ginsh/ginsh_parser.yy:866: error:
'rl_filename_completion_function'
was not declared in this scope
../../GiNaC/ginsh/ginsh_parser.yy:866: error: 'rl_completion_matches'
was not de
clared in this scope
../../GiNaC/ginsh/ginsh_parser.yy:876: error: 'rl_completion_matches'
was not de
clared in this scope
make[2]: *** [ginsh_parser.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
I don't know if need the error free compling of ginsh_parser.cc.
I have installed ginac.
And now I have another problems
octave> pkg install symbolic-1.0.2.tar.gz
make: *** [all] Error 1
error: 'make' returned the following error: Ginac library or headers
not found
false
error: called from `pkg:configure_make' in file /sw/share/octave/
2.9.13/m/pkg/pkg.m near line 1002, column 2
because pgk does not find naturally ginac's include and lib directory.
Every-time the same pkg difficulties in all contexts.
Regards,
Hans-Jürgen Greif
Am 10.09.2007 um 10:16 schrieb Sheplyakov Alexei:
> 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.
>
> _______________________________________________
> GiNaC-list mailing list
> GiNaC-list at ginac.de
> https://www.cebix.net/mailman/listinfo/ginac-list
More information about the GiNaC-list
mailing list