Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Apr 2014 18:34:15 GMT
From:      Holger Freyther <holger@freyther.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/188527: libdbi-drivers fails to build on FreeBSD 10.0
Message-ID:  <201404121834.s3CIYFMb017403@cgiserv.freebsd.org>
Resent-Message-ID: <201404121840.s3CIe17F066236@freefall.freebsd.org>

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

>Number:         188527
>Category:       ports
>Synopsis:       libdbi-drivers fails to build on FreeBSD 10.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 12 18:40:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Holger Freyther
>Release:        releng/10.0
>Organization:
>Environment:
FreeBSD  10.0-RELEASE-p1 FreeBSD 10.0-RELEASE-p1 #14 5464d00(10-releng)-dirty: Sat Apr 12 05:49:26 UTC 2014
>Description:
libdbi-drivers can not be built. It fails that dbi/dbi.h can not be found. -I/usr/local/include does not appear to be in the command line:


gmake[6]: Entering directory `/var/ports/basejail/usr/ports/databases/libdbi-drivers/work/libdbi-drivers-0.9.0/drivers/sqlite3'
/bin/sh /usr/local/bin/libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I/usr/local/include/dbi  -DDBDIR=\"/usr/local/var/lib/libdbi/sqlite3\"   -std=gnu99 -O2 -pipe -fno-strict-aliasing -MT dbd_sqlite3.lo -MD -MP -MF .deps/dbd_sqlite3.Tpo -c -o dbd_sqlite3.lo dbd_sqlite3.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I/usr/local/include/dbi -DDBDIR=\"/usr/local/var/lib/libdbi/sqlite3\" -std=gnu99 -O2 -pipe -fno-strict-aliasing -MT dbd_sqlite3.lo -MD -MP -MF .deps/dbd_sqlite3.Tpo -c dbd_sqlite3.c  -fPIC -DPIC -o .libs/dbd_sqlite3.o
dbd_sqlite3.c:56:10: fatal error: 'dbi/dbi.h' file not found
#include <dbi/dbi.h>
         ^
1 error generated.
gmake[6]: *** [dbd_sqlite3.lo] Error 1
gmake[6]: Leaving directory `/var/ports/basejail/usr/ports/databases/libdbi-drivers/work/libdbi-drivers-0.9.0/drivers/sqlite3'
gmake[5]: *** [all-recursive] Error 1
gmake[5]: Leaving directory `/var/ports/basejail/usr/ports/databases/libdbi-drivers/work/libdbi-drivers-0.9.0/drivers'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory `/var/ports/basejail/usr/ports/databases/libdbi-drivers/work/libdbi-drivers-0.9.0'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory `/var/ports/basejail/usr/ports/databases/libdbi-drivers/work/libdbi-drivers-0.9.0'
>How-To-Repeat:
make -C /usr/ports/databases/libdbi-drivers install
>Fix:
Patch the code to include dbi.h only or make sure -I/usr/local/include  is in the compiler flags

>Release-Note:
>Audit-Trail:
>Unformatted:



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