Problems installing DBD::mysql W/ MySQL 4.2 on Debian Linux

I tried to post this, and it looks like my mail server wasn't working.
Apologies if I've double posted.


I have a Libranet (Debian based) Linux system.=A0=A0I=A0tried=A0installing=
=A0MySQL=A0and
DBD::mysql through apt-get, but it didn't work (I also used apt-get to get
all the packages, then install DBD::mysql separately, still no luck).=A0=A0I
finally decided to download the latest version of MySQL from mysql.com and
install it.=A0=A0I=A0had=A0to=A0create=A0the=A0directory=A0/usr/incl ude/mys=
ql=A0and=A0copy=A0all
the header files to it.

I've been trying to install DBD::mysql for several hours.=A0=A0I=A0have=A0b=
een
reading the directions, but I still can't find (including through Google --
but I tend to always search on the wrong terms, so Google search links are
helpful -- especially if you can let me know the terms that brought up the
right answer) anything that helps me get this module installed.

I do "perl Makefile.PL" and "make" and everything is fine.=A0=A0I've=A0post=
ed=A0the
output from "make test" at the end of the post, due to it's length.=A0=A0I=
=A0read
in the instructions that this might be a problem with the linker and added
the line:

=2DL/usr/lib/gcc-lib/i386-linux/3.2.3/libgcc.a -lgcc

at the end of the line in Makefile that starts with "CFLAGS =3D ", but it m=
ade
absolutely no difference.

So what can I do to install this?=A0=A0I'd=A0prefer=A0to=A0get=A0it=A0worki=
ng=A0with=A0the
later version of MySQL, but if I have to wipe that and go with apt-get
packages, I can do that.=A0=A0At=A0this=A0point,=A0I=A0ma=A0very=A0frustrat=
ed=A0because=A0it's
not working with the "official" package and it doesn't work with the
Debian .deb files (they don't include mysql_config, and it always complains
about not finding that).

Any help is appreciated.

Hal
=2D--------------------------------
Output from "make test":

PERL_DL_NONLAZY=3D1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base...........install_driver(mysql) failed: Can't load
'/root/DBD-mysql-2.9004/blib/arch/auto/DBD/mysql/mysql.so' for module
DBD::mysql: /root/DBD-mysql-2.9004/blib/arch/auto/DBD/mysql/mysql.so:
undefined symbol: net_buffer_length at /usr/lib/perl/5.8.2/DynaLoader.pm
line 225.
=A0at=A0(eval=A01)=A0line=A03
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
=A0at=A0t/00base.t=A0line=A038
dubious
=A0=A0=A0=A0=A0=A0=A0=A0Test=A0returned=A0status=A0255=A0(ws tat=A065280,=A0=
0xff00)
DIED. FAILED tests 4-5
=A0=A0=A0=A0=A0=A0=A0=A0Failed=A02/5=A0tests,=A060.00%=A0oka y
t/10dsnlist........install_driver(mysql) failed: Can't load
'/root/DBD-mysql-2.9004/blib/arch/auto/DBD/mysql/mysql.so' for module
DBD::mysql: /root/DBD-mysql-2.9004/blib/arch/auto/DBD/mysql/mysql.so:
undefined symbol: net_buffer_length at /usr/lib/perl/5.8.2/DynaLoader.pm
line 225.
=A0at=A0(eval=A01)=A0line=A03
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
=A0at=A0t/10dsnlist.t=A0line=A045
dubious
=A0=A0=A0=A0=A0=A0=A0=A0Test=A0returned=A0status=A0255=A0(ws tat=A065280,=A0=
0xff00)
DIED. FAILED tests 1-9
=A0=A0=A0=A0=A0=A0=A0=A0Failed=A09/9=A0tests,=A00.00%=A0okay
t/20createdrop.....install_driver(mysql) failed: Can't load
'/root/DBD-mysql-2.9004/blib/arch/auto/DBD/mysql/mysql.so' for module
DBD::mysql: /root/DBD-mysql-2.9004/blib/arch/auto/DBD/mysql/mysql.so:
undefined symbol: net_buffer_length at /usr/lib/perl/5.8.2/DynaLoader.pm
line 225.
=A0at=A0(eval=A01)=A0line=A03
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
=A0at=A0t/20createdrop.t=A0line=A045
dubious
=A0=A0=A0=A0=A0=A0=A0=A0Test=A0returned=A0status=A0255=A0(ws tat=A065280,=A0=
0xff00)
DIED. FAILED tests 1-5
=A0=A0=A0=A0=A0=A0=A0=A0Failed=A05/5=A0tests,=A00.00%=A0okay
t/30insertfetch....install_driver(mysql) failed: Can't load
'/root/DBD-mysql-2.9004/blib/arch/auto/DBD/mysql/mysql.so' for module
DBD::mysql: /root/DBD-mysql-2.9004/blib/arch/auto/DBD/mysql/mysql.so:
undefined symbol: net_buffer_length at /usr/lib/perl/5.8.2/DynaLoader.pm
line 225.
=A0at=A0(eval=A01)=A0line=A03
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
=A0at=A0t/30insertfetch.t=A0line=A048
dubious
=A0=A0=A0=A0=A0=A0=A0=A0Test=A0returned=A0status=A0255=A0(ws tat=A065280,=A0=
0xff00)
DIED. FAILED tests 1-11
=A0=A0=A0=A0=A0=A0=A0=A0Failed=A011/11=A0tests,=A00.00%=A0ok ay
t/40bindparam......install_driver(mysql) failed: Can't load
'/root/DBD-mysql-2.9004/blib/arch/auto/DBD/mysql/mysql.so' for module
DBD::mysql: /root/DBD-mysql-2.9004/blib/arch/auto/DBD/mysql/mysql.so:
undefined symbol: net_buffer_length at /usr/lib/perl/5.8.2/DynaLoader.pm
line 225.
=A0at=A0(eval=A03)=A0line=A03
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
=A0at=A0t/40bindparam.t=A0line=A064
dubious
=A0=A0=A0=A0=A0=A0=A0=A0Test=A0returned=A0status=A0255=A0(ws tat=A065280,=A0=
0xff00)
DIED. FAILED tests 1-28
=A0=A0=A0=A0=A0=A0=A0=A0Failed=A028/28=A0tests,=A00.00%=A0ok ay
t/40blobs..........install_driver(mysql) failed: Can't load
'/root/DBD-mysql-2.9004/blib/arch/auto/DBD/mysql/mysql.so' for module
DBD::mysql: /root/DBD-mysql-2.9004/blib/arch/auto/DBD/mysql/mysql.so:
undefined symbol: net_buffer_length at /usr/lib/perl/5.8.2/DynaLoader.pm
line 225.
=A0at=A0(eval=A01)=A0line=A03
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
=A0at=A0t/40blobs.t=A0line=A068
dubious
=A0=A0=A0=A0=A0=A0=A0=A0Test=A0returned=A0status=A0255=A0(ws tat=A065280,=A0=
0xff00)
DIED. FAILED tests 1-11
=A0=A0=A0=A0=A0=A0=A0=A0Failed=A011/11=A0tests,=A00.00%=A0ok ay
t/40listfields.....install_driver(mysql) failed: Can't load
'/root/DBD-mysql-2.9004/blib/arch/auto/DBD/mysql/mysql.so' for module
DBD::mysql: /root/DBD-mysql-2.9004/blib/arch/auto/DBD/mysql/mysql.so:
undefined symbol: net_buffer_length at /usr/lib/perl/5.8.2/DynaLoader.pm
line 225.
=A0at=A0(eval=A01)=A0line=A03
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
=A0at=A0t/40listfields.t=A0line=A057
dubious
=A0=A0=A0=A0=A0=A0=A0=A0Test=A0returned=A0status=A0255=A0(ws tat=A065280,=A0=
0xff00)
DIED. FAILED tests 1-18
=A0=A0=A0=A0=A0=A0=A0=A0Failed=A018/18=A0tests,=A00.00%=A0ok ay
t/40nulls..........install_driver(mysql) failed: Can't load
'/root/DBD-mysql-2.9004/blib/arch/auto/DBD/mysql/mysql.so' for module
DBD::mysql: /root/DBD-mysql-2.9004/blib/arch/auto/DBD/mysql/mysql.so:
undefined symbol: net_buffer_length at /usr/lib/perl/5.8.2/DynaLoader.pm
line 225.
=A0at=A0(eval=A01)=A0line=A03
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
=A0at=A0t/40nulls.t=A0line=A050
dubious
=A0=A0=A0=A0=A0=A0=A0=A0Test=A0returned=A0status=A0255=A0(ws tat=A065280,=A0=
0xff00)
DIED. FAILED tests 1-11
=A0=A0=A0=A0=A0=A0=A0=A0Failed=A011/11=A0tests,=A00.00%=A0ok ay
t/40numrows........install_driver(mysql) failed: Can't load
'/root/DBD-mysql-2.9004/blib/arch/auto/DBD/mysql/mysql.so' for module
DBD::mysql: /root/DBD-mysql-2.9004/blib/arch/auto/DBD/mysql/mysql.so:
undefined symbol: net_buffer_length at /usr/lib/perl/5.8.2/DynaLoader.pm
line 225.
=A0at=A0(eval=A01)=A0line=A03
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
=A0at=A0t/40numrows.t=A0line=A059
dubious
=A0=A0=A0=A0=A0=A0=A0=A0Test=A0returned=A0status=A0255=A0(ws tat=A065280,=A0=
0xff00)
DIED. FAILED tests 1-25
=A0=A0=A0=A0=A0=A0=A0=A0Failed=A025/25=A0tests,=A00.00%=A0ok ay
t/50chopblanks.....install_driver(mysql) failed: Can't load
'/root/DBD-mysql-2.9004/blib/arch/auto/DBD/mysql/mysql.so' for module
DBD::mysql: /root/DBD-mysql-2.9004/blib/arch/auto/DBD/mysql/mysql.so:
undefined symbol: net_buffer_length at /usr/lib/perl/5.8.2/DynaLoader.pm
line 225.
=A0at=A0(eval=A01)=A0line=A03
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
=A0at=A0t/50chopblanks.t=A0line=A057
dubious
=A0=A0=A0=A0=A0=A0=A0=A0Test=A0returned=A0status=A0255=A0(ws tat=A065280,=A0=
0xff00)
DIED. FAILED tests 1-35
=A0=A0=A0=A0=A0=A0=A0=A0Failed=A035/35=A0tests,=A00.00%=A0ok ay
t/50commit.........install_driver(mysql) failed: Can't load
'/root/DBD-mysql-2.9004/blib/arch/auto/DBD/mysql/mysql.so' for module
DBD::mysql: /root/DBD-mysql-2.9004/blib/arch/auto/DBD/mysql/mysql.so:
undefined symbol: net_buffer_length at /usr/lib/perl/5.8.2/DynaLoader.pm
line 225.
=A0at=A0(eval=A01)=A0line=A03
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
=A0at=A0t/50commit.t=A0line=A064
dubious
=A0=A0=A0=A0=A0=A0=A0=A0Test=A0returned=A0status=A0255=A0(ws tat=A065280,=A0=
0xff00)
DIED. FAILED tests 1-30
=A0=A0=A0=A0=A0=A0=A0=A0Failed=A030/30=A0tests,=A00.00%=A0ok ay
t/60leaks..........skipped
=A0=A0=A0=A0=A0=A0=A0=A0all=A0skipped:=A0$ENV{SLOW_TESTS}=A0 is=A0not=A0set=
=A0or=A0Proc::ProcessTable=A0not
installed
t/ak-dbd...........install_driver(mysql) failed: Can't load
'/root/DBD-mysql-2.9004/blib/arch/auto/DBD/mysql/mysql.so' for module
DBD::mysql: /root/DBD-mysql-2.9004/blib/arch/auto/DBD/mysql/mysql.so:
undefined symbol: net_buffer_length at /usr/lib/perl/5.8.2/DynaLoader.pm
line 225.
=A0at=A0(eval=A01)=A0line=A03
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
=A0at=A0t/ak-dbd.t=A0line=A059
dubious
=A0=A0=A0=A0=A0=A0=A0=A0Test=A0returned=A0status=A0255=A0(ws tat=A065280,=A0=
0xff00)
DIED. FAILED tests 1-90
=A0=A0=A0=A0=A0=A0=A0=A0Failed=A090/90=A0tests,=A00.00%=A0ok ay
t/akmisc...........Had to create DBD::mysql::dr::imp_data_size unexpectedly
at /usr/local/lib/perl/5.8.2/DBI.pm line 1011.
Use of uninitialized value in subroutine entry
at /usr/local/lib/perl/5.8.2/DBI.pm line 1011.
Can't locate object method "connect" via package "Mysql"
at /root/DBD-mysql-2.9004/blib/lib/Mysql.pm line 71.
dubious
=A0=A0=A0=A0=A0=A0=A0=A0Test=A0returned=A0status=A0255=A0(ws tat=A065280,=A0=
0xff00)
DIED. FAILED tests 1-351
=A0=A0=A0=A0=A0=A0=A0=A0Failed=A0351/351=A0tests,=A00.00%=A0 okay
t/dbdadmin.........install_driver(mysql) failed: Can't load
'/root/DBD-mysql-2.9004/blib/arch/auto/DBD/mysql/mysql.so' for module
DBD::mysql: /root/DBD-mysql-2.9004/blib/arch/auto/DBD/mysql/mysql.so:
undefined symbol: net_buffer_length at /usr/lib/perl/5.8.2/DynaLoader.pm
line 225.
=A0at=A0(eval=A01)=A0line=A03
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
=A0at=A0t/dbdadmin.t=A0line=A074
dubious
=A0=A0=A0=A0=A0=A0=A0=A0Test=A0returned=A0status=A0255=A0(ws tat=A065280,=A0=
0xff00)
DIED. FAILED tests 1-21
=A0=A0=A0=A0=A0=A0=A0=A0Failed=A021/21=A0tests,=A00.00%=A0ok ay
t/insertid.........install_driver(mysql) failed: Can't load
'/root/DBD-mysql-2.9004/blib/arch/auto/DBD/mysql/mysql.so' for module
DBD::mysql: /root/DBD-mysql-2.9004/blib/arch/auto/DBD/mysql/mysql.so:
undefined symbol: net_buffer_length at /usr/lib/perl/5.8.2/DynaLoader.pm
line 225.
=A0at=A0(eval=A01)=A0line=A03
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
=A0at=A0t/insertid.t=A0line=A013
dubious
=A0=A0=A0=A0=A0=A0=A0=A0Test=A0returned=A0status=A0255=A0(ws tat=A065280,=A0=
0xff00)
DIED. FAILED tests 1-12
=A0=A0=A0=A0=A0=A0=A0=A0Failed=A012/12=A0tests,=A00.00%=A0ok ay
t/mysql............Can't load
'/root/DBD-mysql-2.9004/blib/arch/auto/DBD/mysql/mysql.so' for module
DBD::mysql: /root/DBD-mysql-2.9004/blib/arch/auto/DBD/mysql/mysql.so:
undefined symbol: net_buffer_length at /usr/lib/perl/5.8.2/DynaLoader.pm
line 225.
=A0at=A0/root/DBD-mysql-2.9004/blib/lib/Mysql.pm=A0line=A013
Compilation failed in require at /root/DBD-mysql-2.9004/blib/lib/Mysql.pm
line 13.
Compilation failed in require at t/mysql.t line 34.
BEGIN failed--compilation aborted at t/mysql.t line 34.
dubious
=A0=A0=A0=A0=A0=A0=A0=A0Test=A0returned=A0status=A0255=A0(ws tat=A065280,=A0=
0xff00)
DIED. FAILED tests 1-68
=A0=A0=A0=A0=A0=A0=A0=A0Failed=A068/68=A0tests,=A00.00%=A0ok ay
t/mysql2...........Had to create DBD::mysql::dr::imp_data_size unexpectedly
at /usr/local/lib/perl/5.8.2/DBI.pm line 1011.
Use of uninitialized value in subroutine entry
at /usr/local/lib/perl/5.8.2/DBI.pm line 1011.
Can't locate object method "connect" via package "Mysql"
at /root/DBD-mysql-2.9004/blib/lib/Mysql.pm line 71.
dubious
=A0=A0=A0=A0=A0=A0=A0=A0Test=A0returned=A0status=A0255=A0(ws tat=A065280,=A0=
0xff00)
=46ailed 17/18 test scripts, 5.56% okay. 727/730 subtests failed, 0.41% oka=
y.
=46ailed Test=A0=A0=A0=A0=A0=A0=A0Stat=A0Wstat=A0Total=A0Fail=A0=A0Fa iled=
=A0=A0List=A0of=A0Failed
=2D--------------------------------------------------------- ---------------=
=2D-----
t/00base.t=A0=A0=A0=A0=A0=A0=A0=A0=A0255=A065280=A0=A0=A0=A0 =A05=A0=A0=A0=
=A04=A0=A080.00%=A0=A04-5
t/10dsnlist.t=A0=A0=A0=A0=A0=A0255=A065280=A0=A0=A0=A0=A09=A 0=A0=A018=A0200=
=2E00%=A0=A01-9
t/20createdrop.t=A0=A0=A0255=A065280=A0=A0=A0=A0=A05=A0=A0=A 010=A0200.00%=
=A0=A01-5
t/30insertfetch.t=A0=A0255=A065280=A0=A0=A0=A011=A0=A0=A022= A0200.00%=A0=A0=
1-11
t/40bindparam.t=A0=A0=A0=A0255=A065280=A0=A0=A0=A028=A0=A0=A 056=A0200.00%=
=A0=A01-28
t/40blobs.t=A0=A0=A0=A0=A0=A0=A0=A0255=A065280=A0=A0=A0=A011 =A0=A0=A022=A02=
00.00%=A0=A01-11
t/40listfields.t=A0=A0=A0255=A065280=A0=A0=A0=A018=A0=A0=A03 6=A0200.00%=A0=
=A01-18
t/40nulls.t=A0=A0=A0=A0=A0=A0=A0=A0255=A065280=A0=A0=A0=A011 =A0=A0=A022=A02=
00.00%=A0=A01-11
t/40numrows.t=A0=A0=A0=A0=A0=A0255=A065280=A0=A0=A0=A025=A0= A0=A050=A0200.0=
0%=A0=A01-25
t/50chopblanks.t=A0=A0=A0255=A065280=A0=A0=A0=A035=A0=A0=A07 0=A0200.00%=A0=
=A01-35
t/50commit.t=A0=A0=A0=A0=A0=A0=A0255=A065280=A0=A0=A0=A030=A 0=A0=A060=A0200=
=2E00%=A0=A01-30
t/ak-dbd.t=A0=A0=A0=A0=A0=A0=A0=A0=A0255=A065280=A0=A0=A0=A0 90=A0=A0180=A02=
00.00%=A0=A01-90
t/akmisc.t=A0=A0=A0=A0=A0=A0=A0=A0=A0255=A065280=A0=A0=A0351 =A0=A0702=A0200=
=2E00%=A0=A01-351
t/dbdadmin.t=A0=A0=A0=A0=A0=A0=A0255=A065280=A0=A0=A0=A021=A 0=A0=A042=A0200=
=2E00%=A0=A01-21
t/insertid.t=A0=A0=A0=A0=A0=A0=A0255=A065280=A0=A0=A0=A012=A 0=A0=A024=A0200=
=2E00%=A0=A01-12
t/mysql.t=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0255=A065280=A0=A0=A0= A068=A0=A0136=
=A0200.00%=A0=A01-68
t/mysql2.t=A0=A0=A0=A0=A0=A0=A0=A0=A0255=A065280=A0=A0=A0=A0 ??=A0=A0=A0??=
=A0=A0=A0=A0=A0=A0=A0%=A0=A0??
1 test skipped.
make: *** [test_dynamic] Error 255

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=3Dgcdmp-msql-mysql-modules [at] m.gmane.org
Hal Vaughan [ So, 29 August 2004 11:11 ] [ ID #44249 ]

Re: Problems installing DBD::mysql W/ MySQL 4.2 on Debian Linux

On Sun, 29 Aug 2004, Hal Vaughan wrote:

> So what can I do to install this?  I'd prefer to get it working with the
> later version of MySQL, but if I have to wipe that and go with apt-get
> packages, I can do that.  At this point, I ma very frustrated because it's
> not working with the "official" package and it doesn't work with the
> Debian .deb files (they don't include mysql_config, and it always complains
> about not finding that).

the missing net_buffer_lengh symbol normally means that the mysql
libraries cannot be found; however, I vaguely remember a problem with the
later 4.1.x servers when MYSQL_CLIENT is not defined. So if you can build
DBD::mysql against an older mysql, you might want to try looking at adding a
-DMYSQL_CLIENT(sp) to the Makefile (or makefile.pl) otherwise look into making
sure that DBD::mysql can find the mysql libraries.

And of course, I would like to know what the solution ended up being so that I
can change Makefile.PL if needed.

Rudy.


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules [at] m .gmane.org
Rudy Lippan [ Mo, 30 August 2004 02:45 ] [ ID #44251 ]

Re: Problems installing DBD::mysql W/ MySQL 4.2 on Debian Linux

On Sunday 29 August 2004 08:45 pm, Rudy Lippan wrote:
> On Sun, 29 Aug 2004, Hal Vaughan wrote:
> > So what can I do to install this?=A0=A0I'd=A0prefer=A0to=A0get=A0it=A0w=
orking=A0with=A0the
> > later version of MySQL, but if I have to wipe that and go with apt-get
> > packages, I can do
> > that.=A0=A0At=A0this=A0point,=A0I=A0ma=A0very=A0frustrated=A 0because=A0=
it's not working with
> > the "official" package and it doesn't work with the Debian .deb files
> > (they don't include mysql_config, and it always complains about not
> > finding that).
>
> the missing net_buffer_lengh symbol normally means that the mysql
> libraries cannot be found; however, I vaguely remember a problem with the
> later 4.1.x servers when MYSQL_CLIENT is not defined. So if you can build
> DBD::mysql against an older mysql, you might want to try looking at adding
> a -DMYSQL_CLIENT(sp) to the Makefile (or makefile.pl) otherwise look into
> making sure that DBD::mysql can find the mysql libraries.
>
> And of course, I would like to know what the solution ended up being so
> that I can change Makefile.PL if needed.

Okay, here's what worked. Some of this is the same.

I unpacked MySQL 4.2 and installed it to /usr/local/mysql.
cp /usr/local/mysql/lib/* /usr/lib/*
cp /usr/local/mysql/include/* /usr/include/

THEN I did perl Makefile.PL ... etc. and it worked.

I had tried to install a number of times the Debian way -- by apt-get'ing
mysql-common, mysql-server, libdbd-mysql-perl and, I think, 2 other package=
s
(as per instructions in DBD::MySQL). I would get an error because it
couldn't find mysql_config. I know absolutely nothing about C and compilin=
g
C. I also don't know if Debian is supposed to have .debs for Perl modules,=

but it would seem to me for this to work well on Debian based systems, that=

it would be necessary to find a way to bypass mysql_config or, since it's a=

Perl script, and open source, would it be possible to just incorporate it
into the DBD::mysql package? (I don't know -- I've never done any packagin=
g,
but it's just a thought).

Hal

> Rudy.

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=3Dgcdmp-msql-mysql-modules [at] m.gmane.org
Hal Vaughan [ Mo, 30 August 2004 17:07 ] [ ID #44254 ]

Re: Problems installing DBD::mysql W/ MySQL 4.2 on Debian Linux

On Mon, 30 Aug 2004, Hal Vaughan wrote:

>On Sunday 29 August 2004 08:45 pm, Rudy Lippan wrote:
>> On Sun, 29 Aug 2004, Hal Vaughan wrote:
>> > So what can I do to install this?=A0=A0I'd=A0prefer=A0to=A0get=A0it=A0=
working=A0with=A0the
>> > later version of MySQL, but if I have to wipe that and go with apt-get
>> > packages, I can do
>> > that.=A0=A0At=A0this=A0point,=A0I=A0ma=A0very=A0frustrated=A 0because=
=A0it's not working with
>> > the "official" package and it doesn't work with the Debian .deb files
>> > (they don't include mysql_config, and it always complains about not
>> > finding that).
>>
>> the missing net_buffer_lengh symbol normally means that the mysql
>> libraries cannot be found; however, I vaguely remember a problem with th=
e
>> later 4.1.x servers when MYSQL_CLIENT is not defined. So if you can buil=
d
>> DBD::mysql against an older mysql, you might want to try looking at addi=
ng
>> a -DMYSQL_CLIENT(sp) to the Makefile (or makefile.pl) otherwise look int=
o
>> making sure that DBD::mysql can find the mysql libraries.
>>
>> And of course, I would like to know what the solution ended up being so
>> that I can change Makefile.PL if needed.
>
>Okay, here's what worked. Some of this is the same.
>
>I unpacked MySQL 4.2 and installed it to /usr/local/mysql.

4.2 ?? I can't find this version


>cp /usr/local/mysql/lib/* /usr/lib/*
>cp /usr/local/mysql/include/* /usr/include/
>
>THEN I did perl Makefile.PL ... etc. and it worked.
>
>I had tried to install a number of times the Debian way -- by apt-get'ing=

>mysql-common, mysql-server, libdbd-mysql-perl and, I think, 2 other packag=
es
>(as per instructions in DBD::MySQL). I would get an error because it
>couldn't find mysql_config. I know absolutely nothing about C and compili=
ng
>C. I also don't know if Debian is supposed to have .debs for Perl modules=
,
>but it would seem to me for this to work well on Debian based systems, tha=
t
>it would be necessary to find a way to bypass mysql_config or, since it's =
a
>Perl script, and open source, would it be possible to just incorporate it=

>into the DBD::mysql package? (I don't know -- I've never done any packagi=
ng,
>but it's just a thought).
>
>Hal
>
>> Rudy.
>
>--
>MySQL Perl Mailing List
>For list archives: http://lists.mysql.com/perl
>To unsubscribe: http://lists.mysql.com/perl?unsub=3Ddmb [at] mrc-dunn.cam.ac=
=2Euk
>


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=3Dgcdmp-msql-mysql-modules [at] m.gmane.org
Dan Bolser [ Mo, 30 August 2004 18:47 ] [ ID #44256 ]

Re: Problems installing DBD::mysql W/ MySQL 4.2 on Debian Linux

On Monday 30 August 2004 12:47 pm, you wrote:
> 4.2 ?? I can't find this version

Oops. =A04.0.2.

It's a dysnomic thing.

Hal

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=3Dgcdmp-msql-mysql-modules [at] m.gmane.org
Hal Vaughan [ Mo, 30 August 2004 18:58 ] [ ID #44257 ]

Re: Problems installing DBD::mysql W/ MySQL 4.2 on Debian Linux

On Mon, 30 Aug 2004, Hal Vaughan wrote:

>On Monday 30 August 2004 12:47 pm, you wrote:
>> 4.2 ?? I can't find this version
>
>Oops. =A04.0.2.
>
>It's a dysnomic thing.

Minter!

Dan.

>
>Hal
>
>--
>MySQL Perl Mailing List
>For list archives: http://lists.mysql.com/perl
>To unsubscribe: http://lists.mysql.com/perl?unsub=3Ddmb [at] mrc-dunn.cam.ac=
=2Euk
>


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=3Dgcdmp-msql-mysql-modules [at] m.gmane.org
Dan Bolser [ Mo, 30 August 2004 19:00 ] [ ID #44258 ]

Re: Problems installing DBD::mysql W/ MySQL 4.2 on Debian Linux

do you mean 4.0.20 ?

Trying to download just killed mozilla... perhaps I have been too long on
this earth...

On Mon, 30 Aug 2004, Hal Vaughan wrote:

>On Monday 30 August 2004 12:47 pm, you wrote:
>> 4.2 ?? I can't find this version
>
>Oops. =A04.0.2.
>
>It's a dysnomic thing.
>
>Hal
>
>--
>MySQL Perl Mailing List
>For list archives: http://lists.mysql.com/perl
>To unsubscribe: http://lists.mysql.com/perl?unsub=3Ddmb [at] mrc-dunn.cam.ac=
=2Euk
>


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=3Dgcdmp-msql-mysql-modules [at] m.gmane.org
Dan Bolser [ Mo, 30 August 2004 19:24 ] [ ID #44259 ]

Re: Problems installing DBD::mysql W/ MySQL 4.2 on Debian Linux

On Monday 30 August 2004 01:00 pm, you wrote:
> On Mon, 30 Aug 2004, Hal Vaughan wrote:
> >On Monday 30 August 2004 12:47 pm, you wrote:
> >> 4.2 ?? I can't find this version
> >
> >Oops. =A04.0.2.
> >
> >It's a dysnomic thing.
>
> Minter!

?????


> Dan.
>
> >Hal
> >
> >--
> >MySQL Perl Mailing List
> >For list archives: http://lists.mysql.com/perl
> >To unsubscribe:
> > http://lists.mysql.com/perl?unsub=3Ddmb [at] mrc-dunn.cam.ac.uk

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=3Dgcdmp-msql-mysql-modules [at] m.gmane.org
Hal Vaughan [ Mo, 30 August 2004 19:06 ] [ ID #44260 ]

Re: Problems installing DBD::mysql W/ MySQL 4.2 on Debian Linux

On Mon, 30 Aug 2004, Hal Vaughan wrote:

>On Monday 30 August 2004 01:00 pm, you wrote:
>> On Mon, 30 Aug 2004, Hal Vaughan wrote:
>> >On Monday 30 August 2004 12:47 pm, you wrote:
>> >> 4.2 ?? I can't find this version
>> >
>> >Oops. =A04.0.2.
>> >
>> >It's a dysnomic thing.
>>
>> Minter!
>
>?????

erm... spiffing!?

>
>
>> Dan.
>>
>> >Hal
>> >
>> >--
>> >MySQL Perl Mailing List
>> >For list archives: http://lists.mysql.com/perl
>> >To unsubscribe:
>> > http://lists.mysql.com/perl?unsub=3Ddmb [at] mrc-dunn.cam.ac.uk
>
>--
>MySQL Perl Mailing List
>For list archives: http://lists.mysql.com/perl
>To unsubscribe: http://lists.mysql.com/perl?unsub=3Ddmb [at] mrc-dunn.cam.ac=
=2Euk
>


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=3Dgcdmp-msql-mysql-modules [at] m.gmane.org
Dan Bolser [ Mo, 30 August 2004 19:42 ] [ ID #44261 ]

Re: Problems installing DBD::mysql W/ MySQL 4.2 on Debian Linux

On Monday 30 August 2004 01:24 pm, Dan Bolser wrote:
> do you mean 4.0.20 ?

Sounds about right. I'm much happier with releases with code names. Those=
I
can remember.

It's the latest stable version in the downloads section for Linux.

Hal
>
> Trying to download just killed mozilla... perhaps I have been too long on
> this earth...
>
> On Mon, 30 Aug 2004, Hal Vaughan wrote:
> >On Monday 30 August 2004 12:47 pm, you wrote:
> >> 4.2 ?? I can't find this version
> >
> >Oops. =A04.0.2.
> >
> >It's a dysnomic thing.
> >
> >Hal
> >
> >--
> >MySQL Perl Mailing List
> >For list archives: http://lists.mysql.com/perl
> >To unsubscribe:
> > http://lists.mysql.com/perl?unsub=3Ddmb [at] mrc-dunn.cam.ac.uk

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=3Dgcdmp-msql-mysql-modules [at] m.gmane.org
Hal Vaughan [ Mo, 30 August 2004 20:34 ] [ ID #44262 ]

Re: Problems installing DBD::mysql W/ MySQL 4.2 on Debian Linux

On Sun, 29 Aug 2004, Hal Vaughan wrote:

> So what can I do to install this?  I'd prefer to get it working with the
> later version of MySQL, but if I have to wipe that and go with apt-get
> packages, I can do that.  At this point, I ma very frustrated because it's
> not working with the "official" package and it doesn't work with the
> Debian .deb files (they don't include mysql_config, and it always complains
> about not finding that).

the missing net_buffer_lengh symbol normally means that the mysql
libraries cannot be found; however, I vaguely remember a problem with the
later 4.1.x servers when MYSQL_CLIENT is not defined. So if you can build
DBD::mysql against an older mysql, you might want to try looking at adding a
-DMYSQL_CLIENT(sp) to the Makefile (or makefile.pl) otherwise look into making
sure that DBD::mysql can find the mysql libraries.

And of course, I would like to know what the solution ended up being so that I
can change Makefile.PL if needed.

Rudy.


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules [at] m .gmane.org
Rudy Lippan [ Mo, 30 August 2004 02:45 ] [ ID #180801 ]

Re: Problems installing DBD::mysql W/ MySQL 4.2 on Debian Linux

On Sunday 29 August 2004 08:45 pm, Rudy Lippan wrote:
> On Sun, 29 Aug 2004, Hal Vaughan wrote:
> > So what can I do to install this?=A0=A0I'd=A0prefer=A0to=A0get=A0it=A0w=
orking=A0with=A0the
> > later version of MySQL, but if I have to wipe that and go with apt-get
> > packages, I can do
> > that.=A0=A0At=A0this=A0point,=A0I=A0ma=A0very=A0frustrated=A 0because=A0=
it's not working with
> > the "official" package and it doesn't work with the Debian .deb files
> > (they don't include mysql_config, and it always complains about not
> > finding that).
>
> the missing net_buffer_lengh symbol normally means that the mysql
> libraries cannot be found; however, I vaguely remember a problem with the
> later 4.1.x servers when MYSQL_CLIENT is not defined. So if you can build
> DBD::mysql against an older mysql, you might want to try looking at adding
> a -DMYSQL_CLIENT(sp) to the Makefile (or makefile.pl) otherwise look into
> making sure that DBD::mysql can find the mysql libraries.
>
> And of course, I would like to know what the solution ended up being so
> that I can change Makefile.PL if needed.

Okay, here's what worked. Some of this is the same.

I unpacked MySQL 4.2 and installed it to /usr/local/mysql.
cp /usr/local/mysql/lib/* /usr/lib/*
cp /usr/local/mysql/include/* /usr/include/

THEN I did perl Makefile.PL ... etc. and it worked.

I had tried to install a number of times the Debian way -- by apt-get'ing
mysql-common, mysql-server, libdbd-mysql-perl and, I think, 2 other package=
s
(as per instructions in DBD::MySQL). I would get an error because it
couldn't find mysql_config. I know absolutely nothing about C and compilin=
g
C. I also don't know if Debian is supposed to have .debs for Perl modules,=

but it would seem to me for this to work well on Debian based systems, that=

it would be necessary to find a way to bypass mysql_config or, since it's a=

Perl script, and open source, would it be possible to just incorporate it
into the DBD::mysql package? (I don't know -- I've never done any packagin=
g,
but it's just a thought).

Hal

> Rudy.

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=3Dgcdmp-msql-mysql-modules [at] m.gmane.org
Hal Vaughan [ Mo, 30 August 2004 17:07 ] [ ID #180804 ]

Re: Problems installing DBD::mysql W/ MySQL 4.2 on Debian Linux

On Mon, 30 Aug 2004, Hal Vaughan wrote:

>On Sunday 29 August 2004 08:45 pm, Rudy Lippan wrote:
>> On Sun, 29 Aug 2004, Hal Vaughan wrote:
>> > So what can I do to install this?=A0=A0I'd=A0prefer=A0to=A0get=A0it=A0=
working=A0with=A0the
>> > later version of MySQL, but if I have to wipe that and go with apt-get
>> > packages, I can do
>> > that.=A0=A0At=A0this=A0point,=A0I=A0ma=A0very=A0frustrated=A 0because=
=A0it's not working with
>> > the "official" package and it doesn't work with the Debian .deb files
>> > (they don't include mysql_config, and it always complains about not
>> > finding that).
>>
>> the missing net_buffer_lengh symbol normally means that the mysql
>> libraries cannot be found; however, I vaguely remember a problem with th=
e
>> later 4.1.x servers when MYSQL_CLIENT is not defined. So if you can buil=
d
>> DBD::mysql against an older mysql, you might want to try looking at addi=
ng
>> a -DMYSQL_CLIENT(sp) to the Makefile (or makefile.pl) otherwise look int=
o
>> making sure that DBD::mysql can find the mysql libraries.
>>
>> And of course, I would like to know what the solution ended up being so
>> that I can change Makefile.PL if needed.
>
>Okay, here's what worked. Some of this is the same.
>
>I unpacked MySQL 4.2 and installed it to /usr/local/mysql.

4.2 ?? I can't find this version


>cp /usr/local/mysql/lib/* /usr/lib/*
>cp /usr/local/mysql/include/* /usr/include/
>
>THEN I did perl Makefile.PL ... etc. and it worked.
>
>I had tried to install a number of times the Debian way -- by apt-get'ing=

>mysql-common, mysql-server, libdbd-mysql-perl and, I think, 2 other packag=
es
>(as per instructions in DBD::MySQL). I would get an error because it
>couldn't find mysql_config. I know absolutely nothing about C and compili=
ng
>C. I also don't know if Debian is supposed to have .debs for Perl modules=
,
>but it would seem to me for this to work well on Debian based systems, tha=
t
>it would be necessary to find a way to bypass mysql_config or, since it's =
a
>Perl script, and open source, would it be possible to just incorporate it=

>into the DBD::mysql package? (I don't know -- I've never done any packagi=
ng,
>but it's just a thought).
>
>Hal
>
>> Rudy.
>
>--
>MySQL Perl Mailing List
>For list archives: http://lists.mysql.com/perl
>To unsubscribe: http://lists.mysql.com/perl?unsub=3Ddmb [at] mrc-dunn.cam.ac=
=2Euk
>


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=3Dgcdmp-msql-mysql-modules [at] m.gmane.org
Dan Bolser [ Mo, 30 August 2004 18:47 ] [ ID #180806 ]

Re: Problems installing DBD::mysql W/ MySQL 4.2 on Debian Linux

On Monday 30 August 2004 12:47 pm, you wrote:
> 4.2 ?? I can't find this version

Oops. =A04.0.2.

It's a dysnomic thing.

Hal

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=3Dgcdmp-msql-mysql-modules [at] m.gmane.org
Hal Vaughan [ Mo, 30 August 2004 18:58 ] [ ID #180807 ]

Re: Problems installing DBD::mysql W/ MySQL 4.2 on Debian Linux

On Mon, 30 Aug 2004, Hal Vaughan wrote:

>On Monday 30 August 2004 12:47 pm, you wrote:
>> 4.2 ?? I can't find this version
>
>Oops. =A04.0.2.
>
>It's a dysnomic thing.

Minter!

Dan.

>
>Hal
>
>--
>MySQL Perl Mailing List
>For list archives: http://lists.mysql.com/perl
>To unsubscribe: http://lists.mysql.com/perl?unsub=3Ddmb [at] mrc-dunn.cam.ac=
=2Euk
>


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=3Dgcdmp-msql-mysql-modules [at] m.gmane.org
Dan Bolser [ Mo, 30 August 2004 19:00 ] [ ID #180808 ]

Re: Problems installing DBD::mysql W/ MySQL 4.2 on Debian Linux

do you mean 4.0.20 ?

Trying to download just killed mozilla... perhaps I have been too long on
this earth...

On Mon, 30 Aug 2004, Hal Vaughan wrote:

>On Monday 30 August 2004 12:47 pm, you wrote:
>> 4.2 ?? I can't find this version
>
>Oops. =A04.0.2.
>
>It's a dysnomic thing.
>
>Hal
>
>--
>MySQL Perl Mailing List
>For list archives: http://lists.mysql.com/perl
>To unsubscribe: http://lists.mysql.com/perl?unsub=3Ddmb [at] mrc-dunn.cam.ac=
=2Euk
>


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=3Dgcdmp-msql-mysql-modules [at] m.gmane.org
Dan Bolser [ Mo, 30 August 2004 19:24 ] [ ID #180809 ]

Re: Problems installing DBD::mysql W/ MySQL 4.2 on Debian Linux

On Monday 30 August 2004 01:00 pm, you wrote:
> On Mon, 30 Aug 2004, Hal Vaughan wrote:
> >On Monday 30 August 2004 12:47 pm, you wrote:
> >> 4.2 ?? I can't find this version
> >
> >Oops. =A04.0.2.
> >
> >It's a dysnomic thing.
>
> Minter!

?????


> Dan.
>
> >Hal
> >
> >--
> >MySQL Perl Mailing List
> >For list archives: http://lists.mysql.com/perl
> >To unsubscribe:
> > http://lists.mysql.com/perl?unsub=3Ddmb [at] mrc-dunn.cam.ac.uk

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=3Dgcdmp-msql-mysql-modules [at] m.gmane.org
Hal Vaughan [ Mo, 30 August 2004 19:06 ] [ ID #180810 ]

Re: Problems installing DBD::mysql W/ MySQL 4.2 on Debian Linux

On Mon, 30 Aug 2004, Hal Vaughan wrote:

>On Monday 30 August 2004 01:00 pm, you wrote:
>> On Mon, 30 Aug 2004, Hal Vaughan wrote:
>> >On Monday 30 August 2004 12:47 pm, you wrote:
>> >> 4.2 ?? I can't find this version
>> >
>> >Oops. =A04.0.2.
>> >
>> >It's a dysnomic thing.
>>
>> Minter!
>
>?????

erm... spiffing!?

>
>
>> Dan.
>>
>> >Hal
>> >
>> >--
>> >MySQL Perl Mailing List
>> >For list archives: http://lists.mysql.com/perl
>> >To unsubscribe:
>> > http://lists.mysql.com/perl?unsub=3Ddmb [at] mrc-dunn.cam.ac.uk
>
>--
>MySQL Perl Mailing List
>For list archives: http://lists.mysql.com/perl
>To unsubscribe: http://lists.mysql.com/perl?unsub=3Ddmb [at] mrc-dunn.cam.ac=
=2Euk
>


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=3Dgcdmp-msql-mysql-modules [at] m.gmane.org
Dan Bolser [ Mo, 30 August 2004 19:42 ] [ ID #180811 ]

Re: Problems installing DBD::mysql W/ MySQL 4.2 on Debian Linux

On Monday 30 August 2004 01:24 pm, Dan Bolser wrote:
> do you mean 4.0.20 ?

Sounds about right. I'm much happier with releases with code names. Those=
I
can remember.

It's the latest stable version in the downloads section for Linux.

Hal
>
> Trying to download just killed mozilla... perhaps I have been too long on
> this earth...
>
> On Mon, 30 Aug 2004, Hal Vaughan wrote:
> >On Monday 30 August 2004 12:47 pm, you wrote:
> >> 4.2 ?? I can't find this version
> >
> >Oops. =A04.0.2.
> >
> >It's a dysnomic thing.
> >
> >Hal
> >
> >--
> >MySQL Perl Mailing List
> >For list archives: http://lists.mysql.com/perl
> >To unsubscribe:
> > http://lists.mysql.com/perl?unsub=3Ddmb [at] mrc-dunn.cam.ac.uk

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=3Dgcdmp-msql-mysql-modules [at] m.gmane.org
Hal Vaughan [ Mo, 30 August 2004 20:34 ] [ ID #180812 ]
Datenbanken » gmane.comp.db.mysql.perl » Problems installing DBD::mysql W/ MySQL 4.2 on Debian Linux

Vorheriges Thema: Why is DBD broken?
Nächstes Thema: Why is DBD broken?