Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Nov 2000 16:44:40 +0900
From:      "Akinori MUSHA" <knu@idaemons.org>
To:        "Jacques A. Vidrine" <n@nectar.com>
Cc:        andrea@webcom.it, freebsd-ports@FreeBSD.ORG
Subject:   Re: Can't build net/gnomeicu
Message-ID:  <86itq6yg0n.wl@archon.local.idaemons.org>
In-Reply-To: <20001101212121.A42040@spawn.nectar.com>
References:  <20001101194232.A41650@spawn.nectar.com> <20001102020215.94913.qmail@webcom.it> <20001101212121.A42040@spawn.nectar.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At Wed, 1 Nov 2000 21:21:21 -0600,
Jacques A. Vidrine <n@nectar.com> 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 <kitame@northeye.org>, 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86itq6yg0n.wl>