Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 20-10-2018, 02:09   #1
Registered User

Join Date: Mar 2010
Posts: 14
aisdecoder, Fedora 26, descriminator output, OpenCPN

Hi All,


I've been slowly (over several years) been re-commissioning a 1924 gaff ketch, which has included various bits and pieces to facilitate AIS reception via a cut coax aerial in the mizzen mast.


This aerial is connected to VHF radio which has had its discriminator tapped.


I have a C-30 laptop running Fedora26 and OpenCPN successfully.


I've been attempting to install aisdecoder, and after some time and gentle application of patches I've managed to apparently successfully compile the program ("make" runs without glitches to 100%).


I thought I'd got to the stage where I could test things with a downloaded sound file, and then retire to the boat and plug all the hardware together, congratulating myself on a job well done.


I ran this command:
Code:
$ ./aisdecoder-1.0.0/build/aisdecoder -h 127.0.0.1 -p 12345 -a alsa -d

but got this reply:
Code:
bash: ./aisdecoder-1.0.0/build/aisdecoder: No such file or directory

I hope someone out there may be able to assist.
__________________

snicco is offline   Reply With Quote
Old 20-10-2018, 05:44   #2
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,616
Re: aisdecoder, Fedora 26, descriminator output, OpenCPN

Probably not based on this information.

Code:
ls -la ./aisdecoder-1.0.0/build/aisdecoder
says what?
__________________

nohal is offline   Reply With Quote
Old 20-10-2018, 14:21   #3
Registered User

Join Date: Mar 2010
Posts: 14
Re: aisdecoder, Fedora 26, descriminator output, OpenCPN

Code:
ls: cannot access './aisdecoder-1.0.0/build/aisdecoder': No such file or directory
And you're right; I'd be able to help myself more if I knew the right questions to ask.
snicco is offline   Reply With Quote
Old 20-10-2018, 14:24   #4
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,616
aisdecoder, Fedora 26, descriminator output, OpenCPN

It is pretty obvious you are trying to execute a file that does not exist. So the right question probably is: where is the executable produced by your build really? And then what is the directory you are in now?
nohal is offline   Reply With Quote
Old 20-10-2018, 15:25   #5
Registered User

Join Date: Mar 2010
Posts: 14
Re: aisdecoder, Fedora 26, descriminator output, OpenCPN

I think the binary file "aisdecoder" is in the "build" directory (home/foo/Downloads/aisdecoder-1.0.0/build/aisdecoder)


Question 2: Home directory
snicco is offline   Reply With Quote
Old 20-10-2018, 15:36   #6
Registered User
 
LeaseOnLife's Avatar

Join Date: Apr 2008
Location: out cruising again, currently in Colombia
Boat: Sailboat
Posts: 1,180
Re: aisdecoder, Fedora 26, descriminator output, OpenCPN

make compiles alright you say. Did you follow up with a



make install



??
LeaseOnLife is offline   Reply With Quote
Old 20-10-2018, 16:17   #7
Registered User

Join Date: Mar 2010
Posts: 14
Re: aisdecoder, Fedora 26, descriminator output, OpenCPN

Yes!


But running make install as root gives:


make: *** No rule to make target 'install'. Stop.
snicco is offline   Reply With Quote
Old 20-10-2018, 16:24   #8
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,616
Re: aisdecoder, Fedora 26, descriminator output, OpenCPN

Well, then from the home directory you should certainly be starting
Code:
./Downloads/aisdecoder-1.0.0/build/aisdecoder
and I am of course interested in
Code:
ls -la ./Downloads/aisdecoder-1.0.0/build/aisdecoder
nohal is offline   Reply With Quote
Old 20-10-2018, 16:59   #9
Registered User

Join Date: Mar 2010
Posts: 14
Re: aisdecoder, Fedora 26, descriminator output, OpenCPN

Thanks, output of


Code:
$ ls -la  ./Downloads/aisdecoder-1.0.0/build/aisdecoder
-rwxrwxr-x. 1 foo foo 22336 Oct 20 14:39 ./Downloads/aisdecoder-1.0.0/build/aisdecoder
And appears that the program executes with:
Code:
./Downloads/aisdecoder-1.0.0/build/aisdecoder

Thanks for your help, seems I should have put aisdecoder-1.0.0 straight into my home directory. I'll continue the adventure!
__________________

snicco is offline   Reply With Quote
Reply

Tags
ais, enc, opencpn

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenCPN installation issues fedora 18 titaantje OpenCPN 10 22-01-2013 11:34
garmin usb and opencpn on fedora oystercatcher OpenCPN 0 19-02-2012 11:40
OpenCPN - Fedora 14 - GPSD michaeld OpenCPN 9 30-08-2011 09:44
Install Problems - OpenCPN on Fedora 32 Bit Gene Merrill OpenCPN 2 17-08-2011 09:56
Compiling OpenCPN on Fedora 12 inSaNo OpenCPN 9 08-12-2009 05:09



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 17:33.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.