Date: Mon, 24 Mar 2014 16:14:42 GMT From: Mitch <mitch911@free.fr> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/187902: Error compil libdbi-drivers #346970 Message-ID: <201403241614.s2OGEgJY010334@cgiserv.freebsd.org> Resent-Message-ID: <201403241620.s2OGK0MP014830@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 187902 >Category: ports >Synopsis: Error compil libdbi-drivers #346970 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Mar 24 16:20:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Mitch >Release: 8.4 >Organization: >Environment: FreeBSD WebBSD 8.4-RELEASE-p7 FreeBSD 8.4-RELEASE-p7 #0: Sat Jan 11 01:45:47 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Error when I want compil libdbi-drivers: ===> Building for libdbi-drivers-0.9.0 gmake all-recursive gmake[1]: Entering directory `/usr/ports/databases/libdbi-drivers/work/libdbi-drivers-0.9.0' Making all in drivers gmake[2]: Entering directory `/usr/ports/databases/libdbi-drivers/work/libdbi-drivers-0.9.0/drivers' Making all in mysql gmake[3]: Entering directory `/usr/ports/databases/libdbi-drivers/work/libdbi-drivers-0.9.0/drivers/mysql' /bin/sh /usr/local/bin/libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I/usr/local/include/dbi -I/usr/local/include/mysql -std=gnu99 -O2 -pipe -fno-strict-aliasing -MT dbd_mysql.lo -MD -MP -MF .deps/dbd_mysql.Tpo -c -o dbd_mysql.lo dbd_mysql.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I/usr/local/include/dbi -I/usr/local/include/mysql -std=gnu99 -O2 -pipe -fno-strict-aliasing -MT dbd_mysql.lo -MD -MP -MF .deps/dbd_mysql.Tpo -c dbd_mysql.c -fPIC -DPIC -o .libs/dbd_mysql.o dbd_mysql.c:50:21: error: dbi/dbi.h: No such file or directory dbd_mysql.c:51:25: error: dbi/dbi-dev.h: No such file or directory dbd_mysql.c:52:21: error: dbi/dbd.h: No such file or directory dbd_mysql.c:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'driver_info' dbd_mysql.c:112: error: expected ')' before '*' token dbd_mysql.c:113: error: expected ')' before '*' token dbd_mysql.c:117: warning: type defaults to 'int' in declaration of 'dbi_info_t' dbd_mysql.c:117: error: expected ';', ',' or ')' before '*' token dbd_mysql.c:124: error: expected ')' before '*' token dbd_mysql.c:145: error: expected ')' before '*' token dbd_mysql.c:158: error: expected ')' before '*' token dbd_mysql.c:248: error: expected ')' before '*' token dbd_mysql.c:253: error: expected ')' before '*' token dbd_mysql.c:268: error: expected ')' before '*' token dbd_mysql.c:273: error: expected ')' before '*' token dbd_mysql.c:284: error: expected ')' before '*' token dbd_mysql.c:289: error: expected ')' before '*' token dbd_mysql.c:437: error: expected ')' before '*' token dbd_mysql.c:458: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token dbd_mysql.c:473: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token dbd_mysql.c:495: error: expected ')' before '*' token dbd_mysql.c:506: error: expected ')' before '*' token dbd_mysql.c:518: error: expected ')' before '*' token dbd_mysql.c:537: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token dbd_mysql.c:575: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token dbd_mysql.c:597: error: expected ')' before '*' token dbd_mysql.c:606: error: expected ')' before '*' token dbd_mysql.c:615: error: expected ')' before '*' token dbd_mysql.c:624: error: expected ')' before '*' token dbd_mysql.c:643: error: expected ')' before '*' token dbd_mysql.c:662: error: expected ')' before '*' token dbd_mysql.c:681: error: expected ')' before '*' token dbd_mysql.c:694: error: expected ')' before '*' token dbd_mysql.c:707: error: expected ')' before '*' token dbd_mysql.c:711: error: expected ')' before '*' token dbd_mysql.c:715: error: expected ')' before '*' token dbd_mysql.c: In function '_translate_mysql_type': dbd_mysql.c:734: error: 'DBI_TYPE_INTEGER' undeclared (first use in this function) dbd_mysql.c:734: error: (Each undeclared identifier is reported only once dbd_mysql.c:734: error: for each function it appears in.) dbd_mysql.c:735: error: 'DBI_INTEGER_SIZE1' undeclared (first use in this function) dbd_mysql.c:738: error: 'DBI_INTEGER_UNSIGNED' undeclared (first use in this function) dbd_mysql.c:741: error: 'DBI_INTEGER_SIZE2' undeclared (first use in this function) dbd_mysql.c:745: error: 'DBI_INTEGER_SIZE3' undeclared (first use in this function) dbd_mysql.c:749: error: 'DBI_INTEGER_SIZE4' undeclared (first use in this function) dbd_mysql.c:757: error: 'DBI_INTEGER_SIZE8' undeclared (first use in this function) dbd_mysql.c:761: error: 'DBI_TYPE_DECIMAL' undeclared (first use in this function) dbd_mysql.c:762: error: 'DBI_DECIMAL_SIZE4' undeclared (first use in this function) dbd_mysql.c:766: error: 'DBI_DECIMAL_SIZE8' undeclared (first use in this function) dbd_mysql.c:770: error: 'DBI_TYPE_DATETIME' undeclared (first use in this function) dbd_mysql.c:771: error: 'DBI_DATETIME_DATE' undeclared (first use in this function) dbd_mysql.c:775: error: 'DBI_DATETIME_TIME' undeclared (first use in this function) dbd_mysql.c:791: error: 'DBI_TYPE_BINARY' undeclared (first use in this function) dbd_mysql.c:802: error: 'DBI_TYPE_STRING' undeclared (first use in this function) dbd_mysql.c: At top level: dbd_mysql.c:810: error: expected ')' before '*' token dbd_mysql.c:827: error: expected ')' before '*' token gmake[3]: *** [dbd_mysql.lo] Error 1 gmake[3]: Leaving directory `/usr/ports/databases/libdbi-drivers/work/libdbi-drivers-0.9.0/drivers/mysql' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/databases/libdbi-drivers/work/libdbi-drivers-0.9.0/drivers' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/databases/libdbi-drivers/work/libdbi-drivers-0.9.0' gmake: *** [all] Error 2 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop in /usr/ports/databases/libdbi-drivers. *** Error code 1 Stop in /usr/ports/databases/libdbi-drivers. >How-To-Repeat: root@WebBSD:/usr/ports/databases/libdbi-drivers# make install >Fix: In the Makefile: #17 --with-dbi-incdir=${LOCALBASE}/include/dbi To fix: #17 --with-dbi-incdir=${LOCALBASE}/include/ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403241614.s2OGEgJY010334>