I'm trying to build erserver_v1.2 on a SuSE 8.2 server. I've got Sun's j2sdk1.4.2_02 and the following env variables set:
LESSKEY=/etc/lesskey.bin INFODIR=/usr/local/info:/usr/share/info:/usr/info MANPATH=/usr/share/man:/usr/local/man:/usr/X11R6/man:/opt/gnome2/man:/opt/gnome/man HOSTNAME=linux XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB HOST=linux SHELL=/bin/bash TERM=xterm PROFILEREAD=true HISTSIZE=1000 OLDPWD=/root JRE_HOME=/usr/java/j2sdk1.4.2_02/jre USER=root LS_COLORS=no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31:ex=00;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:* .bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z oo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.avi=01;35:*.bmp=01;35:*.fli=01;35:*.gif=01;35:*.jpg=01; 35:*.jpeg=01;35:*.mng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.tga=01;35:*.tif=01;35:*.xbm=01;3 5:*.xpm=01;35:*.dl=01;35:*.gl=01;35:*.aiff=00;32:*.au=00;32:*.mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32: POSTGRES_INCLUDE=/usr/include/pgsql/ XNLSPATH=/usr/X11R6/lib/X11/nls HOSTTYPE=i386 PAGER=less MINICOM=-c on PATH=/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome2/bin:/opt/gnome/bin:/opt/kde3/bin :/usr/java/j2sdk1.4.2_02/bin/ CPU=i686 JAVA_BINDIR=/usr/java/j2sdk1.4.2_02/bin/ INPUTRC=/etc/inputrc PWD=/root/erserver_v1.2 JAVA_HOME=/usr/java/j2sdk1.4.2_02 TEXINPUTS=:/root/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX SHLVL=1 HOME=/root LESS_ADVANCED_PREPROCESSOR=no OSTYPE=linux no_proxy=localhost RC_LC_COLLATE=POSIX LESS=-M -I MACHTYPE=i686-suse-linux LOGNAME=root RC_LANG=en_US LC_CTYPE=en_US LESSOPEN=lessopen.sh %s INFOPATH=/usr/local/info:/usr/share/info:/usr/info POSTGRES_LIB=/usr/lib/ LESSCLOSE=lessclose.sh %s %s JAVA_ROOT=/usr/java/j2sdk1.4.2_02 COLORTERM=1 I have the following postgresql RPM packages installed: postgresql-jdbc-7.3-20 postgresql-libs-7.3.2-24 postgresql-python-7.3.2-24 postgresql-server-7.3.2-24 postgresql-7.3.2-24 postgresql-docs-7.3.2-24 postgresql-devel-7.3.2-24 postgresql-test-7.3.2-24 My configure line is: ./configure --with-pgincludes=/usr/include/pgsql/ # (this location is provided by the postgresql-devel RPM) Here's the 'make' results. (trimmed down a bit to get just the pertinent stuff. # make cd java; /bin/sh ./build.sh create; cd .. WhoisJ Build System ------------------- REPLIC_HOME is . Saving CLASSPATH: New CLASSPATH is: lib/jdbc7.0-1.2.jar:lib/log4j.jar:lib/xerces.jar New ANT_HOME is ./tools Ant version 1.3alpha compiled on December 30 2000 Buildfile: build.xml Detected Java Version: 1.3 Detected OS: Linux Project base dir set to: /root/erserver_v1.2/java Build sequence for target `create' is [setup-properties, prepare, prepare-lib, compile, jars, create] Complete build sequence is [setup-properties, prepare, prepare-lib, compile, jars, create, usage, help, clean-car, clean, car] setup-properties: [property] Override ignored for dist.dir prepare: prepare-lib: compile: [javac] com/postgres/util/cmd/ArgCmd.java added as /root/erserver_v1.2/java/build/classes/com/postgres/util/cmd/ArgCmd.class doesn't exist. [javac] com/postgres/util/cmd/GenericCmd.java added as /root/erserver_v1.2/java/build/classes/com/postgres/util/cmd/GenericCmd.class doesn't exist. [javac] com/postgres/util/cmd/CmdLine.java added as /root/erserver_v1.2/java/build/classes/com/postgres/util/cmd/CmdLine.class doesn't exist. . . . [javac] Compiling 61 source files to /root/erserver_v1.2/java/build/classes [javac] Using modern compiler [javac] Compilation args: -d /root/erserver_v1.2/java/build/classes -classpath /root/erserver_v1.2/java/build/classes:/root/erserver_v1.2/java/tools/lib/ant.jar:/root/erserver_v1.2/java/tools/lib/optional.jar:/root/erserver_v1.2/java/tools/lib/stylebook-1.0-b2.jar:/root/erserver_v1.2/java/tools/lib/xalan_1_2_D02.jar:/root/erserver_v1.2/java/lib/jdbc7.0-1.2.jar:/root/erserver_v1.2/java/lib/log4j.jar:/root/erserver_v1.2/java/lib/xerces.jar:/usr/java/j2sdk1.4.2_02/lib/tools.jar:/root/erserver_v1.2/java/src:/root/erserver_v1.2/java/build/lib/jdbc7.0-1.2.jar:/root/erserver_v1.2/java/build/lib/log4j.jar -sourcepath /root/erserver_v1.2/java/src -g [javac] Files to be compiled: /root/erserver_v1.2/java/src/com/postgres/util/cmd/ArgCmd.java /root/erserver_v1.2/java/src/com/postgres/util/cmd/GenericCmd.java /root/erserver_v1.2/java/src/com/postgres/util/cmd/CmdLine.java . . . [javac] An exception has occurred in the compiler (1.4.2_02). Please file a bug at the Java Developer Connection (http://java.sun.com/cgi-bin/bugreport.cgi) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you. [javac] java.lang.InternalError: jzentry == 0, [javac] jzfile = 135350096, [javac] total = 556, [javac] name = /root/erserver_v1.2/java/lib/xerces.jar, [javac] i = 1, [javac] message = invalid LOC header (bad signature) [javac] at java.util.zip.ZipFile$2.nextElement(ZipFile.java:321) [javac] at com.sun.tools.javac.v8.code.ClassReader.openArchive(ClassReader.java:975) [javac] at com.sun.tools.javac.v8.code.ClassReader.list(ClassReader.java:1218) [javac] at com.sun.tools.javac.v8.code.ClassReader.listAll(ClassReader.java:1339) [javac] at com.sun.tools.javac.v8.code.ClassReader.fillIn(ClassReader.java:1361) [javac] at com.sun.tools.javac.v8.code.ClassReader.complete(ClassReader.java:1052) [javac] at com.sun.tools.javac.v8.code.Symbol.complete(Symbol.java:372) [javac] at com.sun.tools.javac.v8.comp.Enter.visitTopLevel(Enter.java:467) [javac] at com.sun.tools.javac.v8.tree.Tree$TopLevel.accept(Tree.java:390) [javac] at com.sun.tools.javac.v8.comp.Enter.classEnter(Enter.java:442) [javac] at com.sun.tools.javac.v8.comp.Enter.classEnter(Enter.java:456) [javac] at com.sun.tools.javac.v8.comp.Enter.complete(Enter.java:596) [javac] at com.sun.tools.javac.v8.comp.Enter.main(Enter.java:582) [javac] at com.sun.tools.javac.v8.JavaCompiler.compile(JavaCompiler.java:331) [javac] at com.sun.tools.javac.v8.Main.compile(Main.java:569) [javac] at com.sun.tools.javac.Main.compile(Main.java:36) [javac] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [javac] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [javac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [javac] at java.lang.reflect.Method.invoke(Method.java:324) [javac] at org.apache.tools.ant.taskdefs.Javac.doModernCompile(Javac.java) [javac] at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java) [javac] at org.apache.tools.ant.Target.execute(Target.java) [javac] at org.apache.tools.ant.Project.runTarget(Project.java) [javac] at org.apache.tools.ant.Project.executeTarget(Project.java) [javac] at org.apache.tools.ant.Project.executeTargets(Project.java) [javac] at org.apache.tools.ant.Main.runBuild(Main.java) [javac] at org.apache.tools.ant.Main.main(Main.java) BUILD FAILED /root/erserver_v1.2/java/build.xml:146: Compile failed, messages should have been provided. . . . Am I missing something? I believe I have all the pre-reqs fulfilled per the docs. Any help is appreciated Thank You, Matthew Montgomery ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend