Library Problem
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, CA 92649 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: 5.8.2 Library problem: module not seen
Le 2 déc. 03, à 17:29, Randall Perry a écrit : Thanks. I went ahead and rebuilt all my modules. I've found threads to be incompatible with DBI so had to dump Apple's build. Huh? I'm using DBI with mysql and postgres with Panther's stock perl (5.8.1-RC3 drawin-thread-multi-2level). -- Eric Cholet
Re: 5.8.2 Library problem: module not seen
Thanks. I went ahead and rebuilt all my modules. I've found threads to be incompatible with DBI so had to dump Apple's build. on 12/2/03 11:15 AM, Chris Nandor at [EMAIL PROTECTED] wrote: > > Anyway, so that's the problem ... you changed architectures between perl > 5.8.0 and perl 5.8.2. And you also changed from the stock perl 5.8.1 that > comes with 10.3, because that uses neither darwin or darwin-2level, but uses > darwin-thread-multi-2level (which you can get on 5.8.2 by adding > -Dusethreads to Configure). -- Randall Perry sysTame Xserve Web Hosting/Co-location Website Development/Promotion Mac Consulting/Sales http://www.systame.com/
Re: 5.8.2 Library problem: module not seen
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Randall Perry) wrote: > Just upgraded from 5.8 to 5.8.2 on OSXS 10.3.1. > > During configure I specified /Library/Perl for site-specific libs. > > It compiled, tested, and installed ok. But when I went to test a script it > complained that a module wasn't there, though it's in the perl lib path. No, it isn't. :) It is in *a* perl lib path. > Here's the perl lib path: > perl -e 'print "$_\n" for @INC' > /sw/lib/perl5 > /usr/local/lib/perl5/5.8.2/darwin-2level > /usr/local/lib/perl5/5.8.2 > /Library/Perl/darwin-2level > /Library/Perl > /Library/Perl > > Here's the old DBI: > l /Library/Perl/darwin/DBI darwin != darwin-2level. As far as perl is concerned -- and rightly so -- darwin and darwin-2level are different architectures. They are not binary compatible. Your options are either to recompile everything, or to build perl 5.8.2 without 2level (which means a. lying to Configure about your OS version [I don't know all the possible repercussions of this] to something less than 7.0.0, or b. hacking hints/darwin.sh to use the old 10.2 configs even for 10.3, which is what I did, or c. trying to manually define the right things for Configure, which seems to be a big pain). While I did get rid of 2level, I can't recommend that, as I don't know all the potential problems. It turns out my previous problem was not with 2level, but that I was neglecting to build libapreq's C library separately (d'oh). But I noticed similar undefined symbol problems with 2level that I could not attribute to libapreq, and as I had already built without 2level, I left it that way. I have both installed now, and if I can narrow the problem down with 2level later -- if indeed it is a problem with 2level -- I'll post about it. Anyway, so that's the problem ... you changed architectures between perl 5.8.0 and perl 5.8.2. And you also changed from the stock perl 5.8.1 that comes with 10.3, because that uses neither darwin or darwin-2level, but uses darwin-thread-multi-2level (which you can get on 5.8.2 by adding -Dusethreads to Configure). -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open Source Development Network[EMAIL PROTECTED] http://osdn.com/
5.8.2 Library problem: module not seen
Just upgraded from 5.8 to 5.8.2 on OSXS 10.3.1. During configure I specified /Library/Perl for site-specific libs. It compiled, tested, and installed ok. But when I went to test a script it complained that a module wasn't there, though it's in the perl lib path. So I ran CPAN to re-install the module (DBI). Here's the perl lib path: perl -e 'print "$_\n" for @INC' /sw/lib/perl5 /usr/local/lib/perl5/5.8.2/darwin-2level /usr/local/lib/perl5/5.8.2 /Library/Perl/darwin-2level /Library/Perl /Library/Perl Here's the old DBI: l /Library/Perl/darwin/DBI total 624 -r--r--r-- 1 root admin 53966 7 Dec 2002 Changes.pm drwxr-xr-x 5 root admin170 7 Dec 2002 Const -r--r--r-- 1 root admin 64423 29 Nov 2002 DBD.pm -r--r--r-- 1 root admin 36024 24 Aug 2001 FAQ.pm -r--r--r-- 1 root admin 14439 29 Nov 2002 Format.pm -r--r--r-- 1 root admin 20573 29 Nov 2002 Profile.pm -r--r--r-- 1 root admin 16411 1 Dec 2002 ProfileData.pm drwxr-xr-x 3 root admin102 7 Dec 2002 ProfileDumper -r--r--r-- 1 root admin 8112 1 Dec 2002 ProfileDumper.pm -r--r--r-- 1 root admin 18345 1 Dec 2002 ProxyServer.pm -r--r--r-- 1 root admin 25130 29 Nov 2002 PurePerl.pm -r-xr-xr-x 1 root admin 29306 29 Nov 2002 Shell.pm -r--r--r-- 1 root admin 4594 24 Aug 2001 W32ODBC.pm And the newly installed DBI: l /Library/Perl/darwin-2level/DBI total 640 -r--r--r-- 1 root admin 63911 25 Nov 11:23 Changes.pm drwxr-xr-x 5 root admin 170 25 Nov 11:23 Const drwxr-xr-x 3 root admin 102 25 Nov 11:23 DBD -r--r--r-- 1 root admin 104617 19 Aug 20:15 DBD.pm -r--r--r-- 1 root admin 36024 24 Aug 2001 FAQ.pm -r--r--r-- 1 root admin 21577 19 Aug 20:15 Profile.pm -r--r--r-- 1 root admin 16486 26 Feb 2003 ProfileData.pm drwxr-xr-x 3 root admin 102 25 Nov 11:23 ProfileDumper -r--r--r-- 1 root admin8112 1 Dec 2002 ProfileDumper.pm -r--r--r-- 1 root admin 26172 14 May 2003 ProxyServer.pm -r--r--r-- 1 root admin 26874 13 May 2003 PurePerl.pm -r--r--r-- 1 root admin4594 24 Aug 2001 W32ODBC.pm Did I set the path wrong on configure? Or do all modules need to be re-compiled for 5.8.2? -- Randall Perry sysTame Xserve Web Hosting/Co-location Website Development/Promotion Mac Consulting/Sales http://www.systame.com/
Library Problem
I have been trying to install Net::SFTP. It has various dependencies including Math::Pari and Math::GMP. Whenever I try to run "make test" on the build for Math::GMP, I receive the following: make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/gmppmdyld: /usr/bin/perl Undefined symbols: ___gmpz_add ___gmpz_add_ui ___gmpz_and ___gmpz_clear ___gmpz_cmp ___gmpz_fac_ui ___gmpz_fdiv_q ___gmpz_fdiv_q_2exp ___gmpz_fdiv_r ___gmpz_fdiv_r_2exp ___gmpz_fib_ui ___gmpz_gcd ___gmpz_get_si ___gmpz_get_str ___gmpz_init ___gmpz_init_set ___gmpz_init_set_str ___gmpz_ior ___gmpz_jacobi ___gmpz_mod ___gmpz_mul ___gmpz_mul_2exp ___gmpz_pow_ui ___gmpz_powm ___gmpz_sizeinbase ___gmpz_sqrt ___gmpz_sub ___gmpz_tdiv_qr ___gmpz_tstbit ___gmpz_xor t/gmppmdubious I have reinstalled gmp several times to no avail. I'm assuming I'm not including some include command in the proper location. Any assistance would be greatly appreciated. Thank you for your time. Sincerely, Josh [EMAIL PROTECTED]