Re: Can't Update CPAN, Can't Install DBD::mysql

2011-09-29 Thread Adrian Hosey
On Sep 28, 2011, at 1:41 PM, Lola Lee Beno wrote:
> 
> Looks like I need to install make.  This means, I need to get XCode so I can 
> install make, right?

Yes, but - you should also read this 
http://deflatermouse.livejournal.com/149721.html

 - alh



Re: Can't Update CPAN, Can't Install DBD::mysql

2011-09-28 Thread Charlie Garrison

Good morning,

On 28/09/11 at 3:59 PM -0400, Lola Lee Beno  wrote:

That's what I was afraid of.  Apparently a previous install of 
make got blown away. In the process of downloading XCode from 
App Store (uh) . . .


I had to install Xcode twice (not download, just install twice). 
And I seem to recall some reports from others saying the same 
thing. Installing twice also fixed borked xcode for a colleague. 
I never bothered to find out why that fixed things; just 
proceeded and kept working.



Charlie

--
   Ꮚ Charlie Garrison ♊ 

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
〠  http://www.ietf.org/rfc/rfc1855.txt



Re: Can't Update CPAN, Can't Install DBD::mysql

2011-09-28 Thread Lola Lee Beno
That's what I was afraid of.  Apparently a previous install of make got 
blown away. In the process of downloading XCode from App Store (uh) 
. . .



On 9/28/11 3:48 PM, Bruce Van Allen wrote:

On 2011-09-28, Lola Lee Beno wrote:

Looks like I need to install make.  This means, I need to get XCode 
so I can install make, right?


Other than the huge download of a bunch of XCode stuff you might never 
use, that's probably the best way to install make.





--
Lola J. Lee Beno
LinkedIn: http://www.linkedin.com/in/lolajleebeno
Facebook: http://www.facebook.com/profile.php?id=714355583
Blog: http://www.lolajl.net/blog/



Re: Can't Update CPAN, Can't Install DBD::mysql

2011-09-28 Thread Elizabeth Mattijsen
On Sep 28, 2011, at 7:41 PM, Lola Lee Beno wrote:
> I upgraded to Lion.  I have pre-existing Perl modules that I had installed, 
> but I hadn't yet installed DBD::mysql.
> 
> When I try to install DBD::mysql, I get this:
> 
> Checking if your kit is complete...
> Looks good
> Using DBI 1.615 (for perl 5.012003 on darwin-thread-multi-2level) installed 
> in /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level/auto/DBI/
> Writing Makefile for DBD::mysql
> Can't exec "/usr/bin/make": No such file or directory at 
> /System/Library/Perl/5.12/CPAN/Distribution.pm line 2026.
>  CAPTTOFU/DBD-mysql-4.020.tar.gz
>  /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
> Failed during this command:
> CAPTTOFU/DBD-mysql-4.020.tar.gz  : make NO
> 
> 
> When I try to update CPAN, I get this:
> 
> Warning: Prerequisite 'File::HomeDir => 0.69' for 'ANDK/CPAN-1.9800.tar.gz' 
> failed when processing 'ADAMK/File-HomeDir-0.98.tar.gz' with 'make => NO'. 
> Continuing, but chances to succeed are limited.
> Can't exec "/usr/bin/make": No such file or directory at 
> /System/Library/Perl/5.12/CPAN/Distribution.pm line 2026.
>  ANDK/CPAN-1.9800.tar.gz
>  /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
> Failed during this command:
> ADAMK/Test-Script-1.07.tar.gz: make NO
> CHANSEN/Mac-SystemDirectory-0.06.tar.gz  : writemakefile NO -- No 
> 'Makefile' created
> 
> ANDK/CPAN-1.9800.tar.gz  : make NO
> ADAMK/File-HomeDir-0.98.tar.gz   : make NO
> RJBS/IPC-Run3-0.044.tar.gz   : make NO
> ADAMK/File-Which-1.09.tar.gz : make NO
> 
> So the common denominator is: Can't exec "/usr/bin/make": No such file or 
> directory at /System/Library/Perl/5.12/CPAN/Distribution.pm line 2026.
> 
> Looks like I need to install make.  This means, I need to get XCode so I can 
> install make, right?

Yes, that would be a good start.  :-)   No guarantees after that though, but 
Xcode is essentially a prerequisite on Mac OS X.



Liz

Re: Can't Update CPAN, Can't Install DBD::mysql

2011-09-28 Thread Bruce Van Allen

On 2011-09-28, Lola Lee Beno wrote:


Looks like I need to install make.  This means, I need to get XCode so I can 
install make, right?


Other than the huge download of a bunch of XCode stuff you might 
never use, that's probably the best way to install make.




   - Bruce

_bruce__van_allen__santa_cruz_ca_



Re: Can't Update CPAN, Can't Install DBD::mysql

2011-09-28 Thread John Delacour

At 13:41 -0400 28/9/11, Lola Lee Beno wrote:


...Can't exec "/usr/bin/make": No such file or directory at


Looks like I need to install make.  This means, I need to get XCode 
so I can install make, right?


Absolutely!  Isn't it on your Mac OS X install disks?

JD


Can't Update CPAN, Can't Install DBD::mysql

2011-09-28 Thread Lola Lee Beno
I upgraded to Lion.  I have pre-existing Perl modules that I had 
installed, but I hadn't yet installed DBD::mysql.


When I try to install DBD::mysql, I get this:

Checking if your kit is complete...
Looks good
Using DBI 1.615 (for perl 5.012003 on darwin-thread-multi-2level) 
installed in 
/System/Library/Perl/Extras/5.12/darwin-thread-multi-2level/auto/DBI/

Writing Makefile for DBD::mysql
Can't exec "/usr/bin/make": No such file or directory at 
/System/Library/Perl/5.12/CPAN/Distribution.pm line 2026.

  CAPTTOFU/DBD-mysql-4.020.tar.gz
  /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
Failed during this command:
 CAPTTOFU/DBD-mysql-4.020.tar.gz  : make NO


When I try to update CPAN, I get this:

Warning: Prerequisite 'File::HomeDir => 0.69' for 
'ANDK/CPAN-1.9800.tar.gz' failed when processing 
'ADAMK/File-HomeDir-0.98.tar.gz' with 'make => NO'. Continuing, but 
chances to succeed are limited.
Can't exec "/usr/bin/make": No such file or directory at 
/System/Library/Perl/5.12/CPAN/Distribution.pm line 2026.

  ANDK/CPAN-1.9800.tar.gz
  /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
Failed during this command:
 ADAMK/Test-Script-1.07.tar.gz: make NO
 CHANSEN/Mac-SystemDirectory-0.06.tar.gz  : writemakefile NO -- No 
'Makefile' created


 ANDK/CPAN-1.9800.tar.gz  : make NO
 ADAMK/File-HomeDir-0.98.tar.gz   : make NO
 RJBS/IPC-Run3-0.044.tar.gz   : make NO
 ADAMK/File-Which-1.09.tar.gz : make NO

So the common denominator is: Can't exec "/usr/bin/make": No such file 
or directory at /System/Library/Perl/5.12/CPAN/Distribution.pm line 2026.


Looks like I need to install make.  This means, I need to get XCode so I 
can install make, right?


--
Lola J. Lee Beno
LinkedIn: http://www.linkedin.com/in/lolajleebeno
Facebook: http://www.facebook.com/profile.php?id=714355583
Blog: http://www.lolajl.net/blog/



Can't Install DBD:::mysql

2009-07-24 Thread Lola J. Lee Beno
Running 10.5.7 on MacBookPro; standard Apple Perl install.  I got this 
following error messages when I tried to install DBD::mysql.  How to get 
this to work?



perl Makefile.pl --testuser=username

I will use the following settings for compiling and testing:

 cflags(mysql_config) = -I/usr/local/mysql/include  -g -Os 
-arch x86_64 -fno-common   -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE 
-DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT  
-DDONT_DECLARE_CXA_PURE_VIRTUAL

 embedded  (mysql_config) =
 libs  (mysql_config) = -L/usr/local/mysql/lib -lmysqlclient 
-lz -lm -lmygcc

 mysql_config  (guessed ) = mysql_config
 nocatchstderr (default ) = 0
 nofoundrows   (default ) = 0
 ssl   (guessed ) = 0
 testdb(default ) = test
 testhost  (default ) =
 testpassword  (default ) =
 testsocket(default ) =
 testuser  (guessed ) = root

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

Checking if your kit is complete...
Looks good
Multiple copies of Driver.xst found in: 
/Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBI/ 
/System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level/auto/DBI/ 
at Makefile.PL line 902
Using DBI 1.609 (for perl 5.008008 on darwin-thread-multi-2level) 
installed in /Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBI/

Writing Makefile for DBD::mysql
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
cc -c  -I/Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBI 
-I/usr/local/mysql/include  -g -Os -arch x86_64 -fno-common   
-D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ 
-DIGNORE_SIGHUP_SIGQUIT  -DDONT_DECLARE_CXA_PURE_VIRTUAL 
-DDBD_MYSQL_INSERT_ID_IS_GOOD -g  -arch ppc -arch i386 -g -pipe 
-fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing 
-Wdeclaration-after-statement -I/usr/local/include -O3   
-DVERSION=\"4.012\" -DXS_VERSION=\"4.012\"  
"-I/System/Library/Perl/5.8.8/darwin-thread-multi-2level/CORE"   dbdimp.c

dbdimp.c: In function 'alloc_param':
dbdimp.c:113: warning: comparison is always false due to limited range 
of data type

dbdimp.c: In function 'alloc_bind':
dbdimp.c:131: warning: comparison is always false due to limited range 
of data type

dbdimp.c: In function 'alloc_fbind':
dbdimp.c:147: warning: comparison is always false due to limited range 
of data type

dbdimp.c: In function 'alloc_fbuffer':
dbdimp.c:162: warning: comparison is always false due to limited range 
of data type

dbdimp.c: In function 'mysql_describe':
dbdimp.c:3309: warning: assignment from incompatible pointer type
dbdimp.c: In function 'mysql_describe':
dbdimp.c:3309: warning: assignment from incompatible pointer type
dbdimp.c: In function 'mysql_describe':
dbdimp.c:3309: warning: assignment from incompatible pointer type
/usr/bin/perl -p -e "s/~DRIVER~/mysql/g" 
/Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBI/Driver.xst > 
mysql.xsi
/usr/bin/perl /System/Library/Perl/5.8.8/ExtUtils/xsubpp  -typemap 
/System/Library/Perl/5.8.8/ExtUtils/typemap  mysql.xs > mysql.xsc && mv 
mysql.xsc mysql.c

Warning: duplicate function definition 'do' detected in mysql.xs, line 225
Warning: duplicate function definition 'rows' detected in mysql.xs, line 650
cc -c  -I/Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBI 
-I/usr/local/mysql/include  -g -Os -arch x86_64 -fno-common   
-D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ 
-DIGNORE_SIGHUP_SIGQUIT  -DDONT_DECLARE_CXA_PURE_VIRTUAL 
-DDBD_MYSQL_INSERT_ID_IS_GOOD -g  -arch ppc -arch i386 -g -pipe 
-fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing 
-Wdeclaration-after-statement -I/usr/local/include -O3   
-DVERSION=\"4.012\" -DXS_VERSION=\"4.012\"  
"-I/System/Library/Perl/5.8.8/darwin-thread-multi-2level/CORE"   mysql.c

mysql.xs: In function 'XS_DBD__mysql__db_do':
mysql.xs:330: warning: comparison is always false due to limited range 
of data type
mysql.xs:331: warning: comparison is always false due to limited range 
of data type

Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.bundle
LD_RUN_PATH="/usr/local/mysql/lib" /usr/bin/perl myld cc 
-mmacosx-version-min=10.5.6  -arch ppc -arch i386 -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 -lmygcc  \

chmod 755 blib/arch/auto/DBD/mysql/mysql.bundle

cp mysql.bs blib/arch/auto/DBD/mysql/mysql.bs
chmod 644 blib/arch/auto/DBD/mysql/mysql.bs
Manifying blib/man3/DBD::mysql.3pm
Manifying blib/man3/DBD::mysql::INSTALL.3pm
Manifying blib/man3/Bundle::DBD::mysql.3pm
 CAPTTOFU/DBD-mysql-4.012.tar.gz
 /usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtU

Re: Can't Install DBD::mysql

2007-11-28 Thread Lola J. Lee Beno

Charlie Minow wrote:


Right. I just copied the ".dylib" files and none of the other ones 
into the new "mysql" directory, though. So far, it's all good. 


Worked like a charm.  Thank you.

--
Lola J. Lee Beno - ColdFusion Programmer/Web Designer for Hire
http://www.lolajl.net/resume | Blog at http://www.lolajl.net/blog/
"In rivers, the water that you touch is the last of what has passed
and the first of that which comes; so with present time." 
- Leonardo da Vinci (1452-1519)




Re: Can't Install DBD::mysql

2007-11-28 Thread Enrique Terrazas

Take a look at the following to specify the makefile flags:




Enrique

On Nov 28, 2007, at 2:58 PM, Charlie Minow wrote:


On Nov 28, 2007, at 3:51 PM, Lola J. Lee Beno wrote:


Charlie Minow wrote:
I ran into this on Tiger as well. For some reason, it's looking  
for the MySQL libraries in the wrong place. MySQL puts them in�/ 
usr/local/mysql/lib, but the make file for DBD::mysql looks a  
little deeper, in�/usr/local/mysql/lib/mysql. I could never  
figure out how to fix that path in the makefile, so, in the  
interest of getting on with my life, I made a "mysql" directory  
in /usr/local/mysql/lib, then copied all the dylib files into that.
As in copy all the files that already exist in /lib into /mysql  
directory which I need to create, right?


Right. I just copied the ".dylib" files and none of the other ones  
into the new "mysql" directory, though. So far, it's all good.


charlie
--
Charlie Minow
[EMAIL PROTECTED]
http://www.cminow.org

"...it may well be doubted whether human ingenuity can construct an
enigma of the kind which human ingenuity may not, by proper
application, resolve." - Edgar Allen Poe, The Gold Bug






--

Enrique Terrazas, MD, MS
Director, Laboratory Medicine Residency Program
Director, NCPL Laboratories
Chief, Laboratory Information Systems
HS Associate Clinical Professor
University of California, San Francisco
Clinical Laboratories, Box 0100
415.353.1375(UCSF/China Basin phone)
415.353.1620(UCSF/Parnassus phone)
415.353.4826(fax)
415.443.0913(pager)
[EMAIL PROTECTED]

CONFIDENTIALITY NOTICE: The information contained in this  
transmission, including any enclosed files, is confidential and  
intended solely for the addressee. If you are not the intended  
recipient, you are hereby notified that any distribution, copying,  
disclosure and use of, the contents of this transmission is strictly  
prohibited. If you have received this communication in error, please  
notify the sender immediately by reply email and permanently delete  
this message, enclosures and all copies.






Re: Can't Install DBD::mysql

2007-11-28 Thread Charlie Minow

On Nov 28, 2007, at 3:51 PM, Lola J. Lee Beno wrote:


Charlie Minow wrote:
I ran into this on Tiger as well. For some reason, it's looking  
for the MySQL libraries in the wrong place. MySQL puts them in�/ 
usr/local/mysql/lib, but the make file for DBD::mysql looks a  
little deeper, in�/usr/local/mysql/lib/mysql. I could never  
figure out how to fix that path in the makefile, so, in the  
interest of getting on with my life, I made a "mysql" directory  
in /usr/local/mysql/lib, then copied all the dylib files into that.
As in copy all the files that already exist in /lib into /mysql  
directory which I need to create, right?


Right. I just copied the ".dylib" files and none of the other ones  
into the new "mysql" directory, though. So far, it's all good.


charlie
--
Charlie Minow
[EMAIL PROTECTED]
http://www.cminow.org

"...it may well be doubted whether human ingenuity can construct an
enigma of the kind which human ingenuity may not, by proper
application, resolve." - Edgar Allen Poe, The Gold Bug






Re: Can't Install DBD::mysql

2007-11-28 Thread Lola J. Lee Beno

Charlie Minow wrote:
I ran into this on Tiger as well. For some reason, it's looking for 
the MySQL libraries in the wrong place. MySQL puts them 
in�/usr/local/mysql/lib, but the make file for DBD::mysql looks a 
little deeper, in�/usr/local/mysql/lib/mysql. I could never figure out 
how to fix that path in the makefile, so, in the interest of getting 
on with my life, I made a "mysql" directory in /usr/local/mysql/lib, 
then copied all the dylib files into that.
As in copy all the files that already exist in /lib into /mysql 
directory which I need to create, right?


--
Lola J. Lee Beno - ColdFusion Programmer/Web Designer for Hire
http://www.lolajl.net/resume | Blog at http://www.lolajl.net/blog/
"In rivers, the water that you touch is the last of what has passed
and the first of that which comes; so with present time." 
- Leonardo da Vinci (1452-1519)




Re: Can't Install DBD::mysql

2007-11-28 Thread Charlie Minow
I ran into this on Tiger as well. For some reason, it's looking for  
the MySQL libraries in the wrong place. MySQL puts them in /usr/local/ 
mysql/lib, but the make file for DBD::mysql looks a little deeper,  
in /usr/local/mysql/lib/mysql. I could never figure out how to fix  
that path in the makefile, so, in the interest of getting on with my  
life, I made a "mysql" directory in /usr/local/mysql/lib, then copied  
all the dylib files into that.


charlie


On Nov 28, 2007, at 3:21 PM, Lola J. Lee Beno wrote:

I've already got DBD installed, and I'm trying to install  
DBD::mysql (am running Leopard).  Make test failed . . . here's the  
first test that failed:


Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"  
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base...1/5 install_driver(mysql) failed: Can't load  
'/Users/lolajl/.cpan/build/DBD-mysql-4.005-TMoE4S/blib/arch/auto/ 
DBD/mysql/mysql.bundle' for module DBD::mysql: dlopen(/Users/ 
lolajl/.cpan/build/DBD-mysql-4.005-TMoE4S/blib/arch/auto/DBD/mysql/ 
mysql.bundle, 2): Library not loaded: /usr/local/mysql/lib/mysql/ 
libmysqlclient.15.dylib
 Referenced from: /Users/lolajl/.cpan/build/DBD-mysql-4.005-TMoE4S/ 
blib/arch/auto/DBD/mysql/mysql.bundle
t/00base...3/5   Reason: image not found at /System/ 
Library/Perl/5.8.8/darwin-thread-multi-2level/DynaLoader.pm line 230.

at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where  
expected

at t/00base.t line 38
t/00base... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/5 subtests
t/10connectinstall_driver(mysql) failed: Can't load '/ 
Users/lolajl/.cpan/build/DBD-mysql-4.005-TMoE4S/blib/arch/auto/DBD/ 
mysql/mysql.bundle' for module DBD::mysql: dlopen(/Users/ 
lolajl/.cpan/build/DBD-mysql-4.005-TMoE4S/blib/arch/auto/DBD/mysql/ 
mysql.bundle, 2): Library not loaded: /usr/local/mysql/lib/mysql/ 
libmysqlclient.15.dylib
 Referenced from: /Users/lolajl/.cpan/build/DBD-mysql-4.005-TMoE4S/ 
blib/arch/auto/DBD/mysql/mysql.bundle
 Reason: image not found at /System/Library/Perl/5.8.8/darwin- 
thread-multi-2level/DynaLoader.pm line 230.

at (eval 5) line 3
Compilation failed in require at (eval 5) line 3.
Perhaps a required shared library or dll isn't installed where  
expected

at t/10connect.t line 25
# Looks like your test died before it could output anything.
t/10connect Dubious, test returned 255 (wstat 65280,  
0xff00)

Failed 2/2 subtests


What does this mean?

--
Lola J. Lee Beno - ColdFusion Programmer/Web Designer for Hire
http://www.lolajl.net/resume | Blog at http://www.lolajl.net/blog/
"In rivers, the water that you touch is the last of what has passed
and the first of that which comes; so with present time." -  
Leonardo da Vinci (1452-1519)




--
Charlie Minow
[EMAIL PROTECTED]
http://www.cminow.org

"...it may well be doubted whether human ingenuity can construct an
enigma of the kind which human ingenuity may not, by proper
application, resolve." - Edgar Allen Poe, The Gold Bug






Can't Install DBD::mysql

2007-11-28 Thread Lola J. Lee Beno
I've already got DBD installed, and I'm trying to install DBD::mysql (am 
running Leopard).  Make test failed . . . here's the first test that failed:


Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" 
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base...1/5 install_driver(mysql) failed: Can't load 
'/Users/lolajl/.cpan/build/DBD-mysql-4.005-TMoE4S/blib/arch/auto/DBD/mysql/mysql.bundle' 
for module DBD::mysql: 
dlopen(/Users/lolajl/.cpan/build/DBD-mysql-4.005-TMoE4S/blib/arch/auto/DBD/mysql/mysql.bundle, 
2): Library not loaded: /usr/local/mysql/lib/mysql/libmysqlclient.15.dylib
 Referenced from: 
/Users/lolajl/.cpan/build/DBD-mysql-4.005-TMoE4S/blib/arch/auto/DBD/mysql/mysql.bundle
t/00base...3/5   Reason: image not found at 
/System/Library/Perl/5.8.8/darwin-thread-multi-2level/DynaLoader.pm line 
230.

at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/00base.t line 38
t/00base... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/5 subtests
t/10connectinstall_driver(mysql) failed: Can't load 
'/Users/lolajl/.cpan/build/DBD-mysql-4.005-TMoE4S/blib/arch/auto/DBD/mysql/mysql.bundle' 
for module DBD::mysql: 
dlopen(/Users/lolajl/.cpan/build/DBD-mysql-4.005-TMoE4S/blib/arch/auto/DBD/mysql/mysql.bundle, 
2): Library not loaded: /usr/local/mysql/lib/mysql/libmysqlclient.15.dylib
 Referenced from: 
/Users/lolajl/.cpan/build/DBD-mysql-4.005-TMoE4S/blib/arch/auto/DBD/mysql/mysql.bundle
 Reason: image not found at 
/System/Library/Perl/5.8.8/darwin-thread-multi-2level/DynaLoader.pm line 
230.

at (eval 5) line 3
Compilation failed in require at (eval 5) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/10connect.t line 25
# Looks like your test died before it could output anything.
t/10connect Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 2/2 subtests


What does this mean?

--
Lola J. Lee Beno - ColdFusion Programmer/Web Designer for Hire
http://www.lolajl.net/resume | Blog at http://www.lolajl.net/blog/
"In rivers, the water that you touch is the last of what has passed
and the first of that which comes; so with present time." 
- Leonardo da Vinci (1452-1519)




Re: Can't Install DBD::mysql

2007-06-28 Thread Brad Rice

Check out: http://www.bradrice.com/wposx/archives/84

See if it helps.


On Jun 19, 2007, at 9:43 AM, Jeremiah Foster wrote:


You'll need more than just DBD, you'll need DBD::Mysql


On Jun 19, 2007, at 3:34 PM, Lola J. Lee Beno wrote:

/Users/lolajl/.cpan/build/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/ 
mysql.bundle






Re: Can't Install DBD::mysql

2007-06-19 Thread Jeremiah Foster

You'll need more than just DBD, you'll need DBD::Mysql


On Jun 19, 2007, at 3:34 PM, Lola J. Lee Beno wrote:

/Users/lolajl/.cpan/build/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/ 
mysql.bundle




Re: Can't Install DBD::mysql

2007-06-19 Thread Jeremiah Foster


On Jun 19, 2007, at 3:34 PM, Lola J. Lee Beno wrote:

/Users/lolajl/.cpan/build/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/ 
mysql.bundle


Did you install this bundle? If yes, did you install it in a non- 
standard place?

Re: Can't Install DBD::mysql

2007-06-19 Thread Lola J. Lee Beno

Sherm Pendley wrote:


You didn't run the other steps; the full recipe is:

perl Makefile.PL  --with-whatever-args
make
make test
sudo make install

Sorry if this sounds obvious, but you shouldn't continue with the next 
step until you're happy with the last one. If you have any doubts, 
don't hesitate to do as you've done here - post your input, the 
output, and your question.




Okay . . . I went ahead with the args that I'd set; also created a new 
directory at /usr/local/mysql/include/mysql and ran the following command:


sudo ln -s /usr/local/mysql/lib /usr/local/mysql/lib/mysql ln -s 
/usr/local/mysql/include /usr/local/mysql/include/mysql



Ran make test, but still got a whole bunch of errors.  here's the first 
set of errors:



PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" 
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base.ok 1/5install_driver(mysql) failed: Can't load 
'/Users/lolajl/.cpan/build/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle' 
for module DBD::mysql: 
dlopen(/Users/lolajl/.cpan/build/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle, 
2): Library not loaded: /usr/local/mysql/lib/mysql/libmysqlclient.15.dylib
 Referenced from: 
/Users/lolajl/.cpan/build/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle
 Reason: image not found at 
/System/Library/Perl/5.8.6/darwin-thread-multi-2level/DynaLoader.pm line 
230.

at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/00base.t line 38
t/00base.dubious 


   Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 4-5
   Failed 2/5 tests, 60.00% okay
t/10connect..install_driver(mysql) failed: Can't load 
'/Users/lolajl/.cpan/build/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle' 
for module DBD::mysql: 
dlopen(/Users/lolajl/.cpan/build/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle, 
2): Library not loaded: /usr/local/mysql/lib/mysql/libmysqlclient.15.dylib
 Referenced from: 
/Users/lolajl/.cpan/build/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle
 Reason: image not found at 
/System/Library/Perl/5.8.6/darwin-thread-multi-2level/DynaLoader.pm line 
230.

at (eval 5) line 3
Compilation failed in require at (eval 5) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/10connect.t line 25
# Looks like your test died before it could output anything.
t/10connect..dubious 


   Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
   Failed 2/2 tests, 0.00% okay



--
Lola J. Lee Beno - ColdFusion Programmer/Web Designer for Hire
http://www.lolajl.net/resume | Blog at http://www.lolajl.net/blog/
"In rivers, the water that you touch is the last of what has passed
and the first of that which comes; so with present time." 
- Leonardo da Vinci (1452-1519)




Re: Can't Install DBD::mysql

2007-06-18 Thread Sherm Pendley

On Jun 18, 2007, at 5:22 PM, Lola J. Lee Beno wrote:


Sherm Pendley wrote:


So you can run the above command without the trailing backslashes  
in the first two lines above. That's what you'd do if you'd prefer  
to type it all on one line instead of three separate lines.


Ahh . . makes sense - thanks!  So, I ended up by downloading the  
module directly from search.cpan.org (I didn't quite trust the  
download via cpan, specially with the weird characters appended at  
the end) and ran Makefile.PL and make manually.  Here's the results  
I got:


[05:10 PM] ~/.cpan/build/DBD-mysql-4.005 19 $ sudo perl Makefile.PL  
--cflags="-I/usr/local/mysql/include -Os -arch ppc -fno-common" -- 
libs="-L/usr/local/mysql/lib -lmysqlclient -lz -lm"

Password:
I will use the following settings for compiling and testing:

 cflags(User's choice) = -I/usr/local/mysql/include -Os - 
arch ppc -fno-common

 embedded  (mysql_config ) =
 libs  (User's choice) = -L/usr/local/mysql/lib - 
lmysqlclient -lz -lm

 mysql_config  (guessed  ) = mysql_config
 nocatchstderr (default  ) = 0
 nofoundrows   (default  ) = 0
 ssl   (guessed  ) = 0
 testdb(default  ) = test
 testhost  (default  ) =
 testpassword  (default  ) =
 testsocket(default  ) =
 testuser  (default  ) =

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

Checking if your kit is complete...
Looks good
Using DBI 1.56 (for perl 5.008006 on darwin-thread-multi-2level)  
installed in /Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBI/

Writing Makefile for DBD::mysql
[05:11 PM] ~/.cpan/build/DBD-mysql-4.005 20 $ sudo make
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
cc -c  -I/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBI -I/ 
usr/local/mysql/include -Os -arch ppc -fno-common - 
DDBD_MYSQL_INSERT_ID_IS_GOOD -g  -g -pipe -fno-common -DPERL_DARWIN  
-no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -Os   - 
DVERSION=\"4.005\" -DXS_VERSION=\"4.005\"  "-I/System/Library/Perl/ 
5.8.6/darwin-thread-multi-2level/CORE"   dbdimp.c
/usr/bin/perl -p -e "s/~DRIVER~/mysql/g" /Library/Perl/5.8.6/darwin- 
thread-multi-2level/auto/DBI/Driver.xst > mysql.xsi
/usr/bin/perl /System/Library/Perl/5.8.6/ExtUtils/xsubpp  -typemap / 
System/Library/Perl/5.8.6/ExtUtils/typemap  mysql.xs > mysql.xsc &&  
mv mysql.xsc mysql.c
Warning: duplicate function definition 'do' detected in mysql.xs,  
line 225
Warning: duplicate function definition 'rows' detected in mysql.xs,  
line 612
cc -c  -I/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBI -I/ 
usr/local/mysql/include -Os -arch ppc -fno-common - 
DDBD_MYSQL_INSERT_ID_IS_GOOD -g  -g -pipe -fno-common -DPERL_DARWIN  
-no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -Os   - 
DVERSION=\"4.005\" -DXS_VERSION=\"4.005\"  "-I/System/Library/Perl/ 
5.8.6/darwin-thread-multi-2level/CORE"   mysql.c

Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.bundle
LD_RUN_PATH="/usr/local/mysql/lib" /usr/bin/perl myld env  
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  chmod  
755 blib/arch/auto/DBD/mysql/mysql.bundle

cp mysql.bs blib/arch/auto/DBD/mysql/mysql.bs
chmod 644 blib/arch/auto/DBD/mysql/mysql.bs
Manifying blib/man3/DBD::mysql.3pm
Manifying blib/man3/DBD::mysql::INSTALL.3pm
Manifying blib/man3/Bundle::DBD::mysql.3pm



Does this seem right to you?


It looks fine so far, but you've only done the first step. Does the  
user account you're using to run the tests have access to the "test"  
database? If not, you'll need to specify the database user name and  
password to use by passing the --testuser=foo and --testpassword=bar  
options to Makefile.PL.


If testing this produces errors that indicate a failure to log in to  
MySQL, do a "sudo make distclean" to start over from scratch. Rerun  
"Makefile.PL", being sure to include the database user and password  
options.


Also, only the final step needs to be run with "sudo", and that only  
if you're installing in the default location, which you are here. As  
an exception, the first "sudo perl Makefile.PL ..." may have created  
some root-owned files, so if you start over for any reason it'd be  
best to use "sudo make distclean" to make sure distclean has the  
permissions to delete those. Or just nuke the folder from orbit and  
unzip a new copy... :-)



  It didn't seem to have gone through the testing portion.


You didn't run the other steps; the full recipe is:

perl Makefile.PL  --with-whatever-args
make
make test
sudo make install

Sorry if this sounds obvious, but you shouldn't continue with the  
ne

Re: Can't Install DBD::mysql

2007-06-18 Thread Lola J. Lee Beno

Sherm Pendley wrote:


So you can run the above command without the trailing backslashes in 
the first two lines above. That's what you'd do if you'd prefer to 
type it all on one line instead of three separate lines.


Ahh . . makes sense - thanks!  So, I ended up by downloading the module 
directly from search.cpan.org (I didn't quite trust the download via 
cpan, specially with the weird characters appended at the end) and ran 
Makefile.PL and make manually.  Here's the results I got:


[05:10 PM] ~/.cpan/build/DBD-mysql-4.005 19 $ sudo perl Makefile.PL 
--cflags="-I/usr/local/mysql/include -Os -arch ppc -fno-common" 
--libs="-L/usr/local/mysql/lib -lmysqlclient -lz -lm"

Password:
I will use the following settings for compiling and testing:

 cflags(User's choice) = -I/usr/local/mysql/include -Os -arch 
ppc -fno-common

 embedded  (mysql_config ) =
 libs  (User's choice) = -L/usr/local/mysql/lib -lmysqlclient 
-lz -lm

 mysql_config  (guessed  ) = mysql_config
 nocatchstderr (default  ) = 0
 nofoundrows   (default  ) = 0
 ssl   (guessed  ) = 0
 testdb(default  ) = test
 testhost  (default  ) =
 testpassword  (default  ) =
 testsocket(default  ) =
 testuser  (default  ) =

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

Checking if your kit is complete...
Looks good
Using DBI 1.56 (for perl 5.008006 on darwin-thread-multi-2level) 
installed in /Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBI/

Writing Makefile for DBD::mysql
[05:11 PM] ~/.cpan/build/DBD-mysql-4.005 20 $ sudo make
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
cc -c  -I/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBI 
-I/usr/local/mysql/include -Os -arch ppc -fno-common 
-DDBD_MYSQL_INSERT_ID_IS_GOOD -g  -g -pipe -fno-common -DPERL_DARWIN 
-no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -Os   
-DVERSION=\"4.005\" -DXS_VERSION=\"4.005\"  
"-I/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE"   dbdimp.c
/usr/bin/perl -p -e "s/~DRIVER~/mysql/g" 
/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBI/Driver.xst > 
mysql.xsi
/usr/bin/perl /System/Library/Perl/5.8.6/ExtUtils/xsubpp  -typemap 
/System/Library/Perl/5.8.6/ExtUtils/typemap  mysql.xs > mysql.xsc && mv 
mysql.xsc mysql.c

Warning: duplicate function definition 'do' detected in mysql.xs, line 225
Warning: duplicate function definition 'rows' detected in mysql.xs, line 612
cc -c  -I/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBI 
-I/usr/local/mysql/include -Os -arch ppc -fno-common 
-DDBD_MYSQL_INSERT_ID_IS_GOOD -g  -g -pipe -fno-common -DPERL_DARWIN 
-no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -Os   
-DVERSION=\"4.005\" -DXS_VERSION=\"4.005\"  
"-I/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE"   mysql.c

Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.bundle
LD_RUN_PATH="/usr/local/mysql/lib" /usr/bin/perl myld env 
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  
chmod 755 blib/arch/auto/DBD/mysql/mysql.bundle

cp mysql.bs blib/arch/auto/DBD/mysql/mysql.bs
chmod 644 blib/arch/auto/DBD/mysql/mysql.bs
Manifying blib/man3/DBD::mysql.3pm
Manifying blib/man3/DBD::mysql::INSTALL.3pm
Manifying blib/man3/Bundle::DBD::mysql.3pm



Does this seem right to you?  It didn't seem to have gone through the 
testing portion.


--
Lola J. Lee Beno - ColdFusion Programmer/Web Designer for Hire
http://www.lolajl.net/resume | Blog at http://www.lolajl.net/blog/
"In rivers, the water that you touch is the last of what has passed
and the first of that which comes; so with present time." 
- Leonardo da Vinci (1452-1519)




Re: Can't Install DBD::mysql

2007-06-18 Thread Sherm Pendley

On Jun 18, 2007, at 4:22 PM, Lola J. Lee Beno wrote:


Joel Rees wrote:


Multi-line ommand?


sudo perl Makefile.PL \
--cflags="-I/usr/local/mysql/include -Os -arch i386 -fno-common" \
--libs="-L/usr/local/mysql/lib -lmysqlclient -lz -lm"

properly in Terminal?


I'm thinking that the lack of backslash terminates the command  
line. What's it doing (or not)?


I was getting ">" everytime I hit return.  Once I retyped that line  
without the backslashes, it worked correctly.


Unlike Perl, the command-line shell doesn't accept multi-line  
commands automagically. To use them you need to add a \ at the end of  
each line as a "continuation" character. Instead of taking what  
you've typed and running it, the shell changes the prompt to '>' and  
accepts more input. When a line is entered without a trailing \, then  
the whole series of lines is joined together and executed as one  
command.


So you can run the above command without the trailing backslashes in  
the first two lines above. That's what you'd do if you'd prefer to  
type it all on one line instead of three separate lines.


sherm--

Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net




Re: Can't Install DBD::mysql

2007-06-18 Thread Lola J. Lee Beno

Joel Rees wrote:


Multi-line ommand?


sudo perl Makefile.PL \
--cflags="-I/usr/local/mysql/include -Os -arch i386 -fno-common" \
--libs="-L/usr/local/mysql/lib -lmysqlclient -lz -lm"

properly in Terminal?


I'm thinking that the lack of backslash terminates the command line. 
What's it doing (or not)?


I was getting ">" everytime I hit return.  Once I retyped that line 
without the backslashes, it worked correctly.  Finally got the module to 
install (I think) . . .


--
Lola J. Lee Beno - ColdFusion Programmer/Web Designer for Hire
http://www.lolajl.net/resume | Blog at http://www.lolajl.net/blog/
"In rivers, the water that you touch is the last of what has passed
and the first of that which comes; so with present time." 
- Leonardo da Vinci (1452-1519)




Re: Can't Install DBD::mysql

2007-06-18 Thread Joel Rees


On 平成 19/06/18, at 6:37, Lola J. Lee Beno wrote:


Enrique Terrazas wrote:
I installed the intel version of mysql (mysql-5.0.41-osx10.4- 
i686.dmg) which went fine.  I then tried to install DBD::mysql  
with the following parameters:


perl Makefile.PL --testdb=test --testuser=testuser -- 
testpassword=password --libs -L/usr/local/mysql/lib --cflags -I/ 
usr/local/mysql/include


and got the following errors ... help!


Yep . . . had the same problem.   Fortunately, someone sent me this  
info:





Hope this helps.  I haven't yet gotten this to work because of this  
- how do you terminate a multi-line Perl comment like this


Multi-line ommand?


sudo perl Makefile.PL \
--cflags="-I/usr/local/mysql/include -Os -arch i386 -fno-common" \
--libs="-L/usr/local/mysql/lib -lmysqlclient -lz -lm"

properly in Terminal?


I'm thinking that the lack of backslash terminates the command line.  
What's it doing (or not)?



--
Lola J. Lee Beno - ColdFusion Programmer/Web Designer for Hire
http://www.lolajl.net/resume | Blog at http://www.lolajl.net/blog/
"In rivers, the water that you touch is the last of what has passed
and the first of that which comes; so with present time." -  
Leonardo da Vinci (1452-1519)






Re: Can't Install DBD::mysql

2007-06-17 Thread Enrique Terrazas
Thanks all!  The link below set me on the right track to get  
DBD::mysql installed.





--

Enrique Terrazas, MD, MS
Director, Laboratory Medicine Residency Program
Chief, Laboratory Information Systems
HS Associate Clinical Professor
University of California, San Francisco
Clinical Laboratories, Box 0100
415.353.1375(UCSF/China Basin phone)
415.353.1620(UCSF/Parnassus phone)
415.353.4826(fax)
415.443.0913(pager)
[EMAIL PROTECTED]

CONFIDENTIALITY NOTICE: The information contained in this  
transmission, including any enclosed files, is confidential and  
intended solely for the addressee. If you are not the intended  
recipient, you are hereby notified that any distribution, copying,  
disclosure and use of, the contents of this transmission is strictly  
prohibited. If you have received this communication in error, please  
notify the sender immediately by reply email and permanently delete  
this message, enclosures and all copies.






Re: Can't Install DBD::mysql

2007-06-17 Thread Lola J. Lee Beno

Enrique Terrazas wrote:
I installed the intel version of mysql (mysql-5.0.41-osx10.4-i686.dmg) 
which went fine.  I then tried to install DBD::mysql with the 
following parameters:


perl Makefile.PL --testdb=test --testuser=testuser 
--testpassword=password --libs -L/usr/local/mysql/lib --cflags 
-I/usr/local/mysql/include


and got the following errors ... help!


Yep . . . had the same problem.   Fortunately, someone sent me this info:



Hope this helps.  I haven't yet gotten this to work because of this - 
how do you terminate a multi-line Perl comment like this:


sudo perl Makefile.PL \
--cflags="-I/usr/local/mysql/include -Os -arch i386 -fno-common" \
--libs="-L/usr/local/mysql/lib -lmysqlclient -lz -lm"

properly in Terminal?

--
Lola J. Lee Beno - ColdFusion Programmer/Web Designer for Hire
http://www.lolajl.net/resume | Blog at http://www.lolajl.net/blog/
"In rivers, the water that you touch is the last of what has passed
and the first of that which comes; so with present time." 
- Leonardo da Vinci (1452-1519)




Can't Install DBD::mysql

2007-06-17 Thread Enrique Terrazas
I installed the intel version of mysql (mysql-5.0.41-osx10.4- 
i686.dmg) which went fine.  I then tried to install DBD::mysql with  
the following parameters:


perl Makefile.PL --testdb=test --testuser=testuser -- 
testpassword=password --libs -L/usr/local/mysql/lib --cflags -I/usr/ 
local/mysql/include


and got the following errors ... help!

Enrique Terrazas

--

make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"  
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base.ok 1/5install_driver(mysql) failed: Can't load '/ 
Users/eterr/Desktop/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/ 
mysql.bundle' for module DBD::mysql: dlopen(/Users/eterr/Desktop/DBD- 
mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle, 2): Symbol not  
found: _mysql_stmt_store_result
  Referenced from: /Users/eterr/Desktop/DBD-mysql-4.005/blib/arch/ 
auto/DBD/mysql/mysql.bundle

  Expected in: dynamic lookup
at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/00base.t line 38
t/00base.dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 4-5
Failed 2/5 tests, 60.00% okay
t/10connect..install_driver(mysql) failed: Can't load '/Users/ 
eterr/Desktop/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle'  
for module DBD::mysql: dlopen(/Users/eterr/Desktop/DBD-mysql-4.005/ 
blib/arch/auto/DBD/mysql/mysql.bundle, 2): Symbol not found:  
_mysql_stmt_store_result
  Referenced from: /Users/eterr/Desktop/DBD-mysql-4.005/blib/arch/ 
auto/DBD/mysql/mysql.bundle

  Expected in: dynamic lookup
at (eval 5) line 3
Compilation failed in require at (eval 5) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/10connect.t line 25
# Looks like your test died before it could output anything.
t/10connect..dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
t/20createdrop...install_driver(mysql) failed: Can't load '/Users/ 
eterr/Desktop/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle'  
for module DBD::mysql: dlopen(/Users/eterr/Desktop/DBD-mysql-4.005/ 
blib/arch/auto/DBD/mysql/mysql.bundle, 2): Symbol not found:  
_mysql_stmt_store_result
  Referenced from: /Users/eterr/Desktop/DBD-mysql-4.005/blib/arch/ 
auto/DBD/mysql/mysql.bundle

  Expected in: dynamic lookup
at (eval 5) line 3
Compilation failed in require at (eval 5) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/20createdrop.t line 21
# Looks like your test died before it could output anything.
t/20createdrop...dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-4
Failed 4/4 tests, 0.00% okay
t/30insertfetch..install_driver(mysql) failed: Can't load '/Users/ 
eterr/Desktop/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle'  
for module DBD::mysql: dlopen(/Users/eterr/Desktop/DBD-mysql-4.005/ 
blib/arch/auto/DBD/mysql/mysql.bundle, 2): Symbol not found:  
_mysql_stmt_store_result
  Referenced from: /Users/eterr/Desktop/DBD-mysql-4.005/blib/arch/ 
auto/DBD/mysql/mysql.bundle

  Expected in: dynamic lookup
at (eval 5) line 3
Compilation failed in require at (eval 5) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/30insertfetch.t line 21
# Looks like your test died before it could output anything.
t/30insertfetch..dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-9
Failed 9/9 tests, 0.00% okay
t/35limitinstall_driver(mysql) failed: Can't load '/Users/ 
eterr/Desktop/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle'  
for module DBD::mysql: dlopen(/Users/eterr/Desktop/DBD-mysql-4.005/ 
blib/arch/auto/DBD/mysql/mysql.bundle, 2): Symbol not found:  
_mysql_stmt_store_result
  Referenced from: /Users/eterr/Desktop/DBD-mysql-4.005/blib/arch/ 
auto/DBD/mysql/mysql.bundle

  Expected in: dynamic lookup
at (eval 5) line 3
Compilation failed in require at (eval 5) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/35limit.t line 24
# Looks like your test died before it could output anything.
t/35limitdubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-111
Failed 111/111 tests, 0.00% okay
t/35prepare..install_driver(mysql) failed: Can't load '/Users/ 
eterr/Desktop/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle'  
for module DBD::mysql: dlopen(/Users/eterr/Desktop/DBD-mysql-4.005/ 
blib/arch/auto/DBD/mysql/mysql.bundle, 2): Symbol not found:  
_mysql_stmt_store_result
  Referenced from: /Users/eterr/Desktop/DBD-mysql-4.005/blib/arch/ 
auto/DBD/mysql/mysql.bundle

  Expected in: dynamic lookup
at (eval 5) line 3
Compilation failed in require at (eval 5) line 3.
Perhaps a required shared libra

Re: Can't Install DBD::mysql

2007-06-13 Thread Lola J. Lee Beno

Chas Owens wrote:


Where do I get this package?



Umm . . . I don't see Headers and libraries available for OS X, just for 
Red Hat, SuSE and Ubuntu Linux.  ???


--
Lola J. Lee Beno - ColdFusion Programmer/Web Designer for Hire
http://www.lolajl.net/resume | Blog at http://www.lolajl.net/blog/
"In rivers, the water that you touch is the last of what has passed
and the first of that which comes; so with present time." 
- Leonardo da Vinci (1452-1519)




Re: Can't Install DBD::mysql

2007-06-13 Thread Chas Owens

On 6/13/07, Lola J. Lee Beno <[EMAIL PROTECTED]> wrote:

Chas Owens wrote:
>
> There is a package called "Headers and libraries".  You need to
> install that as well if you want to compile code that talks to MySQL.
>

Where do I get this package?


--
Lola J. Lee Beno - ColdFusion Programmer/Web Designer for Hire
http://www.lolajl.net/resume | Blog at http://www.lolajl.net/blog/
"In rivers, the water that you touch is the last of what has passed
and the first of that which comes; so with present time."
- Leonardo da Vinci (1452-1519)




http://dev.mysql.com/downloads/mysql/5.0.html#downloads


Re: Can't Install DBD::mysql

2007-06-13 Thread Lola J. Lee Beno

Chas Owens wrote:


There is a package called "Headers and libraries".  You need to
install that as well if you want to compile code that talks to MySQL.



Where do I get this package?


--
Lola J. Lee Beno - ColdFusion Programmer/Web Designer for Hire
http://www.lolajl.net/resume | Blog at http://www.lolajl.net/blog/
"In rivers, the water that you touch is the last of what has passed
and the first of that which comes; so with present time." 
- Leonardo da Vinci (1452-1519)




Re: Can't Install DBD::mysql

2007-06-13 Thread Steve Axthelm
On 2007-06-13 Lola J. Lee Beno <[EMAIL PROTECTED]> wrote:

> Sherm Pendley wrote:
> >
> >The error message is telling you what file is missing - it's 
> >the C client library that should have been installed with MySQL itself.
> >
> >So, what went awry during the MySQL installation to cause that 
> >file to be missing?
> >
> >
> 
> I installed the 5.0.41 MySQL Community Server (GPL) from mysql.com -
> the package version.  Install seemed to be going normally.

Looks like the path is wrong. It's looking in:

/usr/local/mysql/lib/mysql/

The lib directory should be:

/usr/local/mysql/lib/


-Steve

-- 
Steve Axthelm
[EMAIL PROTECTED]



Re: Can't Install DBD::mysql

2007-06-13 Thread Chas Owens

On 6/13/07, Lola J. Lee Beno <[EMAIL PROTECTED]> wrote:

Sherm Pendley wrote:
>
> The error message is telling you what file is missing - it's the C
> client library that should have been installed with MySQL itself.
>
> So, what went awry during the MySQL installation to cause that file to
> be missing?
>
>

I installed the 5.0.41 MySQL Community Server (GPL) from mysql.com - the
package version.  Install seemed to be going normally.

--
Lola J. Lee Beno - ColdFusion Programmer/Web Designer for Hire
http://www.lolajl.net/resume | Blog at http://www.lolajl.net/blog/
"In rivers, the water that you touch is the last of what has passed
and the first of that which comes; so with present time."
- Leonardo da Vinci (1452-1519)




There is a package called "Headers and libraries".  You need to
install that as well if you want to compile code that talks to MySQL.


Re: Can't Install DBD::mysql

2007-06-13 Thread Lola J. Lee Beno

Sherm Pendley wrote:


The error message is telling you what file is missing - it's the C 
client library that should have been installed with MySQL itself.


So, what went awry during the MySQL installation to cause that file to 
be missing?





I installed the 5.0.41 MySQL Community Server (GPL) from mysql.com - the 
package version.  Install seemed to be going normally.


--
Lola J. Lee Beno - ColdFusion Programmer/Web Designer for Hire
http://www.lolajl.net/resume | Blog at http://www.lolajl.net/blog/
"In rivers, the water that you touch is the last of what has passed
and the first of that which comes; so with present time." 
- Leonardo da Vinci (1452-1519)




Re: Can't Install DBD::mysql

2007-06-13 Thread Sherm Pendley

On Jun 13, 2007, at 7:33 PM, Lola J. Lee Beno wrote:


Library not loaded: /usr/local/mysql/lib/mysql/libmysqlclient.15.dylib
 Referenced from: /Users/lolajl/.cpan/build/DBD-mysql-4.005-cC14so/ 
blib/arch/auto/DBD/mysql/mysql.bundle
 Reason: image not found at /System/Library/Perl/5.8.6/darwin- 
thread-multi-2level/DynaLoader.pm line 230.

at (eval 3) line 3



What should i do next?


The error message is telling you what file is missing - it's the C  
client library that should have been installed with MySQL itself.


So, what went awry during the MySQL installation to cause that file  
to be missing?


sherm--

Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net




Re: Can't Install DBD::mysql

2007-06-13 Thread Steve Axthelm

On 2007-06-13 Lola J. Lee Beno <[EMAIL PROTECTED]> wrote:

Trying to install this module but it fails with the following 
fail message at the end:

[snip]

Heh, I just struggled through a DBD::mysql install today ( mine 
was a different error and ended up being a bug in MySQL), but I 
suspect like me you'll find Sherm's excellent instructions from 
a while back helpful:




Specifically, using look to open a sub shell:

look DBD::mysql

so you can run the commands manually.

HTH,


-Steve

--
Steve Axthelm
[EMAIL PROTECTED]



Can't Install DBD::mysql

2007-06-13 Thread Lola J. Lee Beno
Trying to install this module but it fails with the following fail 
message at the end:


Failed 26/28 test scripts. 423/426 subtests failed.
Files=28, Tests=426, 10 wallclock secs ( 6.13 cusr +  1.20 csys =  7.33 CPU)
Failed 26/28 test programs. 423/426 subtests failed.
make: *** [test_dynamic] Error 255
 CAPTTOFU/DBD-mysql-4.005.tar.gz
 /usr/bin/make test -- NOT OK
Running make install
 make test had returned bad status, won't install without force
Failed during this command:
CAPTTOFU/DBD-mysql-4.005.tar.gz  : make_test NO


The first failed test error message is:

PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" 
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base.ok 1/5install_driver(mysql) failed: Can't load 
'/Users/lolajl/.cpan/build/DBD-mysql-4.005-cC14so/blib/arch/auto/DBD/mysql/mysql.bundle' 
for module DBD::mysql: 
dlopen(/Users/lolajl/.cpan/build/DBD-mysql-4.005-cC14so/blib/arch/auto/DBD/mysql/mysql.bundle, 
2): Library not loaded: /usr/local/mysql/lib/mysql/libmysqlclient.15.dylib
 Referenced from: 
/Users/lolajl/.cpan/build/DBD-mysql-4.005-cC14so/blib/arch/auto/DBD/mysql/mysql.bundle
 Reason: image not found at 
/System/Library/Perl/5.8.6/darwin-thread-multi-2level/DynaLoader.pm line 
230.

at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/00base.t line 38
t/00base.dubious 


   Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 4-5
   Failed 2/5 tests, 60.00% okay

What should i do next?

--
Lola J. Lee Beno - ColdFusion Programmer/Web Designer for Hire
http://www.lolajl.net/resume | Blog at http://www.lolajl.net/blog/
"In rivers, the water that you touch is the last of what has passed
and the first of that which comes; so with present time." 
- Leonardo da Vinci (1452-1519)