Cruisers Forum
 


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 06-10-2013, 13:24   #1
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
bzip2 not found?

I'm slowly moving forward with installing Opencpn on a Sony Xperia tablet following the zoom notes.

Dependencies missing but I'm stuck with this one, couldn't find BZip2 so installed bzip2 with no joy- any ideas?


: Unable to locate package BZip2
root@localhost:/home/downloads/OpenCPN# apt-get install bzip2
Reading package lists... Done
Building dependency tree
Reading state information... Done
bzip2 is already the newest version.
bzip2 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@localhost:/home/downloads/OpenCPN# cmake -DPREFIX=/usr -D CMAKE_VERBOSE_MAKEFILE:BOOL=TRUE /home/downloads/OpenCPN
-- *** Build Architecture is armhf
-- *** Staging to build opencpn 3.2.2 ***
-- OpenGL not found...
-- Found wxWidgets...
-- -L/usr/lib/arm-linux-gnueabi;-pthread;;;-L/usr/lib/arm-linux-gnueabi;;;-lwx_baseu-2.8;-lwx_gtk2u_core-2.8;-lwx_baseu_net-2.8;-lwx_baseu_xml-2.8;-lwx_gtk2u_html-2.8;-lwx_gtk2u_adv-2.8;-lwx_gtk2u_aui-2.8
--
-- *** Staging to build opencpn ***
-- *** Will install to /usr ***
-- GTK2 Not found...
-- Portaudio Not Found...
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE):
Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-2.8/Modules/FindBZip2.cmake:47 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:242 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!
root@localhost:/home/downloads/OpenCPN#
conachair is offline   Reply With Quote
Old 06-10-2013, 13:41   #2
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Cancel that, found it

apt-get install libbz2-dev

On to ZLIB now...


(MESSAGE):
Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
conachair is offline   Reply With Quote
Old 06-10-2013, 17:11   #3
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,395
Re: bzip2 not found?

$sudo apt-get install libzip-dev

Dave
bdbcat is offline   Reply With Quote
Old 06-10-2013, 23:12   #4
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Arggghh!

I had it running then the tablet rebooted and I can't get back into Linux now.

From Linux deploy

[07:08:56] >>> begin: start
[07:08:56] Mounting partitions:
[07:08:56] / ... fail
[07:08:56] <<< end: start

Img file is on a external as card.
conachair is offline   Reply With Quote
Old 07-10-2013, 02:53   #5
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Update.

It works. On a Sony Xperia z10 tablet.

Bit of a runaround to root, slightly scary Chinese software roots it fine

http://forum.xda-developers.com/show....php?t=2441854

Note, with build 10..1.c.0.136 you need to go into settings/about and tap on build no. a few times to turn on delveloper settings where USB debugging an be turned on, this needs to be on for the rooting prog to work.

Then following the Motorola zoom page exactly Opencpn loads nd runs.
http://opencpn.org/ocpn/node/193

Turbo gps supplies position with Opencpn set to tcp/ip address local host, Port 7777.

One problem, how do I get charts in there? The /data/ folder is empty, no / data/local/linux/mnt and seemingly no way to get out of the Linux file system in Opencpn to pick a folder.

But going well so far
conachair is offline   Reply With Quote
Old 07-10-2013, 12:22   #6
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Another update.

Mounted sd card manually and moved cm93 files across to the Linux file system.

It works but crashes if you zoom in too quick or too far it seems. Log file just stops.

Any ideas?

Might check out the rasp pi thread.
conachair is offline   Reply With Quote
Old 07-10-2013, 19:43   #7
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Hmm, symptoms the same as the raspberry pi problems.

Segmentation fault.

Rasp pi was cured by adding some lines to a configuration file..

vi /boot/config.txt
framebuffer_depth=32
framebuffer_ignore_alpha=1

Any ideas anyone?
conachair is offline   Reply With Quote
Old 07-10-2013, 20:59   #8
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,395
Re: bzip2 not found?

conachair..

Can you run gdb on this platform?

$gdb opencpn

Run til it crashes.

backtrace

post results.

Thanks
Dave
bdbcat is offline   Reply With Quote
Old 08-10-2013, 00:10   #9
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
No cut and paste unfortunately..

Entry as it crashed:
SIGSEGV segmentation in Cairo_save

Also earlier XLIB missing extension randnr and glx

Is that any use or should find a camera and take a screenshot that way?

Ta
conachair is offline   Reply With Quote
Old 08-10-2013, 05:13   #10
Registered User

Join Date: Oct 2012
Location: Brighton, UK
Boat: Westerly Oceanlord
Posts: 513
Re: bzip2 not found?

Quote:
Originally Posted by conachair View Post
No cut and paste unfortunately..
Have a look at the "script" command if it's on there (if we're talking about text)
muttnik is offline   Reply With Quote
Reply


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:53.


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.