automake
[Top][All Lists]
Advanced

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

Re: can 'make', can 'make dist', but can't 'make distcheck'


From: David Fang
Subject: Re: can 'make', can 'make dist', but can't 'make distcheck'
Date: Sat, 29 Sep 2007 14:06:36 -0400 (EDT)

./configure \
--prefix=$HOME/jmf/testes/localroot/usr/ \
CPPFLAGS="-DHPUX -DSUN -DLINUX -I/usr/include/libxml2/ \
-I/home/jmf/tibcu/tibrv/include/"

all goes well. make is successfull and builds my libs correctly !

make dist also creates the tar.gz

but make distcheck complains. this is my distcheck command:
-----------------------------------------
make distcheck \
CPPFLAGS="-DHPUX -DSUN -DLINUX -I/usr/include/libxml2/ \
-I/home/jmf/tibcu/tibrv/include/"
---------------------------------------

You pass configure parameters to distcheck with:

make DISTCHECK_CONFIGURE_FLAGS="configure_params..." distcheck

Quotes recommended to keep shell from splitting up params.

These errors are probably fallout from not finding some headers in those CPPFLAGS paths, I'm guessing.

this is how it complaints
---------------------------------------
../../../c/src/IFXDoc.c: In function 'IFXDoc_addNullU64Array':
../../../c/src/IFXDoc.c:10258: warning: this decimal constant is
unsigned only in ISO C90
../../../c/src/IFXDoc.c:10258: warning: integer constant is too large
for 'long' type

../../../c/src/IFXDoc.c: In function
'IFXINTERNAL_IFXDoc_xml_addArrayField2XML':
../../../c/src/IFXDoc.c:18747: warning: assignment makes pointer from
integer without a cast

make[3]: *** [IFXDoc.lo] Error 1
make[3]: Leaving directory
`/home/jmf/ifxlib/libifxlib-7.8.9/_build/c/src'

make[2]: *** [all-recursive] Error 1
---------------------------------------

just guessing ? could make distcheck be using something like a very
demanding, 'no cast warnings allowed' or some '-Werror' compiler flag ?

distcheck doesn't add anything to your flags.

Sometimes it helps to log distcheck to a file for debugging:
$ make distcheck 2>&1 tee distcheck.log

HTH.

Fang



David Fang
Computer Systems Laboratory
Electrical & Computer Engineering
Cornell University
http://www.csl.cornell.edu/~fang/
        -- (2400 baud? Netscape 3.0?? lynx??? No problem!)




reply via email to

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