Re: Problem upgrading /lang/librep (librep-0.16.2_2)
On Thu, 2003-11-27 at 14:13, Bob Perry wrote: Happy Thanksgivings, Was upgrading my ports and ran into the following error message : ** The following packages were not installed or upgraded (*:skipped / !:failed) ! lang/librep (librep-0.16.2_2) (new compiler error) * x11-toolkits/rep-gtk (rep-gtk-gnome-0.15_1) Later tried to install via ports process and rec'd the following output: ||=== Building for librep-0.16.2_3 for dir in intl src lisp man; do \ [ -d $dir ] ( cd $dir gmake all ) || exit 1; \ done gmake[1]: Entering directory `/usr/ports/lang/librep/work/librep-0.16.2/ intl' gmake[1]: Nothing to be done for `all'. gmake[1]: Leaving directory `/usr/ports/lang/librep/work/librep-0.16.2/i ntl' gmake[1]: Entering directory `/usr/ports/lang/librep/work/librep-0.16.2/ src' /bin/sh ../libtool --mode=link cc -export-dynamic -DHAVE_CONFIG_H -I. -I ../src -I.. -I/usr/local/include -O -pipe -o rep \ rep.o librep.la -L/usr/local/lib -lxpg4 -lintl -pthread -lcrypt -lgmp -lm cc -DHAVE_CONFIG_H -I. -I../src -I.. -I/usr/local/include -O -pipe -o .l ibs/rep rep.o -pthread -Wl,--export-dynamic ./.libs/librep.so -L/usr/lo cal/lib -lxpg4 -lintl -lcrypt -lgmp -lm -Wl,--rpath -Wl,/usr/X11R6/lib ./.libs/librep.so: warning: tmpnam() possibly used unsafely; consider us ing mkstemp() ./.libs/librep.so: undefined reference to `mpq_set_d' gmake[1]: *** [rep] Error 1 gmake[1]: Leaving directory `/usr/ports/lang/librep/work/librep-0.16.2/s rc' gmake: *** [all] Error 1 Any advice? Don't remember seeing anything in the mailing list re this issue. I changed the librep dependencies last night, but I did a full test of librep, rep-gtk2, and sawfish2 on -CURRENT before doing so. What version of FreeBSD is this? What version of the libgmp4 port do you have installed? The only time I saw this error, was when I original did the port, and it linked against libgmp.so.3. Hmm...I bet this machine was upgraded from -STABLE, and you still have a /usr/lib/libgmp.so link. If you do, remove that file/symlink, and librep should build. Joe Thanks, Bob -- PGP Key : http://www.marcuscom.com/pgp.asc signature.asc Description: This is a digitally signed message part
Re: Problem upgrading /lang/librep (librep-0.16.2_2)
On Thu, 2003-11-27 at 14:20, Joe Marcus Clarke wrote: On Thu, 2003-11-27 at 14:13, Bob Perry wrote: Happy Thanksgivings, Was upgrading my ports and ran into the following error message : ** The following packages were not installed or upgraded (*:skipped / !:failed) ! lang/librep (librep-0.16.2_2) (new compiler error) * x11-toolkits/rep-gtk (rep-gtk-gnome-0.15_1) Later tried to install via ports process and rec'd the following output: ||=== Building for librep-0.16.2_3 for dir in intl src lisp man; do \ [ -d $dir ] ( cd $dir gmake all ) || exit 1; \ done gmake[1]: Entering directory `/usr/ports/lang/librep/work/librep-0.16.2/ intl' gmake[1]: Nothing to be done for `all'. gmake[1]: Leaving directory `/usr/ports/lang/librep/work/librep-0.16.2/i ntl' gmake[1]: Entering directory `/usr/ports/lang/librep/work/librep-0.16.2/ src' /bin/sh ../libtool --mode=link cc -export-dynamic -DHAVE_CONFIG_H -I. -I ../src -I.. -I/usr/local/include -O -pipe -o rep \ rep.o librep.la -L/usr/local/lib -lxpg4 -lintl -pthread -lcrypt -lgmp -lm cc -DHAVE_CONFIG_H -I. -I../src -I.. -I/usr/local/include -O -pipe -o .l ibs/rep rep.o -pthread -Wl,--export-dynamic ./.libs/librep.so -L/usr/lo cal/lib -lxpg4 -lintl -lcrypt -lgmp -lm -Wl,--rpath -Wl,/usr/X11R6/lib ./.libs/librep.so: warning: tmpnam() possibly used unsafely; consider us ing mkstemp() ./.libs/librep.so: undefined reference to `mpq_set_d' gmake[1]: *** [rep] Error 1 gmake[1]: Leaving directory `/usr/ports/lang/librep/work/librep-0.16.2/s rc' gmake: *** [all] Error 1 Any advice? Don't remember seeing anything in the mailing list re this issue. I changed the librep dependencies last night, but I did a full test of librep, rep-gtk2, and sawfish2 on -CURRENT before doing so. What version of FreeBSD is this? What version of the libgmp4 port do you have installed? The only time I saw this error, was when I original did the port, and it linked against libgmp.so.3. Hmm...I bet this machine was upgraded from -STABLE, and you still have a /usr/lib/libgmp.so link. If you do, remove that file/symlink, and librep should build. Sorry to reply to myself, but something just hit me. If this is, in fact, 4.X, then the patch I removed is still needed. I have re-added it, so if this is 4.X, re-cvsup your ports tree in a bit, and try the build again. Joe Joe Thanks, Bob -- PGP Key : http://www.marcuscom.com/pgp.asc signature.asc Description: This is a digitally signed message part
Re: Problem upgrading /lang/librep (librep-0.16.2_2)
Joe Marcus Clarke wrote: On Thu, 2003-11-27 at 14:13, Bob Perry wrote: Happy Thanksgivings, Was upgrading my ports and ran into the following error message : ** The following packages were not installed or upgraded (*:skipped / !:failed) ! lang/librep (librep-0.16.2_2) (new compiler error) * x11-toolkits/rep-gtk (rep-gtk-gnome-0.15_1) Later tried to install via ports process and rec'd the following output: ||=== Building for librep-0.16.2_3 for dir in intl src lisp man; do \ [ -d $dir ] ( cd $dir gmake all ) || exit 1; \ done gmake[1]: Entering directory `/usr/ports/lang/librep/work/librep-0.16.2/ intl' gmake[1]: Nothing to be done for `all'. gmake[1]: Leaving directory `/usr/ports/lang/librep/work/librep-0.16.2/i ntl' gmake[1]: Entering directory `/usr/ports/lang/librep/work/librep-0.16.2/ src' /bin/sh ../libtool --mode=link cc -export-dynamic -DHAVE_CONFIG_H -I. -I ../src -I.. -I/usr/local/include -O -pipe -o rep \ rep.o librep.la -L/usr/local/lib -lxpg4 -lintl -pthread -lcrypt -lgmp -lm cc -DHAVE_CONFIG_H -I. -I../src -I.. -I/usr/local/include -O -pipe -o .l ibs/rep rep.o -pthread -Wl,--export-dynamic ./.libs/librep.so -L/usr/lo cal/lib -lxpg4 -lintl -lcrypt -lgmp -lm -Wl,--rpath -Wl,/usr/X11R6/lib ./.libs/librep.so: warning: tmpnam() possibly used unsafely; consider us ing mkstemp() ./.libs/librep.so: undefined reference to `mpq_set_d' gmake[1]: *** [rep] Error 1 gmake[1]: Leaving directory `/usr/ports/lang/librep/work/librep-0.16.2/s rc' gmake: *** [all] Error 1 Any advice? Don't remember seeing anything in the mailing list re this issue. Thanks for such a a quick response. I changed the librep dependencies last night, but I did a full test of librep, rep-gtk2, and sawfish2 on -CURRENT before doing so. What version of FreeBSD is this? FreeBSD 4.8-RELEASE-p13 0# upgraded from -STABLE. What version of the libgmp4 port do you have installed? Ran : su-2.05b# make search key=libgmp4 Port: libgmp-4.1.2_2 Path: /usr/ports/math/libgmp4 Followed by: su-2.05b# pkg_info -v libgmp-4.1.2_2 pkg_info: can't find package 'libgmp-4.1.2_2' installed or in a file! The only time I saw this error, was when I original did the port, and it linked against libgmp.so.3. Hmm...I bet this machine was upgraded from -STABLE, and you still have a /usr/lib/libgmp.so link. If you do, remove that file/symlink, and librep should build. Removed both the link /usr/lib/libgmp.so - libgmp.so.3 and the file /usr/lib/libgmp.so.3 and tried to build librep. Here's the putput: gmake[1]: Entering directory `/usr/ports/lang/librep/work/librep-0.16.2/intl' gmake[1]: Nothing to be done for `all'. gmake[1]: Leaving directory `/usr/ports/lang/librep/work/librep-0.16.2/intl' gmake[1]: Entering directory `/usr/ports/lang/librep/work/librep-0.16.2/src' /bin/sh ../libtool --mode=link cc -export-dynamic -DHAVE_CONFIG_H -I. -I../src -I.. -I/usr/local/include -O -pipe -o rep \ rep.o librep.la -L/usr/local/lib -lxpg4 -lintl -pthread -lcrypt -lgmp -lm cc -DHAVE_CONFIG_H -I. -I../src -I.. -I/usr/local/include -O -pipe -o .libs/rep rep.o -pthread -Wl,--export-dynamic ./.libs/librep.so -L/usr/local/lib -lxpg4 -lintl -lcrypt -lgmp -lm -Wl,--rpath -Wl,/usr/X11R6/lib ./.libs/librep.so: warning: tmpnam() possibly used unsafely; consider using mkstemp() /usr/libexec/elf/ld: warning: libgmp.so.3, needed by ./.libs/librep.so, not found (try using -rpath or -rpath-link) ./.libs/librep.so: undefined reference to `mpq_set_d' gmake[1]: *** [rep] Error 1 gmake[1]: Leaving directory `/usr/ports/lang/librep/work/librep-0.16.2/src' gmake: *** [all] Error 1 *** Error code 2 Stop in /usr/ports/lang/librep. Looks like librep is looking for libgmp.so.3. Reinstall? Bob -- FreeBSD 4.8-RELEASE-p13 0# ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem upgrading /lang/librep (librep-0.16.2_2)
On Thu, 2003-11-27 at 15:40, Bob Perry wrote: [snip] Hmm...I bet this machine was upgraded from -STABLE, and you still have a /usr/lib/libgmp.so link. If you do, remove that file/symlink, and librep should build. Removed both the link /usr/lib/libgmp.so - libgmp.so.3 and the file /usr/lib/libgmp.so.3 and tried to build librep. Here's the putput: Don't do that on 4.X. /usr/lib/libgmp.so and /usr/lib/libgmp.so.3 need to exist on 4.X. See above, I assumed this was -CURRENT upgraded from -STABLE. In that case, you can remove those files. However, since you're on 4.X, put them back. gmake[1]: Entering directory `/usr/ports/lang/librep/work/librep-0.16.2/intl' gmake[1]: Nothing to be done for `all'. gmake[1]: Leaving directory `/usr/ports/lang/librep/work/librep-0.16.2/intl' gmake[1]: Entering directory `/usr/ports/lang/librep/work/librep-0.16.2/src' /bin/sh ../libtool --mode=link cc -export-dynamic -DHAVE_CONFIG_H -I. -I../src -I.. -I/usr/local/include -O -pipe -o rep \ rep.o librep.la -L/usr/local/lib -lxpg4 -lintl -pthread -lcrypt -lgmp -lm cc -DHAVE_CONFIG_H -I. -I../src -I.. -I/usr/local/include -O -pipe -o .libs/rep rep.o -pthread -Wl,--export-dynamic ./.libs/librep.so -L/usr/local/lib -lxpg4 -lintl -lcrypt -lgmp -lm -Wl,--rpath -Wl,/usr/X11R6/lib ./.libs/librep.so: warning: tmpnam() possibly used unsafely; consider using mkstemp() /usr/libexec/elf/ld: warning: libgmp.so.3, needed by ./.libs/librep.so, not found (try using -rpath or -rpath-link) ./.libs/librep.so: undefined reference to `mpq_set_d' gmake[1]: *** [rep] Error 1 gmake[1]: Leaving directory `/usr/ports/lang/librep/work/librep-0.16.2/src' gmake: *** [all] Error 1 *** Error code 2 Stop in /usr/ports/lang/librep. Looks like librep is looking for libgmp.so.3. Reinstall? No, see my follow-up email. I fixed this in CVS. Joe Bob -- PGP Key : http://www.marcuscom.com/pgp.asc signature.asc Description: This is a digitally signed message part
Re: Problem upgrading /lang/librep (librep-0.16.2_2)
Joe Marcus Clarke wrote: On Thu, 2003-11-27 at 15:40, Bob Perry wrote: [snip] Hmm...I bet this machine was upgraded from -STABLE, and you still have a /usr/lib/libgmp.so link. If you do, remove that file/symlink, and librep should build. Removed both the link /usr/lib/libgmp.so - libgmp.so.3 and the file /usr/lib/libgmp.so.3 and tried to build librep. Here's the putput: Don't do that on 4.X. /usr/lib/libgmp.so and /usr/lib/libgmp.so.3 need to exist on 4.X. See above, I assumed this was -CURRENT upgraded from -STABLE. In that case, you can remove those files. However, since you're on 4.X, put them back. Put the files back as suggested, cvsup'd my system and ran portupgrade -arR again. Everything seems to be in order. Thanks for being there. Bob Perry -- FreeBSD 4.8-RELEASE-p13 0# ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]