Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Can 'Perl Apache binary' be embedded into exe.

I want to burn my application into CD so I need a database and webserver in the CD as well.

for database I use SQLite.

But for web server;-

I successfully install Perl Apache binary but I'm not sure I can compile that into CD. What happen if my friend dosent have appache install could he view it?

I sucessfully install jellybean but I don't know how to use it. I search at Google and only found that the documentation are only available at a price.

I fail to install openinteract2(problem with my 'make'/ I can use build but only makefile available there)

I fail to install apache-par(problem with my 'make'/ I can use build but only makefile available there)

So what should I do so that my application would be on a CD and I can easily show to my friend or my lecture. So it easier for me to get the feedback and improve my application.

Replies are listed 'Best First'.
Re: Perl Apache binary
by chromatic (Archbishop) on Jul 11, 2004 at 17:01 UTC
    I sucessfully install jellybean but I don't know how to use it. I search at Google and only found that the documentation are only available at a price.

    Hmm, that's news to me. Tell me what kind of site you're trying to run and I'll show you how to use it. If you're only serving static pages or very simple CGI programs, it's quite easy.

      Tell me what kind of site you're trying to run and I'll show you how to use it.

      What would be nice having a bunch of samples on Jellybean here, such as an equivalent to 'Simple HTTP in under 100 lines' or even a standard or fast CGI invocation (mod_perl?) with all env vars properly initialized (in a Win32 env to be more spicy).

      ____
      HTH, Dominique
      My two favorites:
      If the only tool you have is a hammer, you will see every problem as a nail. --Abraham Maslow
      Bien faire, et le faire savoir...

        That's a good idea. I'll work something up this week. I don't have access to a Windows box, but I'll document the environment variables the CGI container does acknowledge.

      yes I am using CGI program, show me, I think i'll be ok when I can start using it. Then I could trial and error by myself. Thanks..
Re: Perl Apache binary
by BUU (Prior) on Jul 11, 2004 at 19:42 UTC
    Unless I'm horribly confused, why don't you just say, install apache to a folder, then copy that entire folder to the cd? Same with mysql/postgresql/whatever. Apache doesn't need anything else to run as far as I know, then just do the same thing with perl and create a batch script that looks like
    start \apache\apache.exe start \mysql\bin\mysqld-opt.exe start \perl\bin\perl.exe \my\script
    ?