Bulding 3.0.1 Under Ubuntu 10.04 i386

Miika Turkia miika.turkia at gmail.com
Wed Feb 27 06:37:48 PST 2013


On Wed, Feb 27, 2013 at 4:33 PM, Lubomir I. Ivanov <neolit123 at gmail.com> wrote:
> 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:

10.04 seems to have only version 2.24 available, so it might be that
Subsurface can not be compiled on this system.
(The following packages should be installed: libxml2-dev libgtk20-dev
libglib20-dev libgconf2-dev libsoup24-dev libxslt1-dev zlib1g-dev)

miika


More information about the subsurface mailing list