Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Jun 2004 13:18:24 -0500 (CDT)
From:      Conrad Sabatier <conrads@cox.net>
To:        freebsd-ports@freebsd.org
Cc:        freebsd-gnome@freebsd.org
Subject:   misc/shared-mime-info build failure
Message-ID:  <XFMail.20040607131824.conrads@cox.net>

next in thread | raw e-mail | index | archive | help
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@cox.net> - "In Unix veritas"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20040607131824.conrads>