[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Please build Apache::Session::DBI



On Fri, Apr 07, 2000 at 07:08:06PM -0800, Ulan wrote:
} Hi... I read on http://18.85.40.23/INSTALL.html That I could ask 
} someone to build me a binary of a module. I desperately need 
} Apache::Session to work on my Mac - JUST SO I CAN DEBUG MY SCRIPTS. I 
} am running Session on a UNIX box but I do all my development in 
} BBEdit. I would hate to have to switch to Vi just because I can't get 
} this mod working.

So use emacs or xemacs or ...

You're asking for a very difficult thing.  Apache modules all depend
on 1) apache, and 2) mod_perl.  Neither of those builds out of the box
under MacOS, and the only way to get them under MacOS is WebTen or
MachTen, which effectively provides them a Unix environment in a box.

The fastest and cheapest way for you to do what you want is for you to
install Linux on your Mac.  Then you can run perl and apache and
mod_perl and Apache::Session::DBI under Linux and run BBEdit under MOL
(Mac on Linux), which comes with the two major distributions and runs
MacOS in a box under Linux.

It's conceivable that you'll be able to do what you want under MacOS
X, but the people that know for sure probably can't talk about it yet.


} 
} I tried running the script:
} 
} #!perl -w
} use AutoSplit;
} my $dir = "${MACPERL}site_perl";
} autosplit("$dir: Apache:Session:DBI.pm", "$dir:auto", 0, 1, 1);
} 
} but only ran into out of memory errors.  When I check the syntax of 
} the scripts after this has run I get the same "Apache/Session/DBI did 
} not return a true value".

That almost always means you didn't convert the line endings to MacOS
line endings.

} 
} Any help or assistance would be greatly appreciated. I will read any 
} manual and look up any url. I am not trying to get anyone to do my 
} work for me... but I am stuck and do not know where to turn. Thanx in 
} Advance.

The wrong way to do this is to try to get it working under the current
MacOS and MacPerl.  Find another way.  If it's "just so I can debug my
scripts", I'd learn how to use emacs, myself.

} 
} -Ulan
} ulan@yvod.com
} (419) 781-9206 (efax)
} 
} Every act of conscious learning requires the willingness to suffer an 
} injury to one's self-esteem. That is why young children, before they 
} are aware of their own self-importance, learn so easily; and why 
} older persons, especially if vain or important, cannot learn at all. 
} --Thomas Szasz 
} 

-- 
Paul Schinder
schinder@pobox.com

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org