Currently Embperl 2.0 Beta 6 requires xalan to be compiled from sources. xalan is not only a big download, but also takes a long time to compile.
I've modified driver/epxalan.MAKEPL, so that it will check to see if xalan is already installed in /usr. On my Debian 3.0 system, after running 'apt-get install libxalan1.2-dev', the library is at /usr/lib/libxalan-c.so.1.2 and the headers are in /usr/include/xalan. These are the standard locations. With this patch, Embperl with XALAN support compiles, tests, and installs fine for me. Wether it works or not, I have no idea; I'm just beginning to expirement with Embperl2 + XML. Theortically this should work on any Linux like system. -- Regards, Wim Kerkhoff, Software Engineer Merilus, Inc. -|- http://www.merilus.com Email: [EMAIL PROTECTED]
--- epxalan.MAKEPL Mon Feb 25 05:18:12 2002 +++ epxalan.MAKEPL.wim Thu Mar 14 22:24:06 2002 @@ -8,6 +8,21 @@ if (!$win32) { + my $debian_libxalan = "/usr/lib/libxalan-c.so"; + my $debian_incxalan = "/usr/include/xalan"; + if (-f $debian_libxalan && -d $debian_incxalan) { + return { cflags => "-I/usr/include/xalan -I/usr/include/xercesc +-D_REENTRANT " , + cpp => "c++, + cppflags => "-O -DNDEBUG, + libs => "-L/usr/lib", + defines => '-DXALAN -DLINUX -DWIM', + objects => 'driver/epxalan$(OBJ_EXT)', + save => { '$XALANPATH' => $path }} ; + } + else { + print "$debian_libxalan or $debian_incxalan do not exist\n"; + } + $path = $ENV{XALANPATH} || GetString ("Enter path of XALAN base directory or single dot for not using XALAN", $XALANPATH) ; if (!$path || $path eq '.')
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]