Hi Allen, What version of maven are you running? The right version to compile osgVP is 2.0.10. I'm running on Ubuntu 9.10 and MacOSX too.
Regards. 2010/2/17 Allen Saucier <allen.sauc...@itt.com> > OK! > I am getting closer. > > I did remove/move OSG > I removed the "extra" env variables, GDAL, JAVA_INCLUDE_PATH, OSG_DIR > I removed the libjobl that I installed from synaptic package manager > I am using sun java > > $ env | grep JAVA > JAVA_HOME=/usr/lib/jvm/java-6-sun > JAVA_INCLUDE_PATH2=/usr/lib/jvm/java-6-sun/include/linux/ > JAVA_INCLUDE_PATH=/usr/lib/jvm/java-6-sun/include/ > > > And I think I have one problem left and it is with ant, which I think is > the java compiler. > > generate: > [delete] Deleting: > /home/allen/Desktop/osgvp-2.2.0-SNAPSHOT-src/libosgvp/libjni-osgvp/target/target_cmake/CMakeCache.txt > [exec] -- The C compiler identification is GNU > [exec] -- The CXX compiler identification is GNU > [exec] -- Check for working C compiler: /usr/bin/gcc > [exec] -- Check for working C compiler: /usr/bin/gcc -- works > [exec] -- Detecting C compiler ABI info > [exec] -- Detecting C compiler ABI info - done > [exec] -- Check for working CXX compiler: /usr/bin/c++ > [exec] -- Check for working CXX compiler: /usr/bin/c++ -- works > [exec] -- Detecting CXX compiler ABI info > [exec] -- Detecting CXX compiler ABI info - done > [exec] -- Looking for XOpenDisplay in > /usr/lib/libX11.so;/usr/lib/libXext.so > [exec] -- Looking for XOpenDisplay in > /usr/lib/libX11.so;/usr/lib/libXext.so - found > [exec] -- Looking for gethostbyname > [exec] -- Looking for gethostbyname - found > [exec] -- Looking for connect > [exec] -- Looking for connect - found > [exec] -- Looking for remove > [exec] -- Looking for remove - found > [exec] -- Looking for shmat > [exec] -- Looking for shmat - found > [exec] -- Looking for IceConnectionNumber in ICE > [exec] -- Looking for IceConnectionNumber in ICE - found > [exec] -- Found X11: /usr/lib/libX11.so > [exec] -- Configuring done > [exec] -- Generating done > [exec] -- Build files have been written to: > /home/allen/Desktop/osgvp-2.2.0-SNAPSHOT-src/libosgvp/libjni-osgvp/target/target_cmake > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Error executing ant tasks > > Embedded error: The following error occurred while executing this line: > /home/allen/Desktop/osgvp-2.2.0-SNAPSHOT-src/build/scripts/depman-ant.xml:6: > The following error occurred while executing this line: > /home/allen/Desktop/osgvp-2.2.0-SNAPSHOT-src/build/scripts/utilities.xml:30: > The <exec> type doesn't support the "osfamily" attribute. > [INFO] > ------------------------------------------------------------------------ > [INFO] Trace > org.apache.maven.lifecycle.LifecycleExecutionException: Error executing ant > tasks > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) > 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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > at > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > Caused by: org.apache.maven.plugin.MojoExecutionException: Error executing > ant tasks > at > org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractAntMojo.java:114) > at > org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:83) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) > ... 16 more > Caused by: The following error occurred while executing this line: > /home/allen/Desktop/osgvp-2.2.0-SNAPSHOT-src/build/scripts/depman-ant.xml:6: > The following error occurred while executing this line: > /home/allen/Desktop/osgvp-2.2.0-SNAPSHOT-src/build/scripts/utilities.xml:30: > The <exec> type doesn't support the "osfamily" attribute. > at > org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539) > at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384) > at > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) > at org.apache.tools.ant.Task.perform(Task.java:364) > at org.apache.tools.ant.Target.execute(Target.java:341) > at > org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractAntMojo.java:108) > ... 19 more > Caused by: > /home/allen/Desktop/osgvp-2.2.0-SNAPSHOT-src/build/scripts/depman-ant.xml:6: > The following error occurred while executing this line: > /home/allen/Desktop/osgvp-2.2.0-SNAPSHOT-src/build/scripts/utilities.xml:30: > The <exec> type doesn't support the "osfamily" attribute. > > > Best regards, > Allen > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=24300#24300 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- Jordi Torres Fabra gvSIG 3D blog http://gvsig3d.blogspot.com Instituto de Automática e Informática Industrial http://www.ai2.upv.es
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org