ngageoint / hootenanny

Hootenanny conflates multiple maps into a single seamless map.
GNU General Public License v3.0
358 stars 74 forks source link

Failed to install #1881

Closed SMAKH closed 6 years ago

SMAKH commented 7 years ago

Hi, I have spent weeks to install hoot on my ubuntu 16.04 laptop, and it fails every time.

I have two problems, first because of the unstablity of my internet it is a risky task to build vagrant from the vagrant file, I tried to use a box you have created in 499 but I noticed it was too old, and also had the problem I will mention in the second part. My second problem, both when using the box and vagrantup from scrach: The vagrantup worked, in the from_scrach case it could not install some of the programs like gdal, but it worked. And then when I ssh into it, (and install gdal by apt-get), when following the setup guide I get this errors.

scripts/tomcat/CopyWebAppsToTomcat.shDeploying web application files...
ls: cannot access hoot-services/target/hoot-services-*.war: No such file or directory
cp: missing destination file operand after '/webapps/hoot-services.war'
Try 'cp --help' for more information.
make -sj$(nproc) test-all
make: *** No rule to make target `test-all'.  Stop.

Could you please help?

mattjdnv commented 7 years ago

Hi Sayed,

We are still working on support for Ubuntu1604. Currently, our development occurs on Ubuntu1404 but we are moving to Centos7 soon. This will mean that the default VM that you get from "vagrant up" will be Centos7.

I merged fixes for the 1604 provisioning script into develop about a week ago (issue #1847) . The fixes were for one of our developers who needed Ubuntu1604 so that he could talk to Apache Spark. From memory, there were a few of the regression tests that failed and will need to be looked at.

I do suggest that you don't use the box from #499. It is very old and a lot of the packages have changed.

The gdal issue is probably a version problem. We upgraded from gdal 1.X to gdal 2.1.4. The gdal api changed a lot and there was a fair amount of refactoring that occurred. We build our own version of gdal so that it includes ESRI FileGDB support. If you don't need to write FGDB's then you could skip the gdal build - provided you have gdal v2.1.4 installed.

The Vagrant provisioning scripts can be run outside of a vagrant VM if you want to install Hootenanny directly on a machine. We do this occasionally for individual installs on Amazon or other VM's.

Matt

bwitham commented 6 years ago

Closing due to inactivity. Please re-open if necessary.