Date: Tue, 24 Aug 2004 17:30:28 -0300 From: Fernan Aguero <fernan@iib.unsam.edu.ar> To: FreeBSD Ports <ports@FreeBSD.ORG> Cc: gnome@FreeBSD.ORG Subject: shared-mime-info fails to build due to missing giconv.h Message-ID: <20040824203028.GB3787@iib.unsam.edu.ar>
next in thread | raw e-mail | index | archive | help
--2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Attached is the output generated when trying to buid this port. It seems that this problem has appeared in the past. From reading what I've found in Google it seems that there were some 'iconv hacks' that were removed and that were in somehow related to this giconv issue. However, this doesn't tell me what I need to do to solve the problem. Here: http://www.hubbo.com/archives/000934.html it's been solved by adding symlinks from giconv.h and libgiconv to their iconv equivalents. However, I don't quite like the solution. Thanks for any suggestion, Fernan PS: I'm CCing the maintainer (gnome@) PS: I don't know if this info is appropriate but ... cvsup is from last friday, glib20 (2.4.6) is up to date, iconv is up to date (2.0_3) and libiconv is at 1.7_2 (port has 1.9.2_1) -- Fernan Aguero - fernan at iib.unsam.edu.ar Phone: +54 11 4580-7255/7 ext 310, Fax: +54 11 4752-9639 Check http://genoma.unsam.edu.ar/~fernan for more info. --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="shared-mime-info.out" Script started on Tue Aug 24 17:12:29 2004 root@rho# make clean && m[K[K[K[K[K[K[K[K; exit ===> Vulnerability check disabled ===> Extracting for shared-mime-info-0.14_4 >> Checksum OK for shared-mime-info-0.14.tar.gz. ===> Patching for shared-mime-info-0.14_4 ===> Applying FreeBSD patches for shared-mime-info-0.14_4 ===> shared-mime-info-0.14_4 depends on executable: pkg-config - found ===> shared-mime-info-0.14_4 depends on file: /usr/local/bin/intltool-extract - found ===> shared-mime-info-0.14_4 depends on shared library: glib-2.0.400 - found ===> shared-mime-info-0.14_4 depends on shared library: xml2.5 - found ===> Configuring for shared-mime-info-0.14_4 checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking for perl... /usr/bin/perl checking for style of include used by make... GNU checking for gcc... cc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking dependency style of cc... gcc checking how to run the C preprocessor... cc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... no checking for unistd.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking libintl.h usability... no checking libintl.h presence... no checking for libintl.h... no checking that pkg-config runs... yes checking that libxml-2.0 (version >= 2.4.0) is installed... yes checking that glib-2.0 (version >= 2.0.0) is installed... yes checking for gcc... (cached) cc checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ANSI C... (cached) none needed checking dependency style of cc... (cached) gcc checking for an ANSI C-conforming const... yes configure: creating ./config.status config.status: creating Makefile config.status: creating shared-mime-info.pc config.status: creating po/Makefile.in config.status: creating config.h config.status: executing default-1 commands config.status: executing depfiles commands config.status: executing default-2 commands ===> Building for shared-mime-info-0.14_4 make all-recursive Making all in po source='update-mime-database.c' object='update-mime-database.o' libtool=no depfile='.deps/update-mime-database.Po' tmpdepfile='.deps/update-mime-database.TPo' depmode=gcc /bin/sh ./depcomp cc -DHAVE_CONFIG_H -I. -I. -I. -O -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings `pkg-config --cflags libxml-2.0 glib-2.0` -c `test -f 'update-mime-database.c' || echo './'`update-mime-database.c In file included from /usr/local/include/libxml2/libxml/parser.h:15, from update-mime-database.c:14: /usr/local/include/libxml2/libxml/encoding.h:30: giconv.h: No such file or directory In file included from /usr/local/include/libxml2/libxml/parser.h:15, from update-mime-database.c:14: /usr/local/include/libxml2/libxml/encoding.h:137: syntax error before `iconv_t' *** Error code 1 Stop in /usr/ports/misc/shared-mime-info/work/shared-mime-info-0.14. *** Error code 1 Stop in /usr/ports/misc/shared-mime-info/work/shared-mime-info-0.14. *** Error code 1 Stop in /usr/ports/misc/shared-mime-info/work/shared-mime-info-0.14. *** Error code 1 Stop in /usr/ports/misc/shared-mime-info. exit Script done on Tue Aug 24 17:12:54 2004 --2oS5YaxWCcQjTEyO--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040824203028.GB3787>