Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 19-08-2011, 21:32   #1
Registered User

Join Date: May 2010
Posts: 49
Bug Report (and Workaround) 2.5.0 Build on Ubuntu 11.04

Tried to build OpenCPN 2.5.0 on Ubuntu 11.04.

cmake complained:
-- Some or all of the gtk libraries were not found. (missing: GTK2_GLIBCONFIG_INCLUDE_DIR)
-- GTK2 Not found...

In CMakeCache.txt I changed:

GTK2_GLIBCONFIG_INCLUDE_DIR:PATH=GTK2_GLIBCONFIG_I NCLUDE_DIR-NOTFOUND

to

GTK2_GLIBCONFIG_INCLUDE_DIR:PATH=/usr/lib/gtk-2.0/include

Then make complained:
/usr/include/glib-2.0/glib/gtypes.h:34:24: fatal error: glibconfig.h: No such file or directory
compilation terminated.

So I:
cp /usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h /usr/include/glib-2.0/.

Thereafter 2.5.0 compiled (and ran). \o/

Is this the place to report this stuff?

Cheers
Bob M
Ox C&C 33-1
__________________
bobmor99 is offline   Reply With Quote
Old 03-10-2011, 03:59   #2
Registered User

Join Date: Dec 2010
Posts: 7
Re: Bug Report (and Workaround) 2.5.0 Build on Ubuntu 11.04

I ran into the same issue. Apparently it's a known Ubuntu11-GTK2 issue. My workaround was slightly simpler: I just edited CMakeCache.txt and set

GTK2_GLIBCONFIG_INCLUDE_DIR:PATH=/usr/lib/i386-linux-gnu/glib-2.0/include/

And it compiled.
__________________
antoche is offline   Reply With Quote
Old 07-10-2011, 12:12   #3
Registered User
 
Richard Jordan's Avatar

Join Date: Mar 2010
Location: Fort Lauderdale, Florida, USA
Posts: 317
Re: Bug Report (and Workaround) 2.5.0 Build on Ubuntu 11.04

Same issue here on a fresh build on Ubuntu 11.04. I changed the line in CMakeCache.txt to:

Code:
GTK2_GLIBCONFIG_INCLUDE_DIR:PATH=/usr/lib/x86_64-linux-gnu/glib-2.0/include/
__________________
Professional Yacht Broker per FTC 16 CFR Part 255
President of Cruisers Forum Sponsoring Vendor Jordan Yacht & Ship Co.
Richard Jordan is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 22:40.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.