Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 21-05-2013, 00:11   #1
Registered User
 
HotRod's Avatar

Join Date: Oct 2010
Location: SW Norway
Boat: Nidelv 28, 28ft
Posts: 243
Send a message via MSN to HotRod Send a message via Skype™ to HotRod
Question Compiling OCPN on Scientific Linux 6.4 64bit

Hi, i'm trying to compile OCPN on SL6.4 but ran into some problems.

When running cmake ../ it reports:
- GTK2 not found
- Could not find TinyXML

Seems to be the only errors this far...

I have tried to alter the path for GTK2 to /usr/include/gtk-2.0 but no luck.
It also reverts next time I run cmake ../

I have confirmed GTK2 and TinyXML to be installed on the system:
"Package tinyxml-2.6.1-1.el6.x86_64 already installed and latest version"
"Package gtk2-2.18.9-12.el6.x86_64 already installed and latest version"

Any suggestions?
__________________

__________________
Best Regards
OpenCPN Norge - Norwegian OpenCPN community
Frode
HotRod is offline   Reply With Quote
Old 21-05-2013, 06:34   #2
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,018
Re: Compiling OCPN on Scientific Linux 6.4 64bit

HotRod...
you need the respective -devel packages, can you confirm those being installed? Scientific Linux is a RedHat EL clone, right?

Pavel
__________________

__________________
nohal is offline   Reply With Quote
Old 22-05-2013, 12:41   #3
Registered User
 
HotRod's Avatar

Join Date: Oct 2010
Location: SW Norway
Boat: Nidelv 28, 28ft
Posts: 243
Send a message via MSN to HotRod Send a message via Skype™ to HotRod
Re: Compiling OCPN on Scientific Linux 6.4 64bit

Yes it's based on RedHat EL.
I found this distro to be really smooth running and have not given me any grief when running other similar programs... Broad hardware support.

What -devel packages are we talking about?
__________________
Best Regards
OpenCPN Norge - Norwegian OpenCPN community
Frode
HotRod is offline   Reply With Quote
Old 22-05-2013, 14:22   #4
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,249
Re: Compiling OCPN on Scientific Linux 6.4 64bit

Quote:
Originally Posted by HotRod View Post
Yes it's based on RedHat EL.
I found this distro to be really smooth running and have not given me any grief when running other similar programs... Broad hardware support.

What -devel packages are we talking about?
On my Kubuntu they are:
libtinyxml-dev
libgtk2.0-dev
The Red Hat names may be slightly different, but you get the idea.
__________________
cagney is offline   Reply With Quote
Old 22-05-2013, 17:42   #5
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,018
Re: Compiling OCPN on Scientific Linux 6.4 64bit

HotRod...
You probably need
wxGTK-devel RPM DEB Download (I suppose it will pull the needed dependencies when installed) and tinyxml-devel RPM DEB Download - anyway, the CentOS part of Compiling - Linux | Official OpenCPN Homepage should apply 100% for Scientific...

Pavel
__________________
nohal is offline   Reply With Quote
Old 23-05-2013, 07:14   #6
Registered User
 
HotRod's Avatar

Join Date: Oct 2010
Location: SW Norway
Boat: Nidelv 28, 28ft
Posts: 243
Send a message via MSN to HotRod Send a message via Skype™ to HotRod
Re: Compiling OCPN on Scientific Linux 6.4 64bit

Hi again.
Package wxGTK-devel-2.8.12-1.el6.x86_64 already installed and latest version

Had to install tinyxml-devel.
tinyxml-devel.x86_64 0:2.6.1-1.el6

I'm only getting: GTK2 Not found..
But I know that it is installed (gtk2-2.18.9-12.el6.x86_64 and gtk2-devel-2.18.9-12.el6.x86_64)...
__________________
Best Regards
OpenCPN Norge - Norwegian OpenCPN community
Frode
HotRod is offline   Reply With Quote
Old 23-05-2013, 07:51   #7
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Re: Compiling OCPN on Scientific Linux 6.4 64bit

Hotrod....

GTK2 search is optional. If it is not found, certain optimizations related to night colors are not performed. But OCPN should build and run without GTK2.

I think we plan to remove this soft dependency in the future.

Good luck
Dave
__________________

__________________
bdbcat is offline   Reply With Quote
Reply

Tags
linux

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 11:56.


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.