Skip site navigation (1)Skip section navigation (2)
Date:      09 Feb 2003 02:49:46 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        jimd@siu.edu
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: Gnome2 librsvg2-2.2.3 make fails with header file syntax errors
Message-ID:  <1044776985.33467.6.camel@shumai.marcuscom.com>
In-Reply-To: <200302090135.h191ZOfS000779@ws180086.56kdialup.siu.edu>
References:  <200302090135.h191ZOfS000779@ws180086.56kdialup.siu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-T9aHi9REAtLwT4kgjvkk
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sat, 2003-02-08 at 20:35, jimd@siu.edu wrote:
> "config.log" is attached.
>=20
>=20
> [libsrvg2 Makefile - note version of art_lgpl]

What do you use that requires graphics/libart?  If nothing, removing it
should correct this problem.

Joe

> # $FreeBSD: ports/graphics/librsvg2/Makefile,v 1.21 2003/02/07 18:42:08 m=
arcus Exp $
> #
>=20
> PORTNAME=3D       librsvg2
> PORTVERSION=3D    2.2.3
> CATEGORIES=3D     graphics gnome
> MASTER_SITES=3D   ${MASTER_SITE_GNOME}
> MASTER_SITE_SUBDIR=3D     sources/${PORTNAME:S/2$//}/2.2
> DIST_SUBDIR=3D    gnome2
> DISTNAME=3D       librsvg-${PORTVERSION}
>=20
> MAINTAINER=3D     gnome@FreeBSD.org
>=20
> BUILD_DEPENDS=3D  freetype-config:${PORTSDIR}/print/freetype2     # XXX
> LIB_DEPENDS=3D    freetype.9:${PORTSDIR}/print/freetype2 \
>                 art_lgpl_2.5:${PORTSDIR}/graphics/libart_lgpl2 \
>                 xml2.5:${PORTSDIR}/textproc/libxml2 \
>                 gdk_pixbuf-2.0.200:${PORTSDIR}/x11-toolkits/gtk20 \
>                 popt.0:${PORTSDIR}/devel/popt
>=20
>=20
>=20
> [portupgrade]
> --->  Upgrading 'librsvg2-2.0.1' to 'librsvg2-2.2.3' (graphics/librsvg2)
> --->  Building '/usr/ports/graphics/librsvg2'
> =3D=3D=3D>  Cleaning for libiconv-1.8_2
> =3D=3D=3D>  Cleaning for atk-1.2.2
> =3D=3D=3D>  Cleaning for gettext-0.11.5_1
> =3D=3D=3D>  Cleaning for glib-2.2.1
> =3D=3D=3D>  Cleaning for gmake-3.80
> =3D=3D=3D>  Cleaning for imake-4.2.0_1
> =3D=3D=3D>  Cleaning for libtool-1.3.4_4
> =3D=3D=3D>  Cleaning for pkgconfig-0.15.0
> =3D=3D=3D>  Cleaning for popt-1.6.4
> =3D=3D=3D>  Cleaning for jpeg-6b_1
> =3D=3D=3D>  Cleaning for libart_lgpl2-2.3.11
> =3D=3D=3D>  Cleaning for png-1.2.5_1
> =3D=3D=3D>  Cleaning for tiff-3.5.7
> =3D=3D=3D>  Cleaning for python-2.2.2_2
> =3D=3D=3D>  Cleaning for freetype2-2.1.3_1
> =3D=3D=3D>  Cleaning for expat-1.95.6_1
> =3D=3D=3D>  Cleaning for libxml2-2.5.2
> =3D=3D=3D>  Cleaning for Xft-2.1
> =3D=3D=3D>  Cleaning for fontconfig-2.1_2
> =3D=3D=3D>  Cleaning for gtk-engines2-2.2.0
> =3D=3D=3D>  Cleaning for gtk-2.2.1
> =3D=3D=3D>  Cleaning for pango-1.2.1
> =3D=3D=3D>  Cleaning for XFree86-libraries-4.2.1_6
> =3D=3D=3D>  Cleaning for librsvg2-2.2.3
> =3D=3D=3D>  Extracting for librsvg2-2.2.3
> >> Checksum OK for gnome2/librsvg-2.2.3.tar.bz2.
> =3D=3D=3D>   librsvg2-2.2.3 depends on executable: freetype-config - foun=
d
> =3D=3D=3D>   librsvg2-2.2.3 depends on executable: gmake - found
> =3D=3D=3D>   librsvg2-2.2.3 depends on executable: libtool - found
> =3D=3D=3D>   librsvg2-2.2.3 depends on shared library: freetype.9 - found
> =3D=3D=3D>   librsvg2-2.2.3 depends on shared library: art_lgpl_2.5 - fou=
nd
> =3D=3D=3D>   librsvg2-2.2.3 depends on shared library: xml2.5 - found
> =3D=3D=3D>   librsvg2-2.2.3 depends on shared library: gdk_pixbuf-2.0.200=
 - found
> =3D=3D=3D>   librsvg2-2.2.3 depends on shared library: popt.0 - found
> =3D=3D=3D>   librsvg2-2.2.3 depends on shared library: X11.6 - found
> =3D=3D=3D>  Patching for librsvg2-2.2.3
> =3D=3D=3D>  Applying FreeBSD patches for librsvg2-2.2.3
> =3D=3D=3D>  Configuring for librsvg2-2.2.3
> checking for a BSD-compatible install... /usr/bin/install -c -o root -g w=
heel
> checking whether build environment is sane... yes
> checking whether gmake sets ${MAKE}... yes
> checking for working aclocal-1.4... missing
> checking for working autoconf... found
> checking for working automake-1.4... missing
> checking for working autoheader... found
> checking for working makeinfo... found
> checking whether to enable maintainer-specific portions of Makefiles... n=
o
> 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...=20
> 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 strerror in -lcposix... no
> checking for gcc... (cached) cc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether cc accepts -g... (cached) yes
> checking how to run the C preprocessor... cc -E
> checking for gawk... gawk
> checking build system type... i386-unknown-freebsd4.7
> checking host system type... i386-unknown-freebsd4.7
> checking for ld used by GCC... /usr/libexec/elf/ld
> checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes
> checking for /usr/libexec/elf/ld option to reload object files... -r
> checking for BSD-compatible nm... /usr/bin/nm -B
> checking whether ln -s works... yes
> checking how to recognise dependant libraries... pass_all
> checking command to parse /usr/bin/nm -B output... ok
> 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 dlfcn.h usability... yes
> checking dlfcn.h presence... yes
> checking for dlfcn.h... yes
> checking for ranlib... ranlib
> checking for strip... strip
> checking for objdir... .libs
> checking for cc option to produce PIC... -fPIC
> checking if cc PIC flag -fPIC works... yes
> checking if cc static flag -static works... yes
> checking if cc supports -c -o file.o... yes
> checking if cc supports -c -o file.lo... yes
> checking if cc supports -fno-rtti -fno-exceptions... yes
> checking whether the linker (/usr/libexec/elf/ld) supports shared librari=
es... yes
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking dynamic linker characteristics... freebsd4.7 ld.so
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking whether -lc should be explicitly linked in... yes
> creating libtool
> checking host system type... i386-unknown-freebsdelf4.7
> checking for ranlib... ranlib
> checking whether we are using GNU C... yes
> checking for object suffix... o
> checking for executable suffix... no
> checking for cc option to produce PIC... -fPIC
> checking if cc PIC flag -fPIC works... yes
> checking if cc supports -c -o file.o... yes
> checking if cc supports -c -o file.lo... yes
> checking if cc supports -fno-rtti -fno-exceptions ... yes
> checking if cc static flag -static works... -static
> checking whether ln -s works... yes
> checking for ld used by GCC... /usr/libexec/elf/ld
> checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes
> checking whether the linker (/usr/libexec/elf/ld) supports shared librari=
es... yes
> checking for BSD-compatible nm... /usr/bin/nm -B
> checking command to parse /usr/bin/nm -B output... ok
> checking how to hardcode library paths into programs... immediate
> checking for /usr/libexec/elf/ld option to reload object files... -r
> checking dynamic linker characteristics... freebsdelf4.7 ld.so
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking for objdir... .libs
> creating libtool
> checking for ANSI C header files... (cached) yes
> checking whether byte ordering is bigendian... no
> checking for pkg-config... /usr/local/bin/pkg-config
> checking for pkg-config... yes
> checking for 	gdk-pixbuf-2.0 >=3D 1.3.7 	glib-2.0 >=3D 2.0.0 	libart-2.0 =
>=3D 2.3.10 	libxml-2.0 >=3D 2.4.7 	pangoft2 >=3D 1.0.0... yes
> checking LIBRSVG_CFLAGS... -I/usr/local/include/glib-2.0 -I/usr/local/lib=
/glib-2.0/include -I/usr/local/include/libart-2.0 -I/usr/local/include/libx=
ml2 -I/usr/local/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/include/=
pango-1.0 -I/usr/X11R6/include -I/usr/local/include/freetype2 =20
> checking LIBRSVG_LIBS... -Wl,--export-dynamic -L/usr/local/lib -L/usr/X11=
R6/lib -lgdk_pixbuf-2.0 -lart_lgpl_2 -lxml2 -lz -lm -lpangoft2-1.0 -lXft2 -=
lfreetype -lXext -lXrender -lfontconfig -lpango-1.0 -lgobject-2.0 -lgmodule=
-2.0 -lglib-2.0 -liconv =20
> checking for poptParseArgvString in -lpopt... yes
> checking for libgsf-1 >=3D 1.6.0... yes
> checking LIBGSF_CFLAGS... -I/usr/local/include/libgsf-1 -I/usr/local/incl=
ude/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2=
 -I/usr/local/include =20
> checking LIBGSF_LIBS... -L/usr/local/lib -lgsf-1 -lgobject-2.0 -lxml2 -lz=
 -lm -lglib-2.0 -liconv =20
> checking for more warnings... no
> checking for gtk+ engine support... checking for gtk+-2.0 >=3D 1.3.12... =
yes
> checking GTK_CFLAGS... -I/usr/local/include/atk-1.0 -I/usr/local/include/=
glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include/gtk-2.0 -I/=
usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/i=
nclude -I/usr/local/include/freetype2 -I/usr/local/include =20
> checking GTK_LIBS... -Wl,--export-dynamic -L/usr/local/lib -L/usr/X11R6/l=
ib -lgtk-x11-2.0 -lgdk-x11-2.0 -lXinerama -latk-1.0 -lgdk_pixbuf-2.0 -lm -l=
pangoxft-1.0 -lXft2 -lfreetype -lXext -lXrender -lfontconfig -lpangox-1.0 -=
lX11 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -liconv =20
> yes
> checking for gdk-pixbuf-query-loaders... /usr/X11R6/bin/gdk-pixbuf-query-=
loaders
> checking for gtkdoc-mkdb... false
> checking for db2html... false
> configure: creating ./config.status
> config.status: creating librsvg.spec
> config.status: creating librsvg-features.h
> config.status: creating Makefile
> config.status: creating librsvg-2.0.pc
> config.status: creating doc/Makefile
> config.status: creating gtk-engine/Makefile
> config.status: creating gtk-engine/examples/Makefile
> config.status: creating gtk-engine/examples/bubble/Makefile
> config.status: creating gtk-engine/examples/bubble/gtk-2.0/Makefile
> config.status: creating gdk-pixbuf-loader/Makefile
> config.status: creating config.h
> config.status: executing default-1 commands
> =3D=3D=3D>  Building for librsvg2-2.2.3
> gmake  all-recursive
> gmake[1]: Entering directory `/usr/ports/graphics/librsvg2/work/librsvg-2=
.2.3'
> Making all in .
> gmake[2]: Entering directory `/usr/ports/graphics/librsvg2/work/librsvg-2=
.2.3'
> /bin/sh ./libtool --mode=3Dcompile cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/=
local/include/libgsf-1 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-=
2.0/include -I/usr/local/include/libxml2 -I/usr/local/include   -DHAVE_SVGZ=
=3D1 -I. -I. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/includ=
e -I/usr/local/include/libart-2.0 -I/usr/local/include/libxml2 -I/usr/local=
/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/include/pango-1.0 -I/usr=
/X11R6/include -I/usr/local/include/freetype2   -I/usr/local/include/atk-1.=
0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X1=
1R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/p=
ango-1.0 -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/i=
nclude   -DG_LOG_DOMAIN=3D\"librsvg\" -DG_DISABLE_DEPRECATED -DPANGO_DISABL=
E_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK=
_DISABLE_DEPRECATED -DDATADIR=3D"\"/usr/X11R6/share\""  -I/usr/local/includ=
e  -O -pipe  -c rsvg-gz.c
> mkdir .libs
> cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/libgsf-1 -I/usr/local=
/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/li=
bxml2 -I/usr/local/include -DHAVE_SVGZ=3D1 -I. -I. -I/usr/local/include/gli=
b-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libart-2.0 -I/=
usr/local/include/libxml2 -I/usr/local/include -I/usr/X11R6/include/gtk-2.0=
 -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/f=
reetype2 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/=
local/lib/glib-2.0/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gt=
k-2.0/include -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include -I/usr/lo=
cal/include/freetype2 -I/usr/local/include -DG_LOG_DOMAIN=3D\"librsvg\" -DG=
_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DG=
DK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DDATADIR=3D\"/usr/X1=
1R6/share\" -I/usr/local/include -O -pipe -c rsvg-gz.c  -fPIC -DPIC -o .lib=
s/rsvg-gz.lo
> In file included from rsvg-paint-server.h:30,
>                  from rsvg-styles.h:30,
>                  from rsvg-private.h:30,
>                  from rsvg-gz.c:25:
> /usr/local/include/libart_lgpl/art_render_gradient.h:61: syntax error bef=
ore `ArtPixMaxDepth'
> /usr/local/include/libart_lgpl/art_render_gradient.h:65: syntax error bef=
ore `*'
> /usr/local/include/libart_lgpl/art_render_gradient.h:70: syntax error bef=
ore `*'
> In file included from rsvg-styles.h:30,
>                  from rsvg-private.h:30,
>                  from rsvg-gz.c:25:
> rsvg-paint-server.h:96: syntax error before `*'
> In file included from rsvg-styles.h:33,
>                  from rsvg-private.h:30,
>                  from rsvg-gz.c:25:
> /usr/local/include/libart_lgpl/art_svp_vpath_stroke.h:41: syntax error be=
fore `*'
> /usr/local/include/libart_lgpl/art_svp_vpath_stroke.h:42: syntax error be=
fore `*'
> /usr/local/include/libart_lgpl/art_svp_vpath_stroke.h:47: warning: data d=
efinition has no type or storage class
> /usr/local/include/libart_lgpl/art_svp_vpath_stroke.h:50: syntax error be=
fore `*'
> /usr/local/include/libart_lgpl/art_svp_vpath_stroke.h:51: syntax error be=
fore `*'
> /usr/local/include/libart_lgpl/art_svp_vpath_stroke.h:56: warning: data d=
efinition has no type or storage class
> In file included from rsvg-styles.h:34,
>                  from rsvg-private.h:30,
>                  from rsvg-gz.c:25:
> /usr/local/include/libart_lgpl/art_vpath_dash.h:37: syntax error before `=
*'
> /usr/local/include/libart_lgpl/art_vpath_dash.h:38: syntax error before `=
*'
> /usr/local/include/libart_lgpl/art_vpath_dash.h:38: warning: data definit=
ion has no type or storage class
> gmake[2]: *** [rsvg-gz.lo] Error 1
> gmake[2]: Leaving directory `/usr/ports/graphics/librsvg2/work/librsvg-2.=
2.3'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/ports/graphics/librsvg2/work/librsvg-2.=
2.3'
> gmake: *** [all-recursive-am] Error 2
> *** Error code 2
>=20
> Stop in /usr/ports/graphics/librsvg2.
> ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade235.=
1 make
> ** Fix the problem and try again.
>=20
--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-T9aHi9REAtLwT4kgjvkk
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQA+RggZb2iPiv4Uz4cRAmsOAJ4zvvjwyoXXC3oqwHm3Gl1HbKMGzwCgmCgR
BeH7YlS3QXrfCW/GBmjLgrM=
=lZJL
-----END PGP SIGNATURE-----

--=-T9aHi9REAtLwT4kgjvkk--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




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