unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* Why did this compile fail?
@ 2018-07-28 17:42 Bruce Korb
  2018-07-28 20:29 ` Bruce Korb
  0 siblings, 1 reply; 2+ messages in thread
From: Bruce Korb @ 2018-07-28 17:42 UTC (permalink / raw)
  To: Guile Development

gcc -DHAVE_CONFIG_H -I. -I../../agen5 -I..  -I.. -I../.. -I../autoopts
-I../../autoopts  -pthread -I/u/ROOT/usr/local/include/guile/3.0
-I/u/ROOT/usr/local/include -g -O2 -Wno-format-contains-nul
-fno-strict-aliasing -MT autogen-ag.o -MD -MP -MF .deps/autogen-ag.Tpo
-c -o autogen-ag.o `test -f 'ag.c' || echo '../../agen5/'`ag.c
In file included from /u/ROOT/usr/local/include/guile/3.0/libguile.h:52:0,
                 from ../../agen5/autogen.h:60,
                 from ag.c:9:
/u/ROOT/usr/local/include/guile/3.0/libguile/extensions.h:26:10: fatal
error: libguile/libpath.h: No such file or directory
 #include "libguile/libpath.h"
          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.


The "-I /u/ROOT/usr/local/include/guile/3.0" was used to find
"libguile/extensions.h", so why would
libguile/libpath.h not be found? Why would it not have been found
after a full build and "make install"?



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Why did this compile fail?
  2018-07-28 17:42 Why did this compile fail? Bruce Korb
@ 2018-07-28 20:29 ` Bruce Korb
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Korb @ 2018-07-28 20:29 UTC (permalink / raw)
  To: Guile Development

On Sat, Jul 28, 2018 at 10:42 AM Bruce Korb <bruce.korb@gmail.com> wrote:
>
> gcc -DHAVE_CONFIG_H -I. -I../../agen5 -I..  -I.. -I../.. -I../autoopts
> -I../../autoopts  -pthread -I/u/ROOT/usr/local/include/guile/3.0
> -I/u/ROOT/usr/local/include -g -O2 -Wno-format-contains-nul
> -fno-strict-aliasing -MT autogen-ag.o -MD -MP -MF .deps/autogen-ag.Tpo
> -c -o autogen-ag.o `test -f 'ag.c' || echo '../../agen5/'`ag.c
> In file included from /u/ROOT/usr/local/include/guile/3.0/libguile.h:52:0,
>                  from ../../agen5/autogen.h:60,
>                  from ag.c:9:
> /u/ROOT/usr/local/include/guile/3.0/libguile/extensions.h:26:10: fatal
> error: libguile/libpath.h: No such file or directory
>  #include "libguile/libpath.h"
>           ^~~~~~~~~~~~~~~~~~~~
> compilation terminated.
>
>
> The "-I /u/ROOT/usr/local/include/guile/3.0" was used to find
> "libguile/extensions.h", so why would
> libguile/libpath.h not be found? Why would it not have been found
> after a full build and "make install"?

So I just copied it out of the guile source directory into the /usr/local one
and I can compile. That hackery should not be required. ;(



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-07-28 20:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-28 17:42 Why did this compile fail? Bruce Korb
2018-07-28 20:29 ` Bruce Korb

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).