make fails [cgi.c line 562 and regression tests failures]
"weekapog318" <[email protected]> Sat, 12 Jul 2008 00:08:05 -0000
| Newsgroups | gmane.text.clearsilver.general |
|---|---|
| Message-ID | <[email protected]> |
I am trying to build ClearSilver 0.10.5 on a WinXP system under MinGW
(msys 1.0.10).
I am configuring the make as follows:
./configure --disable-apache --disable-perl --disable-ruby
--disable-java --disable-csharp
And when I attempt to make, the following output occurs:
$ make
*******************************************
** Building Dependencies
** OSNAME: MINGW32_NT-5.1
** (done)
make[1]: Entering directory
`/home/firstname.lastname/clearsilver-0.10.5/util'
*******************************************
** Building Dependencies
** OSNAME: MINGW32_NT-5.1
** (done)
make[1]: Leaving directory
`/home/firstname.lastname/clearsilver-0.10.5/util'
make[1]: Entering directory
`/home/firstname.lastname/clearsilver-0.10.5/cs'
*******************************************
** Building Dependencies
** OSNAME: MINGW32_NT-5.1
** (done)
make[1]: Leaving directory
`/home/firstname.lastname/clearsilver-0.10.5/cs'
make[1]: Entering directory
`/home/firstname.lastname/clearsilver-0.10.5/cgi'
*******************************************
** Building Dependencies
** OSNAME: MINGW32_NT-5.1
** (done)
make[1]: Leaving directory
`/home/firstname.lastname/clearsilver-0.10.5/cgi'
make[1]: Entering directory
`/home/firstname.lastname/clearsilver-0.10.5/python'
*******************************************
** Building Dependencies
** OSNAME: MINGW32_NT-5.1
** (done)
make[1]: Leaving directory
`/home/firstname.lastname/clearsilver-0.10.5/python'
make[1]: Entering directory
`/home/firstname.lastname/clearsilver-0.10.5/util'
gcc -g -O2 -Wall -I.. -D__WINDOWS_GCC__ -I../util/regex -o neo_err.o
-c neo_err.c
gcc -g -O2 -Wall -I.. -D__WINDOWS_GCC__ -I../util/regex -o
neo_files.o -c neo_files.c
gcc -g -O2 -Wall -I.. -D__WINDOWS_GCC__ -I../util/regex -o
neo_misc.o -c neo_misc.c
gcc -g -O2 -Wall -I.. -D__WINDOWS_GCC__ -I../util/regex -o
neo_rand.o -c neo_rand.c
gcc -g -O2 -Wall -I.. -D__WINDOWS_GCC__ -I../util/regex -o ulist.o
-c ulist.c
gcc -g -O2 -Wall -I.. -D__WINDOWS_GCC__ -I../util/regex -o neo_hdf.o
-c neo_hdf.c
gcc -g -O2 -Wall -I.. -D__WINDOWS_GCC__ -I../util/regex -o neo_str.o
-c neo_str.c
gcc -g -O2 -Wall -I.. -D__WINDOWS_GCC__ -I../util/regex -o
neo_date.o -c neo_date.c
gcc -g -O2 -Wall -I.. -D__WINDOWS_GCC__ -I../util/regex -o wildmat.o
-c wildmat.c
gcc -g -O2 -Wall -I.. -D__WINDOWS_GCC__ -I../util/regex -o
neo_hash.o -c neo_hash.c
gcc -g -O2 -Wall -I.. -D__WINDOWS_GCC__ -I../util/regex -o
regex/regex.o -c regex/regex.c
regex/regex.c: In function `re_compile_fastmap':
regex/regex.c:2927: warning: unused variable `num_regs'
In file included from regex/regex.c:4302:
regex/regex.c: In function `re_match_2_internal':
regex/regex.c:5163: warning: passing arg 1 of `bcmp_translate'
discards qualifiers from pointer target type
regex/regex.c:5163: warning: passing arg 2 of `bcmp_translate'
discards qualifiers from pointer target type
gcc -g -O2 -Wall -I.. -D__WINDOWS_GCC__ -I../util/regex -o missing.o
-c missing.c
ar cr ../libs/libneo_utl.a neo_err.o neo_files.o neo_misc.o neo_rand.o
ulist.o neo_hdf.o neo_str.o neo_date.o wildmat.o neo_hash.o
regex/regex.o missing.o
ranlib ../libs/libneo_utl.a
make[1]: Leaving directory
`/home/firstname.lastname/clearsilver-0.10.5/util'
make[1]: Entering directory
`/home/firstname.lastname/clearsilver-0.10.5/cs'
gcc -g -O2 -Wall -I.. -D__WINDOWS_GCC__ -I../util/regex -o csparse.o
-c csparse.c
ar cr ../libs/libneo_cs.a csparse.o
ranlib ../libs/libneo_cs.a
gcc -g -O2 -Wall -I.. -D__WINDOWS_GCC__ -I../util/regex -o cstest.o
-c cstest.c
gcc -o cstest cstest.o -L../libs/ -lneo_cs -lneo_utl # -lefence
gcc -g -O2 -Wall -I.. -D__WINDOWS_GCC__ -I../util/regex -o cs.o -c cs.c
gcc -o cs cs.o -L../libs/ -lneo_cs -lneo_utl # -lefence
Running cs regression tests
Failed Regression Test: test.cs
See test.cs.out and test.cs.err
Failed Regression Test: test2.cs
See test2.cs.out and test2.cs.err
Failed Regression Test: test3.cs
See test3.cs.out and test3.cs.err
Failed Regression Test: test4.cs
See test4.cs.out and test4.cs.err
Failed Regression Test: test5.cs
See test5.cs.out and test5.cs.err
Failed Regression Test: test6.cs
See test6.cs.out and test6.cs.err
Failed Regression Test: test7.cs
See test7.cs.out and test7.cs.err
Failed Regression Test: test8.cs
See test8.cs.out and test8.cs.err
Failed Regression Test: test9.cs
See test9.cs.out and test9.cs.err
Failed Regression Test: test10.cs
See test10.cs.out and test10.cs.err
Failed Regression Test: test11.cs
See test11.cs.out and test11.cs.err
Failed Regression Test: test12.cs
See test12.cs.out and test12.cs.err
Failed Regression Test: test13.cs
See test13.cs.out and test13.cs.err
Failed Regression Test: test14.cs
See test14.cs.out and test14.cs.err
Failed Regression Test: test15.cs
See test15.cs.out and test15.cs.err
Failed Regression Test: test16.cs
See test16.cs.out and test16.cs.err
Failed Regression Test: test17.cs
See test17.cs.out and test17.cs.err
Failed Regression Test: test18.cs
See test18.cs.out and test18.cs.err
Failed Regression Test: test19.cs
See test19.cs.out and test19.cs.err
Failed Regression Test: test_var.cs
See test_var.cs.out and test_var.cs.err
Failed Regression Test: test_paren.cs
See test_paren.cs.out and test_paren.cs.err
Failed Regression Test: test_chuck.cs
See test_chuck.cs.out and test_chuck.cs.err
Failed Regression Test: test_trak1.cs
See test_trak1.cs.out and test_trak1.cs.err
Failed Regression Test: test_iter.cs
See test_iter.cs.out and test_iter.cs.err
Failed Regression Test: test_each_array.cs
See test_each_array.cs.out and test_each_array.cs.err
Failed Regression Test: test_name.cs
See test_name.cs.out and test_name.cs.err
Failed Regression Test: test_with.cs
See test_with.cs.out and test_with.cs.err
Failed Regression Test: test_numbers.cs
See test_numbers.cs.out and test_numbers.cs.err
Failed Regression Test: test_splice.cs
See test_splice.cs.out and test_splice.cs.err
Failed Regression Test: test_joo.cs
See test_joo.cs.out and test_joo.cs.err
Failed Regression Test: test_first_last.cs
See test_first_last.cs.out and test_first_last.cs.err
Failed Regression Test: test_abs_max_min.cs
See test_abs_max_min.cs.out and test_abs_max_min.cs.err
Failed Regression Test: test_comma.cs
See test_comma.cs.out and test_comma.cs.err
Failed Regression Test: test_macro_set.cs
See test_macro_set.cs.out and test_macro_set.cs.err
Failed Regression Test: test_func.cs
See test_func.cs.out and test_func.cs.err
Failed Regression Test: test_escape.cs
See test_escape.cs.out and test_escape.cs.err
Failed Regression Test: test_uvar.cs
See test_uvar.cs.out and test_uvar.cs.err
Failed Regression Test: test_crc.cs
See test_crc.cs.out and test_crc.cs.err
1,2c1,2
< Parsing test_tag.cs
< 0 <?cs var:myvar ?>1 <?cs var:myvar ?>2 <?cs var:myvar ?>
---
> Parsing test_tag.cs
> 0 <?cs var:myvar ?>1 <?cs var:myvar ?>2 <?cs var:myvar ?>
Failed Regression Test: test_tag.cs
make[1]: *** [test] Error 1
make[1]: Leaving directory
`/home/firstname.lastname/clearsilver-0.10.5/cs'
make[1]: Entering directory
`/home/firstname.lastname/clearsilver-0.10.5/cgi'
gcc -g -O2 -Wall -I.. -D__WINDOWS_GCC__ -I../util/regex -o cgiwrap.o
-c cgiwrap.c
gcc -g -O2 -Wall -I.. -D__WINDOWS_GCC__ -I../util/regex -o cgi.o -c
cgi.c
cgi.c: In function `cgi_pre_parse':
cgi.c:562: warning: implicit declaration of function `sleep'
gcc -g -O2 -Wall -I.. -D__WINDOWS_GCC__ -I../util/regex -o html.o -c
html.c
gcc -g -O2 -Wall -I.. -D__WINDOWS_GCC__ -I../util/regex -o date.o -c
date.c
gcc -g -O2 -Wall -I.. -D__WINDOWS_GCC__ -I../util/regex -o rfc2388.o
-c rfc2388.c
ar cr ../libs/libneo_cgi.a cgiwrap.o cgi.o html.o date.o rfc2388.o
ranlib ../libs/libneo_cgi.a
gcc -g -O2 -Wall -I.. -D__WINDOWS_GCC__ -I../util/regex -o static.o
-c static.c
gcc -o cs_static.cgi static.o -L../libs/ -lneo_cgi -lneo_cs -lneo_utl
../libs//libneo_cgi.a(cgi.o): In function `cgi_init':
C:/msys/1.0/home/firstname.lastname/clearsilver-0.10.5/cgi/cgi.c:562:
undefined reference to `sleep'
collect2: ld returned 1 exit status
make[1]: *** [cs_static.cgi] Error 1
make[1]: Leaving directory
`/home/firstname.lastname/clearsilver-0.10.5/cgi'
make[1]: Entering directory
`/home/firstname.lastname/clearsilver-0.10.5/python'
gcc -g -O2 -Wall -I.. -D__WINDOWS_GCC__ -I../util/regex
-I/c/python24/include -o neo_cgi.o -c neo_cgi.c
In file included from ../ClearSilver.h:15,
from neo_cgi.c:13:
../cs_config.h:32:1: warning: "HAVE_SNPRINTF" redefined
In file included from c:/python24/include/Python.h:112,
from neo_cgi.c:12:
c:/python24/include/pyerrors.h:220:1: warning: this is the location of
the previous definition
In file included from ../ClearSilver.h:15,
from neo_cgi.c:13:
../cs_config.h:100:1: warning: "HAVE_MKTIME" redefined
In file included from c:/python24/include/Python.h:8,
from neo_cgi.c:12:
c:/python24/include/pyconfig.h:444:1: warning: this is the location of
the previous definition
In file included from ../ClearSilver.h:15,
from neo_cgi.c:13:
../cs_config.h:106:1: warning: "HAVE_PUTENV" redefined
In file included from c:/python24/include/Python.h:8,
from neo_cgi.c:12:
c:/python24/include/pyconfig.h:375:1: warning: this is the location of
the previous definition
In file included from ../ClearSilver.h:15,
from neo_cgi.c:13:
../cs_config.h:124:1: warning: "HAVE_STRERROR" redefined
In file included from c:/python24/include/Python.h:8,
from neo_cgi.c:12:
c:/python24/include/pyconfig.h:38:1: warning: this is the location of
the previous definition
In file included from ../ClearSilver.h:15,
from neo_cgi.c:13:
../cs_config.h:127:1: warning: "HAVE_STRFTIME" redefined
In file included from c:/python24/include/Python.h:8,
from neo_cgi.c:12:
c:/python24/include/pyconfig.h:37:1: warning: this is the location of
the previous definition
gcc -g -O2 -Wall -I.. -D__WINDOWS_GCC__ -I../util/regex
-I/c/python24/include -o neo_util.o -c neo_util.c
In file included from ../ClearSilver.h:15,
from neo_util.c:13:
../cs_config.h:32:1: warning: "HAVE_SNPRINTF" redefined
In file included from c:/python24/include/Python.h:112,
from neo_util.c:12:
c:/python24/include/pyerrors.h:220:1: warning: this is the location of
the previous definition
In file included from ../ClearSilver.h:15,
from neo_util.c:13:
../cs_config.h:100:1: warning: "HAVE_MKTIME" redefined
In file included from c:/python24/include/Python.h:8,
from neo_util.c:12:
c:/python24/include/pyconfig.h:444:1: warning: this is the location of
the previous definition
In file included from ../ClearSilver.h:15,
from neo_util.c:13:
../cs_config.h:106:1: warning: "HAVE_PUTENV" redefined
In file included from c:/python24/include/Python.h:8,
from neo_util.c:12:
c:/python24/include/pyconfig.h:375:1: warning: this is the location of
the previous definition
In file included from ../ClearSilver.h:15,
from neo_util.c:13:
../cs_config.h:124:1: warning: "HAVE_STRERROR" redefined
In file included from c:/python24/include/Python.h:8,
from neo_util.c:12:
c:/python24/include/pyconfig.h:38:1: warning: this is the location of
the previous definition
In file included from ../ClearSilver.h:15,
from neo_util.c:13:
../cs_config.h:127:1: warning: "HAVE_STRFTIME" redefined
In file included from c:/python24/include/Python.h:8,
from neo_util.c:12:
c:/python24/include/pyconfig.h:37:1: warning: this is the location of
the previous definition
gcc -g -O2 -Wall -I.. -D__WINDOWS_GCC__ -I../util/regex
-I/c/python24/include -o neo_cs.o -c neo_cs.c
In file included from ../ClearSilver.h:15,
from neo_cs.c:13:
../cs_config.h:32:1: warning: "HAVE_SNPRINTF" redefined
In file included from c:/python24/include/Python.h:112,
from neo_cs.c:12:
c:/python24/include/pyerrors.h:220:1: warning: this is the location of
the previous definition
In file included from ../ClearSilver.h:15,
from neo_cs.c:13:
../cs_config.h:100:1: warning: "HAVE_MKTIME" redefined
In file included from c:/python24/include/Python.h:8,
from neo_cs.c:12:
c:/python24/include/pyconfig.h:444:1: warning: this is the location of
the previous definition
In file included from ../ClearSilver.h:15,
from neo_cs.c:13:
../cs_config.h:106:1: warning: "HAVE_PUTENV" redefined
In file included from c:/python24/include/Python.h:8,
from neo_cs.c:12:
c:/python24/include/pyconfig.h:375:1: warning: this is the location of
the previous definition
In file included from ../ClearSilver.h:15,
from neo_cs.c:13:
../cs_config.h:124:1: warning: "HAVE_STRERROR" redefined
In file included from c:/python24/include/Python.h:8,
from neo_cs.c:12:
c:/python24/include/pyconfig.h:38:1: warning: this is the location of
the previous definition
In file included from ../ClearSilver.h:15,
from neo_cs.c:13:
../cs_config.h:127:1: warning: "HAVE_STRFTIME" redefined
In file included from c:/python24/include/Python.h:8,
from neo_cs.c:12:
c:/python24/include/pyconfig.h:37:1: warning: this is the location of
the previous definition
dllwrap --dllname neo_cgi.pyd --driver-name gcc \
--def neo_cgi.def -o neo_cgi.pyd \
neo_cgi.o neo_util.o neo_cs.o -s --entry _DllMain@12 \
--target=i386-mingw32 \
-L../libs/ -L/c/python24/libs -lpython24 -lneo_cgi -lneo_cs
-lneo_utl
../libs//libneo_cgi.a(cgi.o): In function `cgi_init':
C:/msys/1.0/home/firstname.lastname/clearsilver-0.10.5/cgi/cgi.c:562:
undefined reference to `sleep'
collect2: ld returned 1 exit status
c:\MinGW\bin\dllwrap.exe: gcc exited with status 1
make[1]: *** [neo_cgi.pyd] Error 1
make[1]: Leaving directory
`/home/firstname.lastname/clearsilver-0.10.5/python'
make: *** [cs] Error 2
I understand that the HAVE_ warnings are OK, but I have two questions:
1) Why is the make failing the regression tests?
2) How can I get the cgi.c:562 problem to go away?
I am running Python 2.4.4 and am only interested in a python egg being
created so I can drop it into a Trac installation. Any help would be
greatly appreciated!
TIA,
Brett