bug-automake
[Top][All Lists]
Advanced

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

bug#8753: unable to build VALA project out-of-tree


From: Zbigniew Jędrzejewski-Szmek
Subject: bug#8753: unable to build VALA project out-of-tree
Date: Fri, 02 Sep 2011 02:40:17 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110807 Icedove/5.0

On 09/01/2011 09:35 PM, Stefano Lattarini wrote:
Hi Zbigniew, sorry for the shameful delay.
No problem. Autotools are great anyway :)

I'm quite ignorant about vala and also its support in automake,
I think that the support is in general adequate -- systemd uses vala and in general things get build like they are supposed too.

but I do
think that VPATH builds are not really supported for vala.
So it seems.

Anyway, it would be nice to at least expose the problem in the Automake
testsuite, even if only as an XFAIL; do you have a minimal use case
exposing the issue?
I've taken the hello world example from vala tutorial and wrapped it with
Makefile.am and configure.ac.

It builds fine locally, and fails when build from an external directory:

/tmp/build % ~/src/vala_autotools_test/configure
...
/tmp/build % make
make: *** No rule to make target `/home/zbyszek/src/vala_autotools_test/hello_vala.stamp', needed by `/home/zbyszek/src/vala_autotools_test/src/hello.c'. Stop.

The example is attached. Three files: configure.ac and Makefile.am go in the root directory of the source tree, hello.vala goes into src/.

Zbyszek

Attachment: configure.ac
Description: Text document

Attachment: Makefile.am
Description: Text document

Attachment: hello.vala
Description: Text document


reply via email to

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