Gentoo Archives: gentoo-embedded

From: Natanael Copa <mlists@××××××.org>
To: gentoo-embedded@l.g.o
Subject: [gentoo-embedded] writing a autoconf script that works with uclibc (CHOST)
Date: Wed, 11 Aug 2004 15:13:26
Message-Id: 20040811171320.558efd7b.mlists@tanael.org
1 I'm trying to build dnrd with uclibc. The ebuild are posted here:
2 http://bugs.gentoo.org/show_bug.cgi?id=56378
3
4 (why does it take so long for gentoo people to import it? For the
5 freebsd ppl it took just a few days, even if they had to patch alot.
6 http://www.freshports.org/dns/dnrd/)
7
8 >>> md5 src_uri ;-) dnrd-2.14.tar.gz
9 >>> Unpacking source...
10 >>> Unpacking dnrd-2.14.tar.gz to /var/tmp/portage/dnrd-2.14/work
11 >>> Source unpacked.
12 configure: WARNING: If you wanted to set the --build type, don't use
13 --host.
14 If a cross compiler is detected then cross compile mode will be
15 used.
16 checking build system type... i686-pc-linux-gnu
17 checking host system type... Invalid configuration
18 `i386-pc-linux-uclibc': machine `i386-pc-linux' not recognized
19 configure: error: /bin/sh ./config.sub i386-pc-linux-uclibc failed
20
21 !!! ERROR: net-dns/dnrd-2.14 failed.
22 !!! Function econf, Line 362, Exitcode 1
23 !!! econf failed
24
25 Now if I try to compile this with 'CHOST="" emerge dnrd' it works. But
26 there is something fundamental wrong in my configure.in file. Do you
27 know how it is supposed to look like to build smoothely in uclibc
28 gentoo? (this autoconf animal is more complicated than the C coding)
29
30 The configure.in file is attatched. The entire package is downloadable
31 from http://prdownloads.sourceforge.net/dnrd/dnrd-2.14.tar.gz?download
32
33 I'd like to have the 2.15 version working with uclibc gentoo out of the
34 box.
35
36 Thanks!
37
38 --
39 Natanael Copa

Attachments

File name MIME type
configure.in application/octet-stream

Replies