misc/shared-mime-info build failure

Conrad Sabatier conrads at cox.net
Mon Jun 7 18:18:32 GMT 2004


This is weird.  I just discovered this last night while trying to run the
gnome_upgrade.sh script:

===>  Building for shared-mime-info-0.14_2
make  all-recursive
Making all in po
if cc -DHAVE_CONFIG_H -I. -I. -I.      -O2 -pipe -mmmx -m3dnow -march=athlon
-Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings `pkg-config
--cflags libxml-2.0 glib-2.0` -MT update-mime-database.o -MD -MP -MF
".deps/update-mime-database.Tpo"  -c -o update-mime-database.o `test -f
'update-mime-database.c' || echo './'`update-mime-database.c;  then mv -f
".deps/update-mime-database.Tpo" ".deps/update-mime-database.Po";  else rm -f
".deps/update-mime-database.Tpo"; exit 1;  fi
In file included from /usr/local/include/libxml2/libxml/parser.h:781,
                 from update-mime-database.c:14:
/usr/local/include/libxml2/libxml/encoding.h:28:19: iconv.h: No such file or
directory
In file included from /usr/local/include/libxml2/libxml/parser.h:781,
                 from update-mime-database.c:14:
/usr/local/include/libxml2/libxml/encoding.h:136: error: 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.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade53226.1
make BATCH=yes GNOME_UPGRADE_SH_VER=42 GNOME_UPGRADE_SH_VER=42
** Fix the problem and try again.

The only way I can get this port to upgrade properly is to add the following to
the MAKE_ARGS section in /usr/local/etc/pkgtools.conf:

'misc/shared-mime-info' => 'CONFIGURE_ARGS+="CPPFLAGS=-I/usr/local/include"',

Is it just me?  Is there something wonky in my setup here?  I already tried
reinstalling all of this port's dependencies, to no avail.

-- 
Conrad Sabatier <conrads at cox.net> - "In Unix veritas"



More information about the freebsd-gnome mailing list