[Axl] minor issues building axl

Joan Picanyol i Puig lists-axl at biaix.org
Tue Mar 31 19:37:19 CEST 2009


Hi,

I've found that axl does not like to be built outside of it's source
directory (which I usually do). In particular, knife/ and test/ seem to
be unable to find the required headers. The issue is easy to reproduce,
just invoke configure & build from a totally unrelated directory to that
where your sources are located. Passing --disable-axl-knife and/or
--disable-axl-test works around the issue.

My auto*-fu is nill, so I can't suggest a patch.

Regarding knife, the build fails with:

make[2]: Entering directory `/var/tmp/build/knife'
if gcc -DHAVE_CONFIG_H -I. -I/home/jpicanyol/wd/sources/contrib/axl/knife -I.. -I../src/ -I../ns -Wall  -DAXL_NS_SUPPORT -DVERSION=\"\" -D__COMPILING_AXL_KNIFE__     -D__axl_disable_broken_bool_def__  -DHAVE_VASPRINTF     -g -O2 -MT axl-knife.o -MD -MP -MF ".deps/axl-knife.Tpo" -c -o axl-knife.o /home/jpicanyol/wd/sources/contrib/axl/knife/axl-knife.c; \
        then mv -f ".deps/axl-knife.Tpo" ".deps/axl-knife.Po"; else rm -f ".deps/axl-knife.Tpo"; exit 1; fi
In file included from /home/jpicanyol/wd/sources/contrib/axl/knife/axl-knife.c:33:
/home/jpicanyol/wd/sources/contrib/axl/knife/axl-knife.h:39:17: error: axl.h: No such file or directory
/home/jpicanyol/wd/sources/contrib/axl/knife/axl-knife.h:42:20: error: axl_ns.h: No such file or directory

Regarding test, the build fails with:

make[2]: Entering directory `/var/tmp/build/test'
if gcc -DHAVE_CONFIG_H -I. -I/home/jpicanyol/wd/sources/contrib/axl/test -I.. -I../src/ -I../ns -I../babel -Wall  -DAXL_NS_SUPPORT  -DVERSION=\"""\" -D__axl_disable_broken_bool_def__     -g -O2 -MT test_01.o -MD -MP -MF ".deps/test_01.Tpo" -c -o test_01.o /home/jpicanyol/wd/sources/contrib/axl/test/test_01.c; \
        then mv -f ".deps/test_01.Tpo" ".deps/test_01.Po"; else rm -f ".deps/test_01.Tpo"; exit 1; fi
/home/jpicanyol/wd/sources/contrib/axl/test/test_01.c:5:17: error: axl.h: No such file or directory
/home/jpicanyol/wd/sources/contrib/axl/test/test_01.c:6:20: error: axl_ns.h: No such file or directory
/home/jpicanyol/wd/sources/contrib/axl/test/test_01.c:7:23: error: axl_babel.h: No such file or directory

Can anyone suggest a fix?

tks
-- 
pica


More information about the Axl mailing list