* Does not find header files or libraries under /usr/local @ 2006-03-08 20:39 Matt Kraai 2006-05-27 23:02 ` Marius Vollmer 0 siblings, 1 reply; 8+ messages in thread From: Matt Kraai @ 2006-03-08 20:39 UTC (permalink / raw) [-- Attachment #1.1: Type: text/plain, Size: 325 bytes --] Howdy, When I tried to compile Guile on a QNX 6.3.0 system, it did not find the libtool and gmp libraries or the gmp header files that I'd built and installed under /usr/local until I set the CPPFLAGS environment variable to -I/usr/local/include and the LDFLAGS environment variable to -L/usr/local/lib. -- Matt [-- Attachment #1.2: Digital signature --] [-- Type: application/pgp-signature, Size: 189 bytes --] [-- Attachment #2: Type: text/plain, Size: 136 bytes --] _______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://mail.gnu.org/mailman/listinfo/bug-guile ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Does not find header files or libraries under /usr/local 2006-03-08 20:39 Does not find header files or libraries under /usr/local Matt Kraai @ 2006-05-27 23:02 ` Marius Vollmer 2006-05-27 23:17 ` Matt Kraai 0 siblings, 1 reply; 8+ messages in thread From: Marius Vollmer @ 2006-05-27 23:02 UTC (permalink / raw) Cc: bug-guile Matt Kraai <kraai@ftbfs.org> writes: > When I tried to compile Guile on a QNX 6.3.0 system, it did not find > the libtool and gmp libraries or the gmp header files that I'd built > and installed under /usr/local until I set the CPPFLAGS environment > variable to -I/usr/local/include and the LDFLAGS environment variable > to -L/usr/local/lib. That is expected. See this part of the README: Guile expects to be able to find these packages in the default compiler setup, it does not try to make any special arrangements itself. For example, for the `readline' package, Guile expects to be able to find the include file <readline/readline.h>, without passing any special `-I' options to the compiler. -- GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405 _______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://lists.gnu.org/mailman/listinfo/bug-guile ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Does not find header files or libraries under /usr/local 2006-05-27 23:02 ` Marius Vollmer @ 2006-05-27 23:17 ` Matt Kraai 2006-05-27 23:29 ` Marius Vollmer 0 siblings, 1 reply; 8+ messages in thread From: Matt Kraai @ 2006-05-27 23:17 UTC (permalink / raw) Cc: bug-guile [-- Attachment #1.1: Type: text/plain, Size: 979 bytes --] On Sun, May 28, 2006 at 02:02:13AM +0300, Marius Vollmer wrote: > Matt Kraai <kraai@ftbfs.org> writes: > > > When I tried to compile Guile on a QNX 6.3.0 system, it did not find > > the libtool and gmp libraries or the gmp header files that I'd built > > and installed under /usr/local until I set the CPPFLAGS environment > > variable to -I/usr/local/include and the LDFLAGS environment variable > > to -L/usr/local/lib. > > That is expected. See this part of the README: > > Guile expects to be able to find these packages in the default > compiler setup, it does not try to make any special arrangements > itself. For example, for the `readline' package, Guile expects to > be able to find the include file <readline/readline.h>, without > passing any special `-I' options to the compiler. So the correct solution is to ensure that the compiler looks in /usr/local? Do you know why other programs don't require this? -- Matt [-- Attachment #1.2: Digital signature --] [-- Type: application/pgp-signature, Size: 189 bytes --] [-- Attachment #2: Type: text/plain, Size: 137 bytes --] _______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://lists.gnu.org/mailman/listinfo/bug-guile ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Does not find header files or libraries under /usr/local 2006-05-27 23:17 ` Matt Kraai @ 2006-05-27 23:29 ` Marius Vollmer 2006-05-28 0:52 ` Matt Kraai 0 siblings, 1 reply; 8+ messages in thread From: Marius Vollmer @ 2006-05-27 23:29 UTC (permalink / raw) Cc: bug-guile Matt Kraai <kraai@ftbfs.org> writes: > So the correct solution is to ensure that the compiler looks in > /usr/local? Yes. > Do you know why other programs don't require this? Maybe... :-) What programs are you talking about? -- GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405 _______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://lists.gnu.org/mailman/listinfo/bug-guile ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Does not find header files or libraries under /usr/local 2006-05-27 23:29 ` Marius Vollmer @ 2006-05-28 0:52 ` Matt Kraai 2006-05-30 14:56 ` Ludovic Courtès 0 siblings, 1 reply; 8+ messages in thread From: Matt Kraai @ 2006-05-28 0:52 UTC (permalink / raw) Cc: bug-guile [-- Attachment #1.1: Type: text/plain, Size: 562 bytes --] On Sun, May 28, 2006 at 02:29:24AM +0300, Marius Vollmer wrote: > Matt Kraai <kraai@ftbfs.org> writes: > > > So the correct solution is to ensure that the compiler looks in > > /usr/local? > > Yes. > > > Do you know why other programs don't require this? > > Maybe... :-) What programs are you talking about? I don't have access to that box at the moment, so I can't give a complete list, but from memory, openssh requires openssl and was able to find it even though it was in /usr/local. Thanks for following this up, BTW. -- Matt [-- Attachment #1.2: Digital signature --] [-- Type: application/pgp-signature, Size: 189 bytes --] [-- Attachment #2: Type: text/plain, Size: 137 bytes --] _______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://lists.gnu.org/mailman/listinfo/bug-guile ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Does not find header files or libraries under /usr/local 2006-05-28 0:52 ` Matt Kraai @ 2006-05-30 14:56 ` Ludovic Courtès 2006-05-31 1:30 ` Kevin Ryde 0 siblings, 1 reply; 8+ messages in thread From: Ludovic Courtès @ 2006-05-30 14:56 UTC (permalink / raw) Cc: bug-guile, Marius Vollmer Hi, Matt Kraai <kraai@ftbfs.org> writes: > I don't have access to that box at the moment, so I can't give a > complete list, but from memory, openssh requires openssl and was able > to find it even though it was in /usr/local. Often, `configure' scripts provide a `--with-PACKAGE-prefix' option (or `--with-PACKAGE-includes', or `--with-PACKAGE-libs') so that one can specify where to look fo a particular package. For instance, `libgcrypt.m4' contains the following snippet: AC_ARG_WITH(libgcrypt-prefix, AC_HELP_STRING([--with-libgcrypt-prefix=PFX], [prefix where LIBGCRYPT is installed (optional)]), libgcrypt_config_prefix="$withval", libgcrypt_config_prefix="") if test x$libgcrypt_config_prefix != x ; then if test x${LIBGCRYPT_CONFIG+set} != xset ; then LIBGCRYPT_CONFIG=$libgcrypt_config_prefix/bin/libgcrypt-config fi fi Consequently, users of the documented libgcrypt M4 macros automatically get this new `--with' option. Guile's `configure' already has a number of `--with' options that come from various `.m4' files depended on. Perhaps we could add one option for GMP, or, better, ask the GMP maintainers to provide a set of M4 macros that does this? :-) Thanks, Ludovic. _______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://lists.gnu.org/mailman/listinfo/bug-guile ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Does not find header files or libraries under /usr/local 2006-05-30 14:56 ` Ludovic Courtès @ 2006-05-31 1:30 ` Kevin Ryde 2006-05-31 7:12 ` Ludovic Courtès 0 siblings, 1 reply; 8+ messages in thread From: Kevin Ryde @ 2006-05-31 1:30 UTC (permalink / raw) Cc: Matt Kraai ludovic.courtes@laas.fr (Ludovic Courtès) writes: > > Often, `configure' scripts provide a `--with-PACKAGE-prefix' option (or > `--with-PACKAGE-includes', or `--with-PACKAGE-libs') so that one can > specify where to look fo a particular package. Though that's contrary to the gnu standards. Getting a path from somewhere is fine, even good, but --with is not the place for it. http://www.gnu.org/prep/standards/html_node/Configuration.html Do not use a --with option to specify the file name to use to find certain files. That is outside the scope of what --with options are for. _______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://lists.gnu.org/mailman/listinfo/bug-guile ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Does not find header files or libraries under /usr/local 2006-05-31 1:30 ` Kevin Ryde @ 2006-05-31 7:12 ` Ludovic Courtès 0 siblings, 0 replies; 8+ messages in thread From: Ludovic Courtès @ 2006-05-31 7:12 UTC (permalink / raw) Cc: bug-guile, Matt Kraai Hi, Kevin Ryde <user42@zip.com.au> writes: > ludovic.courtes@laas.fr (Ludovic Courtès) writes: >> >> Often, `configure' scripts provide a `--with-PACKAGE-prefix' option (or >> `--with-PACKAGE-includes', or `--with-PACKAGE-libs') so that one can >> specify where to look fo a particular package. > > Though that's contrary to the gnu standards. Getting a path from > somewhere is fine, even good, but --with is not the place for it. Interesting, I'd have thought this was the "Right Way". ;-) From a user viewpoint, I find it very convenient, and sometimes even indispensable (e.g., when one has several versions of a tool available and wants to build against a specific version). Thanks, Ludovic. _______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://lists.gnu.org/mailman/listinfo/bug-guile ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-05-31 7:12 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2006-03-08 20:39 Does not find header files or libraries under /usr/local Matt Kraai 2006-05-27 23:02 ` Marius Vollmer 2006-05-27 23:17 ` Matt Kraai 2006-05-27 23:29 ` Marius Vollmer 2006-05-28 0:52 ` Matt Kraai 2006-05-30 14:56 ` Ludovic Courtès 2006-05-31 1:30 ` Kevin Ryde 2006-05-31 7:12 ` Ludovic Courtès
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).