Bulding 3.0.1 Under Ubuntu 10.04 i386

Robert Wolfe robert.wolfe at robertwolfe.org
Wed Feb 27 06:34:56 PST 2013


robert at akita:~/devel$ sudo apt-get install libglib2.0-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libglib2.0-dev is already the newest version.
libglib2.0-dev set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
robert at akita:~/devel$ 

Next?

:)


________________________________________
From: Lubomir I. Ivanov
Sent: Wednesday, February 27, 2013 8:33 AM
To: Robert Wolfe
Cc: subsurface
Subject: Re: Bulding 3.0.1 Under Ubuntu 10.04 i386

On 27 February 2013 16:16, Robert Wolfe <robert.wolfe at robertwolfe.org> wrote:
> Ok folks.  I was able to get libdivecomputer to build on this machine and
> even make a .deb file for it.  The only problem now is I am having an issue
> getting Subsurface to build.  When running make, I get the following errors:
>
> 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$
>
> Is there something I am missing here (like a library or something)?
>
>

hello, try updating glib.
sudo apt-get install libglib2.0-dev

you will need at least 2.26, but i remember that 12.04 for example had
a more recent version than that:

lubomir
--


More information about the subsurface mailing list