Re: Porting to OS X

2002-06-04 Thread David Wheeler

On 6/4/02 10:43 AM, Noam Solomon [EMAIL PROTECTED] claimed:

 Can anyone give me a rough idea how much time it would take to move a server
 serving mod_perl websites
 from UNIX to OS X?  It uses Apache::Session, DBI::Mysql, HTML::Mason, CGI, and
 Apache::OpenIndex,
 among others,  and uses both AuthHandlers and AuthzHandlers.

It depends on how good a Sysadmin you are, but I would say a couple of days.
I document how to install most of this stuff on my site:

  http://david.wheeler.net/osx.html

I don't cover MySQL, but there's a link to an Apple article on how to
install it in the section where I cover installing PostgreSQL.

HTH,

David

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





RE: Porting to OS X

2002-06-04 Thread Vuillemot, Ward W



Wheeler's site provides a lot of great 
information. When I get to my other computer, I can send you some other 
useful URLs for setting up UNIX apps on the OS X if you 
want.

I 
found it took about an evening to install all the software.
Another evening to get mod_perl apps up and running, 
but I had to install XML-related software, too. . .mysql is a snap, 
too.
And I am NOT a sysadmin...not even 
close.

I 
think it is relatively an easy move, IMHO. Just beaware that the Mac OS 
filesystem is NOT case-sensitive. Which can cause problems with certain 
applications. . .and we hope (Apple, you listening?) that they will fix this 
gross over-sight.

Cheers,
Ward

  -Original Message-From: Noam Solomon 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, June 04, 2002 10:43 
  AMTo: [EMAIL PROTECTED]Subject: Porting to OS X 
  
  Can anyone give me a rough idea how much time it 
  would take to move a server serving mod_perl websites
  from UNIX to OS X?It 
  usesApache::Session, DBI::Mysql, HTML::Mason,CGI, 
  andApache::OpenIndex,
  among others, and uses both AuthHandlers and AuthzHandlers.
  
  Iknow it's difficult to estimate without 
  knowing how big the websites are, what kind of functions they call, 
  etc.,
  but if you could give me an idea of what kind of 
  problems I can expect to encounter and how difficult they are
  to work around, I can give a quote to my 
  client.
  
  Thanks,
  Noam Solomon
  


RE: Porting to OS X

2002-06-04 Thread Drew Taylor

This is going OT, but the case insensitivity problem is only for the Mac 
filesystems. I've that all you need to do is switch the filesystem to ufs 
(the bsd version) and the problem is solved. Of course, if you can't switch 
fs types I don't know of a workaround. :-)

Drew

At 10:54 AM 6/4/02 -0700, Vuillemot, Ward W wrote:

I think it is relatively an easy move, IMHO.  Just beaware that the Mac OS 
filesystem is NOT case-sensitive.  Which can cause problems with certain 
applications. . .and we hope (Apple, you listening?) that they will fix 
this gross over-sight.

==
Drew Taylor  |  Freelance web development using
http://www.drewtaylor.com/   |  perl/mod_perl/MySQL/postgresql/DBI
mailto:[EMAIL PROTECTED]   |  Email jobs at drewtaylor.com
--
Speakeasy.net: A DSL provider with a clue. Sign up today.
http://www.speakeasy.net/refer/29655
==




Re: Porting to OS X

2002-06-04 Thread David Wheeler

On 6/4/02 10:54 AM, Vuillemot, Ward W [EMAIL PROTECTED]
claimed:

 I think it is relatively an easy move, IMHO.  Just beaware that the Mac OS
 filesystem is NOT case-sensitive.  Which can cause problems with certain
 applications. . .and we hope (Apple, you listening?) that they will fix this
 gross over-sight.

I don't think that Apple is likely to change this. However, you can install
OS X on a case-sensitive partition (UFS?) if you really want to.

Regards,

David

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





Re: Porting to OS X [OT] OS X

2002-06-04 Thread David Jacobs


 I think it is relatively an easy move, IMHO.  Just beaware that the 
 Mac OS filesystem is NOT case-sensitive.  Which can cause problems 
 with certain applications. . .and we hope (Apple, you listening?) that 
 they will fix this gross over-sight.

I agree it's a problem, and it's caused me some heartache, but Apple, 
and many of my Apple zealot friends definitely consider it a feature, 
not a bug. Another annoying thing that may happen while migrating 
directory structures is:

if you have two directorie with
/dir_this/dir_that/[lotsof.pl]
/dir_dir/dir_this/dir_the_other/[lotsmore.pl]

and you're in /
cp|mv dir_this dir_dir
will
cp|mv dir_that to /dir_dir/dir_this/dir_that

BUT

dir_the_other will be gone.

Another feature

Dvaid









RE: Porting to OS X

2002-06-04 Thread Michael Robinton

From: Noam Solomon [EMAIL PROTECTED]
To:   [EMAIL PROTECTED]
Subject:  Porting to OS X
Date sent:Tue, 4 Jun 2002 13:43:11 -0400

[ Double-click this line for list subscription options ]

Can anyone give me a rough idea how much time it would take to move a
server serving
mod_perl websites from UNIX to OS X?  It uses Apache::Session,
DBI::Mysql,
HTML::Mason, CGI,
and Apache::OpenIndex, among others,  and uses both AuthHandlers and
AuthzHandlers.

I know it's difficult to estimate without knowing how big the websites
are, what kind of
functions they call, etc., but if you could give me an idea of what kind
of problems I can
expect to encounter and how difficult they are to work around, I can give
a quote to my
client.

Thanks,
Noam Solomon

I'd be very interested in how this progresses. I recently helped a
collegue to get a cgi program running under apache using standard perl on
OSX -- I found that the perl distribution that comes with OSX is the
original 5.6 rather than more up to date versions AND that the
application, which runs on an aging 486 with 64 megs in our shop and uses
about 4 megs including mod_perl enhanced apache, took 40 megs on OSX and was very slow.
This was on a G4 with 500 megs of memory.

Michael




RE: Porting to OS X

2002-06-04 Thread Drew Taylor

At 11:27 AM 6/4/02 -0700, Michael Robinton wrote:

I'd be very interested in how this progresses. I recently helped a
collegue to get a cgi program running under apache using standard perl on
OSX -- I found that the perl distribution that comes with OSX is the
original 5.6 rather than more up to date versions

IIRC, the latest OS update upgrades perl to 5.6.1.


==
Drew Taylor  |  Freelance web development using
http://www.drewtaylor.com/   |  perl/mod_perl/MySQL/postgresql/DBI
mailto:[EMAIL PROTECTED]   |  Email jobs at drewtaylor.com
--
Speakeasy.net: A DSL provider with a clue. Sign up today.
http://www.speakeasy.net/refer/29655
==




Re: Porting to OS X

2002-06-04 Thread Randal L. Schwartz

 David == David Wheeler [EMAIL PROTECTED] writes:

 I think it is relatively an easy move, IMHO.  Just beaware that the Mac OS
 filesystem is NOT case-sensitive.  Which can cause problems with certain
 applications. . .and we hope (Apple, you listening?) that they will fix this
 gross over-sight.

David I don't think that Apple is likely to change this. However, you
David can install OS X on a case-sensitive partition (UFS?) if you
David really want to.

My / has been UFS since day 1 of using OSX for me.
I have a separate HFS+ partition for Classic Apps.

The downside is that some of the files are not accessible to Classic
apps, but as more and more stuff gets at least Carbonized, I'm not
really that worried.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
[EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!



eating memory ... // RE: Porting to OS X

2002-06-04 Thread Alvar Freude

Hi,

-- Michael Robinton [EMAIL PROTECTED] wrote:

 application, which runs on an aging 486 with 64 megs in our shop and uses
 about 4 megs including mod_perl enhanced apache, took 40 megs on OSX and
 was very slow. This was on a G4 with 500 megs of memory.

probably it's the same as on FreeBSD: if you use a DSO mod_perl, for each
restart (apachectl graceful or apachectl restart) it eats all the memory
your mod_perl modules use. Try to build it statically; at least on FreeBSD
it helps, and OSX is FreeBSD ... :-)

But my newest test was with Apache 1.3.23 and mod_perl 1.26; perhaps it's
fixed in 1.27?!? 

But nevertheless 4 MB is very small; my frontend Apache 1.3.23 without
mod_perl takes 3 MB; my frontend Apache 2.0.36 on developing system 4 MB
without mod_perl ...


Ciao
  Alvar

-- 
// Unterschreiben!  http://www.odem.org/informationsfreiheit/
// Internet am Telefon: http://www.teletrust.info/
// Das freieste Medium? http://www.odem.org/insert_coin/
// Blaster: http://www.assoziations-blaster.de/




Re: eating memory ... // RE: Porting to OS X

2002-06-04 Thread Doug MacEachern

On Wed, 5 Jun 2002, Alvar Freude wrote:

 probably it's the same as on FreeBSD: if you use a DSO mod_perl, for each
 restart (apachectl graceful or apachectl restart) it eats all the memory
 your mod_perl modules use. Try to build it statically; at least on FreeBSD
 it helps, and OSX is FreeBSD ... :-)
 
 But my newest test was with Apache 1.3.23 and mod_perl 1.26; perhaps it's
 fixed in 1.27?!? 

dso should be fine with 1.26 or 1.27, provided you are using Perl 5.6.1 or 
higher.  5.005_03 still has leakage.