144Re: Installing from scratch Apache + mod_perl + Apache::ASP (+maybe others) on unix
- Feb 12, 2002Not sure what happened to my reply I posted, and I can't be bothered
to type it all in again, but in short I got it working after a *lot*
I did write exactly how I got it installed, but I can't remember it
all now. Anyway, what I do know is it involved a lot more steps than
in the instructions (including those at apache-asp.org which I had
been trying from the start).
In particular I had to get the perl shell to download a lot of extra
stuff (especially LWP), and manually install some stuff that the
shell wouldn't do itself (EXPAT which was required for mod_perl I
think). I think I even had to do an 'install Apache' because mod_perl
or something was looking for Apache entries in some perl
folder/database/whatever. Didn't want to do that because it just goes
and installs mod_perl and builds Apache without any chance of me
configuring it how I want. Anyway, I then built mod_perl & Apache by
What I can recommend though is getting the source for apache &
mod_perl, and building mod_perl with the PREP_HTTPD=1 option which
prevents mod_perl from building apache but builds mod_perl. This
means you can go and build apache how you like and not how mod_perl
likes (I find that really annoying that mod_perl by default assumes
you'll just build apache to only ever use mod_perl! In fact I don't
like mod_perl trying to build apache for you).
In the end I built mod_perl first, then built apache with all the
addons I needed (inc. frontpage extensions on Sun, although that's
another huge hassle, but I can say the fp patch for 1.3.22 works on
apache 1.3.23 also). Finally I did the perl shell stuff but it
required a lot of repeated attempts to install each component,
sometimes having to drop out and manually build things, a few 'force
Oh, and licencing isn't an issue now because we're not shipping the
stuff, just requiring customers to go through all the hassle of
installing it and we'll just ship our web app instead ;-).
--- In apache-asp@y..., Joshua Chamas <joshua@c...> wrote:
> timj_moore wrote:
> > Okay, I'm having a nightmare trying to install all this on both
> > Solaris and AIX. I'm finding the different installation methods
> > each very confusing (and not only that but documentation and
> > newsgroups all seem to vary in install methods).
> There is the mod_perl guide, there is Apache Toolbox, there is the
> recently released mod_perl cookbook (
> and there is even the script that I include in the distribution at
> make_httpd/build_httpds.sh that shows a sample build of it all, but
> at the end of the day, building mod_perl can be hard. I get that.
> My first build back in 1998 was no joy. And every build since has
> only gotten a little better.
> I would love to be able to provide prebuilt installations with
> perl/apache/mod_perl/Apache::ASP but I don't have the time.
> Should anyone else put together such a package, like Randy did
> for Win32 systems, I would welcome the links, and I can post them
> as part of the docs.
> > Kick off the 'perl -MCPAN -e shell' command, do 'install
> > Bundle::Apache::ASP' and all hell breaks loose. It seems to go off
> > installing loads of other packages some of which have errors in. I
> > don't know what they are because they all scroll off the screen
> > just can't get anywhere with it. I don't know much about the perl
> > shell thing and I don't have time to learn it if it's going to
> > weeks to understand.
> For someone new to perl, CPAN may seem a bit bizarre. It is. And
> the bundles add to the confusion for sure. Because of this, I
> added a section to the install docs at
> that says:
> If you have trouble installing the bundle,
> then try installing the necessary modules one at a time:
> cpan> install Data::Dumper
> cpan> install MLDBM
> cpan> install MLDBM::Sync
> cpan> install Digest::MD5
> cpan> install Apache::ASP
> If you ever start to do heavy perl development, you will start to
> appreciate CPAN for sure, with its near 10,000 modules, it is a
> pandora's box of code reusability.
> > I'm a little concerned about using the perl shell thing as this
> > have to be installed on customer sites. I really need a simple
> > installer that can be packaged up with anything we ship to
> If you want to create an installer with Apache::ASP on one platform,
> I would build everything needed mod_perl, perl, apache & all the
> perl libs as one package, and installed in something like
> /usr/local/your-companies-product ... I am no experts at creating
> installers, but I would not rely on a locally built apache & perl,
> but would ship my own that I could verify working.
> > Talking of which, how does the licencing stand for shipping
> > Apache::ASP as part of any product we make?
> Apache::ASP is licensed GPL, see the LICENSE file for more detail.
> My current interpretation of the GPL is as follows:
> Apache::ASP is "free" open source software.
> You cannot sell Apache::ASP, or any extensions you might
> make to the core libraries. Extensions made to the core libraries
> also become GPL when they are released, and also cannot be sold.
> You can however sell a web product, or set of scripts & modules
> that are unique to your product that Apache::ASP interprets &
> executes. The GPL does not apply to your work product that simply
> uses Apache::ASP to run & interpret it. You are not compiling
> code that statically links Apache::ASP, if you were that would
> change things.
> You can also distribute Apache::ASP freely in a distribution
> that you sell as long as you are selling other things besides
> Apache::ASP, like support, or your web product. If you wanted
> to sell Apache::ASP & extensions that you make to it, or wanted
> to release your product in such a way that Apache::ASP was
> not open source, then we could work on some alternative licensing
> for your company that was other than GPL.
> Good luck!
> Joshua Chamas Chamas Enterprises Inc.
> NodeWorks Founder Huntington Beach, CA USA
> http://www.nodeworks.com 1-714-625-4051
> To unsubscribe, e-mail: asp-unsubscribe@p...
> For additional commands, e-mail: asp-help@p...
To unsubscribe, e-mail: asp-unsubscribe@...
For additional commands, e-mail: asp-help@...
- << Previous post in topic Next post in topic >>