--- In "charliem_1216" <> wrote:
>
> --- In "j.chitte" <j.chitte@> wrote:
> >
> > Hi,
> >
> > I am building a 2.6 eabi system from scratch for ts7250.
> >
> > I decided to use lighttpd but have a config problem. In order to have gzip
> > functionality it wants headers , fair enought. But gzip is provided by
> > busybox which is way too light to worry about stuff like headers.
>
> busybox is not a library. There's an internal libbb, but it's not a glibc or
> ulibc replacement.
>
> >
> > I get simpilar issues with just about any package I try to build so I must
> > be going about this the wrong way.
> >
> > portmap fails looking for tcpd.h
> >
> > what am I missing here?
>
> You need to include the headers that come from your library (ulibc for
> instance), or from the package itself. IE, on my fedora system I have three
> different bzip2 RPMS: bzip2 (binary), bzip2-libs (dynamic libraries), and
> bzip2-devel (static libs, docs and headers)
>
> Take a look at 'linux from scratch' or buildroot.
>
> regards, .............Charlie
>
> >
> > TIA./
> >
>
Thanks Charlie,
I have been refering to LFS , hence the title here,
I have installed gzip package and this was enought to allow me to get a basic
config of lighttpd installed. However, I'm still having trouble with zlib.
The test in both dropbear and lighttpd for zlib fails despite it's being
installed. I also tried rebuilt with --static but it still fails in the same
way:
configure:4426: checking for crypt in -lcrypt
configure:4461: arm-unknown-linux-gnueabi-gcc -o conftest -Os -W -Wall
conftest.c -lcrypt >&5
configure:4467: $? = 0
configure:4485: result: yes
checking for deflate in -lz... no
configure: error: *** zlib missing - install first or check config.log ***
config.log:
configure:4643: arm-unknown-linux-gnueabi-gcc -o conftest -Os\
-W -Wall conftest.c -lz -lcrypt >&5
/back/ts/ct-ng/x-tools/arm-unknown-linux-gnueabi/lib/gcc/\
arm-unknown-linux-gnueabi/4.3.2/../../../../\
arm-unknown-linux-gnueabi/bin/ld: cannot find -lz
bash-4.0#pwd
/armroot
bash-4.0#ls -ail usr/lib/libz*
3079698 -rwxr-xr-x 1 root root 92548 2009-05-17 10:36 usr/lib/libz.a
3079699 lrwxrwxrwx 1 root root 13 2009-05-17 10:36 usr/lib/libz.so ->
libz.so.1.2.3
3079700 lrwxrwxrwx 1 root root 13 2009-05-17 10:36 usr/lib/libz.so.1 ->
libz.so.1.2.3
3079697 -rwxr-xr-x 1 root root 87914 2009-05-17 10:36 usr/lib/libz.so.1.2.3
bash-4.0#ls -ail usr/include/z*
3068528 -rw-r--r-- 1 root root 9544 2009-05-17 10:36 usr/include/zconf.h
3068527 -rw-r--r-- 1 root root 66188 2009-05-17 10:36 usr/include/zlib.h
I can't see why it fails with zlib when it finds cryptlib which is installed in
the same locations.
ls libz.a -l
-rw-r--r-- 1 prof users 92548 2009-05-17 11:28 libz.a
bash-4.0#ar -t libz.a
adler32.o
compress.o
crc32.o
gzio.o
uncompr.o
deflate.o
trees.o
zutil.o
inflate.o
infback.o
inftrees.o
inffast.o
and which includes deflate
Maybe I'm overlooking something obvious but this does not seem to be consistent
behaviour.
:?
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|