PDA

View Full Version : How to compile quercus from svn?


cray74
11-27-2009, 04:55 PM
I am trying to run my zend framework application on quercus, and i am getting error:

/opt/resin/webapps/php/library/Zend/Controller/Front.php:961: Fatal Error: Uncaught exception of type 'Exception' with message ''com.caucho.quercus.lib.spl.ArrayObject@e4776b' is an invalid iterator'

There is a solution which might work (http://bugs.caucho.com/view.php?id=3384), and i wanted to compile quercus from the svn to test it out.

I got the source code from the svn, but how can i compile quercus? I couldn't find any info about that.

cray74
11-27-2009, 04:57 PM
I am trying to run my zend framework application on quercus, and i am getting error:

/opt/resin/webapps/php/library/Zend/Controller/Front.php:961: Fatal Error: Uncaught exception of type 'Exception' with message ''com.caucho.quercus.lib.spl.ArrayObject@e4776b' is an invalid iterator'

There is a solution which might work (http://bugs.caucho.com/view.php?id=3384), and i wanted to compile quercus from the svn to test it out.

How can i compile quercus? I couldn't find any info about that.

cray74
11-27-2009, 06:09 PM
How can i compile Quercus from the source code? I was not able to find any info about this.

Thanks.

nam
12-02-2009, 12:57 AM
I think the ArrayObject issue still partially exists on our trunk.

The newest version of Resin is up at: http://www.caucho.com/download
The new Quercus 4.0.2 war is up at: http://quercus.caucho.com

To compile Quercus from our public svn, you will need the full Resin source at:
svn://svn.caucho.com/resin/trunk
> ant dist

will spit out dist/resin.jar which contains Quercus. Or you can do:
> ant

and it will produce a lib/quercus.jar and lib/resin-kernel.jar. Those two are the only ones you need for Quercus.

domdorn
12-07-2009, 10:51 AM
svn up
At revision 6409.

ant dist
Buildfile: build.xml

BUILD FAILED
/home/domdorn/work/quercus/quercus/build.xml:7: Cannot find nbproject/build-impl.xml imported from /home/domdorn/work/quercus/quercus/build.xml

Total time: 0 seconds


also the "quote" operation in this forum does not insert the text of the post to be quoted.

nam
12-07-2009, 11:53 AM
The quercus-only source is missing common Resin utility files. As a result, it's not buildable (it's something we'll need to fix http://bugs.caucho.com/view.php?id=3800). You'll need to compile the full resin source at:

svn://svn.caucho.com/resin/trunk

and extract out the quercus.jar + resin-kernel.jar

nam
08-02-2012, 05:57 AM
The above is a bit out of date. List of repositories:
http://wiki4.caucho.com/Caucho_Public_SVN

To check out and compile Quercus from trunk:

svn checkout svn://svn.caucho.com/home/svn/svnroot/resin/trunk resin
cd resin
ant

Jars will be resin/lib/resin-kernel.jar and resin/lib/quercus.jar.