From owner-freebsd-ports Wed Nov 1 23:52:18 2000 Delivered-To: freebsd-ports@freebsd.org Received: from mail.rdc1.kt.home.ne.jp (ha1.rdc1.kt.home.ne.jp [203.165.9.242]) by hub.freebsd.org (Postfix) with ESMTP id E231A37B97C for ; Wed, 1 Nov 2000 23:44:43 -0800 (PST) Received: from daemon.local.idaemons.org ([203.165.161.10]) by mail.rdc1.kt.home.ne.jp (InterMail vM.4.01.02.00 201-229-116) with ESMTP id <20001102074442.EUTC1774.mail.rdc1.kt.home.ne.jp@daemon.local.idaemons.org>; Wed, 1 Nov 2000 23:44:42 -0800 Received: by daemon.local.idaemons.org (8.11.0/3.7W) id eA27ie148722; Thu, 2 Nov 2000 16:44:41 +0900 (JST) Date: Thu, 02 Nov 2000 16:44:40 +0900 Message-ID: <86itq6yg0n.wl@archon.local.idaemons.org> From: "Akinori MUSHA" To: "Jacques A. Vidrine" Cc: andrea@webcom.it, freebsd-ports@FreeBSD.ORG Subject: Re: Can't build net/gnomeicu In-Reply-To: <20001101212121.A42040@spawn.nectar.com> References: <20001101194232.A41650@spawn.nectar.com> <20001102020215.94913.qmail@webcom.it> <20001101212121.A42040@spawn.nectar.com> User-Agent: Wanderlust/2.3.92 (Roam) EMIKO/1.13.12 (Euglena sociabilis) FLIM/1.13.2 (Kasanui) APEL/10.2 MULE XEmacs/21.1 (patch 12) (Channel Islands) (i386--freebsd) Organization: Associated I. Daemons X-PGP-Public-Key: finger knu@FreeBSD.org X-PGP-Fingerprint: 081D 099C 1705 861D 4B70 B04A 920B EFC7 9FD9 E1EE MIME-Version: 1.0 (generated by EMIKO 1.13.12 - "Euglena sociabilis") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At Wed, 1 Nov 2000 21:21:21 -0600, Jacques A. Vidrine wrote: > On Thu, Nov 02, 2000 at 03:02:15AM +0100, andrea@webcom.it wrote: > > > > > > > > Shouldn't there be a -liconv somewhere? Or is my setup broken? > > > > > > Builds here. Builds on bento.freebsd.org. > > > > > > Perhaps send me the output of `uname -a', and the entire output of the > > > build (e.g. `make clean && make 2>&1 | tee make.log'), and we can see > > > what's going on. > > > > FreeBSD mammolo 5.0-CURRENT FreeBSD 5.0-CURRENT #26: Tue Oct 31 02:12:06 CET 2000 root@mammolo:/usr/src/sys/compile/THINKPAD i386 > [snip] > > checking for iconv.h... yes > [snip] > > kanji_conv.o: In function `kanji_conv': > > kanji_conv.o(.text+0x79): undefined reference to `iconv_open' > > kanji_conv.o(.text+0x94): undefined reference to `iconv' > > kanji_conv.o(.text+0xa0): undefined reference to `iconv_close' > > Looks like you have ports/converters/iconv installed, and the configure > script is picking it up. Only the configure script is flawed in that it > doesn't also look for libiconv. > > I'll look at fixing the configure script later. > > Thanks for the report! Here is a fix. Index: Makefile =================================================================== RCS file: /home/ncvs/ports/net/gnomeicu/Makefile,v retrieving revision 1.29 diff -u -r1.29 Makefile --- Makefile 2000/10/29 19:49:39 1.29 +++ Makefile 2000/11/02 07:34:02 @@ -13,7 +13,8 @@ MAINTAINER= nectar@FreeBSD.org -LIB_DEPENDS= gdbm.2:${PORTSDIR}/databases/gdbm +LIB_DEPENDS= gdbm.2:${PORTSDIR}/databases/gdbm \ + iconv.1:${PORTSDIR}/converters/iconv USE_X_PREFIX= yes USE_BZIP2= yes @@ -34,7 +35,7 @@ CONFIGURE_ARGS= --with-statusmenu CONFIGURE_ENV= CPPFLAGS="${SOCKSFLAGS} -I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" LIBS="${SOCKSLIBS}" \ + LDFLAGS="-L${LOCALBASE}/lib" LIBS="-liconv ${SOCKSLIBS}" \ CFLAGS="${CFLAGS}" pre-patch: Seems Takuo KITAME , the Japanese support patchkit maintainer himself, has committed the patchkit over the gnomeicu source tree. Now that gnomeicu has Japanese support out-of-the-box, I can happily remove my japanese/gnomeicu port. :) -- / /__ __ / ) ) ) ) / and.or.jp / ruby-lang.org Akinori -Aki- MUSHA aka / (_ / ( (__( @ idaemons.org / FreeBSD.org "We're only at home when we're on the run, on the wing, on the fly" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message