Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Mar 1999 13:00:01 -0800 (PST)
From:      Jeremy Lea <reg@shale.csir.co.za>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/10647: package gettext-0.10.35.tgz missing lib/libintl.so
Message-ID:  <199903182100.NAA78200@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/10647; it has been noted by GNATS.

From: Jeremy Lea <reg@shale.csir.co.za>
To: dougb@scalar.org
Cc: freebsd-gnats-submit@FreeBSD.ORG, nectar@FreeBSD.ORG,
	asami@FreeBSD.ORG
Subject: Re: ports/10647: package gettext-0.10.35.tgz missing lib/libintl.so
Date: Thu, 18 Mar 1999 22:49:40 +0200

 Hi,
 
 On Wed, Mar 17, 1999 at 10:36:29PM -0800, dougb@scalar.org wrote:
 > >Synopsis:       package gettext-0.10.35.tgz missing lib/libintl.so
 
 This is a very poor synopsis, since it really does not describe the
 problem.
 
 > I first noticed the problem after installing the meta-port for gnome
 > 1.0.0.  I tried to run panel, and it died with the error message:
 > 
 > dougb@scalar[/home/dougb]% panel
 > /usr/libexec/ld-elf.so.1: Shared object "libintl.so.1" not found
 
 Hmmm... If you have an old gettext port, then there should not have been
 a libintl.so.1, and this should not have happened, since the ports would
 link with /usr/local/lib/libintl.a.  This would have happened if you are
 installing from a package though.  Please be clear if you are using
 ports or packages, since it makes things much easier to figure out.
 
 > I thought that the gnome port had simply forgotten to have a dependency
 > on gettext, so I went and went to /usr/ports/devel/gettext and tried
 > to do a make install.  An error message told me that gettext was
 > already installed.
 
 The building of libintl.so.1 has recently been added to gettext.  The
 real problem is that historically ports which depend on gettext have had
 the following lines:
 
 ---
 BUILD_DEPENDS=	gettext:${PORTSDIR}/devel/gettext
 RUN_DEPENDS=	gettext:${PORTSDIR}/devel/gettext
 ---
 
 which need now to be changed to:
 
 ---
 LIB_DEPENDS=	intl.1:${PORTSDIR}/devel/gettext
 ---
 
 which will force the requirement of an updated gettext package.
 
 > After everything was working fine, I went and downloaded the gettext
 > packages for both 3.1-STABLE and 3.1-RELEASE and checked to see if
 > they included libintl.so.  They did not.
 
 The gettext port was changed on 99/03/08.  When was the 3.1-STABLE
 package built?
 
 > Either make the gettext port include libintl.so, or make the gnome
 > meta-port not want libintl.so.  I'm sorry, but I don't know which
 > one to do, otherwise I'd include a patch.
 
 The correct fix is this attached.  Do I get a pointy hat or is this too
 obscure an interaction? ;)
 
 Regards,
  -Jeremy
 
 -- 
   |    If I was not so weak, if I was not so cold,
 --+--  If I was not so scared of being broken, growing old,
   |    I would be. I would be... frail.
   |                             - jars of clay / much afraid / frail
 
 diff -urN -x CVS /usr/ports.ref/devel/glade/Makefile devel/glade/Makefile
 --- /usr/ports.ref/devel/glade/Makefile	Wed Nov 18 19:35:16 1998
 +++ devel/glade/Makefile	Thu Mar 18 22:18:01 1999
 @@ -12,8 +12,8 @@
  
  MAINTAINER=     dom@myrddin.demon.co.uk
  
 -BUILD_DEPENS=	gettext:${PORTSDIR}/devel/gettext
 -LIB_DEPENDS=	gtk11.1:${PORTSDIR}/x11-toolkits/gtk11
 +LIB_DEPENDS=	gtk11.1:${PORTSDIR}/x11-toolkits/gtk11 \
 +		intl.1:${PORTSDIR}/devel/gettext
  
  USE_X_PREFIX=	yes
  GNU_CONFIGURE=	yes
 diff -urN -x CVS /usr/ports.ref/graphics/gimp1/Makefile graphics/gimp1/Makefile
 --- /usr/ports.ref/graphics/gimp1/Makefile	Mon Feb 22 01:11:38 1999
 +++ graphics/gimp1/Makefile	Thu Mar 18 22:19:14 1999
 @@ -14,12 +14,10 @@
  
  MAINTAINER=	erich@FreeBSD.org
  
 -BUILD_DEPENDS=	gettext:${PORTSDIR}/devel/gettext
 -RUN_DEPENDS=	gettext:${PORTSDIR}/devel/gettext
  LIB_DEPENDS=	Xpm.4:${PORTSDIR}/graphics/xpm \
  		aa.1:${PORTSDIR}/graphics/aalib \
  		jpeg.9:${PORTSDIR}/graphics/jpeg \
 -		gtk11d.1:${PORTSDIR}/x11-toolkits/gtk11-devel \
 +		gtk12.1:${PORTSDIR}/x11-toolkits/gtk12 \
  		mpeg.1:${PORTSDIR}/graphics/mpeg-lib \
  		png.3:${PORTSDIR}/graphics/png \
  		tiff.4:${PORTSDIR}/graphics/tiff34
 @@ -29,7 +27,7 @@
  USE_GMAKE=	yes
  CONFIGURE_ARGS=	--disable-perl
  CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 -		GTK_CONFIG="${X11BASE}/bin/gtk11d-config" \
 +		GTK_CONFIG="${X11BASE}/bin/gtk12-config" \
  		LIBS="-L${LOCALBASE}/lib" \
  		INSTALL_SCRIPT='$${INSTALL} -m 755'
  
 diff -urN -x CVS /usr/ports.ref/graphics/gimp1-i18n/Makefile graphics/gimp1-i18n/Makefile
 --- /usr/ports.ref/graphics/gimp1-i18n/Makefile	Mon Mar 15 10:44:33 1999
 +++ graphics/gimp1-i18n/Makefile	Thu Mar 18 22:19:47 1999
 @@ -15,12 +15,10 @@
  
  MAINTAINER=	nobutaka@nobutaka.com
  
 -BUILD_DEPENDS=	gettext:${PORTSDIR}/devel/gettext
 -RUN_DEPENDS=	gettext:${PORTSDIR}/devel/gettext
  LIB_DEPENDS=	Xpm.4:${PORTSDIR}/graphics/xpm \
  		aa.1:${PORTSDIR}/graphics/aalib \
  		jpeg.9:${PORTSDIR}/graphics/jpeg \
 -		gtk11d.1:${PORTSDIR}/x11-toolkits/gtk11-devel \
 +		gtk12.1:${PORTSDIR}/x11-toolkits/gtk12 \
  		mpeg.1:${PORTSDIR}/graphics/mpeg-lib \
  		png.3:${PORTSDIR}/graphics/png \
  		tiff.4:${PORTSDIR}/graphics/tiff34
 @@ -30,7 +28,7 @@
  USE_GMAKE=	yes
  CONFIGURE_ARGS=	--disable-perl
  CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 -		GTK_CONFIG="${X11BASE}/bin/gtk11d-config" \
 +		GTK_CONFIG="${X11BASE}/bin/gtk12-config" \
  		LIBS="-L${LOCALBASE}/lib -lxpg4" \
  		INSTALL_SCRIPT='$${INSTALL} -m 755'
  
 diff -urN -x CVS /usr/ports.ref/mail/kbiff/Makefile mail/kbiff/Makefile
 --- /usr/ports.ref/mail/kbiff/Makefile	Tue Dec 29 01:44:04 1998
 +++ mail/kbiff/Makefile	Thu Mar 18 22:23:08 1999
 @@ -12,9 +12,8 @@
  
  MAINTAINER=	andreas@FreeBSD.ORG
  
 -BUILD_DEPENDS=	msgfmt:${PORTSDIR}/devel/gettext
  LIB_DEPENDS=	kdeui.1:${PORTSDIR}/x11/kdelibs \
 -		kdecore.1:${PORTSDIR}/x11/kdelibs
 +		intl.1:${PORTSDIR}/devel/gettext
  
  USE_QT=		yes
  GNU_CONFIGURE=	yes
 diff -urN -x CVS /usr/ports.ref/misc/mc/Makefile misc/mc/Makefile
 --- /usr/ports.ref/misc/mc/Makefile	Mon Mar 15 10:50:37 1999
 +++ misc/mc/Makefile	Thu Mar 18 22:25:05 1999
 @@ -13,9 +13,8 @@
  
  MAINTAINER=	reg@shale.csir.co.za
  
 -BUILD_DEPENDS=	gettext:${PORTSDIR}/devel/gettext
 -RUN_DEPENDS=	gettext:${PORTSDIR}/devel/gettext
 -LIB_DEPENDS=	glib12.1:${PORTSDIR}/devel/glib12
 +LIB_DEPENDS=	glib12.1:${PORTSDIR}/devel/glib12 \
 +		intl.1:${PORTSDIR}/devel/gettext
  
  .if defined(USE_NCURSES_PORT)
  LIB_DEPENDS+=	ncurses.4:${PORTSDIR}/devel/ncurses
 diff -urN -x CVS /usr/ports.ref/x11/kdebase11/Makefile x11/kdebase11/Makefile
 --- /usr/ports.ref/x11/kdebase11/Makefile	Mon Mar  1 11:36:14 1999
 +++ x11/kdebase11/Makefile	Thu Mar 18 22:31:27 1999
 @@ -16,9 +16,8 @@
  LIB_DEPENDS=	gif.3:${PORTSDIR}/graphics/giflib \
  		jpeg.9:${PORTSDIR}/graphics/jpeg \
  		kdecore.2:${PORTSDIR}/x11/kdelibs11 \
 -		Xpm.4:${PORTSDIR}/graphics/xpm
 -BUILD_DEPENDS=	msgfmt:${PORTSDIR}/devel/gettext
 -RUN_DEPENDS=	msgfmt:${PORTSDIR}/devel/gettext
 +		Xpm.4:${PORTSDIR}/graphics/xpm \
 +		intl.1:${PORTSDIR}/devel/gettext
  
  USE_BZIP2=	yes
  USE_QT=		yes
 diff -urN -x CVS /usr/ports.ref/x11-toolkits/gtk11-devel/Makefile x11-toolkits/gtk11-devel/Makefile
 --- /usr/ports.ref/x11-toolkits/gtk11-devel/Makefile	Mon Mar  8 14:39:03 1999
 +++ x11-toolkits/gtk11-devel/Makefile	Thu Mar 18 22:32:35 1999
 @@ -15,9 +15,8 @@
  
  MAINTAINER=	vanilla@FreeBSD.ORG
  
 -BUILD_DEPENDS=	gettext:${PORTSDIR}/devel/gettext
 -RUN_DEPENDS=	gettext:${PORTSDIR}/devel/gettext
 -LIB_DEPENDS=	glib11d.2:${PORTSDIR}/devel/glib11-devel
 +LIB_DEPENDS=	glib11d.2:${PORTSDIR}/devel/glib11-devel \
 +		intl.1:${PORTSDIR}/devel/gettext
  
  USE_X_PREFIX=	yes
  USE_PERL5=	yes
 diff -urN -x CVS /usr/ports.ref/x11-toolkits/gtk12/Makefile x11-toolkits/gtk12/Makefile
 --- /usr/ports.ref/x11-toolkits/gtk12/Makefile	Tue Mar  9 03:09:08 1999
 +++ x11-toolkits/gtk12/Makefile	Thu Mar 18 22:34:25 1999
 @@ -15,9 +15,8 @@
  
  MAINTAINER=	vanilla@FreeBSD.ORG
  
 -BUILD_DEPENDS=	gettext:${PORTSDIR}/devel/gettext
 -RUN_DEPENDS=	gettext:${PORTSDIR}/devel/gettext
 -LIB_DEPENDS=	glib12.1:${PORTSDIR}/devel/glib12
 +LIB_DEPENDS=	glib12.1:${PORTSDIR}/devel/glib12 \
 +		intl.1:${PORTSDIR}/devel/gettext
  
  USE_X_PREFIX=	yes
  USE_PERL5=	yes
 diff -urN -x CVS /usr/ports.ref/x11-wm/icewm/Makefile x11-wm/icewm/Makefile
 --- /usr/ports.ref/x11-wm/icewm/Makefile	Wed Mar 17 12:58:08 1999
 +++ x11-wm/icewm/Makefile	Thu Mar 18 22:37:14 1999
 @@ -15,11 +15,10 @@
  MAINTAINER=	nacai@iname.com
  
  .if defined(GNOME)
 -BUILD_DEPENDS+=	gnome-config:${PORTSDIR}/x11/gnomelibs
 -BUILD_DEPENDS+=	imlib-config:${PORTSDIR}/graphics/imlib
 -BUILD_DEPENDS+=	${LOCALBASE}/lib/libintl.a:${PORTSDIR}/devel/gettext
 -.endif
 +LIB_DEPENDS=	gnome.1:${PORTSDIR}/x11/gnomelibs
 +.else
  LIB_DEPENDS=	Xpm.4:${PORTSDIR}/graphics/xpm
 +.endif
  
  USE_GMAKE=	yes
  USE_X_PREFIX=	yes
 diff -urN -x CVS /usr/ports.ref/x11-wm/windowmaker-i18n/Makefile x11-wm/windowmaker-i18n/Makefile
 --- /usr/ports.ref/x11-wm/windowmaker-i18n/Makefile	Mon Feb 22 14:23:45 1999
 +++ x11-wm/windowmaker-i18n/Makefile	Thu Mar 18 22:40:46 1999
 @@ -23,9 +23,9 @@
  		jpeg.9:${PORTSDIR}/graphics/jpeg \
  		png.3:${PORTSDIR}/graphics/png \
  		tiff.4:${PORTSDIR}/graphics/tiff34 \
 -		PropList.1:${PORTSDIR}/devel/libPropList
 -BUILD_DEPENDS=	${LOCALBASE}/lib/libintl.a:${PORTSDIR}/devel/gettext \
 -		nkf:${PORTSDIR}/japanese/nkf
 +		PropList.1:${PORTSDIR}/devel/libPropList \
 +		intl.1:${PORTSDIR}/devel/gettext
 +BUILD_DEPENDS=	nkf:${PORTSDIR}/japanese/nkf
  
  USE_PERL5=	yes
  USE_X_PREFIX=	yes
 


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?199903182100.NAA78200>