[MacPorts] #19425: Add libdbi port

MacPorts noreply at macports.org
Wed May 20 23:05:24 PDT 2009


#19425: Add libdbi port
---------------------------+------------------------------------------------
 Reporter:  mta@…          |       Owner:  macports-tickets@…                   
     Type:  submission     |      Status:  new                                  
 Priority:  Normal         |   Milestone:                                       
Component:  ports          |     Version:  1.7.1                                
 Keywords:                 |        Port:  libdbi libdbi-drivers                
---------------------------+------------------------------------------------

Comment(by blb@…):

 +sqlite3 looks good, but trying +postgresql83 appears to need to be told
 how to find the headers:
 {{{
  /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include
 -I/mp/include -I/mp/include -I/mp/include -O20 -D__NO_MATH_INLINES
 -fsigned-char -MT dbd_pgsql.lo -MD -MP -MF .deps/dbd_pgsql.Tpo -c
 dbd_pgsql.c  -fno-common -DPIC -o .libs/dbd_pgsql.o
 dbd_pgsql.c:56:22: error: libpq-fe.h: No such file or directory
 dbd_pgsql.c: In function '_dbd_real_connect':
 dbd_pgsql.c:156: error: 'PGconn' undeclared (first use in this function)
 dbd_pgsql.c:156: error: (Each undeclared identifier is reported only once
 dbd_pgsql.c:156: error: for each function it appears in.)
 dbd_pgsql.c:156: error: 'pgconn' undeclared (first use in this function)
 dbd_pgsql.c:217: error: 'CONNECTION_BAD' undeclared (first use in this
 function)
 ...
 }}}
 Similar issue with +mysql5:
 {{{
  /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include
 -I/mp/include -I/mp/include -I/mp/include -O20 -D__NO_MATH_INLINES
 -fsigned-char -MT dbd_mysql.lo -MD -MP -MF .deps/dbd_mysql.Tpo -c
 dbd_mysql.c  -fno-common -DPIC -o .libs/dbd_mysql.o
 dbd_mysql.c:54:25: error: mysql/mysql.h: No such file or directory
 dbd_mysql.c:111: error: syntax error before '*' token
 dbd_mysql.c: In function 'dbd_connect':
 dbd_mysql.c:134: error: 'MYSQL' undeclared (first use in this function)
 dbd_mysql.c:134: error: (Each undeclared identifier is reported only once
 dbd_mysql.c:134: error: for each function it appears in.)
 dbd_mysql.c:134: error: 'mycon' undeclared (first use in this function)
 dbd_mysql.c:149: error: 'CLIENT_COMPRESS' undeclared (first use in this
 function)
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/19425#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list