[26387] in Perl-Users-Digest

home help back first fref pref prev next nref lref last post

Perl-Users Digest, Issue: 8558 Volume: 10

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sun Oct 23 14:05:26 2005

Date: Sun, 23 Oct 2005 11:05:06 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)

Perl-Users Digest           Sun, 23 Oct 2005     Volume: 10 Number: 8558

Today's topics:
        Compiling Apache 1.3.34 with mod_perl 1.28 <j@cobp.dk>
    Re: Compiling Apache 1.3.34 with mod_perl 1.28 <noreply@gunnar.cc>
    Re: How do I find out if it is because of the Lutheran  <1usa@llenroc.ude.invalid>
        Perl equivalent of PHP and JSP: Mason? <stevenREMOVE.chapelTHESE@TOsbcglobalE-MAIL.netME>
    Re: Perl equivalent of PHP and JSP: Mason? <Juha.Laiho@iki.fi>
    Re: Perl equivalent of PHP and JSP: Mason? <matthew.garrish@sympatico.ca>
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

----------------------------------------------------------------------

Date: Sun, 23 Oct 2005 14:35:46 +0200
From: "Jacob Bach Pedersen" <j@cobp.dk>
Subject: Compiling Apache 1.3.34 with mod_perl 1.28
Message-Id: <435b839a$0$78285$157c6196@dreader1.cybercity.dk>

Hey

When I'm compiling Apache 1.3.34 with mod_perl 1.28 on my debain 3.1
machine, I get an error when i'm running "make".

I have installed perl 5.8.4 as a pakked with apt

: undefined reference to `Perl_form'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0xbdb):
In function `boot_DynaLoader':
: undefined reference to `Perl_get_sv'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0xc05):
In function `boot_DynaLoader':
: undefined reference to `Perl_sv_2pv_flags'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/usr/local/apache_1.3.34/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/apache_1.3.34'
make: *** [build] Error 2

What is the problem, and how can I fix it ???

Pleace help me..

Best regards
Jacob





------------------------------

Date: Sun, 23 Oct 2005 15:40:12 +0200
From: Gunnar Hjalmarsson <noreply@gunnar.cc>
Subject: Re: Compiling Apache 1.3.34 with mod_perl 1.28
Message-Id: <3s1i25FljbrnU1@individual.net>

[ Followup set to comp.lang.perl.misc ]

Jacob Bach Pedersen wrote:
> Hey
> 
> When I'm compiling Apache 1.3.34 with mod_perl 1.28 on my debain 3.1
> machine, ...

Please do not multi-post!! http://www.uwasa.fi/~ts/http/crospost.html

-- 
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl


------------------------------

Date: Sun, 23 Oct 2005 12:16:53 GMT
From: "A. Sinan Unur" <1usa@llenroc.ude.invalid>
Subject: Re: How do I find out if it is because of the Lutheran church, ...
Message-Id: <Xns96F854416DC94asu1cornelledu@127.0.0.1>

Tim Hammerquist <tim@vegeta.ath.cx> wrote in news:slrndlmcin.r6l.tim@vegeta.saiyix:

> Casey Hawthorne <caseyhHAMMER_TIME@istar.ca> wrote:
>> How do I find out if it is because of the [snip],
>> which tried to [snip]
> 
> I fail to see how your personal grudge is Perl-related.

http://groups.google.com/group/comp.lang.perl.misc/browse_thread/thread/64a6be878c4024fe/b7c031eea2ed02e8

-- 
A. Sinan Unur <1usa@llenroc.ude.invalid>
(reverse each component and remove .invalid for email address)

comp.lang.perl.misc guidelines on the WWW:
http://mail.augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html



------------------------------

Date: Sun, 23 Oct 2005 16:36:35 GMT
From: Steve Chapel <stevenREMOVE.chapelTHESE@TOsbcglobalE-MAIL.netME>
Subject: Perl equivalent of PHP and JSP: Mason?
Message-Id: <n_O6f.1760$Y61.30@newssvr33.news.prodigy.com>

I've been contracted to make a website that requires a certain amount of 
server-side programming. Specifically, users should be able to register 
a username and password on the site. Associated with the username will 
be contact information such as real name, email address, phone number, 
etc. Once logged in, they should be able to register for an annual 
meeting by paying with a credit card on the site.

I've worked on websites with PHP and JSP, and I would consider using 
either of those languages. However, every time I write PHP I'm 
frustrated that I can't write in Perl, which I'm much more familiar 
with. And Java seems a tad verbose for doing the simple kinds of 
programming that the site will need -- again, I'll probably wish I were 
writing Perl.

I've been researching the Perl equivalent of PHP and JSP, and it seems 
there are all too many alternatives: Perl Template Toolkit, embperl, 
Mason, HTML::Template, Text::Template, and probably others. Some of 
these alternatives seem to separate the Perl and HTML into two different 
files. Others, such as the Template Toolkit, require learning an 
additional language to do the templating. It seems like Mason is about 
the closest equivalent to PHP and JSP for embedding Perl into HTML. The 
Perl code is in the same file as the HTML and doesn't seem to require 
learning large amounts of additional syntax. At least that's the 
impression I get from the Mason book's comparison: 
<http://www.masonbook.com/book/chapter-1.mhtml#TOC-ANCHOR-7>.

Am I right in concluding that Mason is what I will probably want to use 
for this site as an alternative to PHP or JSP? Is it going to be just as 
easy to use Mason to accept credit cards on the site as it would be to 
use PHP? Will it be easy to find a web host that provides Mason support? 
If the answer to these questions is "no," what language would you 
recommend for the site?


------------------------------

Date: Sun, 23 Oct 2005 17:18:25 +0000 (UTC)
From: Juha Laiho <Juha.Laiho@iki.fi>
Subject: Re: Perl equivalent of PHP and JSP: Mason?
Message-Id: <djggl1$i16$1@ichaos.ichaos-int>

Steve Chapel <stevenREMOVE.chapelTHESE@TOsbcglobalE-MAIL.netME> said:
>I've been contracted to make a website that requires a certain amount of 
>server-side programming. Specifically, users should be able to register 
>a username and password on the site. [...]

>I've been researching the Perl equivalent of PHP and JSP, and it seems 
>there are all too many alternatives: Perl Template Toolkit, embperl, 
>Mason, HTML::Template, Text::Template, and probably others.
 ...
>Am I right in concluding that Mason is what I will probably want to use 
>for this site as an alternative to PHP or JSP?

I'd say HTML::Embperl is a fair comparision with PHP. On the surface,
Embperl doesn't list the number of libraries you get with PHP -- but
then, with Embperl you have more or less all the native perl libraries
at your perusal.

Neither (PHP or Embperl) brings in quite the same level of infrastructure
you get with JSP, but both should get the job done. Then, depending on
your needs and wants, you may not need even Embperl -- have you considered
creating HTML programmatically - as done in CGI.pm (in places where dynamic
page generation is needed), and just separate the rest off into static
html files?
-- 
Wolf  a.k.a.  Juha Laiho     Espoo, Finland
(GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
         PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)


------------------------------

Date: Sun, 23 Oct 2005 13:40:11 -0400
From: "Matt Garrish" <matthew.garrish@sympatico.ca>
Subject: Re: Perl equivalent of PHP and JSP: Mason?
Message-Id: <ZVP6f.1395$ki7.37283@news20.bellglobal.com>


"Steve Chapel" <stevenREMOVE.chapelTHESE@TOsbcglobalE-MAIL.netME> wrote in 
message news:n_O6f.1760$Y61.30@newssvr33.news.prodigy.com...
>
> It seems like Mason is about the closest equivalent to PHP and JSP for 
> embedding Perl into HTML.
>

PerlScript in an asp page is the closest equivalent to php I've encountered, 
if you're just looking for similarity (or Apache::ASP, but I've never gone 
that route). PerlScript can be a bit flaky, though, and don't expect 
ActiveState to listen to your complaints.

As to what to use, only you can decide that. Look at what you know best, how 
difficult you think this project is going to be, what makes more sense in 
the long run for maintenance, and finally how quickly you want to get it off 
your plate.

Matt 




------------------------------

Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin) 
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>


Administrivia:

#The Perl-Users Digest is a retransmission of the USENET newsgroup
#comp.lang.perl.misc.  For subscription or unsubscription requests, send
#the single line:
#
#	subscribe perl-users
#or:
#	unsubscribe perl-users
#
#to almanac@ruby.oce.orst.edu.  

NOTE: due to the current flood of worm email banging on ruby, the smtp
server on ruby has been shut off until further notice. 

To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.

#To request back copies (available for a week or so), send your request
#to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
#where x is the volume number and y is the issue number.

#For other requests pertaining to the digest, send mail to
#perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
#sending perl questions to the -request address, I don't have time to
#answer them even if I did know the answer.


------------------------------
End of Perl-Users Digest V10 Issue 8558
***************************************


home help back first fref pref prev next nref lref last post