Install on Mac os X 10.3.7

Install on Mac os X 10.3.7

am 24.01.2005 00:20:14 von James Burnette

I am trying to install DBD-mysql-2.9004 on Mac OS X 10.3.7 with perl
v5.8.1-RC3 built for darwin-thread-multi-2level and MySQL 4.1.9.Make
fails with this message:

make
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/Mysql.pm blib/lib/Mysql.pm
cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cc -c -I/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/DBI/
-I/usr/local/mysql/include -fno-omit-frame-pointer -g -pipe -pipe
-fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing
-I/usr/local/include -Os -DVERSION=\"2.9004\" -DXS_VERSION=\"2.9004\"
"-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/COR E" dbdimp.c
/usr/bin/perl -p -e "s/~DRIVER~/mysql/g"
/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/DBI//Dri ver.xst >
mysql.xsi
/usr/bin/perl /System/Library/Perl/5.8.1/ExtUtils/xsubpp -typemap
/System/Library/Perl/5.8.1/ExtUtils/typemap mysql.xs > mysql.xsc && mv
mysql.xsc mysql.c
Warning: duplicate function definition 'do' detected in mysql.xs, line 196
Warning: duplicate function definition 'rows' detected in mysql.xs, line 294
cc -c -I/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/DBI/
-I/usr/local/mysql/include -fno-omit-frame-pointer -g -pipe -pipe
-fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing
-I/usr/local/include -Os -DVERSION=\"2.9004\" -DXS_VERSION=\"2.9004\"
"-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/COR E" mysql.c
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.bundle
LD_RUN_PATH="/usr/lib" /usr/bin/perl myld MACOSX_DEPLOYMENT_TARGET=10.3
cc -bundle -undefined dynamic_lookup -L/usr/local/lib dbdimp.o mysql.o
-o blib/arch/auto/DBD/mysql/mysql.bundle -L/usr/local/mysql/lib
-lmysqlclient -lm -lz
make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 255
[ESCORIAL:~/Desktop/DBD-mysql-2.9004] zeste% make test
rm -f blib/arch/auto/DBD/mysql/mysql.bundle
LD_RUN_PATH="/usr/lib" /usr/bin/perl myld MACOSX_DEPLOYMENT_TARGET=10.3
cc -bundle -undefined dynamic_lookup -L/usr/local/lib dbdimp.o mysql.o
-o blib/arch/auto/DBD/mysql/mysql.bundle -L/usr/local/mysql/lib
-lmysqlclient -lm -lz
make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 255
[ESCORIAL:~/Desktop/DBD-mysql-2.9004] zeste% make install
rm -f blib/arch/auto/DBD/mysql/mysql.bundle
LD_RUN_PATH="/usr/lib" /usr/bin/perl myld MACOSX_DEPLOYMENT_TARGET=10.3
cc -bundle -undefined dynamic_lookup -L/usr/local/lib dbdimp.o mysql.o
-o blib/arch/auto/DBD/mysql/mysql.bundle -L/usr/local/mysql/lib
-lmysqlclient -lm -lz
make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 255

I am an intermediate user of unix and do not know how to fix this
problem. There is no information about it on mysql.com forums or from a
google search. Version 2.9003 fails even for a different reason even
after trying various suggestions form the web.

Thank you,

Jim

--
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: Install on Mac os X 10.3.7

am 24.01.2005 03:55:58 von Rudy Lippan

On Sun, 23 Jan 2005, James Burnette wrote:

> I am trying to install DBD-mysql-2.9004 on Mac OS X 10.3.7 with perl
> v5.8.1-RC3 built for darwin-thread-multi-2level and MySQL 4.1.9.Make
> fails with this message:
>

Try 2.9005_2 available from CPAN, but you will have to install it yourself.


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@m .gmane.org

Re: Install on Mac os X 10.3.7

am 08.03.2005 18:04:58 von Thomas Register

>
> On Sun, 23 Jan 2005, James Burnette wrote:
> I am trying to install DBD-mysql-2.9004 on Mac OS X 10.3.7 with perl
> v5.8.1-RC3 built for darwin-thread-multi-2level and MySQL 4.1.9.Make
> fails with this message:
>
> make
....
> LD_RUN_PATH="/usr/lib" /usr/bin/perl myld MACOSX_DEPLOYMENT_TARGET=10.3
> cc -bundle -undefined dynamic_lookup -L/usr/local/lib dbdimp.o mysql.o
> -o blib/arch/auto/DBD/mysql/mysql.bundle -L/usr/local/mysql/lib
> -lmysqlclient -lm -lz
> make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 255

I found a reference somewhere with google (don't have it right now, or
I'd give credit where it's due) that suggested removing the "myld" from
makefile. I wasn't sure how best to do this, but found that executing
makefile with the nocatchstderr option eliminated the problem:

perl makefile --nocatchstderr

I'm now doing selects and inserts into my database. (after taking care
of a password problem. Sigh).

You can see the reference to the option inside makefile.pl. Hope this
helps: I've found that using Perl and MySQL can be a RPitA.
Interesting and educational, though.

I'm also running 10.3.7. Interesting point; I'm running Jaguar on
another machine, with Perl 5.8.1 (that was an experience it itself),
and it had no problem.

Tom


--
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: Install on Mac os X 10.3.7

am 10.03.2005 20:35:01 von David Jacopille

Regarding DBD-mysql-2.9004 install troubles on OS X 10.3:

I've had a lot of trouble with DBD-mysql-2.9004 on OS X in the past and I
believe part of the problem was some weirdness of the MySQL install that
comes with OS X Server and also an error in the Perl configuration that has
been pointed out by several people. Based on your output it looks like
that's your problem - step 1 will take care of it. You can also fix that
line of code in the makefile before running make but altering the Config.pm
will fix the problem permanently this build and other also.

I just performed the following procedure on 10.3.8 Server with a fresh build
of MySQL-MAX 4.1.10 (after deleting all other references).

Step 1
=46ix a bit of code in a Perl config file which is in error in all Panther
installations:
sudo pico /System/Library/Perl/5.8.1/darwin-thread-multi-2level/Config .pm

Look for the line:
ld=¹MACOSX_DEVELOPMENT_TARGET=3D10.3 cc=B9

replace with
ld=¹env MACOSX_DEVELOPMENT_TARGET=3D10.3 cc=B9

save file

Step 2
Download the DBD-mysql module, version 2.9004 from:
http://www.cpan.org/modules/by-category/07_Database_Interfac es/DBD/
and scroll to the mysql DBD interfaces looking for 2.9004

Step 3
Change to the directory containing the download and uncompress it with the
=66ollowing command:
tar xzf DBD-mysql-2.9004.tar.gz

Step 4
Change to the new directory:
cd DBD-mysql-2.9004

Step 5
Build the makefile for this computer using the following command on one
line:
perl Makefile.PL --testdb=3Dtest --testuser=3Droot --testpassword=3D1984
--testhost=3Dlocalhost

Step 6
Compile the makefile with the following command:
Make

Step 7
Test the makefile with the following command. You can expect three errors
=66or this test which will not affect the outcome of the installation.
make test

Step 8
Install the make file:
sudo make install

David Jacopille
MFS



On 3/8/05 12:04 PM, "Thomas Register" wrote:

>=20
>>=20
>> On Sun, 23 Jan 2005, James Burnette wrote:
>> I am trying to install DBD-mysql-2.9004 on Mac OS X 10.3.7 with perl
>> v5.8.1-RC3 built for darwin-thread-multi-2level and MySQL 4.1.9.Make
>> fails with this message:
>>=20
>> make
> ...
>> LD_RUN_PATH=3D"/usr/lib" /usr/bin/perl myld =
MACOSX_DEPLOYMENT_TARGET=3D10.3
>> cc -bundle -undefined dynamic_lookup -L/usr/local/lib dbdimp.o mysql.o
>> -o blib/arch/auto/DBD/mysql/mysql.bundle -L/usr/local/mysql/lib
>> -lmysqlclient -lm -lz
>> make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 255
>=20
> I found a reference somewhere with google (don't have it right now, or
> I'd give credit where it's due) that suggested removing the "myld" from
> makefile. I wasn't sure how best to do this, but found that executing
> makefile with the nocatchstderr option eliminated the problem:
>=20
> perl makefile --nocatchstderr
>=20
> I'm now doing selects and inserts into my database. (after taking care
> of a password problem. Sigh).
>=20
> You can see the reference to the option inside makefile.pl. Hope this
> helps: I've found that using Perl and MySQL can be a RPitA.
> Interesting and educational, though.
>=20
> I'm also running 10.3.7. Interesting point; I'm running Jaguar on
> another machine, with Perl 5.8.1 (that was an experience it itself),
> and it had no problem.
>=20
> Tom
>=20


"MFS Relay Service" made the following
annotations on 03/10/2005 02:42:33 PM
------------------------------------------------------------ ---------------=
---
This email communication and any attachments may contain proprietary, =
confidential, or privileged information. If you are not the intended =
recipient, you are hereby notified that you have received this email in =
error and that any review, disclosure, dissemination, distribution or =
copying of it or its contents is prohibited. The sender does not waive =
confidentiality or any privilege by mistransmission. If you have received =
this email in error, please notify the sender immediately, delete this =
email, and destroy all copies and any attachments.
==================== =====3D=
==================== =====3D=
==================== =====3D=
===3D


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