[Xastir] get-fcc-rac script (solved)

Lee Bengston lee.bengston at gmail.com
Sun Jul 18 10:22:04 EDT 2010


On Sun, Jul 18, 2010 at 2:01 AM, Curt, WE7U <curt.we7u at gmail.com> wrote:
> On Sat, 17 Jul 2010, Lee Bengston wrote:
>
>> Problem solved - I didn't realize the get-fcc-rac.pl script can only
>> be executed in /usr/local/lib/xastir/.  I had copied the script from
>> the CVS download into my home directorty and was tyring to execute it
>> from there.
>
> Naw, I just ran it from ~/src/xastir/scripts/ as root and it worked
> just fine.
>
> The trick is to run "./bootstrap.sh" first to run the various
> autotools, which ends up creating "values.pl" which the script needs
> in order to know where to install the databases.

With bootstrap.sh already done...

Execute it from the CVS download, which in my case is located in
~/src/xastir/scripts:

root at Buster:~/src/xastir/scripts# ./get-fcc-rac.pl
Name "main::prefix" used only once: possible typo at ./get-fcc-rac.pl line 31.
Can't locate ./values.pl in @INC (@INC contains: /etc/perl
/usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
/usr/local/lib/site_perl .) at ./get-fcc-rac.pl line 29.

Change to the /usr/local/lib/xastir location - works fine.

root at Buster:~/src/xastir/scripts# cd /usr/local/lib/xastir
root at Buster:/usr/local/lib/xastir# ./get-fcc-rac.pl
Name "main::prefix" used only once: possible typo at ./get-fcc-rac.pl line 31.
*********************************
*** Fetching the RAC database ***
*********************************
--2010-07-18 09:10:15--  http://205.236.99.41/%7Eindicatif/download/amateur.zip
Connecting to 205.236.99.41:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2473863 (2.4M) [application/zip]
Saving to: `amateur.zip'

100%[======================================>] 2,473,863   98.0K/s   in 28s

2010-07-18 09:10:43 (85.2 KB/s) - `amateur.zip' saved [2473863/2473863]

***********************************
*** Installing the RAC database ***
***********************************
*********************************
*** Fetching the FCC database ***
*********************************
--2010-07-18 09:10:44--  http://wireless.fcc.gov/uls/data/complete/l_amat.zip
Resolving wireless.fcc.gov... 4.21.126.97
Connecting to wireless.fcc.gov|4.21.126.97|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 99090702 (94M) [application/zip]
Saving to: `l_amat.zip'

100%[======================================>] 99,090,702  1.15M/s   in 83s

2010-07-18 09:12:07 (1.14 MB/s) - `l_amat.zip' saved [99090702/99090702]

*****************************************************
*** Filtering/sorting/installing the FCC database ***
*****************************************************
Total callsigns:  1056076.
 Replaced callsigns:  21319.
*************
*** Done! ***
*************

Regards,
Lee - K5DAT



More information about the Xastir mailing list