Re: DBI Installation errors

2003-01-13 Thread Florian Helmberger
On Montag, Jänner 13, 2003, at 11:50  Uhr, Patrick Gormley wrote:

Patrick,


I am trying to install the DBI-1.18 module on my Mac OS X server, 
running OS 10.2.2.  I get the following error after the make command:

Maybe you should try it again with the latest DBI version: 1.31. 1.18 
is from june, 2001 - it wouldn't surprise me if there has been added 
some important OS X stuff in the mean time, as I had never any problems 
with it on OS X (correction: I had some after compiling Perl 5.8.0 with 
iThreads *hint*).

HTH,
Florian

--
0699 109 24 24 5 - http://www.laudatio.com



Re: More 5.8.0 / Jaguar / Fink madness

2003-01-13 Thread Rich & Michaela
OK we're still seriously OT on this thread now, but here's my 2 cents. I
guess I still don't get it (Fink). If you have modest admin skills you can
figure out dependencies and pre-reqs. I've yet to run into any dependency
issues (at least any that weren't addressed in README or INSTALL files). I
did do some binary installs of big UNIXy (X11) stuff and built others. So
my assessment is Fink is not needed for experienced UNIX users, but falls
far short of the sort of SW installer the non-UNIX OS X users really need.

Ken Williams wrote:

> On Sunday, January 12, 2003, at 04:18  PM, Heather Madrone wrote:
> > And I can't see the point of fink.  It didn't strike me as all that
> > useful,
> > just another gronky system to have to learn to use.
>
> Fink provides two things:
>
>   1) a repository of patches which get Unix software to build & install
> properly on OS X
>
>   2) a real package management system that tracks dependencies
>
> I don't feel like figuring out #1 for everything I download and build,
> and #2 has obvious benefits.  Add to that the capability to do binary
> installs of big unixy stuff like X11, and I think there's a compelling
> case for Fink's existence.
>
> That said, I'm using it less than I used to - not because it's broken
> anything for me, but because I pretty much have already installed
> everything I need from it.
>
>   -Ken




Re: CPAN Failure after install of 5.8.0

2003-01-13 Thread Kime H. Smith, Jr.

Thanks for the response, Chad (Clark).

I finally got by the CPAN problem by deleting /Library/Perl and doing 
another "make Install" of Perl --

Now I'm stuck on the DBI install. Even with a "force install 
Bundle::DBI"  or "force install DBI", I get an error:

Running install for module DBI
Running make for T/TI/TIMB/DBI-1.32.tar.gz
Checksum for 
/Users/khsmith/.cpan/sources/authors/id/T/TI/TIMB/DBI-1.32.tar.gz ok
DBI-1.32
DBI-1.32/t
DBI-1.32/t/06attrs.t
.
.
.
cp Changes blib/lib/DBI/Changes.pm
make: *** No rule to make target `blib/arch/auto/DBI/Driver.xst', 
needed by `Perl.xsi'.  Stop.
.
.
.
cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h
cp lib/DBI/ProfileData.pm blib/lib/DBI/ProfileData.pm
  /usr/bin/make -j3 -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible



Should I delete ...cpan/sources/authors/...DBI-1.32.tar.gz??

Any suggestions would be greatly appreciated.

Thanks in advance,
Kime

On Monday, January 13, 2003, at 03:26 PM, Chad A. Clark wrote:

On 1/13/03 2:39 PM, in article
[EMAIL PROTECTED], "Kime H. 
Smith"
<[EMAIL PROTECTED]> wrote:

After doing a fresh install of Perl 5.8.0 following the directions on
developer.apple.com (
) I ran into the
following at the end of the CPAN config. I'm using Jaguar 10.2.3 
Server
on an Xserve.

khsmith% sudo perl -MCPAN -eshell
dyld: perl Undefined symbols:
_Perl_sv_2pv
_perl_get_sv
Trace/BPT trap

.. and CPAN dies. I need to install support for MySQL.

Things went fine installing using the same procedure on my TiBook
(Jaguar 10.2.3).

Please advise!

snipped from perldelta.pod from 5.8.0



Mac OS X dyld undefined symbols

If after installing Perl 5.8.0 you are getting warnings about missing
symbols, for example

dyld: perl Undefined symbols
_perl_sv_2pv
_perl_get_sv

you probably have an old pre-Perl-5.8.0 installation (or parts of one)
in /Library/Perl (the undefined symbols used to exist in pre-5.8.0 
Perls).
It seems that for some reason "make install" doesn't always completely
overwrite the files in /Library/Perl.  You can move the old Perl
shared library out of the way like this:

cd /Library/Perl/darwin/CORE
mv libperl.dylib libperlold.dylib

and then reissue "make install".  Note that the above of course is
extremely disruptive for anything using the /usr/local/bin/perl.
If that doesn't help, you may have to try removing all the .bundle
files from beneath /Library/Perl, and again "make install"-ing.


Or alternatively,

find /Library/Perl -name '*.bundle' -print | xargs rm -I

I had to install DBI and DBD::MySQL by force CPAN build fails.

--
Chad A. Clark




DBI Installation errors

2003-01-13 Thread Patrick Gormley
I am trying to install the DBI-1.18 module on my Mac OS X server, 
running OS 10.2.2.  I get the following error after the make command:

Running Mkbootstrap for DBI ()
chmod 644 DBI.bs
LD_RUN_PATH="" cc -o blib/arch/auto/DBI/DBI.bundle  -bundle  
-flat_namespace -undefined suppress DBI.o
/usr/bin/ld: /usr/lib/libSystem.dylib load command 9 unknown cmd field
make: *** [blib/arch/auto/DBI/DBI.bundle] Error 1

Can anyone help me get this to install.
--
Patrick Gormley
Lapeer East High School
Lapeer MI 48446
http://chem.lapeer.org/

"Education is not the filling of a pail, but the lighting of a fire."
---W.B. Yeats



Re: CPAN Failure after install of 5.8.0

2003-01-13 Thread Morbus Iff
>) I ran into the
>following at the end of the CPAN config. I'm using Jaguar 10.2.3 Server
>on an Xserve.
>
>	khsmith% sudo perl -MCPAN -eshell
>	dyld: perl Undefined symbols:
>	_Perl_sv_2pv
>	_perl_get_sv
>	Trace/BPT trap

As per the article, under the "Preparation" portion:

 If, after the installation, you get warnings about missing symbols, you
 probably have an old version of Perl (or parts of one) in /Library/Perl.
 These undefined symbols existed in pre-5.8.0 versions. For more
 information on this issue, check out perldelta.

with a link to:

http://dev.perl.org/perl5/news/2002/07/18/580ann/perldelta.html#mac%20os%20x%20dyld%20undefined%20symbols


--
Morbus Iff ( i'm the droid you're looking for )
Culture: http://www.disobey.com/ and http://www.gamegrene.com/
Please Me: http://www.amazon.com/exec/obidos/wishlist/25USVJDH68554
icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus




CPAN Failure after install of 5.8.0

2003-01-13 Thread Kime H. Smith, Jr.
After doing a fresh install of Perl 5.8.0 following the directions on 
developer.apple.com ( 
) I ran into the 
following at the end of the CPAN config. I'm using Jaguar 10.2.3 Server 
on an Xserve.

	khsmith% sudo perl -MCPAN -eshell
	dyld: perl Undefined symbols:
	_Perl_sv_2pv
	_perl_get_sv
	Trace/BPT trap

.. and CPAN dies. I need to install support for MySQL.

Things went fine installing using the same procedure on my TiBook 
(Jaguar 10.2.3).

Please advise!

Thanks,
Kime Smith


Re: More 5.8.0 / Jaguar / Fink madness

2003-01-13 Thread Morbus Iff
>What would the syntax be for this in bash?

See my article :

  echo "export LC_ALL=C" >> ~/.bash_profile


--
Morbus Iff ( i'm the droid you're looking for )
Culture: http://www.disobey.com/ and http://www.gamegrene.com/
Please Me: http://www.amazon.com/exec/obidos/wishlist/25USVJDH68554
icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus




Re: More 5.8.0 / Jaguar / Fink madness

2003-01-13 Thread Pete Prodoehl

What would the syntax be for this in bash?

Pete

Ray Zimmerman wrote:


setenv LC_ALL C
(put the above line in .cshrc and restart Terminal)






Re: More 5.8.0 / Jaguar / Fink madness

2003-01-13 Thread Steve Linberg
Thanks Ray, and David.  It seems like the key is to not build mod_perl as 
a DSO.

Does anybody know why this is not recommended under OSX?  I've always done 
it under Linux.


On Mon, 13 Jan 2003, Ray Zimmerman wrote:

> Steve,
> 
> I'm going to avoid giving any more opinions on what you should be 
> trying to install, seems like you've already got plenty of them :-)
> 
> Let me just say, I have a clean install of Jaguar and I was able to 
> install perl 5.8, get Fink installed and working (which I used 
> successfully to install mysql), and build an apache/mod_perl that 
> works (not as DSO, though). I haven't yet used CPAN, but I'm sure 
> that can be made to work too.
> 
> Here are the notes I made for my co-workers who will need to set up 
> his new machine this week ... my sources are in ~/dist and building 
> is done in ~/build.
> 
> 
> Perl
> 
> 
> setenv LC_ALL C
>  (put the above line in .cshrc and restart Terminal)
> cd ~/build
> tar zxvf ../dist/perl-5.8.0.tar.gz
> cd perl-5.8.0
> ./Configure -de -Dprefix=/usr/local/perl-5.8.0 \
> [EMAIL PROTECTED] [EMAIL PROTECTED]
> make
> make test
> sudo make install
> 
> 
> Fink
> 
> 
> open Fink-0.5.0a-Installer.dmg
> open Fink 0.5.0a Installer.pkg and follow directions
> add ...
>   source /sw/bin/init.csh
> ... to top of .cshrc file
> quit and restart Terminal
> sudo mv /sw/lib/perl5/darwin/Storable.pm /tmp
> sudo mv /sw/lib/perl5/darwin/auto/Storable /tmp
>   (see http:[EMAIL PROTECTED]/msg02447.html)
> 
> 
> 
> Apache/mod_perl
> ---
> 
> cd ~/build
> tar zxvf ../dist/apache_1.3.27.tar.gz
> tar zxvf ../dist/mod_perl-1.27.tar.gz
> cd mod_perl-1.27
> perl Makefile.PL APACHE_SRC=../src/apache_1.3.27/src \
>DO_HTTPD=1 USE_APACI=1 PREP_HTTPD=1 EVERYTHING=1
> make
> sudo make install
> 
> cd ../apache_1.3.27
> ./configure \
>--prefix=/usr/local/apache/1.3.27 \
>--with-layout=Apache \
>--enable-module=so \
>--enable-module=info \
>--enable-module=proxy \
>--activate-module=src/modules/perl/libperl.a \
>--without-execstrip
> sudo make install
> cd ../mod_perl-1.27
> make test
> 
> 
> I hope this helps somebody ...
> 
> 

-- 
Steve Linberg, Chief Goblin 
Silicon Goblin Technologies 
http://silicongoblin.com 
Be kind.  Remember, everyone you meet is fighting a hard battle. 




Re: Another Perl 5.8 Problem

2003-01-13 Thread Ray Zimmerman
At 9:16 AM -0800 1/13/03, David Wheeler wrote:

Follow my instructions in part 1, which work for Apache 1.3.27, too 
(that's what I'm running, now). One thing you should always try to 
do with mod_perl 1.x is compile it into Apache statically.

I've done this, but I'm curious as to why this is what "should" be 
done. Doesn't Apple's default install have mod_perl as a DSO (w/perl 
5.6.0, of course)? If so, and it works, shouldn't we be able to do 
whatever they did to build a new one with perl-5.8.0?

--
 Ray Zimmerman  / e-mail: [EMAIL PROTECTED] / 428-B Phillips Hall
  Sr Research  /   phone: (607) 255-9645  /  Cornell University
   Associate  /  FAX: (815) 377-3932 /   Ithaca, NY  14853


Re: More 5.8.0 / Jaguar / Fink madness

2003-01-13 Thread Ray Zimmerman
Steve,

I'm going to avoid giving any more opinions on what you should be 
trying to install, seems like you've already got plenty of them :-)

Let me just say, I have a clean install of Jaguar and I was able to 
install perl 5.8, get Fink installed and working (which I used 
successfully to install mysql), and build an apache/mod_perl that 
works (not as DSO, though). I haven't yet used CPAN, but I'm sure 
that can be made to work too.

Here are the notes I made for my co-workers who will need to set up 
his new machine this week ... my sources are in ~/dist and building 
is done in ~/build.


Perl


setenv LC_ALL C
(put the above line in .cshrc and restart Terminal)
cd ~/build
tar zxvf ../dist/perl-5.8.0.tar.gz
cd perl-5.8.0
./Configure -de -Dprefix=/usr/local/perl-5.8.0 \
   [EMAIL PROTECTED] [EMAIL PROTECTED]
make
make test
sudo make install


Fink


open Fink-0.5.0a-Installer.dmg
open Fink 0.5.0a Installer.pkg and follow directions
add ...
	source /sw/bin/init.csh
... to top of .cshrc file
quit and restart Terminal
sudo mv /sw/lib/perl5/darwin/Storable.pm /tmp
sudo mv /sw/lib/perl5/darwin/auto/Storable /tmp
 (see http:[EMAIL PROTECTED]/msg02447.html)



Apache/mod_perl
---

cd ~/build
tar zxvf ../dist/apache_1.3.27.tar.gz
tar zxvf ../dist/mod_perl-1.27.tar.gz
cd mod_perl-1.27
perl Makefile.PL APACHE_SRC=../src/apache_1.3.27/src \
  DO_HTTPD=1 USE_APACI=1 PREP_HTTPD=1 EVERYTHING=1
make
sudo make install

cd ../apache_1.3.27
./configure \
  --prefix=/usr/local/apache/1.3.27 \
  --with-layout=Apache \
  --enable-module=so \
  --enable-module=info \
  --enable-module=proxy \
  --activate-module=src/modules/perl/libperl.a \
  --without-execstrip
sudo make install
cd ../mod_perl-1.27
make test


I hope this helps somebody ...

--
 Ray Zimmerman  / e-mail: [EMAIL PROTECTED] / 428-B Phillips Hall
  Sr Research  /   phone: (607) 255-9645  /  Cornell University
   Associate  /  FAX: (815) 377-3932 /   Ithaca, NY  14853


Re: Another Perl 5.8 Problem

2003-01-13 Thread David Wheeler
On Monday, January 13, 2003, at 06:51  AM, Steve Linberg wrote:


I looked over your instructions with great interest, since you seem to 
be
describing a build of the system that repeatedly failed for me.  The 
only
difference I can see is you use Apache 1.3.26 instead of 1.3.27.

I use Apache 1.3.27 in part 2.


Have you tried the specific build of Apache 1.3.27 / mod_perl 1.27 / 
Perl
5.8.0 under OSX 10.2?  That process failed repeatably for me at least 
half
a dozen times before I gave up and went back to Perl 5.6.0, where the 
same
build process worked fine.  (I posted the exact build recipe in my 
earlier
message yesterday.)  The failure was that loading the libperl module 
would
cause Apache to immediately crash with deep, scary internal memory 
errors;
commenting out the libperl load in httpd.conf, the server itself worked
fine without it.  This was on a clean, brand-new 10.2 install.

Follow my instructions in part 1, which work for Apache 1.3.27, too 
(that's what I'm running, now). One thing you should always try to do 
with mod_perl 1.x is compile it into Apache statically.

HTH,

David

--
David Wheeler AIM: dwTheory
[EMAIL PROTECTED] ICQ: 15726394
http://david.wheeler.net/  Yahoo!: dew7e
   Jabber: [EMAIL PROTECTED]



Re: Another Perl 5.8 Problem

2003-01-13 Thread Steve Linberg
On Sun, 12 Jan 2003, David Wheeler wrote:

> On Sunday, January 12, 2003, at 04:38  PM, Charles Albrecht wrote:
> 
> > David Wheeler has put together a helpful set of instructions at
> >
> >   http://david.wheeler.net/osx.html
> 
> Yeah, yeah, I need to update that. In the meantime, see my articles on 
> MacDevCenter.com:
> 
>Build Your Own Apache Server with mod_perl
>http://www.macdevcenter.com/pub/a/mac/2002/11/05/apache_osx.html
> 
>Build Your Own Apache Server with mod_perl and mod_ssl
>http://www.macdevcenter.com/pub/a/mac/2002/12/18/apache_modssl.html

Hi David.

I looked over your instructions with great interest, since you seem to be 
describing a build of the system that repeatedly failed for me.  The only 
difference I can see is you use Apache 1.3.26 instead of 1.3.27.

Have you tried the specific build of Apache 1.3.27 / mod_perl 1.27 / Perl
5.8.0 under OSX 10.2?  That process failed repeatably for me at least half
a dozen times before I gave up and went back to Perl 5.6.0, where the same
build process worked fine.  (I posted the exact build recipe in my earlier
message yesterday.)  The failure was that loading the libperl module would
cause Apache to immediately crash with deep, scary internal memory errors;  
commenting out the libperl load in httpd.conf, the server itself worked
fine without it.  This was on a clean, brand-new 10.2 install.

- Steve


-- 
Steve Linberg, Chief Goblin 
Silicon Goblin Technologies 
http://silicongoblin.com 
Be kind.  Remember, everyone you meet is fighting a hard battle.