Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jan 2003 19:46:57 -0800 (PST)
From:      bruno schwander <bruno@tinkerbox.org>
To:        hackers@freebsd.org
Subject:   trying to create a port of gnotime
Message-ID:  <Pine.BSF.4.21.0301151939470.275-100000@duron.bschwand.net>

next in thread | raw e-mail | index | archive | help
Hi all,

I am trying to make a port of gnotime
( http://sourceforge.net/projects/gttr/ )

and I am hitting a few problems.
I checked how other GNOME ports work and think I used all the right
flags. When I try to build, I get the following output (appended)

I have other gnome apps that build fine. The listed dependencies for
gnotime (according to their readme) are libgnome and libgnomeui, so I
installed that first.

BTW, is it correct to list those in the LIB_DEPENDS flag ? I found no
USE_GNOME label corresponding to these libs.

If anybody with some experience building gnome apps can spot what is wrong
here, I'd be grateful for the help...

bruno


root@duron:/usr/ports/finance/gnotime>make
===>  Extracting for gnotime-2.1.5_1
>> Checksum OK for gnotime-2.1.5.tar.gz.
===>   gnotime-2.1.5_1 depends on executable: libtool - found
===>   gnotime-2.1.5_1 depends on shared library: guile.10 - found
===>   gnotime-2.1.5_1 depends on shared library: gnomeui - found
===>   gnotime-2.1.5_1 depends on shared library: X11.6 - found
===>   gnotime-2.1.5_1 depends on shared library: esd.2 - found
===>   gnotime-2.1.5_1 depends on shared library: ghttp.1 - found
===>   gnotime-2.1.5_1 depends on shared library: glib12.3 - found
===>   gnotime-2.1.5_1 depends on shared library: gtk12.2 - found
===>   gnotime-2.1.5_1 depends on shared library: xml.5 - found
===>   gnotime-2.1.5_1 depends on shared library: gdk_pixbuf.2 - found
===>   gnotime-2.1.5_1 depends on shared library: Imlib.5 - found
===>   gnotime-2.1.5_1 depends on shared library: ORBit.2 - found
===>   gnotime-2.1.5_1 depends on shared library: gnome.5 - found
===>   gnotime-2.1.5_1 depends on shared library: gnomecanvaspixbuf.1 -
found
===>   gnotime-2.1.5_1 depends on shared library: oaf.0 - found
===>   gnotime-2.1.5_1 depends on shared library: gconf-1.1 - found
===>   gnotime-2.1.5_1 depends on shared library: capplet.5 - found
===>   gnotime-2.1.5_1 depends on shared library: gnomeprint.16 - found
===>   gnotime-2.1.5_1 depends on shared library: bonobo.2 - found
===>   gnotime-2.1.5_1 depends on shared library: gda-client.0 - found
===>   gnotime-2.1.5_1 depends on shared library: gnomedb.0 - found
===>   gnotime-2.1.5_1 depends on shared library: glade.4 - found
===>   gnotime-2.1.5_1 depends on shared library: gal.21 - found
===>   gnotime-2.1.5_1 depends on shared library: glibwww.1 - found
===>   gnotime-2.1.5_1 depends on shared library: gtkhtml-1.1.3 - found
===>  Patching for gnotime-2.1.5_1
===>  Configuring for gnotime-2.1.5_1
configure: WARNING: you should use --build, --host, --target
checking for a BSD-compatible install... /usr/bin/install -c -o root -g
wheel
checking whether build environment is sane... yes
checking whether make 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 for perl... /usr/bin/perl
checking whether to enable maintainer-specific portions of Makefiles... no
checking for i386-portbld-freebsd4.6-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 for strerror in -lcposix... no
checking for i386-portbld-freebsd4.6-g++... c++
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking for i386-portbld-freebsd4.6-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 how to run the C preprocessor... cc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for bison... bison -y
checking for a BSD-compatible install... /usr/bin/install -c -o root -g
wheel
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking what warning flags to pass to the C compiler... 
checking what language compliance flags to pass to the C compiler... 
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for Guile... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking for libgnome-2.0 >= 2.0.0 libgnomeui-2.0 >= 2.0.3... yes
checking GNOTIME_CFLAGS... -DORBIT2=1 -D_REENTRANT -D_THREAD_SAFE
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include/orbit-2.0 -I/usr/local/include/libbonobo-2.0
-I/usr/local/include/linc-1.0 -I/usr/local/include/bonobo-activation-2.0
-I/usr/local/include/libart-2.0 -I/usr/local/include/atk-1.0
-I/usr/local/include/libxml2 -I/usr/X11R6/include/libgnome-2.0
-I/usr/X11R6/include/gconf/2 -I/usr/X11R6/include/gnome-vfs-2.0
-I/usr/X11R6/lib/gnome-vfs-2.0/include -I/usr/X11R6/include/libgnomeui-2.0
-I/usr/X11R6/include/libgnomecanvas-2.0 -I/usr/X11R6/include/gtk-2.0
-I/usr/X11R6/include/libbonoboui-2.0 -I/usr/X11R6/include/pango-1.0
-I/usr/local/include/freetype2 -I/usr/local/include
-I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include  
checking GNOTIME_LIBS... -pthread -Wl,--export-dynamic -L/usr/local/lib
-L/usr/X11R6/lib -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lxml2 -lz
-lgnomecanvas-2 -lgnome-2 -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0
-lgdk-x11-2.0 -lXi -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lXft
-lXrender -lXext -lfreetype -lpangox-1.0 -lX11 -lpango-1.0 -lbonobo-2
-lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lm -llinc
-lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl -liconv  
checking for glib-config... /usr/local/bin/glib12-config
checking for GLIB - version >= 0.99.7... yes
checking for libglade-2.0 >= 2.0.0... yes
checking LIBGLADE_CFLAGS... -I/usr/local/include/libxml2
-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/libglade-2.0
-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/include
-I/usr/local/include/freetype2 -I/usr/local/include  
checking LIBGLADE_LIBS... -Wl,--export-dynamic -L/usr/local/lib
-L/usr/X11R6/lib -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lz -lgdk-x11-2.0 -lXi
-latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lXft -lXrender -lXext
-lfreetype -lpangox-1.0 -lX11 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0
-lglib-2.0 -lintl -liconv  
checking for gconftool-2... /usr/X11R6/bin/gconftool-2
Using config source xml::/usr/X11R6/etc/gconf/gconf.xml.defaults for
schema installation
Using $(sysconfdir)/gconf/schemas/ as install directory for schema files
checking for libgtkhtml-2.0 >= 2.0.0... yes
checking LIBGTKHTML_CFLAGS... -I/usr/local/include/libxml2
-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/gtkhtml-2.0
-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/include
-I/usr/local/include/freetype2 -I/usr/local/include  
checking LIBGTKHTML_LIBS... -Wl,--export-dynamic -L/usr/local/lib
-L/usr/X11R6/lib -lgtkhtml-2 -lgtk-x11-2.0 -lxml2 -lz -lgdk-x11-2.0 -lXi
-latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lXft -lXrender -lXext
-lfreetype -lpangox-1.0 -lX11 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0
-lglib-2.0 -lintl -liconv  
GNOME_XML_CHECK: not found
checking for poptHelpOptions in -lpopt... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
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 for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for struct stat.st_rdev... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uid_t in sys/types.h... yes
checking for strftime... yes
checking for getcwd... yes
checking for gettimeofday... yes
checking for getwd... yes
checking for strdup... yes
checking for strtoul... yes
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for IceConnectionNumber in -lICE... (cached) 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... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for dgettext in libc... no
checking for bindtextdomain in -lintl... yes
checking for dgettext in -lintl... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/local/bin/msgfmt
checking for dcgettext... no
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext
checking for catalogs to be installed...  az bg ca cs da de el en_GB es et
eu fi fr ga gl hu it ja ko lt lv ms nl nn no pl pt pt_BR ro ru sk sl sv ta
tr uk vi wa zh_CN zh_TW
configure: creating ./config.status
config.status: creating Makefile
config.status: creating debian/Makefile
config.status: creating doc/C/Makefile
config.status: creating doc/C/man/Makefile
config.status: creating doc/Makefile
config.status: creating doc/de/Makefile
config.status: creating doc/es/Makefile
config.status: creating doc/eu/Makefile
config.status: creating ghtml/C/Makefile
config.status: creating ghtml/Makefile
config.status: creating glade/Makefile
config.status: creating po/Makefile.in
config.status: creating redhat/Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing default-1 commands
config.status: executing default-2 commands
config.status: executing default-3 commands

gnotime configuration summary:
==================================

CFLAGS : -O -pipe -march=pentiumpro
LDFLAGS : 
X_LIBS :  -lSM -lICE -lSM -lICE  -L/usr/X11R6/lib -L/usr/X11R6/lib -lX11 
GUILE_LIBS : -L/usr/local/lib -lguile -lqthreads -lm -L/usr/local/lib

prefix : /usr/X11R6
bin dir : ${prefix}/bin
data dir : /usr/X11R6/share/gnome


===>  Building for gnotime-2.1.5_1
make  all-recursive
Making all in debian
Making all in doc
Making all in C
Making all in man
cp gnotime/index.html .
for file in gnotime-C.omf; do  scrollkeeper-preinstall
/usr/X11R6/share/gnome/help/gnotime/C/gnotime.sgml $file
../../omf-install/$file;  done
touch omf_timestamp
Making all in de
Making all in es
cp gnotime/index.html .
for file in gnotime-C.omf; do  scrollkeeper-preinstall
/usr/X11R6/share/gnome/help/gnotime/es/gnotime.sgml $file
../../omf-install/$file;  done
touch omf_timestamp
Making all in eu
cp gnotime/index.html .
for file in gnotime-eu.omf; do  scrollkeeper-preinstall
/usr/X11R6/share/gnome/help/gnotime/eu/gnotime.sgml $file
../../omf-install/$file;  done
touch omf_timestamp
Making all in glade
Making all in ghtml
Making all in C
Making all in po
/usr/local/bin/msgfmt -o az.mo az.po
/usr/local/bin/msgfmt -o bg.mo bg.po
/usr/local/bin/msgfmt -o ca.mo ca.po
/usr/local/bin/msgfmt -o cs.mo cs.po
/usr/local/bin/msgfmt -o da.mo da.po
/usr/local/bin/msgfmt -o de.mo de.po
/usr/local/bin/msgfmt -o el.mo el.po
/usr/local/bin/msgfmt -o en_GB.mo en_GB.po
/usr/local/bin/msgfmt -o es.mo es.po
/usr/local/bin/msgfmt -o et.mo et.po
/usr/local/bin/msgfmt -o eu.mo eu.po
/usr/local/bin/msgfmt -o fi.mo fi.po
/usr/local/bin/msgfmt -o fr.mo fr.po
/usr/local/bin/msgfmt -o ga.mo ga.po
/usr/local/bin/msgfmt -o gl.mo gl.po
/usr/local/bin/msgfmt -o hu.mo hu.po
/usr/local/bin/msgfmt -o it.mo it.po
/usr/local/bin/msgfmt -o ja.mo ja.po
/usr/local/bin/msgfmt -o ko.mo ko.po
/usr/local/bin/msgfmt -o lt.mo lt.po
/usr/local/bin/msgfmt -o lv.mo lv.po
/usr/local/bin/msgfmt -o ms.mo ms.po
/usr/local/bin/msgfmt -o nl.mo nl.po
/usr/local/bin/msgfmt -o nn.mo nn.po
/usr/local/bin/msgfmt -o no.mo no.po
/usr/local/bin/msgfmt -o pl.mo pl.po
/usr/local/bin/msgfmt -o pt.mo pt.po
/usr/local/bin/msgfmt -o pt_BR.mo pt_BR.po
/usr/local/bin/msgfmt -o ro.mo ro.po
/usr/local/bin/msgfmt -o ru.mo ru.po
/usr/local/bin/msgfmt -o sk.mo sk.po
/usr/local/bin/msgfmt -o sl.mo sl.po
/usr/local/bin/msgfmt -o sv.mo sv.po
/usr/local/bin/msgfmt -o ta.mo ta.po
/usr/local/bin/msgfmt -o tr.mo tr.po
/usr/local/bin/msgfmt -o uk.mo uk.po
/usr/local/bin/msgfmt -o vi.mo vi.po
/usr/local/bin/msgfmt -o wa.mo wa.po
/usr/local/bin/msgfmt -o zh_CN.mo zh_CN.po
/usr/local/bin/msgfmt -o zh_TW.mo zh_TW.po
Making all in redhat
Making all in src
cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include
-DGNOMELOCALEDIR=\""/usr/X11R6/share/locale"\"  -DGTTGLADEDIR=\""/usr/X11R6/share/gnome/gnotime"\"      -DPREFIX=\""/usr/X11R6"\"       -DSYSCONFDIR=\""/usr/X11R6/etc/gnotime"\"       -DGTTDATADIR=\""/usr/X11R6/share/gnome/gnotime"\"       -DDATADIR=\""/usr/X11R6/share/gnome"\"  -DLIBDIR=\""/usr/X11R6/lib/gnotime"\"            -I/usr/local/include
-D_THREAD_SAFE  -g        -O -pipe -march=pentiumpro     -DORBIT2=1
-D_REENTRANT -D_THREAD_SAFE -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/orbit-2.0
-I/usr/local/include/libbonobo-2.0 -I/usr/local/include/linc-1.0
-I/usr/local/include/bonobo-activation-2.0 -I/usr/local/include/libart-2.0
-I/usr/local/include/atk-1.0 -I/usr/local/include/libxml2
-I/usr/X11R6/include/libgnome-2.0 -I/usr/X11R6/include/gconf/2
-I/usr/X11R6/include/gnome-vfs-2.0 -I/usr/X11R6/lib/gnome-vfs-2.0/include
-I/usr/X11R6/include/libgnomeui-2.0
-I/usr/X11R6/include/libgnomecanvas-2.0 -I/usr/X11R6/include/gtk-2.0
-I/usr/X11R6/include/libbonoboui-2.0 -I/usr/X11R6/include/pango-1.0
-I/usr/local/include/freetype2 -I/usr/local/include
-I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include
-I/usr/local/include/libxml2 -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/gtkhtml-2.0 -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/include -I/usr/local/include/freetype2 -I/usr/local/include
-I/usr/local/include/libxml2 -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/libglade-2.0 -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/include -I/usr/local/include/freetype2 -I/usr/local/include
-c app.c
In file included from /usr/X11R6/include/gtk-2.0/gtk/gtk.h:82,
                 from /usr/X11R6/include/libgnomeui-2.0/gnome.h:4,
                 from app.c:22:
/usr/X11R6/include/gtk-2.0/gtk/gtkimage.h:85: syntax error before
`GdkPixbufAnimationIter'
*** Error code 1

Stop in /usr/ports/finance/gnotime/work/gnotime-2.1.5/src.
*** Error code 1

Stop in /usr/ports/finance/gnotime/work/gnotime-2.1.5.
*** Error code 1

Stop in /usr/ports/finance/gnotime/work/gnotime-2.1.5.
*** Error code 1

Stop in /usr/ports/finance/gnotime.





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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0301151939470.275-100000>