[GiNaC-list] Building ginac without pkg-config

Warren Weckesser WWeckesser at mail.colgate.edu
Tue Mar 25 21:45:21 CET 2008


I am trying to build ginac on a computer that doesn't have pkg-config installed.  I have CLN installed in $HOME/local.  The final output of

./configure --prefix=$HOME/local

is:

    checking for dlopen in -ldl... yes
    checking for pkg-config... no
    checking for CLN... configure: error: The pkg-config script could not be found or is too old.  Make sure it
    is in your PATH or set the PKG_CONFIG environment variable to the full
    path to pkg-config.

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

    To get pkg-config, see <http://pkg-config.freedesktop.org/>.
    See `config.log' for more details.


The problem is I get this error from ./configure even after defining CLN_CFLAGS and CLN_LIBS, like this:

    $ export CLN_CFLAGS=-I$HOME/local/include
    $ export CLN_LIBS=-L$HOME/local/lib


Does ./configure actually check for the environment variables, like the message suggests it does?


Regards,

Warren


More information about the GiNaC-list mailing list