Ok here are the changes I had to do to get the build happening on linux ubuntu.

- create a new user who had an empty $HOME library so I could put the src and lib dirs right under home and not change the home for the session.
- Make the following changes to setup-lps.sh
1) uncomment
#export ANT_HOME=${ANT_HOME:-"${LZ_INSTALLS_ROOT}/apache-ant-1.6.5"}
and change the ant version to 1.7.1
2) add the line
export LPSHOME=${LPS_HOME:-"${LZ_LPS_ROOT}"}
in order to get LPS_HOME variable.

Now the build is getting farther BUT it stops at task lzl:

lzl:
[echo] Compiling /home/laszlo/src/svn/openlaszlo/trunk/lps/includes/lfc/lzpreloader.lzl [java] org.openlaszlo.sc.CompilerError: createCompilationWorkDir: cannot get temp directory: null: java.io.IOException: Permission denied [java] at org.openlaszlo.sc.SWF9External.createCompilationWorkDir(SWF9External.java:315)
     [java]     at org.openlaszlo.sc.lzsc.compile(lzsc.java:362)
     [java]     at org.openlaszlo.sc.Main.main(Main.java:23)
     [java] Compilation aborted.

So the process is trying to create CompilationWorkDir but where I don't know?!? I made sure that my user has all privileges to the temp folder which in linux is /tmp
So that is not the problem here.

- rami

Reply via email to