Re: Sylpheed doesn't compile on amd64
Hi, Torfinn Ingolfsen wrote: /usr/bin/ld: /usr/local/lib/libonig.a(regposix.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libonig.a: could not read symbols: Bad value It looks more like a devel/oniguruma* problem. I've tried to compile sylpheed2 while having oniguruma5 installed and it worked. So I suggest you deinstall oniguruma or try reinstalling it first. -- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/ ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Sylpheed doesn't compile on amd64
Hi, On Sun, Aug 30, 2009 at 9:11 AM, Oliver Lehmann oli...@freebsd.org wrote: It looks more like a devel/oniguruma* problem. I've tried to compile sylpheed2 while having oniguruma5 installed and it worked. So I suggest you deinstall oniguruma or try reinstalling it first. First i tried 'portupgrade -f' on oniguruma, the a portupgrade of sylpheed. But it failed again. The I did pkg_deinstall oniguruma-2.5.8 followed by portupgrade -R sylpheed and the compile of sylpheed failed again: cc -shared .libs/account.o .libs/base64.o .libs/codeconv.o .libs/customheader.o .libs/displayheader.o .libs/filter.o .libs/folder.o .libs/html.o .libs/imap.o .libs/mbox.o .libs/md5.o .libs/md5_hmac.o .libs/mh.o .libs/news.o .libs/nntp.o .libs/pop.o .libs/prefs.o .libs/prefs_account.o .libs/prefs_common.o .libs/procheader.o .libs/procmime.o .libs/procmsg.o .libs/quoted-printable.o .libs/recv.o .libs/session.o .libs/smtp.o .libs/socket.o .libs/ssl.o .libs/stringtable.o .libs/sylmain.o .libs/unmime.o .libs/utils.o .libs/uuencode.o .libs/virtual.o .libs/xml.o .libs/syl-marshal.o -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib -lcompface -lssl -lcrypto /usr/local/lib/libgtkspell.so /usr/local/lib/ libgtk-x11-2.0.so /usr/local/lib/libgdk-x11-2.0.so /usr/local/lib/ libatk-1.0.so /usr/local/lib/libgdk_pixbuf-2.0.so /usr/local/lib/ libpangocairo-1.0.so /usr/local/lib/libgio-2.0.so /usr/local/lib/libXext.so /usr/local/lib/libXrender.so /usr/local/lib/libXinerama.so /usr/local/lib/libXi.so /usr/local/lib/libXrandr.so /usr/local/lib/libXcursor.so /usr/local/lib/libXcomposite.so /usr/local/lib/libXdamage.so /usr/local/lib/libpangoft2-1.0.so/usr/local/lib/libXfixes.so /usr/local/lib/libcairo.so /usr/local/lib/libX11.so /usr/local/lib/libpango-1.0.so -lm /usr/local/lib/libfreetype.so /usr/local/lib/libfontconfig.so /usr/local/lib/libgobject-2.0.so /usr/local/lib/libgmodule-2.0.so/usr/local/lib/ libglib-2.0.so /usr/local/lib/libaspell.so -lonig -Wl,--export-dynamic -pthread -pthread -Wl,-rpath -Wl,/usr/local/lib -Wl,-soname -Wl,libsylph-0.so.0 -o .libs/libsylph-0.so.0 /usr/bin/ld: /usr/local/lib/libonig.a(regposix.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libonig.a: could not read symbols: Bad value gmake[3]: *** [libsylph-0.la] Error 1 gmake[3]: Leaving directory `/usr/ports/mail/sylpheed2/work/sylpheed-2.7.1/libsylph' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/ports/mail/sylpheed2/work/sylpheed-2.7.1/libsylph' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/mail/sylpheed2/work/sylpheed-2.7.1' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/mail/sylpheed2. *** Error code 1 Stop in /usr/ports/mail/sylpheed2. More suggestions? -- Regards, Torfinn Ingolfsen ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Sylpheed doesn't compile on amd64
Hi, Torfinn Ingolfsen wrote: pkg_deinstall oniguruma-2.5.8 followed by portupgrade -R sylpheed /usr/bin/ld: /usr/local/lib/libonig.a(regposix.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libonig.a: could not read symbols: Bad value So I wonder why there is still a /usr/local/lib/libonig.a when oniguruma is deinstalled? -- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/ ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Sylpheed doesn't compile on amd64
So I wonder why there is still a /usr/local/lib/libonig.a when oniguruma is deinstalled? ??? Probably because after deinstalling oniguruma, he tried to install sylpheed2 WITH_ONIGURUMA, so oniguruma was placed in sylpheed2's BUILD_DEPENDS, meaning that oniguruma was rebuilt and reinstalled as part of the sylpheed2 build. This is a non-default option, so it doesn't receive as much testing, and something may well be broken. Try rebuilding and reinstalling first oniguruma and then sylpheed2 with CFLAGS+=-fPIC, as the error message indicates. You may need to tinker with the linker flags as well. If that doesn't work, try removing oniguruma and then installing one of the later versions of oniguruma that uses shared libraries, as Oliver suggested. It may be that the API/ABI of these later versions will permit them to be used with sylpheed2 instead of the original oniguruma. Of course, you can always check this by looking at the code. b. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Sylpheed doesn't compile on amd64
b. f. wrote: So I wonder why there is still a /usr/local/lib/libonig.a when oniguruma is deinstalled? ??? Probably because after deinstalling oniguruma, he tried to install sylpheed2 WITH_ONIGURUMA, so oniguruma was placed in sylpheed2's BUILD_DEPENDS, meaning that oniguruma was rebuilt and reinstalled as part of the sylpheed2 build. This is a non-default option, so it doesn't receive as much testing, and something may well be broken. Try rebuilding and reinstalling first oniguruma and then sylpheed2 with CFLAGS+=-fPIC, as the error message indicates. You may need to tinker with the linker flags as well. If that doesn't work, try removing oniguruma and then installing one of the later versions of oniguruma that uses shared libraries, as Oliver suggested. It may be that the API/ABI of these later versions will permit them to be used with sylpheed2 instead of the original oniguruma. Of course, you can always check this by looking at the code. I tested it once more - it fails with devel/oniguruma. I'll change the dependency to use oniguruma5 because this version works -- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/ ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Sylpheed doesn't compile on amd64
On Sun, Aug 30, 2009 at 4:09 PM, b. f. bf1...@googlemail.com wrote: ??? Probably because after deinstalling oniguruma, he tried to install sylpheed2 WITH_ONIGURUMA, so oniguruma was placed in sylpheed2's BUILD_DEPENDS, meaning that oniguruma was rebuilt and reinstalled as part of the sylpheed2 build. Correct. Removing oniguruma from sylpheed's options allows portupgrade to do its job on sylpheed without problems. No, I don't know why I enabled oniguruma in the first place. Probably thought it was a good idea at the time. -- Regards, Torfinn Ingolfsen ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Sylpheed doesn't compile on amd64
Hello, Sylpheed 2.7.1 does not compile on amd64: r...@kg-v2# cd /usr/ports/mail/sylpheed2 r...@kg-v2# make === Building for sylpheed-2.7.1 gmake all-recursive gmake[1]: Entering directory `/usr/ports/mail/sylpheed2/work/sylpheed-2.7.1' Making all in ac gmake[2]: Entering directory `/usr/ports/mail/sylpheed2/work/sylpheed-2.7.1/ac' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/usr/ports/mail/sylpheed2/work/sylpheed-2.7.1/ac' Making all in libsylph gmake[2]: Entering directory `/usr/ports/mail/sylpheed2/work/sylpheed-2.7.1/libsylph' gmake all-am gmake[3]: Entering directory `/usr/ports/mail/sylpheed2/work/sylpheed-2.7.1/libsylph' /bin/sh ../libtool --mode=link cc -O2 -fno-strict-aliasing -pipe -D_THREAD_SAFE -I/usr/local/include/gtkspell-2.0 -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include -rpath=/usr/lib:/usr/local/lib -o libsylph-0.la -rpath /usr/local/lib -version-info 0:1:0 -export-dynamic account.lo base64.lo codeconv.lo customheader.lo displayheader.lo filter.lo folder.lo html.lo imap.lo mbox.lo md5.lo md5_hmac.lo mh.lo news.lo nntp.lo pop.lo prefs.lo prefs_account.lo prefs_common.lo procheader.lo procmime.lo procmsg.lo quoted-printable.lo recv.lo session.lo smtp.lo socket.lo ssl.lo stringtable.lo sylmain.lo unmime.lo utils.lo uuencode.lo virtual.lo xml.lo syl-marshal.lo -Wl,--export-dynamic -L/usr/local/lib -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lcompface -L/usr/local/lib -pthread -lssl -lcrypto -pthread -L/usr/local/lib -lgtkspell -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lgio-2.0 -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lpangoft2-1.0 -lXfixes -lcairo -lX11 -lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -laspell -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lonig cc -shared .libs/account.o .libs/base64.o .libs/codeconv.o .libs/customheader.o .libs/displayheader.o .libs/filter.o .libs/folder.o .libs/html.o .libs/imap.o .libs/mbox.o .libs/md5.o .libs/md5_hmac.o .libs/mh.o .libs/news.o .libs/nntp.o .libs/pop.o .libs/prefs.o .libs/prefs_account.o .libs/prefs_common.o .libs/procheader.o .libs/procmime.o .libs/procmsg.o .libs/quoted-printable.o .libs/recv.o .libs/session.o .libs/smtp.o .libs/socket.o .libs/ssl.o .libs/stringtable.o .libs/sylmain.o .libs/unmime.o .libs/utils.o .libs/uuencode.o .libs/virtual.o .libs/xml.o .libs/syl-marshal.o -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib -lcompface -lssl -lcrypto /usr/local/lib/libgtkspell.so /usr/local/lib/ libgtk-x11-2.0.so /usr/local/lib/libgdk-x11-2.0.so /usr/local/lib/ libatk-1.0.so /usr/local/lib/libgdk_pixbuf-2.0.so /usr/local/lib/ libpangocairo-1.0.so /usr/local/lib/libgio-2.0.so /usr/local/lib/libXext.so /usr/local/lib/libXrender.so /usr/local/lib/libXinerama.so /usr/local/lib/libXi.so /usr/local/lib/libXrandr.so /usr/local/lib/libXcursor.so /usr/local/lib/libXcomposite.so /usr/local/lib/libXdamage.so /usr/local/lib/libpangoft2-1.0.so/usr/local/lib/libXfixes.so /usr/local/lib/libcairo.so /usr/local/lib/libX11.so /usr/local/lib/libpango-1.0.so -lm /usr/local/lib/libfreetype.so /usr/local/lib/libfontconfig.so /usr/local/lib/libgobject-2.0.so /usr/local/lib/libgmodule-2.0.so/usr/local/lib/ libglib-2.0.so /usr/local/lib/libaspell.so -lonig -Wl,--export-dynamic -pthread -pthread -Wl,-rpath -Wl,/usr/local/lib -Wl,-soname -Wl,libsylph-0.so.0 -o .libs/libsylph-0.so.0 /usr/bin/ld: /usr/local/lib/libonig.a(regposix.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libonig.a: could not read symbols: Bad value gmake[3]: *** [libsylph-0.la] Error 1 gmake[3]: Leaving directory `/usr/ports/mail/sylpheed2/work/sylpheed-2.7.1/libsylph' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/ports/mail/sylpheed2/work/sylpheed-2.7.1/libsylph' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/mail/sylpheed2/work/sylpheed-2.7.1' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/mail/sylpheed2. *** Error code 1 Stop in /usr/ports/mail/sylpheed2. r...@kg-v2# The machine runs: r...@kg-v2# uname -a FreeBSD kg-v2.kg4.no 7.2-STABLE FreeBSD 7.2-STABLE #0: Fri Jul 17 18:23:22 CEST 2009 r...@kg-v2.kg4.no:/usr/obj/usr/src/sys/V2 amd64 HTH -- Regards, Torfinn Ingolfsen ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org