From owner-freebsd-questions Wed Mar 24 12:59:44 1999 Delivered-To: freebsd-questions@freebsd.org Received: from fdho-wx.fdnet.com (dial20.as2.c-com.net [209.127.52.126]) by hub.freebsd.org (Postfix) with ESMTP id 2CAF114D4F for ; Wed, 24 Mar 1999 12:59:39 -0800 (PST) (envelope-from tbrock@mail.phoenix.net) Received: from fdho-wx.fdnet.com (localhost [127.0.0.1]) by fdho-wx.fdnet.com (8.9.2/8.9.2) with SMTP id OAA01837 for ; Wed, 24 Mar 1999 14:59:20 -0600 (CST) (envelope-from tbrock@mail.phoenix.net) From: Tony Reply-To: tbrock@mail.phoenix.net To: freebsd-questions@freebsd.org Subject: Re: gettext and shared libintl.so NEVERMIND... Date: Wed, 24 Mar 1999 14:58:02 -0600 X-Mailer: KMail [version 1.0.17] Content-Type: text/plain References: <99032414430300.93033@fdho-wx.fdnet.com> MIME-Version: 1.0 Message-Id: <99032414592001.93033@fdho-wx.fdnet.com> Content-Transfer-Encoding: 8bit X-KMail-Mark: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG NEVERMIND this question. I forcibly ftp'ed a current port and everything works great. I just need to research what changed so I can do these things myself. Sorry! Tony On Wed, 24 Mar 1999, Tony wrote: > I'm having troubles understanding if libintl.so.1 should be built by the > gettext-0.10.35 source. Here's what prompted the search and what I've done so > far. > After installing the gnome packages and watching them fail due to a missing > libintl.so.1 I started snooping around. > > gnome-sessions ldd reports > > fdho-wx# ldd gnome-session > gnome-session: > libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x28055000) > libjpeg.so.9 => /usr/local/lib/libjpeg.so.9 (0x28062000) > libpng.so.3 => /usr/local/lib/libpng.so.3 (0x2807e000) > libz.so.2 => /usr/lib/libz.so.2 (0x28098000) > libtiff.so.4 => /usr/local/lib/libtiff.so.4 (0x280a5000) > libgif.so.3 => /usr/local/lib/libgif.so.3 (0x280d4000) > libgnomeui.so.1 => /usr/X11R6/lib/libgnomeui.so.1 (0x280dc000) > libart_lgpl.so.1 => /usr/X11R6/lib/libart_lgpl.so.1 (0x2818d000) > libgdk_imlib.so.3 => /usr/X11R6/lib/libgdk_imlib.so.3 (0x28199000) > libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x281ba000) > libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x281c2000) > libgtk12.so.1 => /usr/X11R6/lib/libgtk12.so.1 (0x281d6000) > libgdk12.so.1 => /usr/X11R6/lib/libgdk12.so.1 (0x282e3000) > libgmodule12.so.1 => /usr/local/lib/libgmodule12.so.1 (0x28312000) > libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28315000) > libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x2831f000) > libgnome.so.1 => /usr/X11R6/lib/libgnome.so.1 (0x283b2000) > libgnomesupport.so.1 => /usr/X11R6/lib/libgnomesupport.so.1 (0x283c4000) > libesd.so.1 => /usr/local/lib/libesd.so.1 (0x283ca000) > libaudiofile.so.0 => /usr/local/lib/libaudiofile.so.0 (0x283cf000) > libm.so.2 => /usr/lib/libm.so.2 (0x283db000) > libglib12.so.1 => /usr/local/lib/libglib12.so.1 (0x283f5000) > libintl.so.1 => not found (0x0) > libxpg4.so.2 => /usr/lib/libxpg4.so.2 (0x28414000) > libc.so.3 => /usr/lib/libc.so.3 (0x28418000) > > > Notice the missing library. I found a libintl.a (archive) in /usr/local/lib > but from what I understand that's not a shared library and cannot be made into > one so I downloaded the port gettext-0.10.35.tar.gz file, tried the > devel/gettext port with no luck and then tried to force a shared library out of > it like so... > > > fdho-wx# ./configure --prefix=/usr/local/test --enable-shared > loading cache ./config.cache > checking for a BSD compatible install... (cached) /usr/bin/install -c > checking whether build environment is sane... yes > checking whether make sets ${MAKE}... (cached) yes > checking for working aclocal... missing > checking for working autoconf... missing > checking for working automake... missing > checking for working autoheader... missing > checking for working makeinfo... found > checking host system type... i386-unknown-freebsd3.1 > checking for ranlib... (cached) ranlib > checking for gcc... (cached) gcc > checking whether the C compiler (gcc ) works... yes > checking whether the C compiler (gcc ) is a cross-compiler... no > checking whether we are using GNU C... (cached) yes > checking whether gcc accepts -g... (cached) yes > checking for ld used by GCC... (cached) /usr/libexec/elf/ld > checking if the linker (/usr/libexec/elf/ld) is GNU ld... (cached) yes > checking for BSD-compatible nm... (cached) /usr/bin/nm -B > checking whether ln -s works... (cached) yes > checking for gcc option to produce PIC... -fPIC > checking if gcc PIC flag -fPIC works... yes > checking if gcc static flag -static works... -static > checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes > checking whether the linker (/usr/libexec/elf/ld) supports shared libraries... yes > checking command to parse /usr/bin/nm -B output... yes > checking how to hardcode library paths into programs... immediate > checking for /usr/libexec/elf/ld option to reload object files... -r > checking dynamic linker characteristics... freebsd3.1 ld.so > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... yes > checking whether to build static libraries... yes > checking for objdir... .libs > creating libtool > checking for gcc... (cached) gcc > checking whether the C compiler (gcc -g -O2 ) works... yes > checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no > checking whether we are using GNU C... (cached) yes > checking whether gcc accepts -g... (cached) yes > checking for POSIXized ISC... no > checking for bison... (cached) bison -y > checking how to run the C preprocessor... (cached) gcc -E > checking for ANSI C header files... (cached) yes > checking for limits.h... (cached) yes > checking for malloc.h... (cached) no > checking for string.h... (cached) yes > checking for unistd.h... (cached) yes > checking for values.h... (cached) no > checking for working const... (cached) yes > checking for inline... (cached) inline > checking for off_t... (cached) yes > checking for size_t... (cached) yes > checking for ptrdiff_t... (cached) yes > checking for working alloca.h... (cached) no > checking for alloca... (cached) yes > checking for vprintf... (cached) yes > checking for getcwd... (cached) yes > checking for mblen... (cached) yes > checking for memcpy... (cached) yes > checking for strchr... (cached) yes > checking for strerror... (cached) yes > checking for uname... (cached) yes > checking for getline... (cached) no > checking for memmove... (cached) yes > checking for memset... (cached) yes > checking for stpcpy... (cached) no > checking for stpncpy... (cached) no > checking for strcspn... (cached) yes > checking for strncasecmp... (cached) yes > checking for strstr... (cached) yes > checking for strtoul... (cached) yes > checking for vasprintf... (cached) yes > checking for getdelim... (cached) no > checking for parse_printf_format... (cached) no > checking for error_at_line... (cached) no > checking for unistd.h... (cached) yes > checking for getpagesize... (cached) yes > checking for working mmap... (cached) yes > checking for argz.h... (cached) no > checking for limits.h... (cached) yes > checking for locale.h... (cached) yes > checking for nl_types.h... (cached) yes > checking for malloc.h... (cached) no > checking for string.h... (cached) yes > checking for unistd.h... (cached) yes > checking for sys/param.h... (cached) yes > checking for getcwd... (cached) yes > checking for munmap... (cached) yes > checking for putenv... (cached) yes > checking for setenv... (cached) yes > checking for setlocale... (cached) yes > checking for strchr... (cached) yes > checking for strcasecmp... (cached) yes > checking for strdup... (cached) yes > checking for __argz_count... (cached) no > checking for __argz_stringify... (cached) no > checking for __argz_next... (cached) no > checking for LC_MESSAGES... (cached) yes > checking whether NLS is requested... yes > checking whether included gettext is requested... no > checking for libintl.h... (cached) no > checking whether catgets can be used... no > checking for msgfmt... (cached) /usr/local/bin/msgfmt > checking for gmsgfmt... (cached) /usr/local/bin/msgfmt > checking for xgettext... (cached) /usr/local/bin/xgettext > checking for catalogs to be installed... da de es fr ko nl no no@nynorsk pl pt sl sv > checking for emacs... (cached) no > updating cache ./config.cache > creating ./config.status > creating Makefile > creating lib/Makefile > creating intl/Makefile > creating src/Makefile > creating po/Makefile.in > creating doc/Makefile > creating tests/Makefile > creating m4/Makefile > creating misc/Makefile > creating misc/gettextize > creating intl/intlh.inst > creating config.h > config.h is unchanged > linking ./intl/libgettext.h to intl/libintl.h > > After a successful gmake and gmake install I ended up with exactly what the > packaged gettext-0.10.35 gave me. Any idea how I can force a shared libintl.so.1 > out of this puppy or am I going about this the wrong way? > > TIA > > Tony > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message