Opened 12 years ago

Closed 11 years ago

#949 closed defect (fixed)

ossim installation script fails

Reported by: kalxas Owned by: kalxas
Priority: normal Milestone: OSGeoLive6.5
Component: OSGeoLive Keywords: 6.5, ossim
Cc: live-demo@…, epifanio

Description

We have to use ossim-core for now

Change history (13)

comment:1 by kalxas, 12 years ago

Owner: changed from live-demo@… to kalxas
Status: newassigned

comment:2 by kalxas, 12 years ago

Priority: majornormal

temporary fix in rev 8134

comment:3 by kalxas, 12 years ago

Milestone: OSGeoLive6.0Final

comment:4 by kalxas, 12 years ago

ossim-planet is not working in beta5. Also there is an error about libOpenThreads not found.

comment:5 by kalxas, 12 years ago

Priority: normalmajor

ossim-core has to be compiled against libOpenThread.so.14 that is installed on the disk.

comment:6 by hamish, 12 years ago

Keywords: ossim added

Hi,

just looking through the 6.0 beta6 build logs. a few little bits and pieces:

Get:1 http://archive.ubuntu.com/ubuntu/ precise/universe libopenthreads14 i386 3.0.1-2 [15.8 kB]
WARNING: timestamping does nothing in combination with -O. See the manual
for details.
 http://download.osgeo.org/ossim/docs/pdfs/ossim_users_guide.pdf
FIXME: doesn't exist ==> 'ln -s /usr/share/doc/ossim-doc/ossimPlanetUsers.pdf /usr/local/share/ossim/'
FIXME: does VRT data actually exist anymore?
WARNING: timestamping does nothing in combination with -O:
  http://www.geofemengineering.it/data/ossim_data/band1.tif
  http://www.geofemengineering.it/data/ossim_data/elev/N41E002.hgt

N40E002.hgt is bad and the N42E002.hgt SRTM tile is empty?! (N41 is ok)

todo: symlink that to /usr/local/share/data/raster/ so others may use it

a little later on osgearth installs:

Get:2 http://archive.ubuntu.com/ubuntu/ precise/universe openscenegraph i386 3.0.1-2 [2,693 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ precise/universe libosgearth1 i386 2.0+dfsg-4build1 [5,244 kB]

?

there was also a missing libjpg62.so error, but I fixed that.

thanks, Hamish

comment:7 by hamish, 12 years ago

Cc: epifanio added

Hi,

just looking into this. It's a bit confusing.

In 6.0 beta6 we are shipping both the ossim-core 1.7.21 package from ubuntu's repositories, and a tarball of version 1.8.12 installed to /usr/local/ossim. [n.b., and the overview page says version 1.8.6]

We end up with two copies of everything, but both the installed copies are compiled against old libraries not available in 12.04 (e.g. libOpenThreads.so.13). One thing that stumps me is how ossim-core ended up in official 12.04 but compiled against other libraries?! I didn't think that was supposed to be possible. Some weirdness or anachronism of how ubuntu pulls in packages from Debian/sid?

Anyway, I can rebuild the official ubuntu 1.7.21 ossim-core package without much fuss, which gives us the ossim engine, but that does not come with ossimplanet or imagelinker which are the two ossim frontends showcased in the quickstart. Those come in the tarball.

So the thing to do, would seem to me, to checkout this from OSSIM's svn:

http://trac.osgeo.org/ossim/browser/tags/ossim-1.8.12-1

('apt-get build-dep ossim-core' should make that a bit easier)

and rebuild from source on a copy of the livedvd 6.0beta VM, and put the tarball up on download.osgeo.org/livedvd/.

but it is just the ossim/ and ossimPlanet/ dirs in that tag which should be built? Can I re-use the DebianGIS build rules?

thanks, Hamish (heading out of town soon & running out of time to do much)


ossimplanet 1.8.12's missing libs according to ldd:

        libavcodec.so.52 => not found
        libavdevice.so.52 => not found
        libavformat.so.52 => not found
        libavutil.so.50 => not found
        libOpenThreads.so.13 => not found
        libosgDB.so.65 => not found
        libosgGA.so.65 => not found
        libosg.so.65 => not found
        libosgText.so.65 => not found
        libosgUtil.so.65 => not found
        libosgViewer.so.65 => not found
        libswscale.so.0 => not found

comment:8 by hamish, 12 years ago

the ubuntu packages appearing to use the old libraries was just a LD_LIBRARY_PATH optical illusion, they're ok once I comment out /usr/local/ossim* from the /etc/ld.so.conf.d/ossim file & rerun ldconfig.

I've disabled the tarball install in svn now, so the next build should have a working ossim-core 1.7.2, but not the two showcase frontend apps.

Hamish

[what the heck is going on with trac lately? it keeps logging me out. is the VM rebooting every 20 minutes or just the trac app crashing and respawning?! or..?]

comment:9 by kalxas, 12 years ago

Milestone: OSGeoLive6.0FinalOSGeoLive6.5
Priority: majornormal

ok, ossim is working in beta7. I am moving this to 6.5 version.

comment:10 by hamish, 12 years ago

references to the ossim quickstart commented out in r8866, to be restored once the GUI apps come back.

comment:11 by camerons, 12 years ago

Keywords: 6.5 added; 6.0 removed

comment:12 by kalxas, 11 years ago

I see that ossim planet is now present on the alpha builds. Is there anything else to be done here?

comment:13 by kalxas, 11 years ago

Resolution: fixed
Status: assignedclosed

seems to be working fine in nightly build [9505]

Note: See TracTickets for help on using tickets.