Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update install_ossim.sh #39

Merged
merged 7 commits into from Aug 25, 2015
Merged

Update install_ossim.sh #39

merged 7 commits into from Aug 25, 2015

Conversation

kalxas
Copy link
Member

@kalxas kalxas commented Aug 13, 2015

Moved a direct commit to another branch and opened a PR to discuss.

@@ -7,27 +7,17 @@
# Licensed under the GNU LGPL version >= 2.1.
#

if [ "$#" -lt 1 ] || [ "$#" -gt 1 ]; then
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@epifanio the script must stop immediately if no arguments are passed, so this should not be removed from here...

@kalxas
Copy link
Member Author

kalxas commented Aug 13, 2015

@epifanio I have already worked on this installer here:
kalxas@549b630
can you please add your changes based on that commit?

@kalxas
Copy link
Member Author

kalxas commented Aug 13, 2015

The build using the above commit throws this error:

--2015-08-12 20:54:34-- http://download.osgeo.org/livedvd/data/ossim/deb/ossim-qt_1.8.18_amd64.deb
Resolving download.osgeo.org (download.osgeo.org)... 140.211.15.132
Connecting to download.osgeo.org (download.osgeo.org)|140.211.15.132|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5994108 (5.7M) [application/x-debian-package]
Saving to: 'ossim-qt_1.8.18_amd64.deb'

 0K ........ ........ ........ ........ ........ ........ 52% 1.35M 2s

3072K ........ ........ ........ ........ ........ ... 100% 6.23M=2.7s

2015-08-12 20:54:37 (2.15 MB/s) - 'ossim-qt_1.8.18_amd64.deb' saved [5994108/5994108]

Selecting previously unselected package ossim-qt.
(Reading database ... 179251 files and directories currently installed.)
Preparing to unpack ossim-qt_1.8.18_amd64.deb ...
Unpacking ossim-qt (1.8.18) ...
dpkg: dependency problems prevent configuration of ossim-qt:
ossim-qt depends on libopenscenegraph99; however:
Package libopenscenegraph99 is not installed.

dpkg: error processing package ossim-qt (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
ossim-qt

@kalxas
Copy link
Member Author

kalxas commented Aug 13, 2015

@epifanio I merged your changes with mine in this last commit. Can you please review?
Thanks.

@kalxas
Copy link
Member Author

kalxas commented Aug 13, 2015

OK, more merges based on @epifanio comments

@kalxas
Copy link
Member Author

kalxas commented Aug 13, 2015

@epifanio seems like there is an error in package ossim-plugins. See the build log:

--2015-08-13 11:31:33-- http://download.osgeo.org/livedvd/data/ossim/deb/ossim-plugins_1.8.18_amd64.deb
Resolving download.osgeo.org (download.osgeo.org)... 140.211.15.132
Connecting to download.osgeo.org (download.osgeo.org)|140.211.15.132|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1732362 (1.7M) [application/x-debian-package]
Saving to: 'ossim-plugins_1.8.18_amd64.deb'

 0K ........ ........ ........ ..                        100%  764K=2.2s

2015-08-13 11:31:35 (764 KB/s) - 'ossim-plugins_1.8.18_amd64.deb' saved [1732362/1732362]

Selecting previously unselected package ossim-plugins.
(Reading database ... 179763 files and directories currently installed.)
Preparing to unpack ossim-plugins_1.8.18_amd64.deb ...
Unpacking ossim-plugins (1.8.18) ...
dpkg: dependency problems prevent configuration of ossim-plugins:
ossim-plugins depends on liblas-c2; however:
Package liblas-c2 is not installed.

dpkg: error processing package ossim-plugins (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
ossim-plugins

@johanvdw
Copy link
Member

Is there a source package for ossim? We could just add it to launchpad.

@kalxas
Copy link
Member Author

kalxas commented Aug 18, 2015

For ossim-core, the source package is already updated in nightly ppa.
For the ossim-plugins and ossim-qt, I think fpm was used, so no source packages.

@johanvdw
Copy link
Member

Please share the package, preferably on the debian git repository. Note that you can rebuild the package to use the latest version liblas which was uploaded to the nightly ppa. Now you will be linking to an older version, and two versions will be installed.

@kalxas
Copy link
Member Author

kalxas commented Aug 19, 2015

@epifanio can you please point us to the sources used for building the packages?
( I assume it is this one, at least this is the source I used to build ossim-core deb: http://download.osgeo.org/ossim/source/latest/ossim-1.8.18-1.tar.gz )
Also, can you please provide some details on which plugins/apps are built?
Hopefully we will find the time to build proper debian packages...

@epifanio
Copy link
Member

Yes I used the same source. 1.8.18-1. Should I rebuild the ossim-plugins deb?

@kalxas
Copy link
Member Author

kalxas commented Aug 22, 2015

In the latest build (150) the ossim applications seem to work fine when launched from desktop launchers, so I do not think we need a rebuild.
A weird issue is that the Geospatial menu launchers do not work.
It could be that -p argument in the launchers.....

@kalxas
Copy link
Member Author

kalxas commented Aug 24, 2015

If there are no objections within 24h I will merge this PR.
Thanks.

kalxas added a commit that referenced this pull request Aug 25, 2015
Update install_ossim.sh
@kalxas kalxas merged commit abf10cb into OSGeo:master Aug 25, 2015
@kalxas kalxas deleted the epi2 branch August 25, 2015 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants