Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Mar 2003 22:48:36 -0600
From:      Shawn Yeager <shawn@shawnyeager.com>
To:        skv@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   Re: FreeBSD Port: p5-DBD-mysql-2.1024
Message-ID:  <365FE364-5A8F-11D7-A948-000A95682EB0@shawnyeager.com>
In-Reply-To: <916BF42F-405C-11D7-887D-000A95682EB0@shawnyeager.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I never heard back on this, and I'm seeing the same problem with 
2.1026. Please advise, as this has crippled a key function of my system.

Thanks,
Shawn

On Friday, February 14, 2003, at 02:40 PM, Shawn Yeager wrote:

> Hi. When attempting to build p5-DBD-mysql-2.1024 on a FreeBSD 
> 4.6.2-RELEASE system, I'm receiving the errors that are at the tail of 
> this message.
>
> Thanks,
>
> Shawn
>
> -- 
>
>    web: http://algorhythm.org  |  v/f: 630.689.4031
> jabber: shawn@shawnyeager.com  |  pgp: http://shawnyeager.com/key
>
>
>
> ===>  Building for p5-DBD-mysql-2.1024
> cc -c -I/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/DBI 
> -I'/usr/local/include' -O -pipe      -DVERSION=\"2.1024\"  
> -DXS_VERSION=\"2.1024\" -DPIC -fpic 
> -I/usr/libdata/perl/5.00503/mach/CORE  dbdimp.c
> In file included from dbdimp.c:29:
> dbdimp.h:31: mysql.h: No such file or directory
> dbdimp.h:32: errmsg.h: No such file or directory
> In file included from dbdimp.c:29:
> dbdimp.h:116: syntax error before `MYSQL'
> dbdimp.h:151: syntax error before `MYSQL_RES'
> In file included from dbdimp.c:29:
> dbdimp.h:201: syntax error before `*'
> dbdimp.h:204: syntax error before `MYSQL_RES'
> dbdimp.h:208: syntax error before `*'
> dbdimp.h:208: syntax error before `*'
> dbdimp.h:209: warning: data definition has no type or storage class
> dbdimp.c:128: syntax error before `*'
> dbdimp.c: In function `ParseParam':
> dbdimp.c:137: `slenPtr' undeclared (first use in this function)
> dbdimp.c:137: (Each undeclared identifier is reported only once
> dbdimp.c:137: for each function it appears in.)
> dbdimp.c:139: `numParams' undeclared (first use in this function)
> dbdimp.c:143: `statement' undeclared (first use in this function)
> dbdimp.c:153: `params' undeclared (first use in this function)
> dbdimp.c:252: `sock' undeclared (first use in this function)
> dbdimp.c:186: warning: unreachable code at beginning of switch 
> statement
> dbdimp.c: At top level:
> dbdimp.c:307: `FIELD_TYPE_VAR_STRING' undeclared here (not in a 
> function)
> dbdimp.c:307: initializer element is not constant
> dbdimp.c:307: (near initialization for 
> `SQL_GET_TYPE_INFO_values[0].native_type')
> dbdimp.c:312: `FIELD_TYPE_DECIMAL' undeclared here (not in a function)
> dbdimp.c:312: initializer element is not constant
> dbdimp.c:312: (near initialization for 
> `SQL_GET_TYPE_INFO_values[1].native_type')
> dbdimp.c:317: `FIELD_TYPE_TINY' undeclared here (not in a function)
> dbdimp.c:317: initializer element is not constant
> dbdimp.c:317: (near initialization for 
> `SQL_GET_TYPE_INFO_values[2].native_type')
> dbdimp.c:322: `FIELD_TYPE_SHORT' undeclared here (not in a function)
> dbdimp.c:322: initializer element is not constant
> dbdimp.c:322: (near initialization for 
> `SQL_GET_TYPE_INFO_values[3].native_type')
> dbdimp.c:327: `FIELD_TYPE_LONG' undeclared here (not in a function)
> dbdimp.c:327: initializer element is not constant
> dbdimp.c:327: (near initialization for 
> `SQL_GET_TYPE_INFO_values[4].native_type')
> dbdimp.c:332: `FIELD_TYPE_FLOAT' undeclared here (not in a function)
> dbdimp.c:332: initializer element is not constant
> dbdimp.c:332: (near initialization for 
> `SQL_GET_TYPE_INFO_values[5].native_type')
> dbdimp.c:337: `FIELD_TYPE_DOUBLE' undeclared here (not in a function)
> dbdimp.c:337: initializer element is not constant
> dbdimp.c:337: (near initialization for 
> `SQL_GET_TYPE_INFO_values[6].native_type')
> dbdimp.c:345: `FIELD_TYPE_TIMESTAMP' undeclared here (not in a 
> function)
> dbdimp.c:345: initializer element is not constant
> dbdimp.c:345: (near initialization for 
> `SQL_GET_TYPE_INFO_values[7].native_type')
> dbdimp.c:350: `FIELD_TYPE_LONGLONG' undeclared here (not in a function)
> dbdimp.c:350: initializer element is not constant
> dbdimp.c:350: (near initialization for 
> `SQL_GET_TYPE_INFO_values[8].native_type')
> dbdimp.c:355: `FIELD_TYPE_INT24' undeclared here (not in a function)
> dbdimp.c:355: initializer element is not constant
> dbdimp.c:355: (near initialization for 
> `SQL_GET_TYPE_INFO_values[9].native_type')
> dbdimp.c:360: `FIELD_TYPE_DATE' undeclared here (not in a function)
> dbdimp.c:360: initializer element is not constant
> dbdimp.c:360: (near initialization for 
> `SQL_GET_TYPE_INFO_values[10].native_type')
> dbdimp.c:365: `FIELD_TYPE_TIME' undeclared here (not in a function)
> dbdimp.c:365: initializer element is not constant
> dbdimp.c:365: (near initialization for 
> `SQL_GET_TYPE_INFO_values[11].native_type')
> dbdimp.c:370: `FIELD_TYPE_DATETIME' undeclared here (not in a function)
> dbdimp.c:370: initializer element is not constant
> dbdimp.c:370: (near initialization for 
> `SQL_GET_TYPE_INFO_values[12].native_type')
> dbdimp.c:375: `FIELD_TYPE_YEAR' undeclared here (not in a function)
> dbdimp.c:375: initializer element is not constant
> dbdimp.c:375: (near initialization for 
> `SQL_GET_TYPE_INFO_values[13].native_type')
> dbdimp.c:380: `FIELD_TYPE_NEWDATE' undeclared here (not in a function)
> dbdimp.c:380: initializer element is not constant
> dbdimp.c:380: (near initialization for 
> `SQL_GET_TYPE_INFO_values[14].native_type')
> dbdimp.c:385: `FIELD_TYPE_ENUM' undeclared here (not in a function)
> dbdimp.c:385: initializer element is not constant
> dbdimp.c:385: (near initialization for 
> `SQL_GET_TYPE_INFO_values[15].native_type')
> dbdimp.c:390: `FIELD_TYPE_SET' undeclared here (not in a function)
> dbdimp.c:390: initializer element is not constant
> dbdimp.c:390: (near initialization for 
> `SQL_GET_TYPE_INFO_values[16].native_type')
> dbdimp.c:395: `FIELD_TYPE_BLOB' undeclared here (not in a function)
> dbdimp.c:395: initializer element is not constant
> dbdimp.c:395: (near initialization for 
> `SQL_GET_TYPE_INFO_values[17].native_type')
> dbdimp.c:400: `FIELD_TYPE_TINY_BLOB' undeclared here (not in a 
> function)
> dbdimp.c:400: initializer element is not constant
> dbdimp.c:400: (near initialization for 
> `SQL_GET_TYPE_INFO_values[18].native_type')
> dbdimp.c:405: `FIELD_TYPE_MEDIUM_BLOB' undeclared here (not in a 
> function)
> dbdimp.c:405: initializer element is not constant
> dbdimp.c:405: (near initialization for 
> `SQL_GET_TYPE_INFO_values[19].native_type')
> dbdimp.c:410: `FIELD_TYPE_LONG_BLOB' undeclared here (not in a 
> function)
> dbdimp.c:410: initializer element is not constant
> dbdimp.c:410: (near initialization for 
> `SQL_GET_TYPE_INFO_values[20].native_type')
> dbdimp.c:415: `FIELD_TYPE_STRING' undeclared here (not in a function)
> dbdimp.c:415: initializer element is not constant
> dbdimp.c:415: (near initialization for 
> `SQL_GET_TYPE_INFO_values[21].native_type')
> dbdimp.c:421: `FIELD_TYPE_DECIMAL' undeclared here (not in a function)
> dbdimp.c:421: initializer element is not constant
> dbdimp.c:421: (near initialization for 
> `SQL_GET_TYPE_INFO_values[22].native_type')
> dbdimp.c:431: `FIELD_TYPE_TINY' undeclared here (not in a function)
> dbdimp.c:431: initializer element is not constant
> dbdimp.c:431: (near initialization for 
> `SQL_GET_TYPE_INFO_values[23].native_type')
> dbdimp.c:435: `FIELD_TYPE_SHORT' undeclared here (not in a function)
> dbdimp.c:435: initializer element is not constant
> dbdimp.c:435: (near initialization for 
> `SQL_GET_TYPE_INFO_values[24].native_type')
> dbdimp.c:439: `FIELD_TYPE_INT24' undeclared here (not in a function)
> dbdimp.c:439: initializer element is not constant
> dbdimp.c:439: (near initialization for 
> `SQL_GET_TYPE_INFO_values[25].native_type')
> dbdimp.c:443: `FIELD_TYPE_LONG' undeclared here (not in a function)
> dbdimp.c:443: initializer element is not constant
> dbdimp.c:443: (near initialization for 
> `SQL_GET_TYPE_INFO_values[26].native_type')
> dbdimp.c:447: `FIELD_TYPE_LONG' undeclared here (not in a function)
> dbdimp.c:447: initializer element is not constant
> dbdimp.c:447: (near initialization for 
> `SQL_GET_TYPE_INFO_values[27].native_type')
> dbdimp.c:451: `FIELD_TYPE_LONG' undeclared here (not in a function)
> dbdimp.c:451: initializer element is not constant
> dbdimp.c:451: (near initialization for 
> `SQL_GET_TYPE_INFO_values[28].native_type')
> dbdimp.c:455: `FIELD_TYPE_LONGLONG' undeclared here (not in a function)
> dbdimp.c:455: initializer element is not constant
> dbdimp.c:455: (near initialization for 
> `SQL_GET_TYPE_INFO_values[29].native_type')
> dbdimp.c:459: `FIELD_TYPE_BLOB' undeclared here (not in a function)
> dbdimp.c:459: initializer element is not constant
> dbdimp.c:459: (near initialization for 
> `SQL_GET_TYPE_INFO_values[30].native_type')
> dbdimp.c:463: `FIELD_TYPE_MEDIUM_BLOB' undeclared here (not in a 
> function)
> dbdimp.c:463: initializer element is not constant
> dbdimp.c:463: (near initialization for 
> `SQL_GET_TYPE_INFO_values[31].native_type')
> dbdimp.c: In function `native2sql':
> dbdimp.c:470: `FIELD_TYPE_VAR_STRING' undeclared (first use in this 
> function)
> dbdimp.c:471: `FIELD_TYPE_DECIMAL' undeclared (first use in this 
> function)
> dbdimp.c:472: `FIELD_TYPE_TINY' undeclared (first use in this function)
> dbdimp.c:473: `FIELD_TYPE_SHORT' undeclared (first use in this 
> function)
> dbdimp.c:474: `FIELD_TYPE_LONG' undeclared (first use in this function)
> dbdimp.c:475: `FIELD_TYPE_FLOAT' undeclared (first use in this 
> function)
> dbdimp.c:476: `FIELD_TYPE_DOUBLE' undeclared (first use in this 
> function)
> dbdimp.c:477: `FIELD_TYPE_TIMESTAMP' undeclared (first use in this 
> function)
> dbdimp.c:478: `FIELD_TYPE_LONGLONG' undeclared (first use in this 
> function)
> dbdimp.c:479: `FIELD_TYPE_INT24' undeclared (first use in this 
> function)
> dbdimp.c:480: `FIELD_TYPE_DATE' undeclared (first use in this function)
> dbdimp.c:481: `FIELD_TYPE_TIME' undeclared (first use in this function)
> dbdimp.c:482: `FIELD_TYPE_DATETIME' undeclared (first use in this 
> function)
> dbdimp.c:483: `FIELD_TYPE_YEAR' undeclared (first use in this function)
> dbdimp.c:484: `FIELD_TYPE_NEWDATE' undeclared (first use in this 
> function)
> dbdimp.c:485: `FIELD_TYPE_ENUM' undeclared (first use in this function)
> dbdimp.c:486: `FIELD_TYPE_SET' undeclared (first use in this function)
> dbdimp.c:487: `FIELD_TYPE_BLOB' undeclared (first use in this function)
> dbdimp.c:488: `FIELD_TYPE_TINY_BLOB' undeclared (first use in this 
> function)
> dbdimp.c:489: `FIELD_TYPE_MEDIUM_BLOB' undeclared (first use in this 
> function)
> dbdimp.c:490: `FIELD_TYPE_LONG_BLOB' undeclared (first use in this 
> function)
> dbdimp.c:491: `FIELD_TYPE_STRING' undeclared (first use in this 
> function)
> dbdimp.c:470: warning: unreachable code at beginning of switch 
> statement
> dbdimp.c: At top level:
> dbdimp.c:590: syntax error before `*'
> dbdimp.c:590: syntax error before `*'
> dbdimp.c: In function `mysql_dr_connect':
> dbdimp.c:594: `MYSQL' undeclared (first use in this function)
> dbdimp.c:594: `result' undeclared (first use in this function)
> dbdimp.c:596: `host' undeclared (first use in this function)
> dbdimp.c:597: `port' undeclared (first use in this function)
> dbdimp.c:602: `user' undeclared (first use in this function)
> dbdimp.c:603: `password' undeclared (first use in this function)
> dbdimp.c:619: `sock' undeclared (first use in this function)
> dbdimp.c:621: `imp_dbh' undeclared (first use in this function)
> dbdimp.c:636: `MYSQL_OPT_COMPRESS' undeclared (first use in this 
> function)
> dbdimp.c:645: `MYSQL_OPT_CONNECT_TIMEOUT' undeclared (first use in 
> this function)
> dbdimp.c:656: `MYSQL_READ_DEFAULT_FILE' undeclared (first use in this 
> function)
> dbdimp.c:666: `MYSQL_READ_DEFAULT_GROUP' undeclared (first use in this 
> function)
> dbdimp.c:671: `CLIENT_FOUND_ROWS' undeclared (first use in this 
> function)
> dbdimp.c:732: `dbname' undeclared (first use in this function)
> dbdimp.c:733: `unixSocket' undeclared (first use in this function)
> dbdimp.c: In function `_MyLogin':
> dbdimp.c:813: structure has no member named `mysql'
> dbdimp.c: In function `mysql_db_login':
> dbdimp.c:850: structure has no member named `mysql'
> dbdimp.c:851: structure has no member named `mysql'
> dbdimp.c:851: warning: passing arg 3 of `mysql_dr_error' makes pointer 
> from integer without a cast
> dbdimp.c: In function `mysql_db_commit':
> dbdimp.c:894: structure has no member named `mysql'
> dbdimp.c:895: structure has no member named `mysql'
> dbdimp.c:896: structure has no member named `mysql'
> dbdimp.c:896: warning: passing arg 3 of `mysql_dr_error' makes pointer 
> from integer without a cast
> dbdimp.c: In function `mysql_db_rollback':
> dbdimp.c:915: structure has no member named `mysql'
> dbdimp.c:916: structure has no member named `mysql'
> dbdimp.c:917: structure has no member named `mysql'
> dbdimp.c:917: warning: passing arg 3 of `mysql_dr_error' makes pointer 
> from integer without a cast
> dbdimp.c: In function `mysql_db_disconnect':
> dbdimp.c:952: structure has no member named `mysql'
> dbdimp.c:953: structure has no member named `mysql'
> dbdimp.c: In function `mysql_db_destroy':
> dbdimp.c:1016: structure has no member named `mysql'
> dbdimp.c: In function `mysql_db_STORE_attrib':
> dbdimp.c:1060: structure has no member named `mysql'
> dbdimp.c:1064: structure has no member named `mysql'
> dbdimp.c:1074: structure has no member named `mysql'
> dbdimp.c: At top level:
> dbdimp.c:1121: syntax error before `val'
> dbdimp.c: In function `my_ulonglong2str':
> dbdimp.c:1122: `val' undeclared (first use in this function)
> dbdimp.c: In function `mysql_db_FETCH_attrib':
> dbdimp.c:1162: structure has no member named `mysql'
> dbdimp.c:1164: structure has no member named `mysql'
> dbdimp.c:1164: warning: initialization makes pointer from integer 
> without a cast
> dbdimp.c:1165: warning: passing arg 1 of `Perl_newSVpv' discards 
> qualifiers from pointer target type
> dbdimp.c:1168: structure has no member named `mysql'
> dbdimp.c:1168: warning: initialization makes pointer from integer 
> without a cast
> dbdimp.c:1169: warning: passing arg 1 of `Perl_newSVpv' discards 
> qualifiers from pointer target type
> dbdimp.c:1174: structure has no member named `mysql'
> dbdimp.c:1174: warning: initialization makes pointer from integer 
> without a cast
> dbdimp.c:1176: warning: passing arg 1 of `Perl_newSVpv' discards 
> qualifiers from pointer target type
> dbdimp.c:1181: structure has no member named `mysql'
> dbdimp.c:1181: warning: initialization makes pointer from integer 
> without a cast
> dbdimp.c:1182: warning: passing arg 1 of `Perl_newSVpv' discards 
> qualifiers from pointer target type
> dbdimp.c:1186: structure has no member named `mysql'
> dbdimp.c:1191: structure has no member named `mysql'
> dbdimp.c:1196: structure has no member named `mysql'
> dbdimp.c:1196: warning: initialization makes pointer from integer 
> without a cast
> dbdimp.c:1198: warning: passing arg 1 of `Perl_newSVpv' discards 
> qualifiers from pointer target type
> dbdimp.c:1200: structure has no member named `mysql'
> dbdimp.c:1202: structure has no member named `mysql'
> dbdimp.c:1204: structure has no member named `mysql'
> dbdimp.c:1204: warning: initialization makes pointer from integer 
> without a cast
> dbdimp.c:1206: warning: passing arg 1 of `Perl_newSVpv' discards 
> qualifiers from pointer target type
> dbdimp.c:1209: structure has no member named `mysql'
> dbdimp.c:1209: warning: initialization makes pointer from integer 
> without a cast
> dbdimp.c:1211: warning: passing arg 1 of `Perl_newSVpv' discards 
> qualifiers from pointer target type
> dbdimp.c:1216: structure has no member named `mysql'
> dbdimp.c: In function `mysql_st_prepare':
> dbdimp.c:1260: structure has no member named `cda'
> dbdimp.c: At top level:
> dbdimp.c:1302: syntax error before `MYSQL_RES'
> dbdimp.c: In function `mysql_st_internal_execute':
> dbdimp.c:1305: `statement' undeclared (first use in this function)
> dbdimp.c:1306: `svsock' undeclared (first use in this function)
> dbdimp.c:1306: `params' undeclared (first use in this function)
> dbdimp.c:1306: `numParams' undeclared (first use in this function)
> dbdimp.c:1315: `cdaPtr' undeclared (first use in this function)
> dbdimp.c:1337: `h' undeclared (first use in this function)
> dbdimp.c:1354: warning: passing arg 3 of `mysql_dr_error' makes 
> pointer from integer without a cast
> dbdimp.c:1366: warning: passing arg 3 of `mysql_dr_error' makes 
> pointer from integer without a cast
> dbdimp.c:1372: `use_mysql_use_result' undeclared (first use in this 
> function)
> dbdimp.c:1375: warning: passing arg 3 of `mysql_dr_error' makes 
> pointer from integer without a cast
> dbdimp.c: In function `mysql_st_execute':
> dbdimp.c:1436: structure has no member named `cda'
> dbdimp.c:1437: structure has no member named `mysql'
> dbdimp.c:1440: structure has no member named `cda'
> dbdimp.c:1441: structure has no member named `mysql'
> dbdimp.c:1445: structure has no member named `cda'
> dbdimp.c: In function `mysql_st_fetch':
> dbdimp.c:1500: syntax error before `cols'
> dbdimp.c:1510: structure has no member named `cda'
> dbdimp.c:1516: `cols' undeclared (first use in this function)
> dbdimp.c:1516: structure has no member named `cda'
> dbdimp.c:1518: structure has no member named `mysql'
> dbdimp.c:1519: structure has no member named `mysql'
> dbdimp.c:1520: structure has no member named `mysql'
> dbdimp.c:1520: warning: passing arg 3 of `mysql_dr_error' makes 
> pointer from integer without a cast
> dbdimp.c:1527: structure has no member named `cda'
> dbdimp.c:1527: warning: assignment makes pointer from integer without 
> a cast
> dbdimp.c: In function `mysql_st_finish':
> dbdimp.c:1578: structure has no member named `cda'
> dbdimp.c:1579: structure has no member named `cda'
> dbdimp.c:1580: structure has no member named `cda'
> dbdimp.c: At top level:
> dbdimp.c:1703: syntax error before `MYSQL_RES'
> dbdimp.c: In function `mysql_st_FETCH_internal':
> dbdimp.c:1704: `sth' undeclared (first use in this function)
> dbdimp.c:1706: `MYSQL_FIELD' undeclared (first use in this function)
> dbdimp.c:1706: `curField' undeclared (first use in this function)
> dbdimp.c:1711: `what' undeclared (first use in this function)
> dbdimp.c:1717: `cacheit' undeclared (first use in this function)
> dbdimp.c:1723: `res' undeclared (first use in this function)
> dbdimp.c:1778: `PRI_KEY_FLAG' undeclared (first use in this function)
> dbdimp.c:1778: `UNIQUE_KEY_FLAG' undeclared (first use in this 
> function)
> dbdimp.c:1778: `MULTIPLE_KEY_FLAG' undeclared (first use in this 
> function)
> dbdimp.c:1738: warning: unreachable code at beginning of switch 
> statement
> dbdimp.c: In function `mysql_st_FETCH_attrib':
> dbdimp.c:1850: structure has no member named `cda'
> dbdimp.c:1852: structure has no member named `cda'
> dbdimp.c:1857: structure has no member named `cda'
> dbdimp.c:1862: structure has no member named `cda'
> dbdimp.c:1867: structure has no member named `cda'
> dbdimp.c:1874: structure has no member named `cda'
> dbdimp.c:1879: structure has no member named `cda'
> dbdimp.c:1884: structure has no member named `cda'
> dbdimp.c:1886: structure has no member named `cda'
> dbdimp.c:1888: structure has no member named `cda'
> dbdimp.c:1890: structure has no member named `cda'
> dbdimp.c:1895: structure has no member named `cda'
> dbdimp.c:1907: structure has no member named `cda'
> dbdimp.c:1912: structure has no member named `cda'
> dbdimp.c:1914: structure has no member named `cda'
> dbdimp.c:1921: structure has no member named `cda'
> dbdimp.c: In function `mysql_db_reconnect':
> dbdimp.c:2023: structure has no member named `mysql'
> dbdimp.c:2023: `CR_SERVER_GONE_ERROR' undeclared (first use in this 
> function)
> dbdimp.c:2037: structure has no member named `mysql'
> dbdimp.c:2037: structure has no member named `mysql'
> dbdimp.c:2037: warning: passing arg 3 of `mysql_dr_error' makes 
> pointer from integer without a cast
> dbdimp.c: In function `mysql_db_quote':
> dbdimp.c:2168: structure has no member named `mysql'
> *** Error code 1
>
> Stop in /usr/ports/databases/p5-DBD-mysql/work/DBD-mysql-2.1024.
> *** Error code 1
>
> Stop in /usr/ports/databases/p5-DBD-mysql.
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?365FE364-5A8F-11D7-A948-000A95682EB0>