DBI::MySQL Mac OS X 10.3 Panther (make NOT OK)

DBI::MySQL Mac OS X 10.3 Panther (make NOT OK)

am 28.10.2003 03:15:53 von Adam Turetzky

Hi,

I unfortunately had to do a "clean" install of Mac OS X "Panther" and
this of course moved all of my BSD underpinnings forcing me to
reinstall the stuff that I used (actually I'm kinda glad I did this
because there was a lot of stuff in there that I installed once and
never used, so now I can just put back the stuff that is useful).

Anyway, I'm trying to get DBI::MySQL to install using CPAN. The DBI
module installed fine from there with no complaints, however, the MySQL
module quits before the "make" file with the following output.


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 -lz -lm
make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] 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

I'm guessing this has something to do with the new "Developer Tools"
Apple is distributing. I could be wrong of course, but since it said
"make NOT OK" I went to look for "make" and found it in /usr/bin,
however it's an alias or symlink to gnumake and I'm wondering if this
has something to do with the problem?

I remember hearing that Apple is now using the latest and greatest
compiler, which is different from the last version of Mac OS X, so
might that have something to do with it?

In any event, is there a fix for this, or is there something else wrong
and it's just "my" system that's messed up?

TIA,

Adam


--
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: DBI::MySQL Mac OS X 10.3 Panther (make NOT OK)

am 28.10.2003 05:10:07 von John Day

At 08:15 PM 10/27/2003 -0600, Adam Turetzky wrote:
>Hi,
>
>I unfortunately had to do a "clean" install of Mac OS X "Panther" and this of course moved all of my BSD underpinnings forcing me to reinstall the stuff that I used (actually I'm kinda glad I did this because there was a lot of stuff in there that I installed once and never used, so now I can just put back the stuff that is useful).
>
>Anyway, I'm trying to get DBI::MySQL to install using CPAN. The DBI module installed fine from there with no complaints, however, the MySQL module quits before the "make" file with the following output.
>
>
>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 -lz -lm
>make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] 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
>
>I'm guessing this has something to do with the new "Developer Tools" Apple is distributing. I could be wrong of course, but since it said "make NOT OK" I went to look for "make" and found it in /usr/bin, however it's an alias or symlink to gnumake and I'm wondering if this has something to do with the problem?
>
>I remember hearing that Apple is now using the latest and greatest compiler, which is different from the last version of Mac OS X, so might that have something to do with it?
>
>In any event, is there a fix for this, or is there something else wrong and it's just "my" system that's messed up?
>
>TIA,
>
>Adam
Adam,

I am no wizard, but the message I think you are seeing says that MySQL is either not installed yet, or if it is then the make of the DBD::MySQL cannot find the shared libraries. I don't think it is a compiler or make issue.

John


--
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: DBI::MySQL Mac OS X 10.3 Panther (make NOT OK)

am 28.10.2003 05:10:07 von John Day

At 08:15 PM 10/27/2003 -0600, Adam Turetzky wrote:
>Hi,
>
>I unfortunately had to do a "clean" install of Mac OS X "Panther" and this of course moved all of my BSD underpinnings forcing me to reinstall the stuff that I used (actually I'm kinda glad I did this because there was a lot of stuff in there that I installed once and never used, so now I can just put back the stuff that is useful).
>
>Anyway, I'm trying to get DBI::MySQL to install using CPAN. The DBI module installed fine from there with no complaints, however, the MySQL module quits before the "make" file with the following output.
>
>
>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 -lz -lm
>make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] 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
>
>I'm guessing this has something to do with the new "Developer Tools" Apple is distributing. I could be wrong of course, but since it said "make NOT OK" I went to look for "make" and found it in /usr/bin, however it's an alias or symlink to gnumake and I'm wondering if this has something to do with the problem?
>
>I remember hearing that Apple is now using the latest and greatest compiler, which is different from the last version of Mac OS X, so might that have something to do with it?
>
>In any event, is there a fix for this, or is there something else wrong and it's just "my" system that's messed up?
>
>TIA,
>
>Adam
Adam,

I am no wizard, but the message I think you are seeing says that MySQL is either not installed yet, or if it is then the make of the DBD::MySQL cannot find the shared libraries. I don't think it is a compiler or make issue.

John


--
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: DBI::MySQL Mac OS X 10.3 Panther (make NOT OK)

am 28.10.2003 06:31:04 von Adam Turetzky

On Oct 27, 2003, at 10:10 PM, John Day wrote:

>>
>> 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 -lz -lm
>> make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] 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
>>
>> I'm guessing this has something to do with the new "Developer Tools"
>> Apple is distributing. I could be wrong of course, but since it said
>> "make NOT OK" I went to look for "make" and found it in /usr/bin,
>> however it's an alias or symlink to gnumake and I'm wondering if this
>> has something to do with the problem?
>>
>> I remember hearing that Apple is now using the latest and greatest
>> compiler, which is different from the last version of Mac OS X, so
>> might that have something to do with it?
>>
>> In any event, is there a fix for this, or is there something else
>> wrong and it's just "my" system that's messed up?
>>
>> TIA,
>>
>> Adam
> Adam,
>
> I am no wizard, but the message I think you are seeing says that MySQL
> is either not installed yet, or if it is then the make of the
> DBD::MySQL cannot find the shared libraries. I don't think it is a
> compiler or make issue.
>
> John
>

Thanks for the response John,

Well, I'm not sure really, but I've installed MySQL server through the
package installer from the site, it's up and running no problem, even
loaded my old ikonboard and Moveable Type and Geeklog databases. My
Apache Server is running, has Perl installed, PHP, and the DBI Perl
module. I can run phpMyAdmin no problem, I just can't install this
DBI::MySQL module.

Adam


--
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: DBI::MySQL Mac OS X 10.3 Panther (make NOT OK)

am 28.10.2003 06:31:04 von Adam Turetzky

On Oct 27, 2003, at 10:10 PM, John Day wrote:

>>
>> 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 -lz -lm
>> make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] 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
>>
>> I'm guessing this has something to do with the new "Developer Tools"
>> Apple is distributing. I could be wrong of course, but since it said
>> "make NOT OK" I went to look for "make" and found it in /usr/bin,
>> however it's an alias or symlink to gnumake and I'm wondering if this
>> has something to do with the problem?
>>
>> I remember hearing that Apple is now using the latest and greatest
>> compiler, which is different from the last version of Mac OS X, so
>> might that have something to do with it?
>>
>> In any event, is there a fix for this, or is there something else
>> wrong and it's just "my" system that's messed up?
>>
>> TIA,
>>
>> Adam
> Adam,
>
> I am no wizard, but the message I think you are seeing says that MySQL
> is either not installed yet, or if it is then the make of the
> DBD::MySQL cannot find the shared libraries. I don't think it is a
> compiler or make issue.
>
> John
>

Thanks for the response John,

Well, I'm not sure really, but I've installed MySQL server through the
package installer from the site, it's up and running no problem, even
loaded my old ikonboard and Moveable Type and Geeklog databases. My
Apache Server is running, has Perl installed, PHP, and the DBI Perl
module. I can run phpMyAdmin no problem, I just can't install this
DBI::MySQL module.

Adam


--
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: DBI::MySQL Mac OS X 10.3 Panther (make NOT OK)

am 28.10.2003 07:11:06 von Jochen Wiedmann

Adam Turetzky wrote:

> make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 1
> /usr/bin/make -- NOT OK

Get yourself the latest version (2.9003_1, afaik, from authors/R/RU/RUDY).
It should at least produce a meaningful error message.


Jochen



--
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: DBI::MySQL Mac OS X 10.3 Panther (make NOT OK)

am 28.10.2003 07:11:06 von Jochen Wiedmann

Adam Turetzky wrote:

> make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 1
> /usr/bin/make -- NOT OK

Get yourself the latest version (2.9003_1, afaik, from authors/R/RU/RUDY).
It should at least produce a meaningful error message.


Jochen



--
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: DBI::MySQL Mac OS X 10.3 Panther (make NOT OK)

am 28.10.2003 07:55:13 von Adam Turetzky

On Oct 28, 2003, at 12:11 AM, Jochen Wiedmann wrote:

> Adam Turetzky wrote:
>
>> make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 1
>> /usr/bin/make -- NOT OK
>
> Get yourself the latest version (2.9003_1, afaik, from
> authors/R/RU/RUDY).
> It should at least produce a meaningful error message.
>
>
> Jochen

Ok, here's what it did via a manual install instead of CPAN and this
time I downloaded ver 2.9003_1

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 -lz -lm
make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 1


--
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: DBI::MySQL Mac OS X 10.3 Panther (make NOT OK)

am 28.10.2003 07:55:13 von Adam Turetzky

On Oct 28, 2003, at 12:11 AM, Jochen Wiedmann wrote:

> Adam Turetzky wrote:
>
>> make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 1
>> /usr/bin/make -- NOT OK
>
> Get yourself the latest version (2.9003_1, afaik, from
> authors/R/RU/RUDY).
> It should at least produce a meaningful error message.
>
>
> Jochen

Ok, here's what it did via a manual install instead of CPAN and this
time I downloaded ver 2.9003_1

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 -lz -lm
make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 1


--
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: DBI::MySQL Mac OS X 10.3 Panther (make NOT OK)

am 28.10.2003 10:02:33 von Jochen Wiedmann

Adam Turetzky wrote:

> 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 -lz -lm
> make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 1

I can hardly beleave that the linker exits with an error code, but no
visible error message. :-(

There is an option --nocatchstderr or something similar in Makefile.PL.
Does using that option change anything?


Jochen



--
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: DBI::MySQL Mac OS X 10.3 Panther (make NOT OK)

am 28.10.2003 10:02:33 von Jochen Wiedmann

Adam Turetzky wrote:

> 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 -lz -lm
> make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 1

I can hardly beleave that the linker exits with an error code, but no
visible error message. :-(

There is an option --nocatchstderr or something similar in Makefile.PL.
Does using that option change anything?


Jochen



--
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: DBI::MySQL Mac OS X 10.3 Panther (make NOT OK)

am 28.10.2003 15:46:50 von Rudy Lippan

On Tue, 28 Oct 2003, Jochen Wiedmann wrote:
> Adam Turetzky wrote:
>
> > make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 1
> > /usr/bin/make -- NOT OK
>
> Get yourself the latest version (2.9003_1, afaik, from authors/R/RU/RUDY).
> It should at least produce a meaningful error message.
>

2.9003 is out, I was just waiting for it to propagate before I sent the
Announcement (which it should have done by now).

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: DBI::MySQL Mac OS X 10.3 Panther (make NOT OK)

am 28.10.2003 15:46:50 von Rudy Lippan

On Tue, 28 Oct 2003, Jochen Wiedmann wrote:
> Adam Turetzky wrote:
>
> > make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 1
> > /usr/bin/make -- NOT OK
>
> Get yourself the latest version (2.9003_1, afaik, from authors/R/RU/RUDY).
> It should at least produce a meaningful error message.
>

2.9003 is out, I was just waiting for it to propagate before I sent the
Announcement (which it should have done by now).

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: DBI::MySQL Mac OS X 10.3 Panther (make NOT OK)

am 28.10.2003 16:00:32 von Adam Turetzky

On Oct 28, 2003, at 12:11 AM, Jochen Wiedmann wrote:

> Adam Turetzky wrote:
>
>> make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 1
>> /usr/bin/make -- NOT OK
>
> Get yourself the latest version (2.9003_1, afaik, from
> authors/R/RU/RUDY).
> It should at least produce a meaningful error message.
>
>
> Jochen
>

I guess I should mention though that the error I posted and which is
quoted above was from ver. 2.9003 which became available after I
updated my CPAN index before trying to install it again last night.

Adam


--
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: DBI::MySQL Mac OS X 10.3 Panther (make NOT OK)

am 28.10.2003 16:00:32 von Adam Turetzky

On Oct 28, 2003, at 12:11 AM, Jochen Wiedmann wrote:

> Adam Turetzky wrote:
>
>> make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 1
>> /usr/bin/make -- NOT OK
>
> Get yourself the latest version (2.9003_1, afaik, from
> authors/R/RU/RUDY).
> It should at least produce a meaningful error message.
>
>
> Jochen
>

I guess I should mention though that the error I posted and which is
quoted above was from ver. 2.9003 which became available after I
updated my CPAN index before trying to install it again last night.

Adam


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