logo       

Re: TEST-RELEASE: lighttpd-1.2.8-cygwin: msg#00043

web.lighttpd

Subject: Re: TEST-RELEASE: lighttpd-1.2.8-cygwin


Hi Jan,
Jan Kneschke wrote:

Dear users,

I've just uploaded a slightly modifed version of lighttpd which
circumvents some problems with the cygwin linker. It looks like MacOS X
has the same problems and should work with this package too.

Please test it and give feedback. If it works I'll try to include the
changes into the normal distribution and prepare a offical cygwin
distribution.

A initial attempt the port lighttpd windows natively via mingw is under
way and might need some more time. If someone has already experience in
win32 socket programming, please contact me. Currently I'm stuck in the
question how to set fd non-blocking. The docs always say: spawn a
thread. which is exactly what I don't want to do.

http://jan.kneschke.de/projects/lighttpd/download/lighttpd-1.2.8-cygwin.tar.gz


I tried compiling it with "./configure && make && make install".

Here is what happend:

*** Warning: This system can not link to static lib archive liblightcomp.la.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** But as you try to build a module library, libtool will still create
*** a static module, that should work as long as the dlopening application
*** is linked with the -dlopen flag to resolve symbols at runtime.
rm -fr .libs/mod_maps.a .libs/mod_maps.la .libs/mod_maps.lai
ar cru .libs/mod_maps.a .libs/mod_maps.o
ranlib .libs/mod_maps.a
creating mod_maps.la
(cd .libs && rm -f mod_maps.la && ln -s ../mod_maps.la mod_maps.la)
if gcc -DHAVE_CONFIG_H -DLIBRARY_DIR="\"/usr/local/lib\"" -I. -I. -I.. -DDEBUG_ARRAY -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_RE
NTRANT -g -O2 -Wall -W -Wshadow -pedantic -MT array-array.o -MD -MP -MF ".deps/array-array.Tpo" -c -o array-array.o `test -f 'array.c' || echo './'`
rray.c; \
then mv -f ".deps/array-array.Tpo" ".deps/array-array.Po"; else rm -f ".deps/array-array.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DLIBRARY_DIR="\"/usr/local/lib\"" -I. -I. -I.. -DDEBUG_ARRAY -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_RE
NTRANT -g -O2 -Wall -W -Wshadow -pedantic -MT array-buffer.o -MD -MP -MF ".deps/array-buffer.Tpo" -c -o array-buffer.o `test -f 'buffer.c' || echo '
/'`buffer.c; \
then mv -f ".deps/array-buffer.Tpo" ".deps/array-buffer.Po"; else rm -f ".deps/array-buffer.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DLIBRARY_DIR="\"/usr/local/lib\"" -I. -I. -I.. -DDEBUG_ARRAY -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_RE
NTRANT -g -O2 -Wall -W -Wshadow -pedantic -MT array-data_string.o -MD -MP -MF ".deps/array-data_string.Tpo" -c -o array-data_string.o `test -f 'data
string.c' || echo './'`data_string.c; \
then mv -f ".deps/array-data_string.Tpo" ".deps/array-data_string.Po"; else rm -f ".deps/array-data_string.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DLIBRARY_DIR="\"/usr/local/lib\"" -I. -I. -I.. -DDEBUG_ARRAY -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_RE
NTRANT -g -O2 -Wall -W -Wshadow -pedantic -MT array-data_count.o -MD -MP -MF ".deps/array-data_count.Tpo" -c -o array-data_count.o `test -f 'data_co
nt.c' || echo './'`data_count.c; \
then mv -f ".deps/array-data_count.Tpo" ".deps/array-data_count.Po"; else rm -f ".deps/array-data_count.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link gcc -g -O2 -Wall -W -Wshadow -pedantic -o array.exe array-array.o array-buffer.o array-data_string.o array-data_
ount.o
gcc -g -O2 -Wall -W -Wshadow -pedantic -o array.exe array-array.o array-buffer.o array-data_string.o array-data_count.o
if gcc -DHAVE_CONFIG_H -DLIBRARY_DIR="\"/usr/local/lib\"" -I. -I. -I.. -DDEBUG_CHUNK -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_RE
NTRANT -g -O2 -Wall -W -Wshadow -pedantic -MT chunk-buffer.o -MD -MP -MF ".deps/chunk-buffer.Tpo" -c -o chunk-buffer.o `test -f 'buffer.c' || echo '
/'`buffer.c; \
then mv -f ".deps/chunk-buffer.Tpo" ".deps/chunk-buffer.Po"; else rm -f ".deps/chunk-buffer.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DLIBRARY_DIR="\"/usr/local/lib\"" -I. -I. -I.. -DDEBUG_CHUNK -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_RE
NTRANT -g -O2 -Wall -W -Wshadow -pedantic -MT chunk-chunk.o -MD -MP -MF ".deps/chunk-chunk.Tpo" -c -o chunk-chunk.o `test -f 'chunk.c' || echo './'`
hunk.c; \
then mv -f ".deps/chunk-chunk.Tpo" ".deps/chunk-chunk.Po"; else rm -f ".deps/chunk-chunk.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link gcc -g -O2 -Wall -W -Wshadow -pedantic -o chunk.exe chunk-buffer.o chunk-chunk.o
gcc -g -O2 -Wall -W -Wshadow -pedantic -o chunk.exe chunk-buffer.o chunk-chunk.o
if gcc -DHAVE_CONFIG_H -DLIBRARY_DIR="\"/usr/local/lib\"" -I. -I. -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_REENTRANT -g -
2 -Wall -W -Wshadow -pedantic -MT server.o -MD -MP -MF ".deps/server.Tpo" -c -o server.o server.c; \
then mv -f ".deps/server.Tpo" ".deps/server.Po"; else rm -f ".deps/server.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link gcc -g -O2 -Wall -W -Wshadow -pedantic -o lighttpd.exe -export-dynamic server.o liblightcomp.la
gcc -g -O2 -Wall -W -Wshadow -pedantic -o lighttpd.exe server.o -Wl,--export-dynamic ./.libs/liblightcomp.a -lpcre
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld: cannot find -lpcre
collect2: ld returned 1 exit status
distcc[6520] ERROR: compile on localhost failed
make[2]: *** [lighttpd.exe] Fehler 1
make[2]: Leaving directory `/cygdrive/h/backup/install/lighttpd-1.2.8/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/cygdrive/h/backup/install/lighttpd-1.2.8'
make: *** [all] Fehler 2


I have been hoping for months now that we get a cygwin version. That would be great for me and a lot of other ppl I guess. A native version would be cool, too.

--
Sascha Ebach Hexatex Holistic-Webdesign
Hugo-Junkers-Str. 26 50739 Köln
Web: http://www.hexatex.de mailto:se@xxxxxxxxxx
Tel: 0221 / 5994393 Fax: 0221 / 5994394




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise