DBD::mysql compile error on redhat 9

DBD::mysql compile error on redhat 9

am 20.05.2003 19:16:16 von Daniel Martinez

Helo..
I have some similars problems with this thread without answer.
http://marc.theaimsgroup.com/?l=msql-mysql-modules&m=1051848 47802420&w=2

This is the redhat 9 instalation without the original mysql rpms. Mysql
installation was compiled from sources.
When I tried to compile manually,

pampa:~/.cpan/build/DBD-mysql-2.1026$ perl Makefile.PL
--libs="-L/opt1/mysql/lib/mysql -lmysqlclient -lz"
--cflags=-I/opt1/mysql/include/mysql --testhost=127.0.0.1
I will use the following settings for compiling and testing:

cflags (Users choice) = -I/opt1/mysql/include/mysql
libs (Users choice) = -L/opt1/mysql/lib/mysql -lmysqlclient
-lz
nocatchstderr (default ) = 0
ssl (guessed ) = 0
testdb (default ) = test
testhost (Users choice) = 127.0.0.1
testpassword (default ) =
testuser (default ) =

To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.

Unsuccessful stat on filename containing newline at
/usr/lib/perl5/5.8.0/ExtUtils/Liblist/Kid.pm line 97.
Unsuccessful stat on filename containing newline at
/usr/lib/perl5/5.8.0/ExtUtils/Liblist/Kid.pm line 97.
Unsuccessful stat on filename containing newline at
/usr/lib/perl5/5.8.0/ExtUtils/Liblist/Kid.pm line 97.
Unsuccessful stat on filename containing newline at
/usr/lib/perl5/5.8.0/ExtUtils/Liblist/Kid.pm line 97.
Unsuccessful stat on filename containing newline at
/usr/lib/perl5/5.8.0/ExtUtils/Liblist/Kid.pm line 97.
Unsuccessful stat on filename containing newline at
/usr/lib/perl5/5.8.0/ExtUtils/Liblist/Kid.pm line 97.
Unsuccessful stat on filename containing newline at
/usr/lib/perl5/5.8.0/ExtUtils/Liblist/Kid.pm line 97.
Unsuccessful stat on filename containing newline at
/usr/lib/perl5/5.8.0/ExtUtils/Liblist/Kid.pm line 97.
Unsuccessful stat on filename containing newline at
/usr/lib/perl5/5.8.0/ExtUtils/Liblist/Kid.pm line 97.
Unsuccessful stat on filename containing newline at
/usr/lib/perl5/5.8.0/ExtUtils/Liblist/Kid.pm line 97.
Unsuccessful stat on filename containing newline at
/usr/lib/perl5/5.8.0/ExtUtils/Liblist/Kid.pm line 97.
Unsuccessful stat on filename containing newline at
/usr/lib/perl5/5.8.0/ExtUtils/Liblist/Kid.pm line 97.
Multiple copies of Driver.xst found in:
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/ DBI
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/aut o/DBI at
Makefile.PL line 286
Using DBI 1.37 installed in
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/ DBI
Writing Makefile for DBD::mysql
academia:~/.cpan/build/DBD-mysql-2.1026$ make
Makefile:89: *** missing separator. Stop.
pampa:~/.cpan/build/DBD-mysql-2.1026$

Can anyone give me a right point for this issue?


Thanks in advance
Cheeers,
Daniel


--
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: DBD::mysql compile error on redhat 9

am 20.05.2003 19:37:43 von twells

On Tue, May 20, 2003 at 02:16:16PM -0300,
Daniel Martinez is thought to have said:

> Helo..
> I have some similars problems with this thread without answer.
> http://marc.theaimsgroup.com/?l=msql-mysql-modules&m=1051848 47802420&w=2
>
> This is the redhat 9 instalation without the original mysql rpms. Mysql
> installation was compiled from sources.
> When I tried to compile manually,
[snip]
> academia:~/.cpan/build/DBD-mysql-2.1026$ make
> Makefile:89: *** missing separator. Stop.
> pampa:~/.cpan/build/DBD-mysql-2.1026$
>
> Can anyone give me a right point for this issue?

This is a RH9 bug in their build of perl. The RH bug id which tracks this
is:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=87682

'export LANG=C' before running 'perl Makefile.PL' or 'make' is the current
workaround for this issue

Tabor

--
------------------------------------------------------------ --------
Tabor J. Wells twells@fsckit.net
Fsck It! Just another victim of the ambient morality

--
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: DBD::mysql compile error on redhat 9

am 20.05.2003 19:37:43 von twells

On Tue, May 20, 2003 at 02:16:16PM -0300,
Daniel Martinez is thought to have said:

> Helo..
> I have some similars problems with this thread without answer.
> http://marc.theaimsgroup.com/?l=msql-mysql-modules&m=1051848 47802420&w=2
>
> This is the redhat 9 instalation without the original mysql rpms. Mysql
> installation was compiled from sources.
> When I tried to compile manually,
[snip]
> academia:~/.cpan/build/DBD-mysql-2.1026$ make
> Makefile:89: *** missing separator. Stop.
> pampa:~/.cpan/build/DBD-mysql-2.1026$
>
> Can anyone give me a right point for this issue?

This is a RH9 bug in their build of perl. The RH bug id which tracks this
is:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=87682

'export LANG=C' before running 'perl Makefile.PL' or 'make' is the current
workaround for this issue

Tabor

--
------------------------------------------------------------ --------
Tabor J. Wells twells@fsckit.net
Fsck It! Just another victim of the ambient morality

--
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