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 26-02-2024, 05:15   #1
Registered User
 
pendragon's Avatar

Join Date: Aug 2008
Boat: Van de Stadt 38'
Posts: 223
Installing OpenCpn in Lubuntu

I installed Lubuntu v18 in my old Thinkpad T41 ( i386) , as this is the only laptop I have, with a parallel port.
On the OpenCpn site is a PPA available, but I can't get it even to install.
Years ago I downloaded a 'straight' (no ppa) copy of OpenCpn for Debian, I believe. That copy installed and worked spot on, but that laptop died.
So. now I am looking for a link to a 'straight' copy of OpenCpn that runs in Lubuntu.

Any one?? Many thanks..
pendragon is offline   Reply With Quote
Old 26-02-2024, 08:47   #2
Registered User

Join Date: May 2010
Location: NW Washington State
Boat: Yankee Dolphin 24'
Posts: 239
Re: Installing OpenCpn in Lubuntu

I expect that the problem isn't "lubuntu", the problem is "i386", as OCPN is compiled for x64 (also called x86_64). i386 will run on x64 but not vice-versa.


That must be a really old laptop if it is using an i386 processor...
Of course, if it is really an x64 processor and you installed the i386 version of lubuntu, then reinstall the x86_64 version of lubuntu and try again.
tenchiki is offline   Reply With Quote
Old 26-02-2024, 09:16   #3
Registered User
 
BAIA's Avatar

Join Date: Dec 2023
Location: The Netherlands
Boat: Bavaria 38 Match
Posts: 5
Re: Installing OpenCpn in Lubuntu

Thinkpad T41 was introduced in 2004, so it's an old 32bit laptop indeed.

I'm browsing around OpenCPN's PPA and they still have a i386 build for Ubuntu Bionic Beaver (18.04.6 LTS). So installing should be possible. What kind of errors does it give?
Maybe try installing from the command line to see the output.

Alternatively you could try to compile OpenCPN from source yourself: https://github.com/OpenCPN/OpenCPN
BAIA is offline   Reply With Quote
Old 29-02-2024, 01:32   #4
Registered User
 
pendragon's Avatar

Join Date: Aug 2008
Boat: Van de Stadt 38'
Posts: 223
Re: Installing OpenCpn in Lubuntu

Thanks for your replies Baia & tenckiki,

Yep T41 runs on a an i386 processor, it is pretty slow, but so is sailing.
I am digressing.
Back to Opencpn and Linux:
I downloaded the opencpn zip file from github, unzipped without any problems.

Than I went looking for a Windows compiling program and ended up https://www.codingninjas.com/studio/...er-for-windows Followed it to the letter, but I got stuck on the command line like below and variations of input:

C:\>g++ mingw/opencpn-master
c:/mingw/mingw32/bin/ld.exe: cannot open output file a.exe: Permission denied
collect2.exe: error: ld returned 1 exit status
No matter what I tried. it failed.
pendragon is offline   Reply With Quote
Old 29-02-2024, 02:00   #5
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: Installing OpenCpn in Lubuntu

Why would you do this Mingw Windows thing? To build for Linux use Linux and follow https://opencpn-manuals.github.io/ma...dev/linux.html

Or reinstall the 6 years old Lubuntu with the current Debian Bookworm, one of the few distros that still exists for 32 bit machines, and you will get latest OpenCPN directly from their bookworm-backports repository.

T41 was a great machine and was my main workhorse back in the day, but maybe, just maybe, it is time to let it finally die and move at least one generation higher (My current boat machine still is the Thinkpad X201s that replaced the T41)
nohal is offline   Reply With Quote
Old 29-02-2024, 03:33   #6
Registered User
 
BAIA's Avatar

Join Date: Dec 2023
Location: The Netherlands
Boat: Bavaria 38 Match
Posts: 5
Re: Installing OpenCpn in Lubuntu

I agree, follow the manual and compile it on Linux.
You might need to install the 'build-essential' package before trying.
BAIA is offline   Reply With Quote
Old 29-02-2024, 18:51   #7
Registered User
 
pendragon's Avatar

Join Date: Aug 2008
Boat: Van de Stadt 38'
Posts: 223
Re: Installing OpenCpn in Lubuntu

Quote:
Originally Posted by nohal View Post
Or reinstall the 6 years old Lubuntu with the current Debian Bookworm, one of the few distros that still exists for 32 bit machines, and you will get latest OpenCPN directly from their bookworm-backports repository.

I installed Debian Bookworm on an other 40GB Hdd.
Well... I have never come across a slower OS than this one, since the days of DOS 5 and thats going back to the early nineties

On the same laptop, Win XP pro(on an other HDD) runs fine , Lubuntu, (still on an other drive,) speed was acceptable.
Is there a reason for the snail pace of Debian 12.5?. The online update speed is great, but the program itself, leaves a lot to be desired.
pendragon is offline   Reply With Quote
Old 29-02-2024, 19:04   #8
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: Installing OpenCpn in Lubuntu

Lubuntu is derivative of Debian, but I suppose you know that.
You have a 20+ years old hardware and compare current OS to one from 20 years ago whose support ended 10 years ago, maybe that is the reason.
Run top, have a look what is taking up the resources and act accordingly. But if you really want some advice, get a somewhat newer machine for next to nothing from some museum and stop to suffer.
nohal is offline   Reply With Quote
Old 02-03-2024, 18:31   #9
Registered User
 
pendragon's Avatar

Join Date: Aug 2008
Boat: Van de Stadt 38'
Posts: 223
Re: Installing OpenCpn in Lubuntu

Quote:
Originally Posted by BAIA View Post
Thinkpad T41 was introduced in 2004, so it's an old 32bit laptop indeed.
Maybe try installing from the command line to see the output.

Alternatively you could try to compile OpenCPN from source yourself: https://github.com/OpenCPN/OpenCPN

I did it a few times, but it hangs on the first line . it won't connect
git clone git://github.com/OpenCPN/OpenCPN.git

I get> unable to connect to github /.....Timed out .
I tried https:// --> same reply
pendragon is offline   Reply With Quote
Old 02-03-2024, 18:33   #10
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: Installing OpenCpn in Lubuntu

Github is a service used by millions of developers around the world, I would probably look for problem on your side.
nohal is offline   Reply With Quote
Old 03-03-2024, 05:29   #11
Registered User

Join Date: Nov 2015
Location: Ireland
Posts: 468
Re: Installing OpenCpn in Lubuntu

GitHub is having problems at the moment, it’s access may be slow or not work at all.
AedanC is online now   Reply With Quote
Old 03-03-2024, 05:34   #12
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: Installing OpenCpn in Lubuntu

From where does this information come? I do not see any problems at the official https://www.githubstatus.com and it works just fine for me.
nohal is offline   Reply With Quote
Old 03-03-2024, 06:11   #13
Registered User

Join Date: Nov 2015
Location: Ireland
Posts: 468
Re: Installing OpenCpn in Lubuntu

Apologies nohal, I misread the first paragraph of an article I was sent this morning and got the wrong conclusion. The article was actually about a long term problem on GitHub that’s been going on for several months now where people are forking repos, adding malicious code and then persuading people that these are the genuine repos through social engineering. Apologies again.
AedanC is online now   Reply With Quote
Reply

Tags
enc, opencpn


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Layers folder in Lubuntu 18.04? yachtvalhalla OpenCPN 2 19-09-2018 01:40
error compiling openCPN on ARM Chromebook / lUbuntu raring chris14679 OpenCPN 5 24-02-2013 20:25
Trouble Installing OpenCPN 555051 OpenCPN 1 03-02-2011 19:46
Installing OpenCPN on a Bootable Linux Flash Drive jimbim OpenCPN 34 14-08-2010 04:24

Advertise Here


All times are GMT -7. The time now is 07:31.


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.