pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/45838: databases/libgda needs --with-oracle=no



>Number:         45838
>Category:       pkg
>Synopsis:       databases/libgda needs --with-oracle=no
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 15 16:30:00 +0000 2012
>Originator:     B.ICT A.P. deBROUWER Jr.
>Release:        5.99.59
>Organization:
-none-
>Environment:
NetBSD 10.0.2.17 5.99.59 NetBSD 5.99.59 (MONOLITHIC) #0: Tue Dec 27 01:19:12 
UTC 2011  
builds%b8.netbsd.org@localhost:/home/builds/ab/HEAD/i386/201112261820Z-obj/home/builds/ab/HEAD/src/sys/arch/i386/compile/MONOLITHIC
 i386
>Description:
databases/libgda thinks it has to build for oracle too:

libtool: compile:  gcc "-DPACKAGE_NAME=\"GNU Data Access\"" 
-DPACKAGE_TARNAME=\"libgda\" -DPACKAGE_VERSION=\"3.0.1\" 
"-DPACKAGE_STRING=\"GNU Data Access 3.0.1\"" 
-DPACKAGE_BUGREPORT=\"gnome-db-list%gnome.org@localhost\" 
-DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=\"libgda-3.0\" -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_MEMORY_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-3.0\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 
-DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 
-DENABLE_NLS=1 -DHAVE_ORACLE=1 -DHAVE_READLINE_READLINE_H=1 
-DHAVE_READLINE_HISTORY_H=1 -I. -I../.. -pthread 
-I/obj/databases/libgda/work/.buildlink/include/glib/glib-2.0 
-I/obj/databases/libgda/work/.buildlink/lib/glib-2.0/include 
-I/obj/databases/libgda/work/.buildlink/include/libxml2 
-I/obj/databases/libgda/work/.buildlink/emul/linux/usr/lib/oracle/xe/app/ora
 cle/product/10.2.0/server/include/oracle/client 
-I/obj/databases/libgda/work/.buildlink/emul/linux/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/demo
 
-I/obj/databases/libgda/work/.buildlink/emul/linux/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/public
 
-I/obj/databases/libgda/work/.buildlink/emul/linux/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/plsql/public
 
-I/obj/databases/libgda/work/.buildlink/emul/linux/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/public
 -DLIBGDA_DATA_DIR=\"/usr/pkg/share/libgda-3.0\" 
-I/obj/databases/libgda/work/.buildlink/include -O2 -MT gda-oracle-blob-op.lo 
-MD -MP -MF .deps/gda-oracle-blob-op.Tpo -c gda-oracle-blob-op.c  -fPIC -DPIC 
-o .libs/gda-oracle-blob-op.o

In file included from gda-oracle.h:39:0,

                 from gda-oracle-blob-op.c:25:

gda-oracle-provider.h:27:17: fatal error: oci.h: No such file or directory

compilation terminated.

gmake[2]: *** [gda-oracle-blob-op.lo] Error 1

gmake[2]: Leaving directory 
`/obj/databases/libgda/work/libgda-3.0.1/providers/oracle'

gmake[1]: *** [all-recursive] Error 1

gmake[1]: Leaving directory `/obj/databases/libgda/work/libgda-3.0.1/providers'

gmake: *** [all-recursive] Error 1

*** Error code 2


>How-To-Repeat:
cd databases/libgda && make
>Fix:
an extra configure argument in databases/libgda/Makefile

--- Makefile.orig       2012-01-15 18:26:11.000000000 +0000
+++ Makefile    2012-01-15 18:41:44.000000000 +0000
@@ -15,7 +15,7 @@
 EGDIR=                 ${PREFIX}/share/examples/libgda-3.0
 CONF_FILES+=           ${EGDIR}/config ${PKG_SYSCONFDIR}/config
 
-CONFIGURE_ARGS+=       --with-odbc=no --with-bdb=no
+CONFIGURE_ARGS+=       --with-odbc=no --with-bdb=no --with-oracle=no
 
 TEST_TARGET=           check
 



Home | Main Index | Thread Index | Old Index