|
26-02-2024, 05:15
|
#1
|
Registered User
Join Date: Aug 2008
Boat: Van de Stadt 38'
Posts: 224
|
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..
|
|
|
26-02-2024, 08:47
|
#2
|
Registered User
Join Date: May 2010
Location: NW Washington State
Boat: Yankee Dolphin 24'
Posts: 244
|
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.
|
|
|
26-02-2024, 09:16
|
#3
|
Registered User
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
|
|
|
29-02-2024, 01:32
|
#4
|
Registered User
Join Date: Aug 2008
Boat: Van de Stadt 38'
Posts: 224
|
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.
|
|
|
29-02-2024, 02:00
|
#5
|
Registered User
Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,253
|
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)
|
|
|
29-02-2024, 03:33
|
#6
|
Registered User
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.
|
|
|
29-02-2024, 18:51
|
#7
|
Registered User
Join Date: Aug 2008
Boat: Van de Stadt 38'
Posts: 224
|
Re: Installing OpenCpn in Lubuntu
Quote:
Originally Posted by nohal
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.
|
|
|
29-02-2024, 19:04
|
#8
|
Registered User
Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,253
|
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.
|
|
|
02-03-2024, 18:31
|
#9
|
Registered User
Join Date: Aug 2008
Boat: Van de Stadt 38'
Posts: 224
|
Re: Installing OpenCpn in Lubuntu
Quote:
Originally Posted by BAIA
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
|
|
|
02-03-2024, 18:33
|
#10
|
Registered User
Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,253
|
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.
|
|
|
03-03-2024, 05:29
|
#11
|
Registered User
Join Date: Nov 2015
Location: Ireland
Posts: 485
|
Re: Installing OpenCpn in Lubuntu
GitHub is having problems at the moment, it’s access may be slow or not work at all.
|
|
|
03-03-2024, 05:34
|
#12
|
Registered User
Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,253
|
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.
|
|
|
03-03-2024, 06:11
|
#13
|
Registered User
Join Date: Nov 2015
Location: Ireland
Posts: 485
|
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.
|
|
|
|
Thread Tools |
Search this Thread |
|
|
Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
Advertise Here
Recent Discussions |
|
|
|
|
|
|
|
|
|
|
|
|
Vendor Spotlight |
|
|
|