[GiNaC-list] ginac-config woe

naruto canada narutocanada at gmail.com
Wed Jul 23 05:21:55 CEST 2008


On 7/22/08, Jens Vollinga <jensv at nikhef.nl> wrote:
> Hi,
>
> naruto canada schrieb:
>> Is it possible to resume ginac-config support? I can't get xloops to
>> "configure".
>
> No.
>
> Just replace your `ginac-config ...` with `pkg-config ...`
>
>> I've even tried the cvs version of xloops hoping that it has "kept up"
>> with ginac, but nope.
>> my pkg-config don't support --cppflags either. (which xloops requires)
>> I am trying older versions of GiNac now.
>
> With pkg-config you need to use the --cflags option.

I've managed to solve it with:
echo '#!/bin/bash
if [ "$1" = "--version" ]; then
 pkg-config ginac --modversion
else if [ "$1" = "--cflags" ]; then
 echo $CFLAGS
else if [ "$1" = "--cppflags" ]; then
 echo $CXXFLAGS
else
 pkg-config ginac $@
fi fi fi' > /usr/bin/ginac-config
chmod 0500 /usr/bin/ginac-config

This will allow configure to proceed.
Thanks

>
> Regards,
> Jens
> _______________________________________________
> 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