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






Library Problem

2007-11-28 Thread Michael Barto




What is the trick to installing Net::SFTP? The Math::GMP library fails.
Trying to use MCPAN -e shell interactively with install Net::SFTP.
MacOSX 10.4.11 PPC. Perl v5.8.6
-- 





  

  
  


  Michael Barto
  Software Architect
  
  
  
  


   LogiQwest
Inc.
16458 Bolsa Chica Street, # 15
Huntington Beach, CA92649
  http://www.logiqwest.com/
  
  
  
  [EMAIL PROTECTED]
Tel:714 377 3705
Fax:714 840 3937
Cell: 714 883 1949
  
  


  'tis a gift to be
simple
   


   This e-mail may contain
LogiQwest
proprietary information and should be treated as confidential. 

  








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

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

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

http://jayallen.org/journey/2006/04/dbd-mysql-build-problems-on-mac- 
book-pro


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.






PAR::Packer build error

2007-11-28 Thread Alex Dodge
Hello.  I'm having difficulty building PAR::Packer.  I'm running OSX 10.5.
I've downloaded the svn from http://svn.openfoundry.org/par/PAR-Packer/trunk/
and am trying to compile.  However, I get the following:  (CPAN gets the
same error.)
[EMAIL PROTECTED]:~/Install/Sources/par-packer $ make
include /Users/adodge/Install/Sources/par-packer/inc/Module/Install.pm
include inc/Module/Install/PAR.pm
include inc/Module/Install/Base.pm
cp lib/App/Packer/PAR.pm blib/lib/App/Packer/PAR.pm
cp lib/PAR/Packer.pm blib/lib/PAR/Packer.pm
cp lib/PAR/Filter/Obfuscate.pm blib/lib/PAR/Filter/Obfuscate.pm
cp lib/PAR/Filter/PodStrip.pm blib/lib/PAR/Filter/PodStrip.pm
cp lib/PAR/StrippedPARL/Base.pm blib/lib/PAR/StrippedPARL/Base.pm
cp lib/PAR/Filter.pm blib/lib/PAR/Filter.pm
cp lib/PAR/Filter/PatchContent.pm blib/lib/PAR/Filter/PatchContent.pm
cp lib/PAR/StrippedPARL/Dynamic.pm blib/lib/PAR/StrippedPARL/Dynamic.pm
cp lib/PAR/Filter/Bytecode.pm blib/lib/PAR/Filter/Bytecode.pm
cp lib/pp.pm blib/lib/pp.pm
cp lib/PAR/Filter/Bleach.pm blib/lib/PAR/Filter/Bleach.pm
cp lib/PAR/StrippedPARL/Static.pm blib/lib/PAR/StrippedPARL/Static.pm
perl sha1.c.PL sha1.c
cc -c -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN
-no-cpp-precomp -fno-strict-aliasing -Wdeclaration-after-statement
-I/usr/local/include
-I/System/Library/Perl/5.8.8/darwin-thread-multi-2level/CORE  sha1.c
perl ./file2c.pl
/System/Library/Perl/5.8.8/darwin-thread-multi-2level/CORE/libperl.dylib
my_perl.c load_me_0 1 3
cc -c -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN
-no-cpp-precomp -fno-strict-aliasing -Wdeclaration-after-statement
-I/usr/local/include
-I/System/Library/Perl/5.8.8/darwin-thread-multi-2level/CORE  main.c
perl ./file2c.pl ../script/par.pl my_par_pl.c load_me_2 1
cc -c -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN
-no-cpp-precomp -fno-strict-aliasing -Wdeclaration-after-statement
-I/usr/local/include
-I/System/Library/Perl/5.8.8/darwin-thread-multi-2level/CORE  my_par_pl.c
cc -mmacosx-version-min=10.5 main.o my_par_pl.o  -arch i386 -arch ppc
-L/usr/local/lib
/System/Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DynaLoader/DynaLoader.a
-L/System/Library/Perl/5.8.8/darwin-thread-multi-2level/CORE -lperl -ldl -lm
-lutil -lc --output ./par
perl -e1
perl ./file2c.pl ./par my_par.c load_me_1 1 3
Usage: ./file2c.pl file.pl file.c c_variable
make[1]: *** [my_par.c] Error 1
make: *** [subdirs] Error 2

The problem seems to be that myldr/par doesn't exist.  I can't seem to find
mention of this problem anywhere.

Any help would be appreciated.  Thank you.

--Alex Dodge


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)