Msql-Mysql-module Istallation Problem

Msql-Mysql-module Istallation Problem

am 24.09.2002 14:54:30 von Yuriy Taranovych

Hello all,

Need your help.

I can't install DBD-Mysql Module on Caldera OpenLinux v2.4.
I installed successfully MySQL, Perl 5.6, DBD-Oracle and all other
neccessary modules, but I have problems only with this one:
Msql-Mysql-module

Could you please give me some tips?

THANX in advance.

My Debugs:

Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lgz
Using DBI 1.30 installed in
/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI
Writing Makefile for DBD::mysql
cp lib/DBD/mysql.pod blib/lib/DBD/mysql.pod
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
cp lib/Mysql.pm blib/lib/Mysql.pm
cc -c -I/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI -I/usr/loca
l/mysql/include -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS
=64 -O2 -DVERSION=\"2.1020\" -DXS_VERSION=\"2.1020\" -fpic -I/usr/local/li
b/perl5/5.6.1/i686-linux/CORE dbdimp.c
/usr/local/bin/perl -p -e "s/~DRIVER~/mysql/g" <
/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI/Dri ver.xst >
mysql.xsi
/usr/local/bin/perl -I/usr/local/lib/perl5/5.6.1/i686-linux -I/usr/local/lib
/perl5/5.6.1 /usr/local/lib/perl5/5.6.1/ExtUtils/xsubpp -typemap
/usr/local/lib/perl5/5.6.1/ExtUtils/typemap mysql.xs > mysql.xsc && mv
mysql.xsc mysql.c
Warning: duplicate function definition 'rows' detected in mysql.xs, line 289
cc -c -I/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI -I/usr/loca
l/mysql/include -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS
=64 -O2 -DVERSION=\"2.1020\" -DXS_VERSION=\"2.1020\" -fpic -I/usr/local/li
b/perl5/5.6.1/i686-linux/CORE mysql.c
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.so
LD_RUN_PATH="/usr/local/mysql/lib:/usr/lib" /usr/local/bin/perl myld
c -shared -L/usr/local/lib dbdimp.o mysql.o -o
blib/arch/auto/DBD/mysql/mysql.so -L/usr/local/mysql/lib -lmysqlclient -lz
/usr/i386-linux/bin/ld: cannot find -lz


An error occurred while linking the DBD::mysql driver. The error
message seems to indicate that you don't have a libz.a, libgz.a,
libz.so or libgz.so. This is typically resolved by:

1.) You may try to remove the -lz or -lgz flag from the libs list
by using the --libs switch for "perl Makefile.PL".
2.) On Red Hat Linux install libz-devel
3.) On other systems, please contact the mailing list

Msql-Mysql-modules@lists.mysql.com

For further hints, see INSTALL.html, section Linker flags.
make: *** [blib/arch/auto/DBD/mysql/mysql.so] Error 1
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible


------------------------------------------------------------ ---------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail msql-mysql-modules-thread1925@lists.mysql.com

To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail msql-mysql-modules-unsubscribe@lists.mysql.com instead.

Re: Msql-Mysql-module Istallation Problem

am 24.09.2002 15:17:16 von Jochen Wiedmann

I think the error message is quite helpful:

Zitiere Yuriy Taranovych :

> /usr/i386-linux/bin/ld: cannot find -lz
>
>
> An error occurred while linking the DBD::mysql driver. The error
> message seems to indicate that you don't have a libz.a, libgz.a,
> libz.so or libgz.so. This is typically resolved by:
>
> 1.) You may try to remove the -lz or -lgz flag from the libs list
> by using the --libs switch for "perl Makefile.PL".
> 2.) On Red Hat Linux install libz-devel
> 3.) On other systems, please contact the mailing list
>
> Msql-Mysql-modules@lists.mysql.com

I have no idea what the equivalent of "libz-devel" on OpenLinux
is, but I would assume there is one.



------------------------------------------------------------ ---------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail msql-mysql-modules-thread1926@lists.mysql.com

To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail msql-mysql-modules-unsubscribe@lists.mysql.com instead.

Re: Msql-Mysql-module Istallation Problem

am 24.09.2002 15:17:16 von Jochen Wiedmann

I think the error message is quite helpful:

Zitiere Yuriy Taranovych :

> /usr/i386-linux/bin/ld: cannot find -lz
>
>
> An error occurred while linking the DBD::mysql driver. The error
> message seems to indicate that you don't have a libz.a, libgz.a,
> libz.so or libgz.so. This is typically resolved by:
>
> 1.) You may try to remove the -lz or -lgz flag from the libs list
> by using the --libs switch for "perl Makefile.PL".
> 2.) On Red Hat Linux install libz-devel
> 3.) On other systems, please contact the mailing list
>
> Msql-Mysql-modules@lists.mysql.com

I have no idea what the equivalent of "libz-devel" on OpenLinux
is, but I would assume there is one.



------------------------------------------------------------ ---------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail msql-mysql-modules-thread1926@lists.mysql.com

To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail msql-mysql-modules-unsubscribe@lists.mysql.com instead.

Re: Msql-Mysql-module Istallation Problem

am 24.09.2002 15:23:16 von Artiom Morozov

Yuriy Taranovych wrote:
> Hello all,
>
> Need your help.
>
> I can't install DBD-Mysql Module on Caldera OpenLinux v2.4.
> I installed successfully MySQL, Perl 5.6, DBD-Oracle and all other
> neccessary modules, but I have problems only with this one:
> Msql-Mysql-module
>
> Could you please give me some tips?
You need to install zlib. If you don't have one in distributive
(unlikely =), download it from here http://www.gzip.org/zlib/, compile
and install, update linker cache and re-run perl Makefile.PL

--
Regards,
Artiom


------------------------------------------------------------ ---------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail msql-mysql-modules-thread1927@lists.mysql.com

To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail msql-mysql-modules-unsubscribe@lists.mysql.com instead.

Re: Msql-Mysql-module Istallation Problem

am 24.09.2002 15:23:16 von Artiom Morozov

Yuriy Taranovych wrote:
> Hello all,
>
> Need your help.
>
> I can't install DBD-Mysql Module on Caldera OpenLinux v2.4.
> I installed successfully MySQL, Perl 5.6, DBD-Oracle and all other
> neccessary modules, but I have problems only with this one:
> Msql-Mysql-module
>
> Could you please give me some tips?
You need to install zlib. If you don't have one in distributive
(unlikely =), download it from here http://www.gzip.org/zlib/, compile
and install, update linker cache and re-run perl Makefile.PL

--
Regards,
Artiom


------------------------------------------------------------ ---------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail msql-mysql-modules-thread1927@lists.mysql.com

To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail msql-mysql-modules-unsubscribe@lists.mysql.com instead.

Re: Msql-Mysql-module Istallation Problem

am 25.09.2002 01:22:08 von Garry Williams

On Tue, Sep 24, 2002 at 04:23:16PM +0300, Artiom Morozov wrote:
> Yuriy Taranovych wrote:
> > Hello all,
> >
> > Need your help.
> >
> > I can't install DBD-Mysql Module on Caldera OpenLinux v2.4.
> > I installed successfully MySQL, Perl 5.6, DBD-Oracle and all other
> > neccessary modules, but I have problems only with this one:
> > Msql-Mysql-module
> >
> > Could you please give me some tips?

> You need to install zlib. If you don't have one in distributive
> (unlikely =), download it from here http://www.gzip.org/zlib/, compile
> and install, update linker cache and re-run perl Makefile.PL

Alternatively, you need to take the advice in point 1. of the error
message. You will rarely benefit from this feature on modern
networks. As a matter of fact, on many (most? all?) servers on 100
Mbit Ethernet LANs, you pay a penalty compressing and decompressing
over the socket connection.

Benchmark and see.

--
Garry Williams, Zvolve Systems, Inc., +1 770 551-4504

------------------------------------------------------------ ---------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail msql-mysql-modules-thread1930@lists.mysql.com

To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail msql-mysql-modules-unsubscribe@lists.mysql.com instead.

Re: Msql-Mysql-module Istallation Problem

am 25.09.2002 01:22:08 von Garry Williams

On Tue, Sep 24, 2002 at 04:23:16PM +0300, Artiom Morozov wrote:
> Yuriy Taranovych wrote:
> > Hello all,
> >
> > Need your help.
> >
> > I can't install DBD-Mysql Module on Caldera OpenLinux v2.4.
> > I installed successfully MySQL, Perl 5.6, DBD-Oracle and all other
> > neccessary modules, but I have problems only with this one:
> > Msql-Mysql-module
> >
> > Could you please give me some tips?

> You need to install zlib. If you don't have one in distributive
> (unlikely =), download it from here http://www.gzip.org/zlib/, compile
> and install, update linker cache and re-run perl Makefile.PL

Alternatively, you need to take the advice in point 1. of the error
message. You will rarely benefit from this feature on modern
networks. As a matter of fact, on many (most? all?) servers on 100
Mbit Ethernet LANs, you pay a penalty compressing and decompressing
over the socket connection.

Benchmark and see.

--
Garry Williams, Zvolve Systems, Inc., +1 770 551-4504

------------------------------------------------------------ ---------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail msql-mysql-modules-thread1930@lists.mysql.com

To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail msql-mysql-modules-unsubscribe@lists.mysql.com instead.