Author: richter Date: Sat Sep 23 22:05:10 2023 New Revision: 1912495 URL: http://svn.apache.org/viewvc?rev=1912495&view=rev Log: Add necessary packages for installing on serveral linux distributions to INSTALL.pod
Modified: perl/embperl/trunk/INSTALL.pod Modified: perl/embperl/trunk/INSTALL.pod URL: http://svn.apache.org/viewvc/perl/embperl/trunk/INSTALL.pod?rev=1912495&r1=1912494&r2=1912495&view=diff ============================================================================== --- perl/embperl/trunk/INSTALL.pod (original) +++ perl/embperl/trunk/INSTALL.pod Sat Sep 23 22:05:10 2023 @@ -6,6 +6,50 @@ To install on unix perform the following steps: +=head3 Prerequisits + +Here are a lit of packages you should install for getting Embperl to work. +C<mod_perl>, C<Apache::Session>, C<Apache::SessionX>, C<libxml2>, C<libxlst> are +optional and need only to be install when you require their functionality. + +=head4 debian & ubunutu + +debian comes with the package `libembperl-perl/stable 2.5.0-17 amd64`. So just run + + sudo apt install libembperl-perl + +and you are done. If you want to install a newer version from the source, continue to read. +Install prerequistits + + sudo apt update + sudo apt -y install libextutils-xsbuilder-perl libapache2-mod-perl2-dev apache2-dev libcgi-pm-perl libapache-sessionx-perl libextutils-pkgconfig-perl libxml2-dev libxslt1-dev + +=head4 fedora + +Not all module are available as precomipled packages, so you have to install some from cpan: + + yum -y install mod_perl-devel perl-Apache-Session perl-ExtUtils-PkgConfig || exit 1 + cpan LWP::UserAgent + cpan ExtUtils::XSBuilder + cpan -f Apache::SessionX + +=head4 almalinux + + yum -y install epel-release # required for mod_perl + dnf --enablerepo=epel -y install mod_perl-devel perl-Apache-Session perl-ExtUtils-PkgConfig + cpan LWP::UserAgent + cpan ExtUtils::XSBuilder + cpan -f Apache::SessionX + +=head4 amazon linux + + yum -y install mod_perl-devel perl-Apache-Session perl-ExtUtils-PkgConfig || exit 1 + cpan LWP::UserAgent + cpan ExtUtils::XSBuilder + cpan -f Apache::SessionX + +=head3 Installing for source + =over =item B<Unpack the archive> @@ -98,7 +142,8 @@ To compile Embperl you need to install a =head2 UNIX (without Apache Source) If you have an UNIX with preinstalled Apache and mod_perl (e.g. a Linux -distribution), you need to locate the following files on your disk: +distribution), you need to locate the following files on your disk, in case +C<Makefile.PL> does not find them automatically: =over @@ -110,7 +155,7 @@ distribution), you need to locate the fo =back -For example in SuSE Linux 7.1 they could be found at +For example they could be found at =over --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-cvs-unsubscr...@perl.apache.org For additional commands, e-mail: embperl-cvs-h...@perl.apache.org