From owner-freebsd-ports@FreeBSD.ORG Sun Nov 7 17:45:14 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5DC0D16A4CE for ; Sun, 7 Nov 2004 17:45:14 +0000 (GMT) Received: from mail-gw1.sa.eol.hu (mail-gw1.sa.eol.hu [212.108.200.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 49BFB43D45 for ; Sun, 7 Nov 2004 17:45:11 +0000 (GMT) (envelope-from pczanik@fang.fa.gau.hu) Received: from [81.0.85.74] (a0836.adsl.pool.eol.hu [81.0.85.74]) by mail-gw1.sa.eol.hu (mu) with ESMTP id iA7Hj7sY017401 for ; Sun, 7 Nov 2004 18:45:08 +0100 Message-ID: <418E5F20.6060904@fang.fa.gau.hu> Date: Sun, 07 Nov 2004 18:45:04 +0100 From: Peter Czanik User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Subject: libgda2 and firebird X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Nov 2004 17:45:14 -0000 Hello, I did cvsup and tried to compile a new system from the ground up. I compiled gnome2-office, which has gnumeric, and this has the dependency of port databases/libgda2. Part of this port seems to be broken. When firebird is installed, it tries to support it automagically, but it does not compile: " ... cc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libgda\" -DVERSION=\"1.0.4\" -DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=\"libgda-2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMOR Y_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1 -DGETTEXT_PACKAGE=\"libgda-2\" -DHAVE_LO CALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -DHAVE_MYSQL=1 -DHAVE_POSTGRES=1 -DHAVE_FIR EBIRD=1 -DHAVE_LDAP=1 -DHAVE_POPT_H=1 -DHAVE_READLINE_READLINE_H=1 -DHAVE_READLINE_HISTORY_H=1 -I. -I. -I../.. -I../.. -D_REENTRANT -I/usr/local/include/glib -2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/firebird/include -I/usr/local/include -O -pipe -Wall -W missing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -MT gda-firebird-provider.lo -MD -MP -MF .deps/gda-firebird-provider.Tpo -c gda-firebir d-provider.c -fPIC -DPIC -o .libs/gda-firebird-provider.o gda-firebird-provider.c: In function `gda_firebird_provider_open_connection': gda-firebird-provider.c:185: warning: assignment discards qualifiers from pointer target type gda-firebird-provider.c:192: warning: assignment discards qualifiers from pointer target type gda-firebird-provider.c:194: warning: assignment discards qualifiers from pointer target type gda-firebird-provider.c:197: warning: assignment discards qualifiers from pointer target type gda-firebird-provider.c:199: warning: assignment discards qualifiers from pointer target type gda-firebird-provider.c:209: warning: implicit declaration of function `strlen' gda-firebird-provider.c:209: warning: nested extern declaration of `strlen' gda-firebird-provider.c: In function `run_sql': gda-firebird-provider.c:345: warning: implicit declaration of function `gda_firebird_recordset_new' gda-firebird-provider.c:345: warning: nested extern declaration of `gda_firebird_recordset_new' gda-firebird-provider.c:345: warning: assignment makes pointer from integer without a cast gda-firebird-provider.c: In function `gda_firebird_provider_execute_command': gda-firebird-provider.c:372: warning: implicit declaration of function `gda_firebird_command_get_transaction' gda-firebird-provider.c:372: warning: nested extern declaration of `gda_firebird_command_get_transaction' gda-firebird-provider.c:372: warning: assignment makes pointer from integer without a cast gda-firebird-provider.c:387: warning: enumeration value `GDA_COMMAND_TYPE_XML' not handled in switch gda-firebird-provider.c:387: warning: enumeration value `GDA_COMMAND_TYPE_PROCEDURE' not handled in switch gda-firebird-provider.c:387: warning: enumeration value `GDA_COMMAND_TYPE_TABLE' not handled in switch gda-firebird-provider.c:387: warning: enumeration value `GDA_COMMAND_TYPE_SCHEMA' not handled in switch gda-firebird-provider.c:387: warning: enumeration value `GDA_COMMAND_TYPE_INVALID' not handled in switch gda-firebird-provider.c: At top level: gda-firebird-provider.c:552: warning: no previous prototype for 'gda_firebird_command_get_transaction' gda-firebird-provider.c:552: error: conflicting types for 'gda_firebird_command_get_transaction' gda-firebird-provider.c:372: error: previous implicit declaration of 'gda_firebird_command_get_transaction' was here gmake[2]: *** [gda-firebird-provider.lo] Error 1 gmake[2]: Leaving directory `/usr/tmp/usr/ports/databases/libgda2/work/libgda-1.0.4/providers/firebird' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/tmp/usr/ports/databases/libgda2/work/libgda-1.0.4/providers' gmake: *** [all-recursive] Error 1 *** Error code 2 " The other half of the problem is, that the WITHOUT_FIREBIRD Makefile option does not work. The reason is pretty simple: .if !defined(WITHOUT_FIREBIRD) && defined(WITH_FIREBIRD) LIB_DEPENDS+= gds.1:${PORTSDIR}/databases/firebird CONFIGURE_ARGS+= --with-firebird=${LOCALBASE}/firebird PLIST_SUB+= FIREBIRD:="" .else CONFIGURE_ARGS+= --without-interbase PLIST_SUB+= FIREBIRD:="@comment " .endif It should read --without-firebird instead of --without-interbase in the else portion of firebird related options. Bye, Peter