[Ur] config.status: error: cannot find input file: `config.h.in'

Vladimir G. Ivanovic vladimir at acm.org
Sat May 29 13:31:09 EDT 2010


on 05/29/2010 05:06 AM Adam Chlipala said the following:
> I've pushed a changeset which includes config.h.in in the repository. 
> Does it build for you now?

Yes and no. I can run configure without any errors, but when I try to
make, I get:

$ make
make  all-recursive
make[1]: Entering directory `/usr/local/src/urweb-hg'
Making all in src/c
make[2]: Entering directory `/usr/local/src/urweb-hg/src/c'
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../..  -I../../include  -Wimplicit -Wall -Werror -g -O2 -MT memmem.lo
-MD -MP -MF .deps/memmem.Tpo -c -o memmem.lo memmem.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include
-Wimplicit -Wall -Werror -g -O2 -MT memmem.lo -MD -MP -MF
.deps/memmem.Tpo -c memmem.c  -fPIC -DPIC -o .libs/memmem.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include
-Wimplicit -Wall -Werror -g -O2 -MT memmem.lo -MD -MP -MF
.deps/memmem.Tpo -c memmem.c -o memmem.o >/dev/null 2>&1
mv -f .deps/memmem.Tpo .deps/memmem.Plo
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../..  -I../../include  -Wimplicit -Wall -Werror -g -O2 -MT mhash.lo
-MD -MP -MF .deps/mhash.Tpo -c -o mhash.lo mhash.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include
-Wimplicit -Wall -Werror -g -O2 -MT mhash.lo -MD -MP -MF .deps/mhash.Tpo
-c mhash.c  -fPIC -DPIC -o .libs/mhash.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include
-Wimplicit -Wall -Werror -g -O2 -MT mhash.lo -MD -MP -MF .deps/mhash.Tpo
-c mhash.c -o mhash.o >/dev/null 2>&1
mv -f .deps/mhash.Tpo .deps/mhash.Plo
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../..  -I../../include  -Wimplicit -Wall -Werror -g -O2 -MT urweb.lo
-MD -MP -MF .deps/urweb.Tpo -c -o urweb.lo urweb.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include
-Wimplicit -Wall -Werror -g -O2 -MT urweb.lo -MD -MP -MF .deps/urweb.Tpo
-c urweb.c  -fPIC -DPIC -o .libs/urweb.o
urweb.c: In function ‘uw_Basis_stringToTime’:
urweb.c:2578:5: error: implicit declaration of function ‘strptime’
[-Werror=implicit-function-declaration]
urweb.c:2578:40: error: comparison between pointer and integer [-Werror]
urweb.c:2590:40: error: comparison between pointer and integer [-Werror]
urweb.c:2595:42: error: comparison between pointer and integer [-Werror]
urweb.c: In function ‘uw_Basis_stringToTime_error’:
urweb.c:2682:40: error: comparison between pointer and integer [-Werror]
urweb.c:2684:42: error: comparison between pointer and integer [-Werror]
urweb.c: In function ‘uw_Basis_unsqlTime’:
urweb.c:2707:40: error: comparison between pointer and integer [-Werror]
urweb.c:2709:44: error: comparison between pointer and integer [-Werror]
cc1: all warnings being treated as errors

make[2]: *** [urweb.lo] Error 1
make[2]: Leaving directory `/usr/local/src/urweb-hg/src/c'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/urweb-hg'

If I remove the "-Werror" cflag in src/c/Makefile, it builds (I think
... at least it gets to the "mlton -output bin/urweb src/compiler.mlb"
step which is taking a long time: I have a big python job running).

--- Vladimir

-- 
Vladimir G. Ivanovic                            http://www.leonora.org
+1 650 450 4101                                       vladimir at acm.org


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://www.impredicative.com/pipermail/ur/attachments/20100529/a26976c6/attachment.pgp>


More information about the Ur mailing list