Em 29/09/13 00:43, Marcelo Gondim escreveu: > Pessoal, > > Fui recompilar a devel/glib20 aqui e agora não compila mais nem por um > decreto, dá problema com a libiconv e pior que está instalada. Fiz isso > em 2 máquinas e deu o mesmo problema: > > checking for /usr/local/bin/python2.7 version... 2.7 > checking for /usr/local/bin/python2.7 platform... freebsd9 > checking for /usr/local/bin/python2.7 script directory... > ${prefix}/lib/python2.7/site-packages > checking for /usr/local/bin/python2.7 extension module directory... > ${exec_prefix}/lib/python2.7/site-packages > checking for iconv_open... no > configure: error: *** No iconv() implementation found in C library or > libiconv > ===> Script "configure" failed unexpectedly. > Please run the gnomelogalyzer, available from > "http://www.freebsd.org/gnome/gnomelogalyzer.sh", which will diagnose the > problem and suggest a solution. If - and only if - the gnomelogalyzer cannot > solve the problem, report the build failure to the FreeBSD GNOME team at > gn...@freebsd.org, and attach (a) > "/usr/ports/devel/glib20/work/glib-2.36.3/config.log", (b) the output of the > failed make command, and (c) the gnomelogalyzer output. Also, it might be a > good idea to provide an overview of all packages installed on your system > (i.e. an `ls /var/db/pkg`). Put your attachment up on any website, > copy-and-paste into http://freebsd-gnome.pastebin.com, or use send-pr(1) > with > the attachment. Try to avoid sending any attachments to the mailing list > (gn...@freebsd.org), because attachments sent to FreeBSD mailing lists are > usually discarded by the mailing list software. > *** [do-configure] Error code 1 > > Stop in /usr/ports/devel/glib20. > > Estou procurando nos fóruns e ainda não encontrei uma solução. Alguém > conseguiu resolver esse problema? > > FreeBSD prxsaq.localdomain.net 9.2-RELEASE FreeBSD 9.2-RELEASE #6 > r255930: Sat Sep 28 20:02:21 BRT 2013 > r...@prxsaq.localdomain.net:/usr/obj/usr/src/sys/INTNET i386 > > # pkg info |grep libiconv > libiconv-1.14_1 A character set conversion library > > []'s > Gondim > ------------------------- > Histórico: http://www.fug.com.br/historico/html/freebsd/ > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd > Bem resolvi meio que munheca mas não sei se seria a forma correta. Não estava conseguindo compilar nem o devel/apr1 e nem o devel/glib20. Ambos davam erro com a libiconv que parece ter sido adicionada ao sistema base mas ainda acho meio confuso isso. No FreeBSD 10.0 eu consegui recompilar a glib. O que tive que fazer para conseguir compilar no FreeBSD 9.x recentemente foi isso:
devel/glib20 ========== Makefile.patch --- Makefile 2013-09-20 14:04:43.000000000 -0300 +++ /root/Makefile 2013-09-29 11:00:10.000000000 -0300 @@ -58,6 +58,7 @@ .else CONFIGURE_ARGS+= --with-libiconv=gnu .endif +CONFIGURE_ARGS+= --with-libiconv=gnu .if ${ARCH} == powerpc64 EXTRA_PATCHES= ${FILESDIR}/extra-arch-powerpc64 Existem 2 testes da libiconv uma usando o native e outra usando a gnu que é a instalada pelo ports. O que fiz foi apenas fixar o uso default da gnu. devel/apr1 ========= Makefile.patch --- Makefile 2013-09-20 14:03:26.000000000 -0300 +++ /root/Makefile 2013-09-29 11:08:41.000000000 -0300 @@ -44,7 +44,7 @@ APR_CONF_ARGS= --with-installbuilddir=${DATADIR}/build-1 APU_CONF_ARGS= --with-apr=${APR_WRKDIR} \ --with-expat=${LOCALBASE} \ - --with-iconv=${ICONV_PREFIX} + --with-libiconv=${ICONV_PREFIX} NO_STAGE= yes .include <bsd.port.options.mk> Nesse eu apenas alterei o parâmetro --with-iconv para --with-libiconv e pronto! Compilou normal. Alguém tem algo à acrescentar ou sabe o motivo disso estar acontecendo? :) Uma pena que não manjo de C senão ajudaria o pessoal com patches e não com gambiarras que nem essas aí. :D Grande abraço pessoal, Gondim ------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd