startup file

2000-07-23 Thread Paul Phillips

Hello, all,

I'm quite noew to modperl.  I've written a cgi, using cgi.pm that I am 
moving to modperl.  The cgi is written as one main program, with a number 
of subroutines spread across three libraries that are required into the 
main program.

If I list the main program in my startup file, so it is loaded on server 
startup, does it load the external libraries as well?

Thanks,

___
Paul Phillips
Director of Orchestral Activities, Meadows School of the Arts
Southern Methodist University

"You must sing every note you play, sing even through the rests!"
Arturo Toscanini



comparison of html/perl methodologies

2000-12-31 Thread Paul Phillips

Hello,

I have written a fairly good sized CGI using CGI.pm that I ran first as a 
standalone, then under modperl.

Now, I'm interested in looking at web authoring from the reverse 
perspective - embedding Perl in html.

A quick look tells me that there are a number of possibilities out there --
Apache ASP
Mason
Embperl
HTML::Template

There are probably some others as well...

After having looked at their respective web sites, I seem to be having 
trouble understanding how these are different from one another and their 
relative strengths and weaknesses.

Would anyone care to take a stab at making some kind of summary of 
distinctive qualities, goals, etc.

Thanks,
Paul Phillips

___
Paul Phillips
Director of Orchestral Activities, Meadows School of the Arts
Southern Methodist University

"You must sing every note you play, sing even through the rests!"
Arturo Toscanini



compiling troubles on Solaris 8

2001-08-05 Thread Paul Phillips

Hello,

I am trying to build mod_perl 1.26 and Apache 1.3.20 on my Solaris 8 box. 
I have installed the additional CD with the developer tools including the 
gnu utilities and gcc.

When I first started, it did not seem to be using gcc, so I renamed 
/usr/ucb/cc to cc.default, and make /usr/ucb/cc a link to gcc.

That seemed to get me further.  However, I have reached a fatal error, and 
don't have a clue what this means.  The error messages are quoted below.

I am trying to do the simplest build possible, following the INSTALL 
instructions. So after unzipping and untarring apache and mod_perl, from 
within the mod_perl distribution directory, I type
perl Makefile.PL
I confirm that I want it build from ../apache_1.3.20/src, and that I want 
to store the new httpd in that directory.

Then I type make.  After a bit, I get this:

mkdir ../blib/arch/auto/Apache/Leak
mkdir ../blib/lib/auto/Apache/Leak
cp Leak.pm ../blib/lib/Apache/Leak.pm
/bin/perl -I/usr/perl5/5.00503/sun4-solaris -I/usr/perl5/5.00503 
/usr/perl5/5.00
503/ExtUtils/xsubpp  -typemap /usr/perl5/5.00503/ExtUtils/typemap -typemap 
typem
ap Leak.xs >xstmp.c && mv xstmp.c Leak.c
cc -c   -xO3 -xdepend -DVERSION=\"1.00\"  -DXS_VERSION=\"1.00\" -KPIC 
-I/usr
/perl5/5.00503/sun4-solaris/CORE -DSOLARIS2=280 -DUSE_EXPAT 
-I/lib/expat-lite -D
NO_DL_NEEDED Leak.c
cc: unrecognized option `-KPIC'
cc: language depend not recognized
cc: Leak.c: linker input file unused since linking not done
Running Mkbootstrap for Apache::Leak ()
chmod 644 Leak.bs
LD_RUN_PATH="" cc -o ../blib/arch/auto/Apache/Leak/Leak.so  -G Leak.o
cc: Leak.o: No such file or directory
cc: No input files
*** Error code 1
make: Fatal error: Command failed for target 
`../blib/arch/auto/Apache/Leak/Leak
.so'
Current working directory /home/paul/mod_perl-1.26/Leak
*** Error code 1
make: Fatal error: Command failed for target `subdirs'

I have no idea what is wrong, or how to fix it, so I would appreciate any 
help.

thanks!

___
Paul Phillips
Director of Orchestral Activities, Meadows School of the Arts
Southern Methodist University

"You must sing every note you play, sing even through the rests!"
Arturo Toscanini