> --
> You received this message because you are subscribed to the Google
> Groups "europa-users" group.
> To post to this group, send email to europa...@googlegroups.com.
> To unsubscribe from this group, send email to europa-users...@googlegroups.com
> .
> For more options, visit this group at http://groups.google.com/group/europa-users?hl=en
> .
>
The expectation (changed from 2.5 to 2.6) is that you have ANTLR
installed locally. We have the source for the correct version checked
into our "ThirdParty" repository at
http://europa-pso.googlecode.com/svn/ThirdParty/trunk. There's an ANTLR
tarball in there. It's important, if you're using 64-bit Europa, that
you install 64-bit ANTLR libraries.
~MJI
------------------
Michael J. Iatauro
Software Engineer
Dell | Services, Federal Government
NASA Ames Research Center
Office: 650-604-0662
Mail stop: 269-2
P.O. Box 1
Moffett Field, CA 94035-0001
www.dell.com/perotsystems
I didn't understand. Like I said, I do have 64 bit ANTLR installed locally.
Chris
It looks like all of Ubuntu's packages are the Java versions of
antlr3, and only provide jar files, not so files...
I tried compiling the version listed at
http://europa-pso.googlecode.com/svn/ThirdParty/trunk and received the
error
In file included from /usr/include/features.h:378,
from /usr/include/stdio.h:28,
from include/antlr3defs.h:219,
from include/antlr3baserecognizer.h:39,
from src/antlr3baserecognizer.c:9:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory
In file included from /usr/include/stdio.h:34,
from include/antlr3defs.h:219,
from include/antlr3baserecognizer.h:39,
from src/antlr3baserecognizer.c:9:
/usr/lib/gcc/x86_64-linux-gnu/4.4.3/include/stddef.h:211: error:
duplicate ‘unsigned’
/usr/lib/gcc/x86_64-linux-gnu/4.4.3/include/stddef.h:211: error: two
or more data types in declaration specifiers
make[1]: *** [antlr3baserecognizer.lo] Error 1
I'm not sure what dependencies I'm missing. From googling, I found
this might be caused by missing the development headers provided by
the libc6-dev package, but I have both Ubuntu's libc6 and libc6-dev
packages installed.
Chris
I discovered I also needed the gcc-multilib package...
With that, I can compile and install /usr/local/lib/libantlr3c.so.
However, building a Europa project with ant just generates another exception:
[java] Exception in thread "main" java.lang.UnsatisfiedLinkError:
/home/chris/europa-2.6b-linux64/lib/libSystem_g.so: libantlr3c.so:
wrong ELF class: ELFCLASS32
[java] at java.lang.ClassLoader$NativeLibrary.load(Native Method)
[java] at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1750)
[java] at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1646)
[java] at java.lang.Runtime.load0(Runtime.java:787)
[java] at java.lang.System.load(System.java:1022)
[java] at psengine.util.LibraryLoader.loadLibrary(Unknown Source)
[java] at psengine.PSUtil.loadLibraries(Unknown Source)
[java] at Light.Main.main(Main.java:17)
I'm guessing the the default build for antlr3 is 32-bits.
Well, thanks for everyone's help. However, this is way too much hassle
just to demo Europa. I'll wait for the next official 64-bit release...
Regards,
Chris