g-wrap-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: g-wrap build fails, missing standard.c?


From: Brad Whitlock
Subject: Re: g-wrap build fails, missing standard.c?
Date: Thu, 23 Jun 2011 20:30:14 -0600

Thank you!

I was using BSD make.

---
Some notes:

Installed gmake:
$ sudo portinstall devel/gmake
$ cd /usr/local/bin
$ ln -s gmake make

Then made sure /usr/local/bin comes before /usr/bin in $PATH




On Thu, Jun 23, 2011 at 9:42 AM, Andreas Rottmann <address@hidden> wrote:
Brad Whitlock <address@hidden> writes:

> Thanks Andy.
>
> I don't think it's a env issue.
>
> In looking in the guile/g-wrap/gw/Makefile, I see the following make target
> which depends on standard.c:
>
> "libgw_guile_standard_la-standard.lo: standard.c"
>
> but I don't seem to have that file (standard.c). Is it auto-generated? I
> can't seem to find any code to make that happen either.
>
It is indeed auto-generated, and there's the following fragment in
guile/g-wrap/gw/Makefile.am that provides a build rule for it:

LIBGW_STANDARD_GWGEN = $(addprefix standard, .h .c .scm)

${LIBGW_STANDARD_GWGEN}: $(top_srcdir)/guile/g-wrap/guile/ws/standard.scm
       guile $(GUILE_FLAGS) -c \
         $(SETGWPATH)"(use-modules (g-wrap)) \
                      (use-modules (g-wrap guile)) \
                      (use-modules (g-wrap guile ws standard)) \
                      (generate-wrapset 'guile 'standard \"standard\")"

I just tried a clean, non-srcdir build, and here (Debian sid, amd64)
everything works fine.  Could it be the case that your build is using a
non-GNU or very old GNU make?

Regards, Rotty
--
Andreas Rottmann -- <http://rotty.yi.org/>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]