[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnu autoconf
On Tue, 13 Mar 2001, Cory Bennett wrote:
>I tweaked the autoconf files to now put all the class files in the classes
>directory and build the jar file from there. I also cleaned up the makefiles a
>bit.
I check the cvs tree and discovered a problem which I'm not sure if it is
originated in my Linux.
untaring and configure worked well (shouldn't be a problem anyway)
but then, starting the gmake, it worked for a moment and then gave me
following output:
dynamite: /home/goetzger/tmp/xmlBlaster $ gmake
Making all in src
make[1]: Entering directory `/home/goetzger/tmp/xmlBlaster/src'
Making all in java
make[2]: Entering directory `/home/goetzger/tmp/xmlBlaster/src/java'
Making all in org
make[3]: Entering directory `/home/goetzger/tmp/xmlBlaster/src/java/org'
Making all in jutils
make[4]: Entering directory
`/home/goetzger/tmp/xmlBlaster/src/java/org/jutils'
Making all in collection
make[5]: Entering directory
`/home/goetzger/tmp/xmlBlaster/src/java/org/jutils/collection'
Making all in validators
make[6]: Entering directory
`/home/goetzger/tmp/xmlBlaster/src/java/org/jutils/collection/validators'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory
`/home/goetzger/tmp/xmlBlaster/src/java/org/jutils/collection/validators'
make[6]: Entering directory
`/home/goetzger/tmp/xmlBlaster/src/java/org/jutils/collection'
Compiling Associator.java ...
Compiling CollectionHelper.java ...
Compiling DynamicList.java ...
Compiling EmptyList.java ...
Compiling ExtendedEnumerator.java ...
Compiling ExtendedList.java ...
ExtendedList.java:5: package org.jutils.collection.validators does not
exist
import org.jutils.collection.validators.*;
^
ExtendedList.java:316: cannot resolve symbol
symbol : class Validator
location: class org.jutils.collection.ExtendedList
public void addValidator(Validator validator) {
^
ExtendedList.java:673: cannot resolve symbol
symbol : class Validator
location: class org.jutils.collection.ExtendedList
public void removeValidator(Validator validator) {
^
ExtendedList.java:86: cannot resolve symbol
symbol : class ClassValidator
location: class org.jutils.collection.ExtendedList
extendedList.addValidator(new ClassValidator(Integer.class, false));
^
ExtendedList.java:123: cannot resolve symbol
symbol : class SetValidator
location: class org.jutils.collection.ExtendedList
extendedList.addValidator(new SetValidator(acceptedSet, false));
^
ExtendedList.java:507: cannot resolve symbol
symbol : class Validator
location: class org.jutils.collection.ExtendedList
returnValue = ((Validator) i.next()).isValid(element);
^
6 errors
make[6]: ***
[/home/goetzger/tmp/xmlBlaster/classes/org/jutils/collection/ExtendedList.class]
Error 1
make[6]: Leaving directory
`/home/goetzger/tmp/xmlBlaster/src/java/org/jutils/collection'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory
`/home/goetzger/tmp/xmlBlaster/src/java/org/jutils/collection'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/home/goetzger/tmp/xmlBlaster/src/java/org/jutils'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/goetzger/tmp/xmlBlaster/src/java/org'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/goetzger/tmp/xmlBlaster/src/java'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/goetzger/tmp/xmlBlaster/src'
gmake: *** [all-recursive] Error 1
dynamite: /home/goetzger/tmp/xmlBlaster $
It seems that make finds nothing to do for org/jutils/collection/validators
[...]
`/home/goetzger/tmp/xmlBlaster/src/java/org/jutils/collection/validators'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory
`/home/goetzger/tmp/xmlBlaster/src/java/org/jutils/collection/validators'
[...]
but later on it needs it and it's not there, of course.
my CLASSPATH looks like follows (in a more readable manner):
/home/goetzger/tmp/xmlBlaster/demo
/home/goetzger/tmp/xmlBlaster/classes
/home/goetzger/tmp/xmlBlaster/src/java
/home/goetzger/tmp/xmlBlaster/lib/xmlBlaster.jar
/home/goetzger/tmp/xmlBlaster/lib/ejb2.0.jar
/home/goetzger/tmp/xmlBlaster/lib/jms.jar
/home/goetzger/tmp/xmlBlaster/lib/jta-spec1_0_1.jar
/home/goetzger/tmp/xmlBlaster/lib/jaas.jar
/home/goetzger/tmp/xmlBlaster/lib/connector.jar
/home/goetzger/tmp/xmlBlaster/lib/xmlrpc.jar
/home/goetzger/tmp/xmlBlaster/lib/gnu-regexp-1.0.8.jar
/home/goetzger/tmp/xmlBlaster/lib/servlet.jar
/home/goetzger/tmp/xmlBlaster/lib/test.jar
/home/goetzger/tmp/xmlBlaster/lib/omquery.jar
/home/goetzger/tmp/xmlBlaster/lib/xtdash.jar
/home/goetzger/tmp/xmlBlaster/lib/jaxp.jar
/home/goetzger/tmp/xmlBlaster/lib/parser.jar
.
/home/goetzger/java/InterPaint/classes/jacorb.jar
/home/goetzger/java/InterPaint/classes/xmlBlaster.jar
/home/goetzger/java/InterPaint/bin/
/home/goetzger/java/InterPaint/classes/xerces.jar
/home/goetzger/tmp/xmlBlaster/lib/jndi-jdk1_3_1.jar
Even a gmake in the dir: xmlBlaster/src/java/org/jutils/collection
stops with the same error, described above.
Do you have any ideas?
With ant I get following error:
dynamite: /home/goetzger/java/xmlBlaster $ build.sh all
Searching for build.xml ...
Buildfile: /home/goetzger/java/xmlBlaster/build.xml
prepare:
prepare-src:
xmlBlaster:
Converting idl...
[java] The args attribute is deprecated. Please use nested arg
elements.
[copy] Copying 39 files to
/home/goetzger/java/xmlBlaster/build/src/xmlBlaster
[javac] Compiling 42 source files to
/home/goetzger/java/xmlBlaster/build/classes
[javac]
/home/goetzger/java/xmlBlaster/build/src/xmlBlaster/org/jutils/collection/ExtendedMap.java:3:
Package org.jutils.collection.validators not found in import.
[javac] import org.jutils.collection.validators.*;
[javac] ^
[javac]
/home/goetzger/java/xmlBlaster/build/src/xmlBlaster/org/jutils/collection/ExtendedSet.java:5:
Package org.jutils.collection.validators not found in import.
[javac] import org.jutils.collection.validators.*;
[javac] ^
[javac]
/home/goetzger/java/xmlBlaster/build/src/xmlBlaster/org/jutils/collection/ExtendedList.java:5:
Package org.jutils.collection.validators not found in import.
[javac] import org.jutils.collection.validators.*;
[javac] ^
[javac] 3 errors
BUILD FAILED
/home/goetzger/java/xmlBlaster/build.xml:170: Compile failed, messages
should have been provided.
Total time: 5 seconds
Marcel, any ideas?
Regards
Heinrich