[uClibc]Can't compile rp_pppoe package

Martin Sieper msi at ngi-box.de
Tue Feb 5 22:31:51 UTC 2002


Hello Erik,

am Tuesday  5 February 2002 um 14:41:17 -0700 schrieben Sie:
> Excellent, I will remove it from the not working list,

Fine.

BTW have you seen my messages on the uClibc mailinglist?
You can also remove the entry for GNU fileutils from the not 
working list. And you can add ghostscript, psutils, libtiff,
netpbm and a2ps to the workin list.

*) ghostscript-7.04 compiles without patching.

*) psutils-p17 builds without patching.

*) tiff-v3.5.5 need a little patch so it can make the shared library:

--- configure.orig	Mon Mar 20 19:20:42 2000
+++ configure	Thu Mar  1 17:38:37 2001
@@ -1156,7 +1156,7 @@
 	TIFFLIBREF='-L${DEPTH}/libtiff -ltiff'
 	;;
     *-linux*)
-	if [ -r /lib/libc.so.6 || -r /lib/libc.so.5 ]; then
+	if [ -r /lib/libc.so.6 -o -r /lib/libc.so.5 -o -r ${dist_root}/lib/libc.so.0 ]; then
 	    DSOSUF=so.${DIST_MAJOR}
 	    DSOSUF_VERSION=${DSOSUF}.${DIST_MINOR}.${DIST_ALPHA}
 	    LIBCOPTS='-fPIC'

and configure it with this options:

	--with-DIR_BIN=${dist_root}/usr/bin
	--with-DIR_LIB=${dist_root}/usr/lib
	--with-DIR_INC=${dist_root}/usr/include
	--with-DIR_HTML=${dist_root}/usr/share/doc/libtiff/html
	--with-DIR_MAN=${dist_root}/usr/share/man
	--with-JPEG=yes
	--with-ZIP=yes
	--with-DIR_JPEGLIB=${dist_root}/usr/lib
	--with-DIR_GZLIB=${dist_root}/usr/lib
	--target=i486-linux

*) netpbm-9.24 can build without patching but be aware that you 
   must configure it right. I use this:

	echo -e "gnu\nregular\nshared\ny\n${dist_root}/usr\nbin\nlib\nlib\ninclude\nNONE" | ./configure

   and compile it with this:

	make TIFFHDR_DIR=${dist_root}/usr/include \
	TIFFLIB_DIR=${dist_root}/usr/lib \
	PNGHDR_DIR=${dist_root}/usr/include \
	PNGLIB_DIR=${dist_root}/usr/lib \
	ZHDR_DIR=${dist_root}/usr/include \
	ZLIB_DIR=${dist_root}/usr/lib \
	JPEGHDR_DIR=${dist_root}/usr/include \
	JPEGLIB_DIR=${dist_root}/usr/lib \
	all

*) a2ps-4.13b need a little patch because the type wchar_t is 
   unknow in uClibc:

--- lib/quotearg.c.orig	Wed Jan 19 09:19:48 2000
+++ lib/quotearg.c	Tue Feb  5 22:32:03 2002
@@ -65,6 +65,7 @@
 # define mbrtowc(pwc, s, n, ps) 1
 # define mbsinit(ps) 1
 # define mbstate_t int
+typedef unsigned int wchar_t;
 #endif
 
 #define INT_BITS (sizeof (int) * CHAR_BIT)


   and configure it with this:

	env PATH=${dist_root}/bin:${dist_root}/usr/bin:${dist_root}/sbin:${dist_root}/usr/sbin \
	./configure $configure_opts

so the configure can find the right apps. on your system.

That's all for now.

Best regards

  -Martin




More information about the uClibc mailing list