richter 01/12/05 00:16:25 Modified: embperl Changes.pod.1.html Changes.pod.2.html Changes.pod.cont.html Embperl.pod.14.html Embperl.pod.2.html Embperl.pod.3.html Embperl.pod.6.html Embperl.pod.7.html Embperl.pod.cont.html Faq.pod.1.html INSTALL.pod.1.html Recordset.pod.2.html index.html Log: Embperl Webpages - Changes Revision Changes Path 1.229 +6 -10 modperl-site/embperl/Changes.pod.1.html Index: Changes.pod.1.html =================================================================== RCS file: /home/cvs/modperl-site/embperl/Changes.pod.1.html,v retrieving revision 1.228 retrieving revision 1.229 diff -u -r1.228 -r1.229 --- Changes.pod.1.html 2001/11/02 10:16:23 1.228 +++ Changes.pod.1.html 2001/12/05 08:16:25 1.229 @@ -1,6 +1,6 @@ <HTML> <HEAD> -<TITLE>1.3.4_dev -- That's what currently under developement</TITLE> +<TITLE>1.3.4 5. Dec 2001</TITLE> <LINK REV="made" HREF="mailto:[EMAIL PROTECTED]"> </HEAD> @@ -11,7 +11,7 @@ <tr> <td valign=bottom align=center> <font size=6><strong> -<A NAME="1_3_4_dev_That_s_what_current">1.3.4_dev -- That's what currently under developement</a></strong></font> +<A NAME="1_3_4_RELEASE_5_Dec_2001">1.3.4 (RELEASE) 5. Dec 2001</a></strong></font> </td><td rowspan=2 align=right></td> </tr><tr><td valign=top align=center> @@ -21,14 +21,6 @@ [<a href="" >HOME</a>] [<a href="Changes.pod.cont.html">CONTENT</a>] [<a href="Changes.pod.cont.html">PREV (Revision History - Content)</a>] [<a href="Changes.pod.2.html">NEXT (1.3.3 (RELEASE) 6. Juni 2001)</a>] <br><hr> <P> -Last Update: Fri Nov 2 11:26:22 2001 (MET) - -<P> -NOTE: This version is only available via <A HREF="CVS.pod.1.html#INTRO" >"CVS"</A> - - - -<P> <PRE> - Added method $r -> Espace for html & url escaping - URL escpage # to %23 - use Content-Lenght HTTP Header instead of $ENV{CONTENT_LENGTH} @@ -69,6 +61,10 @@ - Added optShowBacktrace to enable backtrace of filename in error messages - Removed obsolete debug flags dbgDisableCache, dbgWatchScalar, dbgEarlyHttpHeader + - Fixed problem with changeing to page directory on win32. Reported by + Hans de Groot. + - Fixed problems with mod_perl environement handling with ActiveState Perl + on win32. </PRE> <p>[<a href="" >HOME</a>] [<a href="Changes.pod.cont.html">CONTENT</a>] [<a href="Changes.pod.cont.html">PREV (Revision History - Content)</a>] [<a href="Changes.pod.2.html">NEXT (1.3.3 (RELEASE) 6. Juni 2001)</a>] <br> <font color="#808080">___________________________________________________________________________________<br> 1.64 +2 -2 modperl-site/embperl/Changes.pod.2.html Index: Changes.pod.2.html =================================================================== RCS file: /home/cvs/modperl-site/embperl/Changes.pod.2.html,v retrieving revision 1.63 retrieving revision 1.64 diff -u -r1.63 -r1.64 --- Changes.pod.2.html 2001/06/15 06:29:22 1.63 +++ Changes.pod.2.html 2001/12/05 08:16:25 1.64 @@ -19,7 +19,7 @@ <img src="line.jpg" alt="________" WIDTH="732" HEIGHT="35" > </td></tr></table> -[<a href="" >HOME</a>] [<a href="Changes.pod.cont.html">CONTENT</a>] [<a href="Changes.pod.1.html">PREV (1.3.4_dev -- That's what currently under developement)</a>] [<a href="Changes.pod.3.html">NEXT (1.3.2 (RELEASE) 16 May. 2001 )</a>] <br><hr> +[<a href="" >HOME</a>] [<a href="Changes.pod.cont.html">CONTENT</a>] [<a href="Changes.pod.1.html">PREV (1.3.4 (RELEASE) 5. Dec 2001)</a>] [<a href="Changes.pod.3.html">NEXT (1.3.2 (RELEASE) 16 May. 2001 )</a>] <br><hr> <P> <PRE> - fixes problem with cleanup and Perl 5.6.0+ which broke session management. Spotted by Lukas Zapletal and Andy Lim. @@ -39,7 +39,7 @@ - added correct errror message for rcNotCompiledForModPerl. Spotted by Scott Chapman. </PRE> -<p>[<a href="" >HOME</a>] [<a href="Changes.pod.cont.html">CONTENT</a>] [<a href="Changes.pod.1.html">PREV (1.3.4_dev -- That's what currently under developement)</a>] [<a href="Changes.pod.3.html">NEXT (1.3.2 (RELEASE) 16 May. 2001 )</a>] <br> +<p>[<a href="" >HOME</a>] [<a href="Changes.pod.cont.html">CONTENT</a>] [<a href="Changes.pod.1.html">PREV (1.3.4 (RELEASE) 5. Dec 2001)</a>] [<a href="Changes.pod.3.html">NEXT (1.3.2 (RELEASE) 16 May. 2001 )</a>] <br> <font color="#808080">___________________________________________________________________________________<br> HTML::Embperl - Copyright (c) 1997-2001 Gerald Richter / <a href="http://www.ecos.de/">ecos gmbh</a> </font></p> 1.64 +3 -3 modperl-site/embperl/Changes.pod.cont.html Index: Changes.pod.cont.html =================================================================== RCS file: /home/cvs/modperl-site/embperl/Changes.pod.cont.html,v retrieving revision 1.63 retrieving revision 1.64 diff -u -r1.63 -r1.64 --- Changes.pod.cont.html 2001/06/15 06:29:45 1.63 +++ Changes.pod.cont.html 2001/12/05 08:16:25 1.64 @@ -19,7 +19,7 @@ <img src="line.jpg" alt="________" WIDTH="732" HEIGHT="35" > </td></tr></table> -[<a href="" >HOME</a>] [<a href="Changes.pod.cont.html">CONTENT</a>] [<a href="Changes.pod.1.html">NEXT (1.3.4_dev -- That's what currently under developement)</a>] <br><HTML> +[<a href="" >HOME</a>] [<a href="Changes.pod.cont.html">CONTENT</a>] [<a href="Changes.pod.1.html">NEXT (1.3.4 (RELEASE) 5. Dec 2001)</a>] <br><HTML> <HEAD> <TITLE>Revision History - Content</TITLE> <LINK REV="made" HREF="mailto:[EMAIL PROTECTED]"> @@ -31,7 +31,7 @@ <UL> - <LI><A href="Changes.pod.1.html#1_3_4_dev_That_s_what_current">1.3.4_dev - That's what currently under developement</A> + <LI><A href="Changes.pod.1.html#1_3_4_RELEASE_5_Dec_2001">1.3.4 (RELEASE) 5. Dec 2001</A> <LI><A href="Changes.pod.2.html#1_3_3_RELEASE_6_Juni_2001">1.3.3 (RELEASE) 6. Juni 2001</A> <LI><A href="Changes.pod.3.html#1_3_2_RELEASE_16_May_2001">1.3.2 (RELEASE) 16 May. 2001 </A> <LI><A href="Changes.pod.4.html#1_3_1_RELEASE_13_Feb_2001">1.3.1 (RELEASE) 13 Feb. 2001</A> @@ -82,7 +82,7 @@ <LI><A href="Changes.pod.49.html#0_10beta_Jan_18_1997">0.10beta Jan 18 1997</A> </UL> <!-- INDEX END --> -<hr><p>[<a href="" >HOME</a>] [<a href="Changes.pod.cont.html">CONTENT</a>] [<a href="Changes.pod.1.html">NEXT (1.3.4_dev -- That's what currently under developement)</a>] <br> +<hr><p>[<a href="" >HOME</a>] [<a href="Changes.pod.cont.html">CONTENT</a>] [<a href="Changes.pod.1.html">NEXT (1.3.4 (RELEASE) 5. Dec 2001)</a>] <br> <font color="#808080">___________________________________________________________________________________<br> HTML::Embperl - Copyright (c) 1997-2001 Gerald Richter / <a href="http://www.ecos.de/">ecos gmbh</a> </font></p> 1.22 +6 -4 modperl-site/embperl/Embperl.pod.14.html Index: Embperl.pod.14.html =================================================================== RCS file: /home/cvs/modperl-site/embperl/Embperl.pod.14.html,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- Embperl.pod.14.html 2001/05/16 06:03:43 1.21 +++ Embperl.pod.14.html 2001/12/05 08:16:25 1.22 @@ -22,7 +22,7 @@ [<a href="" >HOME</a>] [<a href="Embperl.pod.cont.html">CONTENT</a>] [<a href="Embperl.pod.13.html">PREV (Bugs)</a>] [<a href="Embperl.pod.15.html">NEXT (Support)</a>] <br> <UL> <LI><A href="Embperl.pod.14.html#on_Linux_2_x_with">on Linux 2.x with</A> - <LI><A href="Embperl.pod.14.html#on_Windows_NT_4_0_with">on Windows NT 4.0 with</A> + <LI><A href="Embperl.pod.14.html#on_Windows_NT_2000_with">on Windows NT/2000 with</A> <LI><A href="Embperl.pod.14.html#on_Windows_95_98_with">on Windows 95/98 with</A> </UL> <hr> @@ -38,7 +38,8 @@ <DT><STRONG><A NAME="perl5">perl5.6.0</A></STRONG><DD> <DT><STRONG><A NAME="perl5">perl5.6.1</A></STRONG><DD> <DT><STRONG><A NAME="perl5">perl5.7.1</A></STRONG><DD> -<DT><STRONG><A NAME="apache_1">apache_1.3.0 - apache_1.3.19</A></STRONG><DD> +<DT><STRONG><A NAME="perl5">perl5.7.2</A></STRONG><DD> +<DT><STRONG><A NAME="apache_1">apache_1.3.0 - apache_1.3.22</A></STRONG><DD> <DT><STRONG><A NAME="apache_ssl">apache_ssl (Ben SSL)</A></STRONG><DD> <DT><STRONG><A NAME="Stronghold">Stronghold 2.2</A></STRONG><DD> <DT><STRONG>Stronghold 2.4.1</STRONG><DD> @@ -48,12 +49,13 @@ <P> <HR> -<H2><img src="sq.gif" width="16" height="16" alt="-"> <A NAME="on_Windows_NT_4_0_with">on Windows NT 4.0 with</A></H2> +<H2><img src="sq.gif" width="16" height="16" alt="-"> <A NAME="on_Windows_NT_2000_with">on Windows NT/2000 with</A></H2> <DL> <DT><STRONG>perl5.004_04</STRONG><DD> <DT><STRONG><A NAME="perl5">perl5.005</A></STRONG><DD> <DT><STRONG>perl5.6.0</STRONG><DD> -<DT><STRONG>apache_1.3.0 - apache_1.3.19</STRONG><DD> +<DT><STRONG>perl5.6.1</STRONG><DD> +<DT><STRONG>apache_1.3.0 - apache_1.3.22</STRONG><DD> </DL> <P> <HR> 1.28 +3 -1 modperl-site/embperl/Embperl.pod.2.html Index: Embperl.pod.2.html =================================================================== RCS file: /home/cvs/modperl-site/embperl/Embperl.pod.2.html,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- Embperl.pod.2.html 2001/05/16 06:03:43 1.27 +++ Embperl.pod.2.html 2001/12/05 08:16:25 1.28 @@ -95,7 +95,9 @@ <P> -Use embpcgi.pl on Unix systems and embpcgi.bat on Win32 systems. +Use embpcgi.pl on Unix systems and embpcgi.bat on Win32 systems. You can +also run Embperl with <STRONG>FastCGI</STRONG>, in this case use embpfastcgi.pl as cgi script. You must have FCGI.pm +installed. <P> If <CODE>embpcgi.pl/embpcgi.bat</CODE> is invoked without any parameters and the environment variable <STRONG>PATH_TRANSLATED</STRONG> is set, it runs itself as a CGI script. This means that form data is taken 1.27 +8 -2 modperl-site/embperl/Embperl.pod.3.html Index: Embperl.pod.3.html =================================================================== RCS file: /home/cvs/modperl-site/embperl/Embperl.pod.3.html,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- Embperl.pod.3.html 2001/05/16 06:03:43 1.26 +++ Embperl.pod.3.html 2001/12/05 08:16:25 1.27 @@ -173,6 +173,10 @@ <P> where $errors</A> is a array reference. (1.3b5+) +<br> <DT><STRONG><A NAME="optShowBacktrace">optShowBacktrace = 0x8000000</A></STRONG><DD> +When set every error message not only show the sourcefiles, but all files +from which this file was called by Execute. + <br> <DT><STRONG><A NAME="optSafeNamespace">optSafeNamespace = 4</A></STRONG><DD> Tells Embperl to execute the embedded code in a safe namespace so the code cannot access data or code in any other package. (See the chapter about <A href="Embperl.pod.8.html#_Safe_Namespaces_and_opcode_res">(Safe-)Namespaces and opcode restrictions</A> below for more details.) @@ -405,7 +409,7 @@ </PRE> <P> <PRE> open F, "filename" ; - local $\ = undef ; + local $/ = undef ; $$in = <F> ; close F ; </PRE> @@ -626,7 +630,9 @@ <HR> <H2><img src="sq.gif" width="16" height="16" alt="-"> <A NAME="EMBPERL_SESSION_HANDLER_CLASS_1">EMBPERL_SESSION_HANDLER_CLASS (1.3b3 and higher)</A></H2> <P> -Set the class that performs the Embperl session handling. Default is +Set the class that performs the Embperl session handling. Default until +1.3.3 was <CODE>HTML::Embperl::Session</CODE>, starting with 1.3.4 it is +<CODE>Apache::SessionX</CODE>. To get the old session behaviour set it to <CODE>HTML::Embperl::Session</CODE>. You can overwrite <EM>HTML::Embperl::Session</EM> and specify the name of your class within this variable. This gives you the possibility to implement your own session handling. 1.26 +5 -1 modperl-site/embperl/Embperl.pod.6.html Index: Embperl.pod.6.html =================================================================== RCS file: /home/cvs/modperl-site/embperl/Embperl.pod.6.html,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- Embperl.pod.6.html 2001/05/16 06:03:43 1.25 +++ Embperl.pod.6.html 2001/12/05 08:16:25 1.26 @@ -250,7 +250,11 @@ 1.3b6 and above) <DL> -<DT><STRONG><A NAME="_escmode">$escmode = 3 (or 7)</A></STRONG><DD> +<DT><STRONG><A NAME="_escmode">$escmode = 8 (or 15) (2.0b4 and above)</A></STRONG><DD> +The result of a Perl expression is always XML-escaped (e.g., `>' becomes +`&gt;' and ' become &apos;). + +<br> <DT><STRONG>$escmode = 3 (or 7)</STRONG><DD> The result of a Perl expression is HTML-escaped (e.g., `>' becomes `&gt;') in normal text and URL-escaped (e.g., `&' becomes `%26') within of <A href="Embperl.pod.4.html#item_A">A</A>, <CODE>EMBED</CODE>, <CODE>IMG</CODE>, <CODE>IFRAME</CODE>, <CODE>FRAME</CODE> and <CODE>LAYER</CODE> tags. 1.19 +14 -1 modperl-site/embperl/Embperl.pod.7.html Index: Embperl.pod.7.html =================================================================== RCS file: /home/cvs/modperl-site/embperl/Embperl.pod.7.html,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- Embperl.pod.7.html 2001/02/12 09:18:46 1.18 +++ Embperl.pod.7.html 2001/12/05 08:16:25 1.19 @@ -41,7 +41,20 @@ the same values in that hash again. <P> -To configure <EM>Embperl</EM> to do session management for you, you must have installed <EM>Apache::Session</EM> (<STRONG>1.00 or higher</STRONG>) and tell Embperl which storage and locker classes you would like to use +Session handling has changed from 1.3.3 to 1.3.4 and 2.0b3 to 2.0b4. You +must either install Apache::SessionX or set + +<P> +<PRE> PerlSetEnv EMBPERL_SESSION_HANDLER_CLASS "HTML::Embperl::Session" +</PRE> +<P> +to get the old behaviour. If you have Apache::SessionX installed, you don't +have to make addtional configuration, otherwise you must do the following +things. You are also able to override the Apache::SessionX defaults, by +using the following parameters: + +<P> +To configure <EM>Embperl</EM> to do session management for you, you must have installed <EM>Apache::Session</EM> (<STRONG>1.53 or higher</STRONG>) and tell Embperl which storage and locker classes you would like to use for <EM>Apache::Session</EM>. This is done by setting the environment variable <CODE>EMBPERL_SESSION_CLASSES</CODE>. If you want to use a MySQL database for storing your sessions, you may 1.29 +1 -1 modperl-site/embperl/Embperl.pod.cont.html Index: Embperl.pod.cont.html =================================================================== RCS file: /home/cvs/modperl-site/embperl/Embperl.pod.cont.html,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- Embperl.pod.cont.html 2001/02/12 09:18:46 1.28 +++ Embperl.pod.cont.html 2001/12/05 08:16:25 1.29 @@ -155,7 +155,7 @@ <UL> <LI><A href="Embperl.pod.14.html#on_Linux_2_x_with">on Linux 2.x with</A> - <LI><A href="Embperl.pod.14.html#on_Windows_NT_4_0_with">on Windows NT 4.0 with</A> + <LI><A href="Embperl.pod.14.html#on_Windows_NT_2000_with">on Windows NT/2000 with</A> <LI><A href="Embperl.pod.14.html#on_Windows_95_98_with">on Windows 95/98 with</A> </UL> 1.21 +0 -1 modperl-site/embperl/Faq.pod.1.html Index: Faq.pod.1.html =================================================================== RCS file: /home/cvs/modperl-site/embperl/Faq.pod.1.html,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- Faq.pod.1.html 2001/02/12 09:18:47 1.20 +++ Faq.pod.1.html 2001/12/05 08:16:25 1.21 @@ -41,7 +41,6 @@ <LI><A href="Faq.pod.1.html#Is_it_possible_to_install_EmbPer">Is it possible to install EmbPerl into a private directory on my Unix/Linux Internet Service Provider account of which I have no root privilege?</A> </UL> <hr> -<P> For basics on downloading, compiling, and installing, please see the <A HREF="INSTALL.pod.1.html#INSTALLATION" >INSTALLATION</A> in the Embperl documentation. Please be sure to load Embperl at server startup - if you do not, various problems may result. An exception to that 1.27 +167 -76 modperl-site/embperl/INSTALL.pod.1.html Index: INSTALL.pod.1.html =================================================================== RCS file: /home/cvs/modperl-site/embperl/INSTALL.pod.1.html,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- INSTALL.pod.1.html 2001/05/16 06:03:43 1.26 +++ INSTALL.pod.1.html 2001/12/05 08:16:25 1.27 @@ -23,55 +23,38 @@ <LI><A href="INSTALL.pod.1.html#UNIX">UNIX</A> <LI><A href="INSTALL.pod.1.html#Options_for_make_test">Options for make test</A> + <LI><A href="INSTALL.pod.1.html#XML_and_XSLT_support">XML and XSLT support</A> <LI><A href="INSTALL.pod.1.html#Debian_packages">Debian packages</A> <LI><A href="INSTALL.pod.1.html#UNIX_without_Apache_Source_">UNIX (without Apache Source)</A> <LI><A href="INSTALL.pod.1.html#WIN_32_non_ActiveState_Perl_">WIN 32 (non ActiveState Perl)</A> <LI><A href="INSTALL.pod.1.html#WIN_32_with_ActiveState_Perl">WIN 32 with ActiveState Perl</A> <LI><A href="INSTALL.pod.1.html#Compile_Embperl_from_the_sources">Compile Embperl from the sources on WIN 32 with ActiveState Perl</A> + <LI><A href="INSTALL.pod.1.html#WIN_32_Install_Apache_and_non_A">WIN 32: Install Apache and non Apache version on the same system</A> <LI><A href="INSTALL.pod.1.html#How_to_continue">How to continue</A> <LI><A href="INSTALL.pod.1.html#Further_Documentation_english_">Further Documentation (english)</A> <LI><A href="INSTALL.pod.1.html#Further_Documentation_german_">Further Documentation (german)</A> + <LI><A href="INSTALL.pod.1.html#Compiling_XALAN">Compiling XALAN</A> </UL> <hr> <P> <H2><img src="sq.gif" width="16" height="16" alt="-"> <A NAME="UNIX">UNIX</A></H2> -<P> -- <STRONG>Unpack the archive</STRONG> - - - -<P> -- <STRONG>perl Makefile.PL</STRONG> - - - -<P> +<DL> +<DT><STRONG><A NAME="Unpack">Unpack the archive</A></STRONG><DD> +<DT><STRONG><A NAME="perl">perl Makefile.PL</A></STRONG><DD> You will be asked if you want to compile in support for Apache mod_perl. If you say yes, the source of Apache is searched (for headerfiles). If it -can't found, please specify the basepath. Please make sure mod_perl is -already installed. If you have installed mod_perl-0.96 or higher, -Makefile.PL automatically suggests the same source path as was used to -build mod_perl. - -<P> -- <STRONG>make</STRONG> - - - -<P> -- <STRONG>make test</STRONG> - - - -<P> -- <STRONG>make install</STRONG> - - - -<P> -<STRONG>NOTE 1:</STRONG> (only Embperl-1.2b1 or higher) For using session handling you need -Apache::Session-1.00 or higher. If possible use Apache::Session 1.52 or -higher. Starting with Embperl 1.3b7 Apache::Session 0.17 is <STRONG>NOT</STRONG> supported anymore. +can't found, please specify the basepath of your Apache sources or the +directory where the Apache include files are installed. Please make sure +mod_perl is already installed. If you have installed mod_perl-0.96 or +higher, Makefile.PL automatically suggests the same source path as was used +to build mod_perl. + +<br> <DT><STRONG><A NAME="make">make</A></STRONG><DD> +<DT><STRONG>make test</STRONG><DD> +<DT><STRONG>make install</STRONG><DD> +</DL> +<STRONG>NOTE 1:</STRONG> For using session handling you need Apache::Session 1.53 and +Apache::SessionX 2.00b3 or higher. <P> <STRONG>NOTE 2:</STRONG> <EM>Embperl</EM> runs without additional Perl modules, but the <CODE>make test</CODE> @@ -110,6 +93,39 @@ <P> <HR> +<H2><img src="sq.gif" width="16" height="16" alt="-"> <A NAME="XML_and_XSLT_support">XML and XSLT support</A></H2> +<P> +Starting with Embperl 2.0b4 it has a build in XSLT support. You can either +use the Apache Xerces-C and Xalan-C and/or Gnome libxml and libxslt. +Embperl is currently tested with Xalan 1.2 and libxslt 1.0.4+. + +<P> +To install Xalan, download the Xalan archive for your OS from <A +HREF="http://xml.apache.org/dist/xalan-c/">http://xml.apache.org/dist/xalan-c/</A> +For Linux it is Xalan-C_1_2-linux.tar.gz For Solaris it is +Xalan-C_1_2-solaris.tar.gz Extract the archive and make the shared +libraries available to the system, either by adding the directories to +LD_LIBRARY_PATH or by coping them to a library directory, e.g. +/usr/local/lib and run ldconfig -v. The two ncessary libraries can be found +under xerces-c1_5_1-linux/lib/libxerces-c1_5_1.so +xml-xalan/c/lib/libxalan-c1_2.so + +<P> +Now you only have to enter the basepath of where you have extraced the +Xalan archive, when Makefile.PL asks you for it and proceed as normal. + +<P> +<STRONG>NOTE:</STRONG> For special hints on compiling XALAN see below + +<P> +To use libxml/libxslt, download them from <A +HREF="http://xmlsoft.org/">http://xmlsoft.org/</A> and install them on your +system. Makefile.PL will automaticly detect the installed libraries and +linked them into Embperl. (you have to make sure that xml2-config and +xslt-config can be found and run by Makefile.PL) + +<P> +<HR> <H2><img src="sq.gif" width="16" height="16" alt="-"> <A NAME="Debian_packages">Debian packages</A></H2> <P> The Debian packages are maintained by Angus Lees. Here are his installation @@ -175,7 +191,7 @@ <PRE> perl Makefile.PL </PRE> <P> -When get asked for the Apache sources, enter the directory where you found <CODE>httpd.h</CODE> (e.g. <CODE>/usr/include/apache</CODE>). For the Apache executable enter the path to <CODE>httpd</CODE>. If the Apache modules are loaded dynamicly, the you will get ask for <CODE>mod_env.so</CODE>, enter it's directory. Now you can continue as normal with +When get asked for the Apache sources, enter the directory where you found <CODE>httpd.h</CODE> (e.g. <CODE>/usr/include/apache</CODE>). For the Apache executable enter the path to <CODE>httpd</CODE>. If the Apache modules are loaded dynamicly, you will get ask for <CODE>mod_env.so</CODE>, enter it's directory. Now you can continue as normal with <P> <PRE> make test @@ -188,49 +204,33 @@ <P> <STRONG>NOTE:</STRONG> You need mod_perl >= 1.12 on win32 -<P> -On Windows 95/NT you have to do the following: - <P> -<STRONG>perl Makefile.PL</STRONG> - - +On Windows 95/98/ME/NT/2000/XP you have to do the following: -<P> -<STRONG>nmake</STRONG> (you must have the c compiler in your path) - -<P> +<DL> +<DT><STRONG>perl Makefile.PL</STRONG><DD> +<DT><STRONG><A NAME="nmake">nmake (you must have the c compiler in your path)</A></STRONG><DD> if you get an error about compiling Embperl.c. Edit Embperl.c and change <P> --#line ``Embperl.xs'' - +<PRE> #line "Embperl.xs" +</PRE> <P> to <P> -+#line 1 ``Embperl.xs'' - +<PRE> #line 1 "Embperl.xs" +</PRE> <P> now re-run nmake and it should compile. - -<P> -<STRONG>nmake test</STRONG> - - - -<P> -<STRONG>NOTE:</STRONG> nmake test needs libwin32, libwww and HTML::Parser installed to work - -<P> -<STRONG>nmake install</STRONG> - +<br> <DT><STRONG>nmake test</STRONG><DD> +<STRONG>NOTE:</STRONG> <CODE>nmake test</CODE> needs libwin32, libwww and HTML::Parser installed to work -<P> -<STRONG>NOTE 1:</STRONG> (only Embperl-1.2b1 or higher) For using session handling you need -Apache::Session-1.00 or higher. If possible use Apache::Session 1.52 or -higher. Starting with Embperl 1.3b7 Apache::Session 0.17 is <STRONG>NOT</STRONG> supported anymore. +<br> <DT><STRONG>nmake install</STRONG><DD> +</DL> +<STRONG>NOTE 1:</STRONG> For using session handling you need Apache::Session 1.53 and +Apache::SessionX 2.00b3 or higher. <P> <STRONG>NOTE 2:</STRONG> <EM>Embperl</EM> runs without additional Perl modules, but the <CODE>make test</CODE> @@ -265,17 +265,16 @@ use Embperl offline or as CGI. <P> -Next get the Apache binary (including the source e.g. -apache_1.3.19-win32-src-r2.msi) from <A +Next get the Apache binary (e.g. apache_1.3.22-win32-x86.msi) from <A HREF="http://www.apache.org/dist/httpd/binaries/win32/">http://www.apache.org/dist/httpd/binaries/win32/</A> . (You may need to install the windows MSI installer from the same page -too). Now run the installation. +too). Now run the Apache installation. <P> Then run the ppm program to install mod_perl <P> -<PRE> ppm install <A HREF="http://theoryx5.uwinnipeg.ca/ppmpackages/mod_perl-1.25_1.3.19.ppd">http://theoryx5.uwinnipeg.ca/ppmpackages/mod_perl-1.25_1.3.19.ppd</A> +<PRE> ppm install <A HREF="http://theoryx5.uwinnipeg.ca/ppmpackages/mod_perl.ppd">http://theoryx5.uwinnipeg.ca/ppmpackages/mod_perl.ppd</A> </PRE> <P> If you get asked for the Apache directory, enter the <CODE>modules</CODE> subdirectory under the path where you have installed your Apache, e.g. @@ -284,19 +283,26 @@ <PRE> \Program Files\Apache Group\Apache\modules </PRE> <P> -As last step you can install the Embperl ppd: +As last step you need to install Embperl itself: <P> <PRE> ppm install <A HREF="http://theoryx5.uwinnipeg.ca/ppmpackages/HTML-Embperl.ppd">http://theoryx5.uwinnipeg.ca/ppmpackages/HTML-Embperl.ppd</A> </PRE> <P> +If you want to use session management, you have additionaly to install +Apache::Session and Apache::SessionX + +<P> +<PRE> ppm install <A HREF="http://theoryx5.uwinnipeg.ca/ppmpackages/Apache-Session.ppd">http://theoryx5.uwinnipeg.ca/ppmpackages/Apache-Session.ppd</A> + ppm install <A HREF="http://theoryx5.uwinnipeg.ca/ppmpackages/Apache-SessionX.ppd">http://theoryx5.uwinnipeg.ca/ppmpackages/Apache-SessionX.ppd</A> +</PRE> +<P> <HR> <H2><img src="sq.gif" width="16" height="16" alt="-"> <A NAME="Compile_Embperl_from_the_sources">Compile Embperl from the sources on WIN 32 with ActiveState Perl</A></H2> <P> -First install ActiveState Perl, Apache and mod_perl as described above. -Make sure you have an Apache version which includes the sources. (Of course -when you want to use Embperl only offline or as CGI you don't have to -install Apache and mod_perl) +First install ActiveState Perl, Apache and mod_perl as described above. (Of +course when you want to use Embperl only offline or as CGI you don't have +to install Apache and mod_perl) <P> Then extract the Embperl distribution and go to the directory where you @@ -308,7 +314,8 @@ <P> Enter y or hit enter when you get ask ``Build with support for Apache mod_perl?(y/n) [y]'' When get asked for the Apache source enter the Apache -directory you have installed above. e.g. \Program Files\Apache Group. +directory you have installed above. e.g. \Program Files\Apache +Group\Apache. <P> Now you can continue by running @@ -319,6 +326,20 @@ </PRE> <P> <HR> +<H2><img src="sq.gif" width="16" height="16" alt="-"> <A NAME="WIN_32_Install_Apache_and_non_A">WIN 32: Install Apache and non Apache version on the same system</A></H2> +<P> +Unlike Unix, Windows loads any needed DLL (dynamic libraries) at startup. +This causes trouble when Embperl is compiled for use with Apache and +mod_perl, but is used outside of Apache, because Windows tries to load <EM>ApacheCore.dll</EM>. To solve this problem Embperl 1.3.4+ can install a Apache and a non +Apache version. To do this first install the Apache version as decribed +above (including the <CODE>nmake install</CODE> !) . Afterwards rerun Makefile.PL, when ask for mod_perl support answer no, +now Makefile.PL detects that a mod_perl version was already compiled and +asks if you what a separate non Apache version. Just say yes here and +compile and install this version too. When Embperl is loaded it detects if +runs in- or outside of Apache and loads the correct library. + +<P> +<HR> <H2><img src="sq.gif" width="16" height="16" alt="-"> <A NAME="How_to_continue">How to continue</A></H2> <P> You can view the documentation at any time from the Embperl source @@ -377,6 +398,76 @@ or you can view it online on <A HREF="http://www.ecos.de/embperl/">http://www.ecos.de/embperl/</A> +<P> +<HR> +<H2><img src="sq.gif" width="16" height="16" alt="-"> <A NAME="Compiling_XALAN">Compiling XALAN</A></H2> +<P> +Normaly you should be fine with the binary packages that are provided for +XALAN. If you want to compile XALAN from the sources there should be +normaly no problem as long as you use GNU gcc on Unix or Microsoft VC++ on +Windows. + +<P> +Here are some hints how to compile XALAN 1.2 with the sun C++ 5.1: + +<UL> +<LI><STRONG><A NAME="Get">Get the sources for XERCES and XALAN</A></STRONG><br> +<LI><STRONG><A NAME="Untar">Untar the files</A></STRONG><br> +Use GNU tar, solaris tar doesn't work! GNU tar can be found at <A +HREF="ftp://ftp.mcc.ac.uk/pub/gnu/tar/tar-1.13.tar.gz">ftp://ftp.mcc.ac.uk/pub/gnu/tar/tar-1.13.tar.gz</A> + + +<br> <LI><STRONG><A NAME="Set">Set the root directories</A></STRONG><br> +<PRE> export XERCESCROOT=/path/to/xerces-c-src1_5_1 + export XALANCROOT=/path/to/xml-xalan/c + +=item * Compile XERCES +</PRE> +<P> +<PRE> cd xerces-c-src1_5_1/src + sh runConfigure -p solaris -c cc -x CC + make +</PRE> +<br> <LI><STRONG><A NAME="Patch">Patch XALAN</A></STRONG><br> +There must be one typecast inserted in the following three files: + +<P> +<PRE> + "c/src/XSLT/ExtensionFunctionHandler.cpp", line 156 + 156c156 + < return m_functions.find(function) != m_functions.end(); + --- + > return StringSetType::const_iterator(m_functions.find(function)) != m_functions.end(); +</PRE> +<P> +<PRE> "c/src/XSLT/ExtensionNSHandler.cpp", line 200 + 200c200 + < return (m_elements.find(element) != m_elements.end()); + --- + > return (ExtensionSetType::const_iterator(m_elements.find(element)) != m_elements.end()); +</PRE> +<P> +<PRE> "c/src/XSLT/NamespacesHandler.cpp", line 366 + 366c366 + < || m_extensionNamespaceURIs.find(theURI) != m_extensionNamespaceURIs.end() + --- + > || ExtensionNamespaceURISetType::const_iterator(m_extensionNamespaceURIs.find(theURI)) != m_extensionNamespaceURIs.end() +</PRE> +<br> <LI><STRONG><A NAME="Compile">Compile XALAN</A></STRONG><br> +<PRE> cd xml-xalan/c/src + sh runConfigure -p solaris -c cc -x CC -z "-D__GNUC__" + make +</PRE> +<P> +<STRONG>NOTE:</STRONG> I found that only the above parameters to configure work. Don't worry that +__GNUC__ is defined. It works with sun C++ 5.1. When using sun C++ 5.1 you +don't need the STLPort template library. + +<br> <LI><STRONG><A NAME="Make">Make the libraries available</A></STRONG><br> +<PRE> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/xerces-c-src1_5_1/lib:/path/to/xml-xalan/c/lib +</PRE> +<br> <LI><STRONG><A NAME="Now">Now you can run Embperl's Makefile.PL as described above</A></STRONG><br> +</DL> <p>[<a href="" >HOME</a>] <br> <font color="#808080">___________________________________________________________________________________<br> HTML::Embperl - Copyright (c) 1997-2001 Gerald Richter / <a href="http://www.ecos.de/">ecos gmbh</a> 1.4 +1 -1 modperl-site/embperl/Recordset.pod.2.html Index: Recordset.pod.2.html =================================================================== RCS file: /home/cvs/modperl-site/embperl/Recordset.pod.2.html,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- Recordset.pod.2.html 2001/08/15 19:23:04 1.3 +++ Recordset.pod.2.html 2001/12/05 08:16:25 1.4 @@ -640,7 +640,7 @@ DBIx::Recordset optimize the building of WHERE expressions. <P> -See also <STRONG>!primkey</STRONG> +See also <STRONG>!PrimKey</STRONG> 1.129 +10 -2 modperl-site/embperl/index.html Index: index.html =================================================================== RCS file: /home/cvs/modperl-site/embperl/index.html,v retrieving revision 1.128 retrieving revision 1.129 diff -u -r1.128 -r1.129 --- index.html 2001/07/28 13:45:49 1.128 +++ index.html 2001/12/05 08:16:25 1.129 @@ -70,8 +70,8 @@ </tr> <tr> <td bgcolor="#AFBDCA"> Current Version<br> - <a href="Embperl.pod.16.html"><code>Stable: 1.3.3</code></a><br> - <a href="Embperl.pod.16.html"><code>Beta: 2.0b3</code></a><br> + <a href="Embperl.pod.16.html"><code>Stable: 1.3.4</code></a><br> + <a href="Embperl.pod.16.html"><code>Beta: 2.0b5</code></a><br> </tr> <tr> <td bgcolor="#FFFF00" align=center><big><a href="http://www.ecos.de/embperl/"><img src="de.gif" border=0></a></big></td> @@ -131,6 +131,14 @@ <tr> <td bgcolor="#bFcDdA"><br> <ul type=square> + <li><b>5. Dec 2001</b><br> + Embperl 1.3.4 released.</li> + <li><b>27. Nov 2001</b><br> + Embperl 2.0b5 released.</li> + <li><b>20. Nov 2001</b><br> + Embperl 2.0b4 released. This release introduces XML and XSLT support into Embperl, along + with a new way of creating a request from a series of providers, which pluged together + in a hierachial tree structure</li> <li><b>28. July 2001</b><br> David Lloyd is makeing a talk at the <a href="http://www.auug.org.au/winter/auug2001/">AUUG Annual Conference</a>, which @@ -232,7 +240,7 @@ <blockquote> <p><font color="#808080" size=1><hr> HTML::Embperl - Copyright (c) 1997-2001 Gerald Richter / ECOS <[EMAIL PROTECTED]> - Last Update $Id: index.html,v 1.128 2001/07/28 13:45:49 richter Exp $</font></p> + Last Update $Id: index.html,v 1.129 2001/12/05 08:16:25 richter Exp $</font></p> </blockquote> </td></tr><!--msnavigation--></table></body> </html>