DBD::mysql bug in Mac OS X 10.3

DBD::mysql bug in Mac OS X 10.3

am 16.11.2003 05:02:01 von Matt Post

Hello,

I have a fresh install of Panther, and was unable to get DBD::mysql to
compile straight through the CPAN module. I'm not really familiar with how
linking is done, but I know what I did to fix the problem. The last stage
of the compilation runs the command

mpost89 ~/.cpan/build/DBD-mysql-2.9003$ make
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
mpost89 ~/.cpan/build/DBD-mysql-2.9003$

I was getting the error above. However, when I ran the compile command
directly (not through the perl 'myld' script) everything compiled fine:

mpost89 ~/.cpan/build/DBD-mysql-2.9003$ 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
mpost89 ~/.cpan/build/DBD-mysql-2.9003$

I ran 'make install' and (apart from getting some strange permission
problems in Panther), everything is now working fine.

Sorry if I've sent this to the wrong place. I'd send a fix but I'm not
sure how to.

Thanks,
Matt Post

--
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 bug in Mac OS X 10.3

am 16.11.2003 21:16:01 von Rudy Lippan

On Sat, 15 Nov 2003, Matt Post wrote:

> Hello,
>
Hello,

> I was getting the error above. However, when I ran the compile command
> directly (not through the perl 'myld' script) everything compiled fine:
>
> mpost89 ~/.cpan/build/DBD-mysql-2.9003$ 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
> mpost89 ~/.cpan/build/DBD-mysql-2.9003$


What is the output of

mpost89 ~/.cpan/build/DBD-mysql-2.9003$ 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

mpost89 ~/.cpan/build/DBD-mysql-2.9003$ echo $?

I'd just like to know what error code cc is returning.


Also could you try building the make file with --nocatchstderr which
keeps myld from runnign myld and see if everything compiles correctly.

Thank you,

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: DBD::mysql bug in Mac OS X 10.3

am 16.11.2003 21:16:01 von Rudy Lippan

On Sat, 15 Nov 2003, Matt Post wrote:

> Hello,
>
Hello,

> I was getting the error above. However, when I ran the compile command
> directly (not through the perl 'myld' script) everything compiled fine:
>
> mpost89 ~/.cpan/build/DBD-mysql-2.9003$ 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
> mpost89 ~/.cpan/build/DBD-mysql-2.9003$


What is the output of

mpost89 ~/.cpan/build/DBD-mysql-2.9003$ 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

mpost89 ~/.cpan/build/DBD-mysql-2.9003$ echo $?

I'd just like to know what error code cc is returning.


Also could you try building the make file with --nocatchstderr which
keeps myld from runnign myld and see if everything compiles correctly.

Thank you,

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: DBD::mysql bug in Mac OS X 10.3

am 17.11.2003 00:13:56 von Matt Post

echo $? returned 2.

I ran 'perl Makefile.PL --nocatchstderr && make' and everything
compiled fine. Just to check, I followed that up with 'make install'
and tested it with my scripts -- no problems.

Matt


On Sun, 16 Nov 2003, Rudy Lippan wrote:

> On Sat, 15 Nov 2003, Matt Post wrote:
>
> > Hello,
> >
> Hello,
>
> > I was getting the error above. However, when I ran the compile command
> > directly (not through the perl 'myld' script) everything compiled fine:
> >
> > mpost89 ~/.cpan/build/DBD-mysql-2.9003$ 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
> > mpost89 ~/.cpan/build/DBD-mysql-2.9003$
>
>
> What is the output of
>
> mpost89 ~/.cpan/build/DBD-mysql-2.9003$ 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
>
> mpost89 ~/.cpan/build/DBD-mysql-2.9003$ echo $?
>
> I'd just like to know what error code cc is returning.
>
>
> Also could you try building the make file with --nocatchstderr which
> keeps myld from runnign myld and see if everything compiles correctly.
>
> Thank you,
>
> Rudy
>
>
> --
> MySQL Perl Mailing List
> For list archives: http://lists.mysql.com/perl
> To unsubscribe: http://lists.mysql.com/perl?unsub=sugiarto.Then@infotronik.c om
>

--
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 bug in Mac OS X 10.3

am 17.11.2003 00:13:56 von Matt Post

echo $? returned 2.

I ran 'perl Makefile.PL --nocatchstderr && make' and everything
compiled fine. Just to check, I followed that up with 'make install'
and tested it with my scripts -- no problems.

Matt


On Sun, 16 Nov 2003, Rudy Lippan wrote:

> On Sat, 15 Nov 2003, Matt Post wrote:
>
> > Hello,
> >
> Hello,
>
> > I was getting the error above. However, when I ran the compile command
> > directly (not through the perl 'myld' script) everything compiled fine:
> >
> > mpost89 ~/.cpan/build/DBD-mysql-2.9003$ 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
> > mpost89 ~/.cpan/build/DBD-mysql-2.9003$
>
>
> What is the output of
>
> mpost89 ~/.cpan/build/DBD-mysql-2.9003$ 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
>
> mpost89 ~/.cpan/build/DBD-mysql-2.9003$ echo $?
>
> I'd just like to know what error code cc is returning.
>
>
> Also could you try building the make file with --nocatchstderr which
> keeps myld from runnign myld and see if everything compiles correctly.
>
> Thank you,
>
> Rudy
>
>
> --
> MySQL Perl Mailing List
> For list archives: http://lists.mysql.com/perl
> To unsubscribe: http://lists.mysql.com/perl?unsub=sugiarto.Then@infotronik.c om
>

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