Mailing List Archive

Successful Embperl Install Fedora 17
Hi

I'm total new to Embperl and I've been struggling for the best part of a
week to install Embperl on a Fedora 17 server running Apache 2.2.22,
mod_perl/2.0.5 and Perl/v5.14.2

Since I finally got 'Hello World' to work I thought I would post some hints
as to how I managed this amazing feat. The base install (Apache, mod_perl
and all the perl dependencies were installed using yum). Unfortunately
Embperl has been overlooked by the Fedora crew, therefore, it has to be
installed manually from source. I simply downloaded Embperl-2.5.0.tar.gz
from http://perl.apache.org/dist/ and followed the yellow brick road (perl
Makefile.PL, make, make test, su .. make install)

Before arriving at the above, I tried to install HTML::EmbperlObject from
CPAN ... DON'T, compilation is a tangle of deps. ;-(

Now the real ice bag on head part. The tutorial here
http://www.perl.com/pub/2001/03/embperl.html is nearly right!
In my httpd.conf I changed HTML::EmbperlObject to Embperl::Object and
removed PerlSetEnv EMBPERL_OBJECT_BASE base.epl because Embperl::Object
always looks for _base.epl, I think! So I just substituted the file base.epl
for _base.epl. And the final trick is, obvious LOL, point your browser at
/hello.html

That's it! Enjoy. Conceptuality Embperl is magic :-)

--
View this message in context: http://old.nabble.com/Successful-Embperl-Install-Fedora-17-tp34557702p34557702.html
Sent from the Embperl mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: Successful Embperl Install Fedora 17 [ In reply to ]
Hi,

Glad you managed to do it and thanks for your feedback.

Le 15/10/2012 13:42, oldbrad a écrit :
> In my httpd.conf I changed HTML::EmbperlObject to Embperl::Object and
> removed PerlSetEnv EMBPERL_OBJECT_BASE base.epl because Embperl::Object
> always looks for _base.epl, I think! So I just substituted the file base.epl
> for _base.epl.

I think PerlSetEnv isn't required any more, I personally set base.epl
like so in my virtual hosts :

EMBPERL_OBJECT_BASE base.epl

See here : http://perl.apache.org/embperl/pod/doc/README.v2.txt

The following differences to Embperl 1.x apply:
------------------------------------------------------
- When running under mod_perl you _must_ load Embperl
at server startup time. Either with a

PerlModule Embperl

in your httpd.conf or a

use Embperl ;

inside of a startup script.
You can use the Embperl configuration directives now
directly, (without PerlSetEnv/SetEnv).

> That's it! Enjoy. Conceptuality Embperl is magic :-)

We're all convinced here and don't really understand why the rest of the
world isn't ;-)

Have a nice day,

JC

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
RE: Successful Embperl Install Fedora 17 [ In reply to ]
Hi,

Thanks for your feedback. If you are using Perl 5.14 you should use Embperl 2.5.0_2:

http://www.embperl.org/downloads/Embperl-2.5.0_2.tar.gz

Gerald


> -----Original Message-----
> From: oldbrad [mailto:brad@bradcan.homelinux.com]
> Sent: Monday, October 15, 2012 1:43 PM
> To: embperl@perl.apache.org
> Subject: Successful Embperl Install Fedora 17
>
>
> Hi
>
> I'm total new to Embperl and I've been struggling for the best part of a week
> to install Embperl on a Fedora 17 server running Apache 2.2.22,
> mod_perl/2.0.5 and Perl/v5.14.2
>
> Since I finally got 'Hello World' to work I thought I would post some hints as to
> how I managed this amazing feat. The base install (Apache, mod_perl and all
> the perl dependencies were installed using yum). Unfortunately Embperl has
> been overlooked by the Fedora crew, therefore, it has to be installed
> manually from source. I simply downloaded Embperl-2.5.0.tar.gz from
> http://perl.apache.org/dist/ and followed the yellow brick road (perl
> Makefile.PL, make, make test, su .. make install)
>
> Before arriving at the above, I tried to install HTML::EmbperlObject from
> CPAN ... DON'T, compilation is a tangle of deps. ;-(
>
> Now the real ice bag on head part. The tutorial here
> http://www.perl.com/pub/2001/03/embperl.html is nearly right!
> In my httpd.conf I changed HTML::EmbperlObject to Embperl::Object and
> removed PerlSetEnv EMBPERL_OBJECT_BASE base.epl because
> Embperl::Object always looks for _base.epl, I think! So I just substituted the
> file base.epl for _base.epl. And the final trick is, obvious LOL, point your
> browser at /hello.html
>
> That's it! Enjoy. Conceptuality Embperl is magic :-)
>
> --
> View this message in context: http://old.nabble.com/Successful-Embperl-
> Install-Fedora-17-tp34557702p34557702.html
> Sent from the Embperl mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org