Hello All ! I need install converters/php55-iconv in FreeBSD 10 But this depends on the port converters/libiconv converters/libiconv is not installed in FreeBSD10 What would you suggest cc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -I../lib -I../intl -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -D_FORTIFY_SOURCE=2 -Oz -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe -Qunused-arguments -Qunused-parameter -Wformat -Wformat-security -c error.c error.c:378:12: warning: data argument not used by format string [-Wformat-extra-args] file_name, line_number); ^ 1 warning generated. rm -f libicrt.a ar cru libicrt.a allocator.o areadlink.o careadlinkat.o malloca.o progname.o safe-read.o width.o xmalloc.o xstrdup.o xreadlink.o canonicalize-lgpl.o error.o ranlib libicrt.a cd src && /usr/bin/make all cc -c -I. -I. -I.. -I../include -I./../include -I../srclib -I./../srclib -I../lib -Oz -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe -Qunused-arguments -Qunused-parameter -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DINSTALLDIR=\"/usr/local/bin\" -DLOCALEDIR=\"/usr/local/share/locale\" ./iconv_no_i18n.c /bin/sh ../libtool --mode=link cc -Oz -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe -Qunused-arguments -Qunused-parameter -Wformat -Wformat-security iconv_no_i18n.o ../srclib/libicrt.a ../lib/libiconv.la -o iconv_no_i18n libtool: link: cc -Oz -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe -Qunused-arguments -Qunused-parameter -Wformat -Wformat-security iconv_no_i18n.o -o .libs/iconv_no_i18n ../srclib/libicrt.a ../lib/.libs/libiconv.so -Wl,-rpath -Wl,/usr/local/lib ../lib/.libs/libiconv.so: undefined reference to `aliases2_lookup' cc: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. make[3]: stopped in /usr/ports/converters/libiconv/work/libiconv-1.14/src *** Error code 1 uname -a FreeBSD magnetron.intra 10.0-STABLE FreeBSD 10.0-STABLE #0 r261274: Thu Jan 30 11:34:04 EET 2014 root at magnetron.intra:/usr/obj/usr/src/sys/Kernel amd64 -- With best regards Alexander
On Fri, 14 Feb 2014 16:23:56 +0200 Alexander Panyushkin wrote:> Hello All ! > I need install converters/php55-iconv in FreeBSD 10 > But this depends on the port converters/libiconv > converters/libiconv is not installed in FreeBSD10 > > What would you suggest > > > cc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -I../lib -I../intl > -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -D_FORTIFY_SOURCE=2 -Oz > -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe -Qunused-arguments > -Qunused-parameter -Wformat -Wformat-security -c error.c > error.c:378:12: warning: data argument not used by format string > [-Wformat-extra-args] > file_name, line_number); > ^ > 1 warning generated. > rm -f libicrt.a > ar cru libicrt.a allocator.o areadlink.o careadlinkat.o malloca.o > progname.o safe-read.o width.o xmalloc.o xstrdup.o xreadlink.o > canonicalize-lgpl.o error.o > ranlib libicrt.a > cd src && /usr/bin/make all > cc -c -I. -I. -I.. -I../include -I./../include -I../srclib -I./../srclib > -I../lib -Oz -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe > -Qunused-arguments -Qunused-parameter -Wformat -Wformat-security > -D_FORTIFY_SOURCE=2 -DINSTALLDIR=\"/usr/local/bin\" > -DLOCALEDIR=\"/usr/local/share/locale\" ./iconv_no_i18n.c > /bin/sh ../libtool --mode=link cc -Oz -march=athlon64-sse3 > -mtune=athlon64-sse3 -pipe -Qunused-arguments -Qunused-parameter > -Wformat -Wformat-security iconv_no_i18n.o ../srclib/libicrt.a > ../lib/libiconv.la -o iconv_no_i18n > libtool: link: cc -Oz -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe > -Qunused-arguments -Qunused-parameter -Wformat -Wformat-security > iconv_no_i18n.o -o .libs/iconv_no_i18n ../srclib/libicrt.a > ../lib/.libs/libiconv.so -Wl,-rpath -Wl,/usr/local/lib > ../lib/.libs/libiconv.so: undefined reference to `aliases2_lookup' > cc: error: linker command failed with exit code 1 (use -v to see invocation) > *** Error code 1 > > Stop. > make[3]: stopped in src > *** Error code 1 > > > > > uname -a > FreeBSD magnetron.intra 10.0-STABLE FreeBSD 10.0-STABLE #0 r261274: Thu > Jan 30 11:34:04 EET 2014 > root at magnetron.intra:/usr/obj/usr/src/sys/Kernel amd64Last time someone reported this they had O_NOATIME in /usr/include/fcntl.h. If that's the case for you too then update world+kernel. If not, send me /usr/ports/converters/libiconv/work/libiconv-1.14/config.log
On Fri, Feb 14, 2014 at 9:23 AM, Alexander Panyushkin <vsityz at gmail.com>wrote:> Hello All ! > I need install converters/php55-iconv in FreeBSD 10 > But this depends on the port converters/libiconv > converters/libiconv is not installed in FreeBSD10 > > What would you suggest >Both seem to be installed and working on my 10.0-RELEASE amd64 system: ~# pkg version -vP | g icon libiconv-1.14_1 = up-to-date with port php55-iconv-5.5.9 = up-to-date with port Your ports are up-to-date? Sometimes weird build errors can be caused by things in your src.conf when you built the system. What do you have in there?
Hi, Look this before: 20130904: AFFECTS: 10-CURRENT users with any port depending on converters/libiconv AUTHOR: madpilot at FreeBSD.org 10-CURRENT after r254273 (committed on August 13, 2013) has an implementation of iconv enabled by default in libc. Due to this change some major overhauling of the ports tree has been necessary to move the ports to using that implementation. People using pkgng binary packages should have little problems, "pkg upgrade" will update all software to not depend on libiconv anymore, once updated packages are available. Please make sure to perform a "pkg autoremove" after that and check that libiconv is correctly removed by it. If you are using ports the update requires some manual intervention. The following procedure should be followed: # pkg query %ro libiconv >ports_to_update # pkg delete -f libiconv # cat ports_to_update | xargs portmaster or: # pkg query %ro libiconv >ports_to_update # pkg delete -f libiconv # cat ports_to_update | xargs portupgrade -f and try it: pkg delete -f php55-iconv and after re-install port php55-iconv Em 14/02/14 12:23, Alexander Panyushkin escreveu:> Hello All ! > I need install converters/php55-iconv in FreeBSD 10 > But this depends on the port converters/libiconv > converters/libiconv is not installed in FreeBSD10 > > What would you suggest > > > cc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -I../lib -I../intl > -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -D_FORTIFY_SOURCE=2 > -Oz -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe -Qunused-arguments > -Qunused-parameter -Wformat -Wformat-security -c error.c > error.c:378:12: warning: data argument not used by format string > [-Wformat-extra-args] > file_name, line_number); > ^ > 1 warning generated. > rm -f libicrt.a > ar cru libicrt.a allocator.o areadlink.o careadlinkat.o malloca.o > progname.o safe-read.o width.o xmalloc.o xstrdup.o xreadlink.o > canonicalize-lgpl.o error.o > ranlib libicrt.a > cd src && /usr/bin/make all > cc -c -I. -I. -I.. -I../include -I./../include -I../srclib > -I./../srclib -I../lib -Oz -march=athlon64-sse3 -mtune=athlon64-sse3 > -pipe -Qunused-arguments -Qunused-parameter -Wformat -Wformat-security > -D_FORTIFY_SOURCE=2 -DINSTALLDIR=\"/usr/local/bin\" > -DLOCALEDIR=\"/usr/local/share/locale\" ./iconv_no_i18n.c > /bin/sh ../libtool --mode=link cc -Oz -march=athlon64-sse3 > -mtune=athlon64-sse3 -pipe -Qunused-arguments -Qunused-parameter > -Wformat -Wformat-security iconv_no_i18n.o ../srclib/libicrt.a > ../lib/libiconv.la -o iconv_no_i18n > libtool: link: cc -Oz -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe > -Qunused-arguments -Qunused-parameter -Wformat -Wformat-security > iconv_no_i18n.o -o .libs/iconv_no_i18n ../srclib/libicrt.a > ../lib/.libs/libiconv.so -Wl,-rpath -Wl,/usr/local/lib > ../lib/.libs/libiconv.so: undefined reference to `aliases2_lookup' > cc: error: linker command failed with exit code 1 (use -v to see > invocation) > *** Error code 1 > > Stop. > make[3]: stopped in /usr/ports/converters/libiconv/work/libiconv-1.14/src > *** Error code 1 > > > > > uname -a > FreeBSD magnetron.intra 10.0-STABLE FreeBSD 10.0-STABLE #0 r261274: > Thu Jan 30 11:34:04 EET 2014 > root at magnetron.intra:/usr/obj/usr/src/sys/Kernel amd64 >