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

Re: [Help] Please try to compile volpack with pdebuild



Am Freitag, den 03.08.2007, 14:58 +0200 schrieb Daniel Leidert:

[..]
> (3) examples/Makefile.am
> 
> Should test.csh be run befoore making a distribution? Then you should
> play with TESTS and TESTS_ENVIRONMENT variables or the check(-local)
> target.

$ fakeroot make distcheck

fails, because you miss to set the header path via INCLUDES, so
volpack.h cannot be found.

Further in Makefile.am: You should better use:

> $(COMP_SRCS): $(COMP_IN)
>         @for i in $@ ; \
>             do \
>                 rm -f $$i ;\
>                 echo "$(M4) -DSourceFile=$$i $^ > $$i" ;\
>                 $(M4) -DSourceFile=$$i $^ > $$i; \
>                 chmod -w $$i; \
>             done
> 
> $(WARP_SRCS): $(WARP_IN)
>         @for i in $@ ; \
>             do \
>                 rm -f $$i ;\
>                 echo "$(M4) -DSourceFile=$$i $^ > $$i" ;\
>                 $(M4) -DSourceFile=$$i $^ > $$i; \
>                 chmod -w $$i; \
>             done

to make sure, the paths for no_edit_header and the .m4 files are
automatically determined correctly. Otherwise distcheck fails.

With these changes, distcheck succeeds (at least for me).

Regards, Daniel



Reply to: