Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 20-05-2013, 23:11   #1
Registered User
 
HotRod's Avatar

Join Date: Oct 2010
Location: SW Norway
Boat: Nidelv 28, 28ft
Posts: 247
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, 05:34   #2
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,211
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, 11:41   #3
Registered User
 
HotRod's Avatar

Join Date: Oct 2010
Location: SW Norway
Boat: Nidelv 28, 28ft
Posts: 247
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, 13:22   #4
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
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, 16:42   #5
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,211
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, 06:14   #6
Registered User
 
HotRod's Avatar

Join Date: Oct 2010
Location: SW Norway
Boat: Nidelv 28, 28ft
Posts: 247
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, 06:51   #7
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
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


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


Advertise Here


All times are GMT -7. The time now is 05:42.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.