From: Jan B. <ja...@lo...> - 2006-09-05 04:29:49
|
Hi Alex, some progress and a new error here ... > The Ice installation seems strange, how did you install it? $ ACCEPT_KEYWORDS="~x86" USE="ncurses -debug -test" emerge =dev-cpp/ice-3.1.0 : )) It's in Gentoo's Portage Tree (derived from BSD's port system) : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/ice/ 3.1.0 is not stable yet (thus unblocking via "~x86"), but I prefer using ebuilds over sources, so that removing/ updating/ etc is more easy. If I ever get orca running here, I will create an orca2 ebuild, so that gentoo users just have to type # emerge orca2 and then go get a coffee or take a nap, and all is good, Ice etc will be installed automatically in the correct versions, probably along with player/stage/gazebo/ opencv-cvs etc. So yeah, looking trough my logs, it turned out that I copied the slice/ contents to /include/Ice in order to get stuff working .. removed them, converted everything back to the vanilla Ice install, and eventually created a symlink /usr/slice pointing to /usr/share/ice-3.1.0/slice It's also not my preferred directory for that, but for now, it will do. However, now orca starts building, but after some time fails, looking for one of it's own libraries ... which seems to exist right where it expects it ... strange > jan@BigWave /usr/src/orca2 $ make VERBOSE=1 > [..] > -- Generating serviceproptest2on.cfg from serviceproptest2on.def > cd /usr/src/orca2/src/utils/orcaice/test && ../../orcadef/generatecfg > /usr/src/orca2/src/utils/orcaice/test/serviceproptest2on.def > /usr/src/orca2/src/utils/orcaice/test/./serviceproptest2on.cfg > ../../orcadef/generatecfg: error while loading shared libraries: > libOrcaInterfaces.so: cannot open shared object file: No such file or > directory > make[2]: *** [src/utils/orcaice/test/libServicePropTest.so] Error 127 > make[2]: Leaving directory `/usr/src/orca2' > make[1]: *** > [src/utils/orcaice/test/CMakeFiles/ServicePropTest.dir/all] Error 2 > make[1]: Leaving directory `/usr/src/orca2' > make: *** [all] Error 2 > > jan@BigWave /usr/src/orca2 $ locate libOrcaInterfaces.so > /usr/src/orca2/src/interfaces/cpp/orca/libOrcaInterfaces.so > jan@BigWave /usr/src/orca2 $ ls -la > /usr/src/orca2/src/interfaces/cpp/orca/libOrcaInterfaces.so > -rwxr-xr-x 1 jan users 4241695 Sep 6 13:17 > /usr/src/orca2/src/interfaces/cpp/orca/libOrcaInterfaces.so > Any ideas on this ? Thanks, JAN Alex Brooks wrote: > On Tuesday 05 September 2006 00:57, Jan Biermeyer wrote: > >> Hi Alex, >> >> thanks for the super fast response. >> >> I tried it in various versions, and finally, >> >> cmake . -DICE_HOME:STRING=/usr/ >> >> passed cmake configuration ... but, same old problem, it configures but >> does not build ... >> > > OK, I had a closer look now. The Ice installation seems strange, how did you > install it? (as an aside, I highly recommend letting it install in it's > default location of /opt/Ice-3.1.0, makes it easy to completely remove the > thing if you upgrade). > > The installation is a bit weird because I have the following structure: > > /opt/Ice-3.1.0 > /bin > /include > /Ice/Ice.h > /lib > /slice > /Ice/BuiltinSequences.h > > Where you seem to have: > > /usr > /bin > /include > /Ice/Ice.h > /Ice/BuiltinSequences.ice > /lib > > > Do you have any idea why your structure might be different? Is it a gentoo > thing (I've never used gentoo)? > > Also, another helpful trick: cmake lets you see more information about what > it's actually doing when it builds. using: > $ make VERBOSE=1 > lets you see all the flags that get passed to the compiler. In > particular, ./src/interfaces/slice/orca/home.ice is compiled > with 'slice2cpp -I/path/to/installed/Ice/files'. It's this '-I' that's > broken here. > > > > Cheers, > > Alex > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Orca-robotics-users mailing list > Orc...@li... > https://lists.sourceforge.net/lists/listinfo/orca-robotics-users > |