Date: Thu, 4 Mar 2004 12:22:39 -0800 From: Kris Kennaway <kris@obsecurity.org> To: Clint Olsen <clint@0lsen.net> Cc: ports@freebsd.org Subject: Re: Problems compiling gettext Message-ID: <20040304202239.GA76012@xor.obsecurity.org> In-Reply-To: <20040304185908.GA17441@0lsen.net> References: <20040304185908.GA17441@0lsen.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--tKW2IUtsqtDRztdT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 04, 2004 at 10:59:08AM -0800, Clint Olsen wrote: > Since I've been using the ports system, I've had nothing but problems with > gettext. It causes me more grief on FreeBSD than any other port > dependency. Ain't that the truth; I wish the gettext developers would stop making major library revisions, for one. I recently learned about the WITHOUT_NLS knob which prevents some ports from using gettext. It's currently not possible to eliminate it entirely, but it might help to mitigate the effects the next time it breaks. > I just tried using 'portupgrade' for slrn, and while compiling > I got this gem of an error: >=20 > c++ -shared -nostdlib /usr/lib/crti.o /usr/lib/crtbeginS.o > .libs/lib-asprintf.o .libs/autosprintf.o -Wl,--whole-archive > /usr/local/lib/./libstdc++.a -Wl,--no-whole-archive > -L/usr/local/lib/gcc-lib/i386-portbld-freebsd4.7/../.. > -L/usr/ports/lang/gcc33/work/build/gcc > -L/usr/ports/lang/gcc33/work/build/i386-portbld-freebsd4.7/libstdc++-v3/s= rc/.libs > -L/usr/ports/lang/gcc33/work/build/i386-portbld-freebsd4.7/libstdc++-v3/s= rc > -L/usr/local/lib -L/usr/lib -lm -lgcc /usr/lib/crtendS.o /usr/lib/crtn.o > -Wl,-soname -Wl,libasprintf.so.0 -o .libs/libasprintf.so.0 > /usr/lib/libgcc.a(new.o)(.data+0x0): multiple definition of `__new_handle= r' > /usr/local/lib/./libstdc++.a(new_handler.o)(.bss.__new_handler+0x0): first > defined here > /usr/lib/libgcc.a(tinfo2.o): In function `__dynamic_cast': > tinfo2.o(.text+0x7d8): multiple definition of `__dynamic_cast' > /usr/local/lib/./libstdc++.a(tinfo.o)(.text.__dynamic_cast+0x0): first > defined here > /usr/libexec/elf/ld: Warning: size of symbol `__dynamic_cast' changed from > 250 to 75 in /usr/lib/libgcc.a(tinfo2.o) > *** Error code 1 For some reason a number of people have /usr/local/lib/./libstdc++.a installed, but unclaimed by another port. Perhaps a port was installing it without registering the files - anyway, you can safely remove it and gettext should again compile. Kris --tKW2IUtsqtDRztdT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAR5APWry0BWjoQKURAm7bAJwN6W3TYrEoSnI1Zs/LKcbzhM/2HgCg9N3F MRmDIWQ+jtqpChy7EFvdEtE= =+92Q -----END PGP SIGNATURE----- --tKW2IUtsqtDRztdT--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040304202239.GA76012>