[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can not work with libguile-2.0
From: |
Andy Wingo |
Subject: |
Re: Can not work with libguile-2.0 |
Date: |
Fri, 18 Feb 2011 09:53:27 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
On Thu 17 Feb 2011 20:08, Mark Harig <address@hidden> writes:
> The command listed in section 2.4 "Writing Guile Extensions"
> should follow the pattern used in section 2.3 "Linking Guile into
> Programs," namely, add the 'pkg-config' command to provide the
> appropriate command-line options for the preprocessor, compiler, and
> linker.
Really? It doesn't seem to be necessary to actually link to libguile
there.
> In addition, the manual should mention that the environment
> variable 'PKG_CONFIG_PATH' needs to be set before invoking the
> compiler. Something like the following needs to be added, along with
> some explanatory text:
>
> $ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
Well that isn't quite right, as /usr/local/lib isn't the right place for
libguile-2.0 on many systems. It's lib64 on my fedora machine.
I guess we will have to add a section on install prefixes, and the
relation between -rpath, libtool, PKG_CONFIG_PATH, and guile-config.
Then further compile/link examples can refer back (or forwards) to it.
Perhaps it would be best to assume that Guile is system-installed, and
note that if linking fails, see some section at the end of libguile.texi
that discusses these issues.
What do you think?
Andy
--
http://wingolog.org/
- Can not work with libguile-2.0, Fu-Gangqiang, 2011/02/17
- Re: Can not work with libguile-2.0, Hans Aberg, 2011/02/17
- Re:Re: Can not work with libguile-2.0, Fu-Gangqiang, 2011/02/17
- Re: Can not work with libguile-2.0, Mark Harig, 2011/02/17
- Re: Can not work with libguile-2.0, Mark Harig, 2011/02/17
- Re: Can not work with libguile-2.0, Mark Harig, 2011/02/17
- Re: Can not work with libguile-2.0,
Andy Wingo <=
- Re: Can not work with libguile-2.0, Fu-Gangqiang, 2011/02/17
- Re: Can not work with libguile-2.0, Andy Wingo, 2011/02/18