I want to compile and install dillo browser on a chrooted uclibc
enviroment, this is the output of "emerge --info":
Portage 2.0.54 (uclibc/x86/2.4, gcc-3.4.5, uclibc-0.9.28-r0, 2.6.15-gentoo-r1
i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Gentoo Base System version 1.6.14
dev-lang/python: 2.4.2
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-gentoo-linux-uclibc"
CFLAGS="-Os -pipe -fomit-frame-pointer"
CHOST="i386-gentoo-linux-uclibc"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks nodoc noinfo noman sandbox sfperms
strict"
GENTOO_MIRRORS="http://gentoo.ngi.it http://gentoo.ynet.sk/pub"
LC_ALL="it_IT.UTF-8"
PKGDIR="/var/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X bitmap-fonts bzip2 dlloader expat fbcon gif gtk jpeg minimal ncurses
pcre perl png python readline truetype truetype-fonts type1-fonts uclibc usb
zlib userland_GNU kernel_linux elibc_uclibc"
Unset: ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
When I try to emerge this is the output:
##############################################
Finished configure:
tabs: yes
cookies: yes
anti-alias: yes
ssl: no
meta refresh: yes
efence: no
gprof: no
insure: no
rftl: no
prefix: /usr
Run configure --help for explanation of these options,
otherwise type 'make' to build Dillo.
make all-recursive
make[1]: Entering directory `/var/tmp/portage/dillo-0.8.5-r1/work/dillo-0.8.5'
Making all in m4
make[2]: Entering directory
`/var/tmp/portage/dillo-0.8.5-r1/work/dillo-0.8.5/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/var/tmp/portage/dillo-0.8.5-r1/work/dillo-0.8.5/m4'
Making all in doc
make[2]: Entering directory
`/var/tmp/portage/dillo-0.8.5-r1/work/dillo-0.8.5/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/var/tmp/portage/dillo-0.8.5-r1/work/dillo-0.8.5/doc'
Making all in src
make[2]: Entering directory
`/var/tmp/portage/dillo-0.8.5-r1/work/dillo-0.8.5/src'
Making all in IO
make[3]: Entering directory
`/var/tmp/portage/dillo-0.8.5-r1/work/dillo-0.8.5/src/IO'
if i386-gentoo-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -Os -pipe -fomit-frame-pointer -O -I/usr/include
-I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include
-DENABLE_META_REFRESH -D_REENTRANT -D_THREAD_SAFE -Wall -W
-Wno-unused-parameter -Waggregate-return -MT https.o -MD -MP -MF
".deps/https.Tpo" \
-c -o https.o `test -f 'https.c' || echo './'`https.c; \
then mv -f ".deps/https.Tpo" ".deps/https.Po"; \
else rm -f ".deps/https.Tpo"; exit 1; \
fi
if i386-gentoo-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -Os -pipe -fomit-frame-pointer -O -I/usr/include
-I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include
-DENABLE_META_REFRESH -D_REENTRANT -D_THREAD_SAFE -Wall -W
-Wno-unused-parameter -Waggregate-return -MT DBIO.o -MD -MP -MF
".deps/DBIO.Tpo" \
-c -o DBIO.o `test -f 'DBIO.c' || echo './'`DBIO.c; \
then mv -f ".deps/DBIO.Tpo" ".deps/DBIO.Po"; \
else rm -f ".deps/DBIO.Tpo"; exit 1; \
fi
if i386-gentoo-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -Os -pipe -fomit-frame-pointer -O -I/usr/include
-I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include
-DENABLE_META_REFRESH -D_REENTRANT -D_THREAD_SAFE -Wall -W
-Wno-unused-parameter -Waggregate-return -MT mime.o -MD -MP -MF
".deps/mime.Tpo" \
-c -o mime.o `test -f 'mime.c' || echo './'`mime.c; \
then mv -f ".deps/mime.Tpo" ".deps/mime.Po"; \
else rm -f ".deps/mime.Tpo"; exit 1; \
fi
In file included from mime.c:13:
../intl.h:5:23: libintl.h: No such file or directory
mime.c: In function `a_Mime_set_viewer':
mime.c:153: warning: implicit declaration of function `dgettext'
make[3]: *** [mime.o] Error 1
make[3]: Leaving directory
`/var/tmp/portage/dillo-0.8.5-r1/work/dillo-0.8.5/src/IO'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/dillo-0.8.5-r1/work/dillo-0.8.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dillo-0.8.5-r1/work/dillo-0.8.5'
make: *** [all] Error 2
!!! ERROR: www-client/dillo-0.8.5-r1 failed.
!!! Function src_compile, Line 87, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
####################################################
looks like the configure.in script sucks:
AC_DEFINE(ENABLE_NLS, 1,
Define as 1 if you want to use NLS.)
it defines ENABLE_NLS even when --disable-nls is passed to configure