[Laszlo-dev] Help compiling Laszlo 4.9.0 from source
Raju Bitter
r.bitter.mailinglists at googlemail.com
Mon Mar 19 13:37:35 PDT 2012
Will, did you follow the build instructions on the Wiki page?
http://wiki.openlaszlo.org/SubversionBuildInstructions
If you build OpenLaszlo 4.9, you need to use a different version of
the JavaCC parser, version 2.1. Maybe that's causing the strange error
method on your machine. Which version of javacc do you have installed?
For my 4.9 build, I get:
$:~/src/svn/vendor$ javacc -version
Java Compiler Compiler Version 2.1 (Parser Generator)
If you have javacc 5.0 installed, do the following steps. Go into
$LZ_VENDOR_ROOT, and update to revision 16963 as shown here. This will
restore the JavaCC 2.1 version in the vendor folder. Then launch the
installer, and install the 2.1 version. Add the javacc2.1/bin folder
to your path. If that doesn't resolve the problem, I can only
recommend that you build in Linux instead.
$:~/src/svn/vendor$ svn update -r 16963
D javacc-5.0.zip
A JavaCC2_1.class
Updated to revision 16963.
$:~/src/svn/vendor$ java JavaCC2_1
WebGain Installer
Copyright 1997-2001 WebGain Inc.
... (now install JavaCC 2.1 using the GUI installer)
- Raju
More information about the Laszlo-dev
mailing list