Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jun 2004 22:34:27 +0200
From:      Alexander Koch <mail@kochalexander.de>
To:        freebsd-ports@freebsd.org
Subject:   palm/jpilot WITH_GTK2=yes does not compile on 4.10-RELEASE-p1
Message-ID:  <20040630203427.GA9968@vetinari.schwarzezone>

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

palm/jpilot does not compile with WITH_GTK2=yes, make will produce following
error:

<snip src="/usr/ports/palm/jpilot/# make">
source='address_gui.c' object='address_gui.o' libtool=no  depfile='.deps/address_gui.Po' tmpdepfile='.deps/address_gui
.TPo'  depmode=gcc /bin/sh ./depcomp  cc -DHAVE_CONFIG_H -I. -I. -I.    -I/usr/local/include -Wall -O -pipe -march=pen
tiumpro -I/usr/local/include  -I/usr/local/include   -I/usr/local/include -I/usr/local/include/atk-1.0 -I/usr/local/in
clude/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 -I/usr/X11R6/include/pango-1.0 -I/usr/local/include/freetype2 -I/usr/local/include   -DLOCALEDIR=\"/usr/
local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -O -pipe -march=pentiumpro -I/usr/local/include  -I/us
r/local/include -c address_gui.c
address_gui.c: In function `cb_dialer':
address_gui.c:1433: syntax error before `start_iter'
address_gui.c:1437: `text_buffer' undeclared (first use in this function)
address_gui.c:1437: (Each undeclared identifier is reported only once
address_gui.c:1437: for each function it appears in.)
address_gui.c:1438: `start_iter' undeclared (first use in this function)
address_gui.c:1438: `end_iter' undeclared (first use in this function)
*** Error code 1

Stop in /usr/ports/palm/jpilot/work/jpilot-0.99.7.
*** Error code 1

Stop in /usr/ports/palm/jpilot/work/jpilot-0.99.7.
*** Error code 1

Stop in /usr/ports/palm/jpilot/work/jpilot-0.99.7.
*** Error code 1

Stop in /usr/ports/palm/jpilot.
</snip>

$ uname -a
FreeBSD vetinari.schwarzezone 4.10-RELEASE-p1 FreeBSD 4.10-RELEASE-p1 #6: Mon
Jun 28 22:27:43 CEST 2004 root@vetinari.schwarzezone:/usr/obj/usr/src/sys/MORT
i386

$ pkg_info | grep gtk
[...]
gtk-1.2.10_12       Gimp Toolkit for X11 GUI (previous stable version)
gtk-2.4.3_1         Gimp Toolkit for X11 GUI (current stable version)
gtk-engines2-2.2.0_3 Theme engine for the gtk+-2.0 toolkit
[...]

<snip src="/usr/ports/palm/jpilot/# make configure">
$ sudo make configure
===>  Extracting for jpilot-0.99.7
>> Checksum OK for jpilot-0.99.7.tar.gz.
===>  Patching for jpilot-0.99.7
===>  Applying FreeBSD patches for jpilot-0.99.7
===>   jpilot-0.99.7 depends on file: /usr/local/bin/libtool13 - found
===>   jpilot-0.99.7 depends on executable: pkg-config - found
===>   jpilot-0.99.7 depends on file: /usr/local/bin/intltool-extract - found
===>   jpilot-0.99.7 depends on shared library: pisock.8 - found
===>   jpilot-0.99.7 depends on shared library: intl - found
===>   jpilot-0.99.7 depends on shared library: glib-2.0.400 - found
===>   jpilot-0.99.7 depends on shared library: atk-1.0.600 - found
===>   jpilot-0.99.7 depends on shared library: pango-1.0.399 - found
===>   jpilot-0.99.7 depends on shared library: gtk-x11-2.0.400 - found
===>  Configuring for jpilot-0.99.7
checking build system type... i386-portbld-freebsd4.10
checking host system type... i386-portbld-freebsd4.10
[...]
checking whether to enable maintainer-specific portions of Makefiles... no
[...]
checking for stdint.h... no
[...]
configure: WARNING: Operating system freebsd4.10 not supported by
  jpilot-dialer
[...]
checking for GNU gettext in libc... no
[...]
checking for pilot-link header files... found at /usr/local/include
checking for pilot library files... found at /usr/local/lib
checking for main in -lsocket... no
checking to see if I can compile a pilot link program... ok
checking running a pilot-link program ... ok
checking pilot-link version ... 0.10.0 or newer... USB will be enabled
[...]
GTK2 support enabled by configure options
checking for pkg-config... /usr/local/bin/pkg-config
checking for GTK+ - version >= 2.0.3... yes (version 2.4.3)
[...]
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: executing default-2 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile

This package is configured for the following features:
------------------------------------------------------
Compiling Expense plugin...............   yes
Compiling SyncTime plugin..............   yes
Compiling KeyRing plugin...............   yes
Compiling with private record support..   yes
Compiling with Datebk support..........   yes
Compiling with plugin support..........   yes
Compiling with Maņana support..........   yes
Compiling with Prometheon support......   no
GTK-2 support..........................   yes
Compiler Options.......................   -O -pipe -march=pentiumpro -I/usr/local/include  -I/usr/local/include 
Prefix directory.......................   /usr/local
pilot-link headers.....................   /usr/local/include
NLS support (foreign languages)........   yes
USB support enabled....................   yes
dialer support.........................   no
Pilot-link version found...............   0.11.8

Now type make to compile
</snip>

My /usr/ports is keep in sync with cvsup (every morning at 9 a clock local
time). This error is since a few days. I've not found any general bug
(jpilot.org & google) or a PR. Because my C experiences (or better knowledge)
not so good my playing around in source files has not lead to success.

The maintainer of jpilot referred to this list, because he had no 4.10 release
to test. 

I hope I have insert all relevant information, if not I will give it later
please let me know).

Regards,
Alex



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