[armedbear-devel] [SOLVED] Re: Error building abcl-servet
aditya siram
aditya.siram at gmail.com
Tue May 8 21:22:02 UTC 2012
I finally have it working in Tomcat 6.0.
Most of the errors were due to hard-coded paths in the following files:
build.lisp
src/lisp/dbgrstart.lisp
src/lisp/loader.lisp
In each of the above files the path to slime was hardcoded to
"~/work/slime". This resulted in a "MISSING-COMPONENT<..>" error. In
"build.lisp" this led to a build error and in the other two files the
webapp would fail to load. When I changed all the references to point
to my slime it worked.
And an error in the following file which led to a build error:
nbproject/project.properties
Here the path to abcl.jar was hard-coded in the following properties:
project.abcl=../abcl
reference.abcl.jar=${project.abcl}/dist/abcl.jar
I changed project.abcl to point to the right location, also
reference.abcl.jar assumes a build of abcl from source and so fails
with a binary distribution which doesn't have a "dist" directory.
Fixing that took care of the build task.
-deech
On Tue, May 8, 2012 at 2:23 PM, aditya siram <aditya.siram at gmail.com> wrote:
> Hi all,
> I made some progress. This error is occuring because "build.lisp"
> hardcodes the location of SLIME to "~/work/slime" on line 62. It also
> hardcodes the location of the abcl-servlet directory to
> "~/work/abcl-servlet" in line 34. Once I fixed these it built
> successfully.
> -deech
>
> On Tue, May 8, 2012 at 1:06 PM, aditya siram <aditya.siram at gmail.com> wrote:
>> Hi all,
>> I am trying to build abcl-servlet and running into the following error:
>>> ant -find build.xml dist -Dlibs.CopyLibs.classpath=/home/deech/Java/netbeans/java/ant/extra/org-netbeans-modules-java-j2seproject-copylibstask.jar
>> ...
>> /home/deech/Lisp/abcl-servlet/build.xml:36:
>> org.armedbear.lisp.Interpreter$UnhandledCondition: Unhandled lisp
>> condition: #<MISSING-COMPONENT {98F805}>
>> at org.armedbear.lisp.Interpreter$1.execute(Interpreter.java:568)
>> at org.armedbear.lisp.LispThread.execute(LispThread.java:666)
>> at org.armedbear.lisp.Primitives$pf_apply.execute(Primitives.java:2794)
>> at org.armedbear.lisp.Symbol.execute(Symbol.java:796)
>> at org.armedbear.lisp.LispThread.execute(LispThread.java:666)
>> at org.armedbear.lisp.debug_6.execute(debug.lisp:105)
>> at org.armedbear.lisp.CompiledClosure.execute(CompiledClosure.java:124)
>> at org.armedbear.lisp.Symbol.execute(Symbol.java:808)
>> at org.armedbear.lisp.LispThread.execute(LispThread.java:683)
>> at org.armedbear.lisp.debug_7.execute(debug.lisp:114)
>> at org.armedbear.lisp.Symbol.execute(Symbol.java:785)
>> at org.armedbear.lisp.LispThread.execute(LispThread.java:649)
>> at org.armedbear.lisp.signal_2.execute(signal.lisp:63)
>> at org.armedbear.lisp.CompiledClosure.execute(CompiledClosure.java:124)
>> at org.armedbear.lisp.Symbol.execute(Symbol.java:808)
>> at org.armedbear.lisp.LispThread.execute(LispThread.java:683)
>> at org.armedbear.lisp.asdf_250.execute(asdf.lisp:1692)
>> at org.armedbear.lisp.LispThread.execute(LispThread.java:633)
>> at org.armedbear.lisp.asdf_241.execute(asdf.lisp:1633)
>> at org.armedbear.lisp.Symbol.execute(Symbol.java:785)
>> at org.armedbear.lisp.LispThread.execute(LispThread.java:649)
>> at org.armedbear.lisp.asdf_249.execute(asdf.lisp:1692)
>> at org.armedbear.lisp.CompiledClosure.execute(CompiledClosure.java:112)
>> at org.armedbear.lisp.LispThread.execute(LispThread.java:666)
>> at org.armedbear.lisp.Primitives$pf_apply.execute(Primitives.java:2794)
>> at org.armedbear.lisp.Symbol.execute(Symbol.java:796)
>> at org.armedbear.lisp.LispThread.execute(LispThread.java:666)
>> at org.armedbear.lisp.asdf_248.execute(asdf.lisp:1692)
>> at org.armedbear.lisp.clos_297.execute(clos.lisp:2120)
>> at org.armedbear.lisp.LispThread.execute(LispThread.java:649)
>> at org.armedbear.lisp.clos_282.execute(clos.lisp:1934)
>> at org.armedbear.lisp.Symbol.execute(Symbol.java:796)
>> at org.armedbear.lisp.clos_275.execute(clos.lisp:1768)
>> at org.armedbear.lisp.CompiledClosure.execute(CompiledClosure.java:112)
>> at org.armedbear.lisp.StandardGenericFunction.execute(StandardGenericFunction.java:138)
>> at org.armedbear.lisp.Symbol.execute(Symbol.java:796)
>> at org.armedbear.lisp.LispThread.execute(LispThread.java:666)
>> at org.armedbear.lisp.asdf_239.execute(asdf.lisp:1623)
>> at org.armedbear.lisp.CompiledClosure.execute(CompiledClosure.java:101)
>> at org.armedbear.lisp.LispThread.execute(LispThread.java:649)
>> at org.armedbear.lisp.Primitives$pf_apply.execute(Primitives.java:2791)
>> at org.armedbear.lisp.Symbol.execute(Symbol.java:796)
>> at org.armedbear.lisp.LispThread.execute(LispThread.java:666)
>> at org.armedbear.lisp.asdf_238.execute(asdf.lisp:1623)
>> at org.armedbear.lisp.clos_297.execute(clos.lisp:2120)
>> at org.armedbear.lisp.LispThread.execute(LispThread.java:649)
>> at org.armedbear.lisp.clos_282.execute(clos.lisp:1934)
>> at org.armedbear.lisp.Symbol.execute(Symbol.java:796)
>> at org.armedbear.lisp.clos_275.execute(clos.lisp:1768)
>> at org.armedbear.lisp.CompiledClosure.execute(CompiledClosure.java:101)
>> at org.armedbear.lisp.StandardGenericFunction.execute(StandardGenericFunction.java:131)
>> at org.armedbear.lisp.LispThread.execute(LispThread.java:649)
>> at org.armedbear.lisp.Primitives$pf_apply.execute(Primitives.java:2791)
>> at org.armedbear.lisp.Symbol.execute(Symbol.java:796)
>> at org.armedbear.lisp.LispThread.execute(LispThread.java:666)
>> at org.armedbear.lisp.clos_244.execute(clos.lisp:1381)
>> at org.armedbear.lisp.Symbol.execute(Symbol.java:796)
>> at org.armedbear.lisp.LispThread.execute(LispThread.java:666)
>> at org.armedbear.lisp.clos_247.execute(clos.lisp:1400)
>> at org.armedbear.lisp.CompiledClosure.execute(CompiledClosure.java:101)
>> at org.armedbear.lisp.StandardGenericFunction.execute(StandardGenericFunction.java:131)
>> at org.armedbear.lisp.Symbol.execute(Symbol.java:785)
>> at org.armedbear.lisp.LispThread.execute(LispThread.java:649)
>> at org.armedbear.lisp.asdf_493.execute(asdf.lisp:2565)
>> at org.armedbear.lisp.LispThread.execute(LispThread.java:633)
>> at org.armedbear.lisp.asdf_241.execute(asdf.lisp:1633)
>> at org.armedbear.lisp.Symbol.execute(Symbol.java:785)
>> at org.armedbear.lisp.LispThread.execute(LispThread.java:649)
>> at org.armedbear.lisp.asdf_492.execute(asdf.lisp:2565)
>> at org.armedbear.lisp.CompiledClosure.execute(CompiledClosure.java:112)
>> at org.armedbear.lisp.LispThread.execute(LispThread.java:666)
>> at org.armedbear.lisp.Primitives$pf_apply.execute(Primitives.java:2794)
>> at org.armedbear.lisp.Symbol.execute(Symbol.java:796)
>> at org.armedbear.lisp.LispThread.execute(LispThread.java:666)
>> at org.armedbear.lisp.asdf_491.execute(asdf.lisp:2565)
>> at org.armedbear.lisp.clos_295.execute(clos.lisp:2016)
>> at org.armedbear.lisp.LispThread.execute(LispThread.java:649)
>> at org.armedbear.lisp.clos_282.execute(clos.lisp:1934)
>> at org.armedbear.lisp.Symbol.execute(Symbol.java:796)
>> at org.armedbear.lisp.clos_275.execute(clos.lisp:1768)
>> at org.armedbear.lisp.CompiledClosure.execute(CompiledClosure.java:112)
>> at org.armedbear.lisp.StandardGenericFunction.execute(StandardGenericFunction.java:138)
>> at org.armedbear.lisp.LispThread.execute(LispThread.java:666)
>> at org.armedbear.lisp.Primitives$pf_apply.execute(Primitives.java:2794)
>> at org.armedbear.lisp.Symbol.execute(Symbol.java:796)
>> at org.armedbear.lisp.LispThread.execute(LispThread.java:666)
>> at org.armedbear.lisp.clos_244.execute(clos.lisp:1381)
>> at org.armedbear.lisp.Symbol.execute(Symbol.java:796)
>> at org.armedbear.lisp.LispThread.execute(LispThread.java:666)
>> at org.armedbear.lisp.clos_247.execute(clos.lisp:1400)
>> at org.armedbear.lisp.CompiledClosure.execute(CompiledClosure.java:112)
>> at org.armedbear.lisp.StandardGenericFunction.execute(StandardGenericFunction.java:138)
>> at org.armedbear.lisp.Symbol.execute(Symbol.java:796)
>> at org.armedbear.lisp.LispThread.execute(LispThread.java:666)
>> at org.armedbear.lisp.Lisp.funcall(Lisp.java:174)
>> at org.armedbear.lisp.Primitives$pf_apply.execute(Primitives.java:2842)
>> at org.armedbear.lisp.Primitive.execute(Primitive.java:148)
>> at org.armedbear.lisp.Symbol.execute(Symbol.java:820)
>> at org.armedbear.lisp.LispThread.execute(LispThread.java:701)
>> at org.armedbear.lisp.asdf_497.execute(asdf.lisp:2625)
>> at org.armedbear.lisp.CompiledClosure.execute(CompiledClosure.java:101)
>> at org.armedbear.lisp.LispThread.execute(LispThread.java:649)
>> at org.armedbear.lisp.Lisp.evalCall(Lisp.java:548)
>> at org.armedbear.lisp.Lisp.eval(Lisp.java:513)
>> at org.armedbear.lisp.Lisp.progn(Lisp.java:682)
>> at org.armedbear.lisp.Primitives$sf_eval_when.execute(Primitives.java:3874)
>> at org.armedbear.lisp.Lisp.eval(Lisp.java:503)
>> at org.armedbear.lisp.Load.loadStream(Load.java:567)
>> at org.armedbear.lisp.Load.loadFileFromStream(Load.java:535)
>> at org.armedbear.lisp.Load.load(Load.java:670)
>> at org.armedbear.lisp.Load$_load_returning_last_result.execute(Load.java:648)
>> at org.armedbear.lisp.Symbol.execute(Symbol.java:820)
>> at org.armedbear.lisp.LispThread.execute(LispThread.java:701)
>> at org.armedbear.lisp.load_2.execute(load.lisp:46)
>> at org.armedbear.lisp.CompiledClosure.execute(CompiledClosure.java:101)
>> at org.armedbear.lisp.LispThread.execute(LispThread.java:649)
>> at org.armedbear.lisp.Lisp.evalCall(Lisp.java:548)
>> at org.armedbear.lisp.Lisp.eval(Lisp.java:513)
>> at org.armedbear.lisp.Lisp.progn(Lisp.java:682)
>> at org.armedbear.lisp.SpecialOperators$sf_progn.execute(SpecialOperators.java:275)
>> at org.armedbear.lisp.Lisp.eval(Lisp.java:503)
>> at org.armedbear.lisp.Primitives$sf_multiple_value_prog1.execute(Primitives.java:3969)
>> at org.armedbear.lisp.Lisp.eval(Lisp.java:503)
>> at org.armedbear.lisp.Primitives$sf_unwind_protect.execute(Primitives.java:3840)
>> at org.armedbear.lisp.Lisp.eval(Lisp.java:503)
>> at org.armedbear.lisp.Lisp.progn(Lisp.java:682)
>> at org.armedbear.lisp.SpecialOperators._let(SpecialOperators.java:169)
>> at org.armedbear.lisp.SpecialOperators$sf_let.execute(SpecialOperators.java:101)
>> at org.armedbear.lisp.Lisp.eval(Lisp.java:503)
>> at org.armedbear.lisp.Lisp.eval(Lisp.java:506)
>> at org.armedbear.lisp.Lisp.eval(Lisp.java:511)
>> at org.armedbear.lisp.Lisp.progn(Lisp.java:682)
>> at org.armedbear.lisp.SpecialOperators$sf_progn.execute(SpecialOperators.java:275)
>> at org.armedbear.lisp.Lisp.eval(Lisp.java:503)
>> at org.armedbear.lisp.SpecialOperators._let(SpecialOperators.java:146)
>> at org.armedbear.lisp.SpecialOperators$sf_let.execute(SpecialOperators.java:101)
>> at org.armedbear.lisp.Lisp.eval(Lisp.java:503)
>> at org.armedbear.lisp.Lisp.eval(Lisp.java:506)
>> at org.armedbear.lisp.Lisp.progn(Lisp.java:682)
>> at org.armedbear.lisp.SpecialOperators._let(SpecialOperators.java:169)
>> at org.armedbear.lisp.SpecialOperators$sf_let.execute(SpecialOperators.java:101)
>> at org.armedbear.lisp.Lisp.eval(Lisp.java:503)
>> at org.armedbear.lisp.Lisp.progn(Lisp.java:682)
>> at org.armedbear.lisp.SpecialOperators._let(SpecialOperators.java:169)
>> at org.armedbear.lisp.SpecialOperators$sf_let.execute(SpecialOperators.java:101)
>> at org.armedbear.lisp.Lisp.eval(Lisp.java:503)
>> at org.armedbear.lisp.Primitives$pf__eval.execute(Primitives.java:345)
>> at org.armedbear.lisp.LispThread.execute(LispThread.java:649)
>> at org.armedbear.lisp.Lisp.evalCall(Lisp.java:548)
>> at org.armedbear.lisp.Lisp.eval(Lisp.java:513)
>> at org.armedbear.lisp.Lisp.progn(Lisp.java:682)
>> at org.armedbear.lisp.Primitives$sf_block.execute(Primitives.java:3733)
>> at org.armedbear.lisp.Lisp.eval(Lisp.java:503)
>> at org.armedbear.lisp.Lisp.progn(Lisp.java:682)
>> at org.armedbear.lisp.Closure.bindParametersAndExecute(Closure.java:451)
>> at org.armedbear.lisp.Closure.execute(Closure.java:484)
>> at org.armedbear.lisp.LispThread.execute(LispThread.java:649)
>> at org.armedbear.lisp.Lisp.evalCall(Lisp.java:548)
>> at org.armedbear.lisp.Lisp.eval(Lisp.java:513)
>> at org.armedbear.lisp.Lisp.progn(Lisp.java:682)
>> at org.armedbear.lisp.SpecialOperators._let(SpecialOperators.java:169)
>> at org.armedbear.lisp.SpecialOperators$sf_let.execute(SpecialOperators.java:101)
>> at org.armedbear.lisp.Lisp.eval(Lisp.java:503)
>> at org.armedbear.lisp.Lisp.progn(Lisp.java:682)
>> at org.armedbear.lisp.Primitives$sf_block.execute(Primitives.java:3733)
>> at org.armedbear.lisp.Lisp.eval(Lisp.java:503)
>> at org.armedbear.lisp.Lisp.progn(Lisp.java:682)
>> at org.armedbear.lisp.Closure.bindParametersAndExecute(Closure.java:451)
>> at org.armedbear.lisp.Closure.execute(Closure.java:561)
>> at org.armedbear.lisp.scripting.AbclScriptEngine.eval(AbclScriptEngine.java:234)
>> at org.armedbear.lisp.scripting.AbclScriptEngine.eval(AbclScriptEngine.java:243)
>> at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:247)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at org.apache.tools.ant.util.ReflectUtil.invoke(ReflectUtil.java:108)
>> at org.apache.tools.ant.util.ReflectWrapper.invoke(ReflectWrapper.java:81)
>> at org.apache.tools.ant.util.optional.JavaxScriptRunner.evaluateScript(JavaxScriptRunner.java:103)
>> at org.apache.tools.ant.util.optional.JavaxScriptRunner.executeScript(JavaxScriptRunner.java:67)
>> at org.apache.tools.ant.taskdefs.optional.Script.execute(Script.java:52)
>> at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
>> at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>> at org.apache.tools.ant.Task.perform(Task.java:348)
>> at org.apache.tools.ant.Target.execute(Target.java:390)
>> at org.apache.tools.ant.Target.performTasks(Target.java:411)
>> at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
>> at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
>> at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
>> at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
>> at org.apache.tools.ant.Main.runBuild(Main.java:809)
>> at org.apache.tools.ant.Main.startAnt(Main.java:217)
>> at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
>> at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
>>
>> My ABCL version is 1.0.1.
>> -deech
More information about the armedbear-devel
mailing list