Why is DBD broken?

Why is DBD broken?

am 30.08.2004 16:41:15 von Dan Bolser

Sorry, but I never had a problem like this ever before with perl...

mysql.xs: In function `XS_DBD__mysql__GetInfo_dbd_mysql_get_info':
mysql.xs:359: `net_buffer_length' undeclared (first use in this function)
mysql.xs:359: (Each undeclared identifier is reported only once
mysql.xs:359: for each function it appears in.)
make: *** [mysql.o] Error 1

I am RH9 on a 2.4.20-31.9 i686 athlon i386 GNU/Linux

I did

slocate libmysqlclient.so
/usr/src/redhat/SOURCES/mysql-4.1.2-alpha/libmysql/.libs/lib mysqlclient.so.14.0.0
/usr/src/redhat/SOURCES/mysql-4.1.2-alpha/libmysql/.libs/lib mysqlclient.so.14
/usr/src/redhat/SOURCES/mysql-4.1.2-alpha/libmysql/.libs/lib mysqlclient.so


then


cp \
/usr/src/redhat/SOURCES/mysql-4.1.2-alpha/libmysql/.libs/lib mysqlclient.so \
/usr/lib/mysql

mysql_config --libs
-L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm


perl Makefile.PL
I will use the following settings for compiling and testing:

cflags (mysql_config) = -I/usr/include/mysql -g -pipe -march=i386
-mcpu=i686 libs (mysql_config) = -L/usr/lib/mysql -lmysqlclient
-lz -lcrypt -lnsl -lm nocatchstderr (default ) = 0
nofoundrows (default ) = 0
ssl (guessed ) = 0
testdb (default ) = test
testhost (default ) =
testpassword (default ) =
testuser (default ) =


make
gcc -c -I/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/aut o/DBI
-I/usr/include/mysql -g -pipe -march=i386 -mcpu=i686 -D_REENTRANT
-D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O2 -g -pipe -march=i386 -mcpu=i686
-DVERSION=\"2.9004\" -DXS_VERSION=\"2.9004\" -fPIC
"-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" dbdimp.c
gcc -c -I/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/aut o/DBI
-I/usr/include/mysql -g -pipe -march=i386 -mcpu=i686 -D_REENTRANT
-D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O2 -g -pipe -march=i386 -mcpu=i686
-DVERSION=\"2.9004\" -DXS_VERSION=\"2.9004\" -fPIC
"-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" mysql.c
mysql.xs: In function `XS_DBD__mysql__GetInfo_dbd_mysql_get_info':
mysql.xs:359: `net_buffer_length' undeclared (first use in this function)
mysql.xs:359: (Each undeclared identifier is reported only once
mysql.xs:359: for each function it appears in.)
make: *** [mysql.o] Error 1


I am sick up to my teeth of this problem (sorry).

Any kind suggestions would be graciously received.

All the best,
Dan.


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: Why is DBD broken?

am 30.08.2004 16:55:08 von Neil Watson

On Mon, Aug 30, 2004 at 03:41:15PM +0100, Dan Bolser wrote:
>slocate libmysqlclient.so
>/usr/src/redhat/SOURCES/mysql-4.1.2-alpha/libmysql/.libs/li bmysqlclient.so.14.0.0
>/usr/src/redhat/SOURCES/mysql-4.1.2-alpha/libmysql/.libs/li bmysqlclient.so.14
>/usr/src/redhat/SOURCES/mysql-4.1.2-alpha/libmysql/.libs/li bmysqlclient.so

Perhaps the problem lies in using an alpha release of Mysql?

--
Neil Watson | Gentoo Linux
Network Administrator | Uptime 10:54:32 up 21:52, 3 users, load average: 0.00, 0.00, 0.00
http://watson-wilson.ca | 2.6.5 AMD Athlon(tm) MP 2000+ x 2

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: Why is DBD broken?

am 30.08.2004 16:55:08 von Neil Watson

On Mon, Aug 30, 2004 at 03:41:15PM +0100, Dan Bolser wrote:
>slocate libmysqlclient.so
>/usr/src/redhat/SOURCES/mysql-4.1.2-alpha/libmysql/.libs/li bmysqlclient.so.14.0.0
>/usr/src/redhat/SOURCES/mysql-4.1.2-alpha/libmysql/.libs/li bmysqlclient.so.14
>/usr/src/redhat/SOURCES/mysql-4.1.2-alpha/libmysql/.libs/li bmysqlclient.so

Perhaps the problem lies in using an alpha release of Mysql?

--
Neil Watson | Gentoo Linux
Network Administrator | Uptime 10:54:32 up 21:52, 3 users, load average: 0.00, 0.00, 0.00
http://watson-wilson.ca | 2.6.5 AMD Athlon(tm) MP 2000+ x 2

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: Why is DBD broken?

am 30.08.2004 18:23:20 von Dan Bolser

I agree.

Sorry for being so dumb, but how should I undo my current settings and
begin again from 4.0?

I want to undo my whole DBI / DBD / Mysql install (and possibly perl).

Most, but not all of these are installed by RPM.

Cheers,
Dan.


On Mon, 30 Aug 2004, Neil Watson wrote:

>On Mon, Aug 30, 2004 at 03:41:15PM +0100, Dan Bolser wrote:
>>slocate libmysqlclient.so
>>/usr/src/redhat/SOURCES/mysql-4.1.2-alpha/libmysql/.libs/l ibmysqlclient.so.14.0.0
>>/usr/src/redhat/SOURCES/mysql-4.1.2-alpha/libmysql/.libs/l ibmysqlclient.so.14
>>/usr/src/redhat/SOURCES/mysql-4.1.2-alpha/libmysql/.libs/l ibmysqlclient.so
>
>Perhaps the problem lies in using an alpha release of Mysql?
>
>


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: Why is DBD broken?

am 30.08.2004 18:23:20 von Dan Bolser

I agree.

Sorry for being so dumb, but how should I undo my current settings and
begin again from 4.0?

I want to undo my whole DBI / DBD / Mysql install (and possibly perl).

Most, but not all of these are installed by RPM.

Cheers,
Dan.


On Mon, 30 Aug 2004, Neil Watson wrote:

>On Mon, Aug 30, 2004 at 03:41:15PM +0100, Dan Bolser wrote:
>>slocate libmysqlclient.so
>>/usr/src/redhat/SOURCES/mysql-4.1.2-alpha/libmysql/.libs/l ibmysqlclient.so.14.0.0
>>/usr/src/redhat/SOURCES/mysql-4.1.2-alpha/libmysql/.libs/l ibmysqlclient.so.14
>>/usr/src/redhat/SOURCES/mysql-4.1.2-alpha/libmysql/.libs/l ibmysqlclient.so
>
>Perhaps the problem lies in using an alpha release of Mysql?
>
>


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: Why is DBD broken?

am 30.08.2004 19:55:06 von Marc MacIntyre

I ran into this compiling against the alpha on mac osX, and the fix is
to grab the declaration for the macro from
mysql.h and add it to the constants.h file. The issue is caused by a
conditional definition in mysql.h.

(I'm not looking at the code right now, so can't paste in what I did,
but I think I posted it to the list)

On Aug 30, 2004, at 9:23 AM, Dan Bolser wrote:

>
> I agree.
>
> Sorry for being so dumb, but how should I undo my current settings and
> begin again from 4.0?
>
> I want to undo my whole DBI / DBD / Mysql install (and possibly perl).
>
> Most, but not all of these are installed by RPM.
>
> Cheers,
> Dan.
>
>
> On Mon, 30 Aug 2004, Neil Watson wrote:
>
>> On Mon, Aug 30, 2004 at 03:41:15PM +0100, Dan Bolser wrote:
>>> slocate libmysqlclient.so
>>> /usr/src/redhat/SOURCES/mysql-4.1.2-alpha/libmysql/.libs/
>>> libmysqlclient.so.14.0.0
>>> /usr/src/redhat/SOURCES/mysql-4.1.2-alpha/libmysql/.libs/
>>> libmysqlclient.so.14
>>> /usr/src/redhat/SOURCES/mysql-4.1.2-alpha/libmysql/.libs/
>>> libmysqlclient.so
>>
>> Perhaps the problem lies in using an alpha release of Mysql?
>>
>>
>
>
> --
> MySQL Perl Mailing List
> For list archives: http://lists.mysql.com/perl
> To unsubscribe:
> http://lists.mysql.com/perl?unsub=marc.macintyre@liquidsys.c om
>


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: Why is DBD broken?

am 30.08.2004 19:55:06 von Marc MacIntyre

I ran into this compiling against the alpha on mac osX, and the fix is
to grab the declaration for the macro from
mysql.h and add it to the constants.h file. The issue is caused by a
conditional definition in mysql.h.

(I'm not looking at the code right now, so can't paste in what I did,
but I think I posted it to the list)

On Aug 30, 2004, at 9:23 AM, Dan Bolser wrote:

>
> I agree.
>
> Sorry for being so dumb, but how should I undo my current settings and
> begin again from 4.0?
>
> I want to undo my whole DBI / DBD / Mysql install (and possibly perl).
>
> Most, but not all of these are installed by RPM.
>
> Cheers,
> Dan.
>
>
> On Mon, 30 Aug 2004, Neil Watson wrote:
>
>> On Mon, Aug 30, 2004 at 03:41:15PM +0100, Dan Bolser wrote:
>>> slocate libmysqlclient.so
>>> /usr/src/redhat/SOURCES/mysql-4.1.2-alpha/libmysql/.libs/
>>> libmysqlclient.so.14.0.0
>>> /usr/src/redhat/SOURCES/mysql-4.1.2-alpha/libmysql/.libs/
>>> libmysqlclient.so.14
>>> /usr/src/redhat/SOURCES/mysql-4.1.2-alpha/libmysql/.libs/
>>> libmysqlclient.so
>>
>> Perhaps the problem lies in using an alpha release of Mysql?
>>
>>
>
>
> --
> MySQL Perl Mailing List
> For list archives: http://lists.mysql.com/perl
> To unsubscribe:
> http://lists.mysql.com/perl?unsub=marc.macintyre@liquidsys.c om
>


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: Why is DBD broken?

am 30.08.2004 22:06:30 von Dan Bolser

Thanks.

This is a real pain in the assets (time and energy).

Cheers,
Dan.

On Mon, 30 Aug 2004, Marc MacIntyre wrote:

>I ran into this compiling against the alpha on mac osX, and the fix is
>to grab the declaration for the macro from
>mysql.h and add it to the constants.h file. The issue is caused by a
>conditional definition in mysql.h.
>
>(I'm not looking at the code right now, so can't paste in what I did,
>but I think I posted it to the list)
>
>On Aug 30, 2004, at 9:23 AM, Dan Bolser wrote:
>
>>
>> I agree.
>>
>> Sorry for being so dumb, but how should I undo my current settings and
>> begin again from 4.0?
>>
>> I want to undo my whole DBI / DBD / Mysql install (and possibly perl).
>>
>> Most, but not all of these are installed by RPM.
>>
>> Cheers,
>> Dan.
>>
>>
>> On Mon, 30 Aug 2004, Neil Watson wrote:
>>
>>> On Mon, Aug 30, 2004 at 03:41:15PM +0100, Dan Bolser wrote:
>>>> slocate libmysqlclient.so
>>>> /usr/src/redhat/SOURCES/mysql-4.1.2-alpha/libmysql/.libs/
>>>> libmysqlclient.so.14.0.0
>>>> /usr/src/redhat/SOURCES/mysql-4.1.2-alpha/libmysql/.libs/
>>>> libmysqlclient.so.14
>>>> /usr/src/redhat/SOURCES/mysql-4.1.2-alpha/libmysql/.libs/
>>>> libmysqlclient.so
>>>
>>> Perhaps the problem lies in using an alpha release of Mysql?
>>>
>>>
>>
>>
>> --
>> MySQL Perl Mailing List
>> For list archives: http://lists.mysql.com/perl
>> To unsubscribe:
>> http://lists.mysql.com/perl?unsub=marc.macintyre@liquidsys.c om
>>
>
>
>


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: Why is DBD broken?

am 30.08.2004 22:06:30 von Dan Bolser

Thanks.

This is a real pain in the assets (time and energy).

Cheers,
Dan.

On Mon, 30 Aug 2004, Marc MacIntyre wrote:

>I ran into this compiling against the alpha on mac osX, and the fix is
>to grab the declaration for the macro from
>mysql.h and add it to the constants.h file. The issue is caused by a
>conditional definition in mysql.h.
>
>(I'm not looking at the code right now, so can't paste in what I did,
>but I think I posted it to the list)
>
>On Aug 30, 2004, at 9:23 AM, Dan Bolser wrote:
>
>>
>> I agree.
>>
>> Sorry for being so dumb, but how should I undo my current settings and
>> begin again from 4.0?
>>
>> I want to undo my whole DBI / DBD / Mysql install (and possibly perl).
>>
>> Most, but not all of these are installed by RPM.
>>
>> Cheers,
>> Dan.
>>
>>
>> On Mon, 30 Aug 2004, Neil Watson wrote:
>>
>>> On Mon, Aug 30, 2004 at 03:41:15PM +0100, Dan Bolser wrote:
>>>> slocate libmysqlclient.so
>>>> /usr/src/redhat/SOURCES/mysql-4.1.2-alpha/libmysql/.libs/
>>>> libmysqlclient.so.14.0.0
>>>> /usr/src/redhat/SOURCES/mysql-4.1.2-alpha/libmysql/.libs/
>>>> libmysqlclient.so.14
>>>> /usr/src/redhat/SOURCES/mysql-4.1.2-alpha/libmysql/.libs/
>>>> libmysqlclient.so
>>>
>>> Perhaps the problem lies in using an alpha release of Mysql?
>>>
>>>
>>
>>
>> --
>> MySQL Perl Mailing List
>> For list archives: http://lists.mysql.com/perl
>> To unsubscribe:
>> http://lists.mysql.com/perl?unsub=marc.macintyre@liquidsys.c om
>>
>
>
>


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org