Bulding 3.0.1 Under Ubuntu 10.04 i386

Robert Wolfe robert.wolfe at robertwolfe.org
Thu Feb 28 06:15:22 PST 2013


I guess what I am questioning is why will the code from the git repository build and run just fine and the official release code will not?  TO me this is something of an inconsistency, probably not a very big one, but IMO one nonetheless, and one that should be addressed.

________________________________
From: subsurface-bounces at hohndel.org on behalf of Jan Schubert
Sent: Thursday, February 28, 2013 8:14 AM
To: subsurface at hohndel.org
Subject: Re: Bulding 3.0.1 Under Ubuntu 10.04 i386

On 28.02.2013 15:02, Robert Wolfe wrote:
Not this is embarassing.  I was able to download the 3.0.1 release of Subsurface to built it, but got the following:

robert at akita:~/devel/subsurface-release$ make
/bin/sh: cannot open version.h: No such file
updating version.h to 3.0.1
    CC main.c
    CC dive.c
    CC time.c
    CC profile.c
    CC info.c
info.c: In function 'dive_info_widget':
info.c:759: warning: unused variable 'image'
    CC equipment.c
    CC divelist.c
    CC deco.c
    CC planner.c
planner.c: In function 'current_time_notz':
planner.c:1127: error: 'GTimeZone' undeclared (first use in this function)
planner.c:1127: error: (Each undeclared identifier is reported only once
planner.c:1127: error: for each function it appears in.)
planner.c:1127: error: 'tz' undeclared (first use in this function)
planner.c:1127: warning: implicit declaration of function 'g_time_zone_new_local'
planner.c:1128: warning: implicit declaration of function 'g_time_zone_find_interval'
planner.c:1128: error: 'G_TIME_TYPE_UNIVERSAL' undeclared (first use in this function)
planner.c:1129: warning: implicit declaration of function 'g_time_zone_get_offset'
planner.c:1130: warning: implicit declaration of function 'g_time_zone_unref'
make: *** [planner.o] Error 1
robert at akita:~/devel/subsurface-release$

HOWEVER, the code I pulled from git this morning builds and run just fine without errors.  As I finish this email, I am noting that this is the same error I was getting yesterday when trying to build from the release code.

Sure, as said before, 3.0.1 is not be able to be built with your (old) libs. Is it really a good idea to build a .deb on an "ancient" system?
Is it worth to wait for a 3.0.2 release to have an official build or to build a deb called something like 3.0.1.1?

//Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130228/58b22bae/attachment.html>


More information about the subsurface mailing list