building ss

Miika Turkia miika.turkia at gmail.com
Tue Oct 8 20:40:48 UTC 2013


On Tue, Oct 8, 2013 at 10:56 PM, Robert Wolfe
<robert.wolfe at robertwolfe.org>wrote:

>  A quick (I believe) 'sudo apt-get install libzip-dev' should fix your
> problem.
>  ------------------------------
> *From:* subsurface <subsurface-bounces at hohndel.org> on behalf of Willem
> Ferguson <willemferguson at zoology.up.ac.za>
> *Sent:* Tuesday, October 08, 2013 2:53 PM
> *To:* subsurface at hohndel.org
> *Subject:* building ss
>
>  I run Ubuntu 12.10. where the default version of ss is 1.2 (!!). I am
> attempting to build ss V3.1.1 from the git. I built libdivecomputer
> successfully, residing in a libdivecomputer directory inside my home
> directory. I have gone through the steps to build ss. here is a history:
>
> *willem at willem-Precision-M4700:~$* git clone git://
> subsurface.hohndel.org/subsurface.git
> Cloning into 'subsurface'...
> remote: Counting objects: 13811, done.
> remote: Compressing objects: 100% (8000/8000), done.
> remote: Total 13811 (delta 10174), reused 7968 (delta 5744)
> Receiving objects: 100% (13811/13811), 4.81 MiB | 105 KiB/s, done.
> Resolving deltas: 100% (10174/10174), done.
>         // looks ok to me
> *
> **willem at willem-Precision-M4700:~/subsurface$* git checkout v3.1.1
> Note: checking out 'v3.1.1'.
>
> // Some text omitted here
>
> HEAD is now at 2441847... Minor documentation
> update                        // looks ok
>
> *willem at willem-Precision-M4700:~/subsurface$* make
> updating version.h to 3.1.1
>     CC main.c
>     CC dive.c
>     CC time.c
>     CC profile.c
>     CC info.c
>     CC equipment.c
>     CC divelist.c
> divelist.c:43:17: fatal error: zip.h: No such file or
> directory                     // problem  :-(((
> compilation terminated.
> make: *** [divelist.o] Error 1
>
> The #include file zip.h in divelist.c is not in this directory, neither
> anywhere on my machine. I checked the other #includes in divelist.c and
> there is possibly another problem:
> libxslt/transform.h.
>
> There is no libxslt folder in my home area. There are some libxslt shared
> objects in usr/lib, but no source code that I could find anywhere on my
> machine.
>
> I assume that I must have done something wrong. If anyone could help, I
> would appreciate it very much.
>

You need to install libzip-dev and libxslt1-dev. There might be some other
packages as well that need to be installed. They should be Documented on
README and our web page building instructions
http://subsurface.hohndel.org/building/. Following packages should fulfill
the dependencies.

libxml2-dev libgtk2.0-dev libglib2.0-dev libgconf2-dev libsoup2.4-dev
libxslt1-dev zlib1g-dev libosmgpsmap-dev libusb-1.0-0-dev autoconf libtool

There is also an option to install Subsurface from Launchapd  (
http://subsurface.hohndel.org/download/) if you do not plan on coding
yourself.

miika
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20131009/2a1b5b91/attachment-0001.html>


More information about the subsurface mailing list