dump1090.socket30003
dump1090.socket30003 copied to clipboard
Execution of ./rangeview.pl aborted due to compilation errors, from double quotes in help text
Received fatal error when running rangeview.pl on an Ubuntu 16.04.4 LTS machine with perl 5, version 22, subversion 1 (v5.22.1) built for x86_64-linux-gnu-thread-multi: Execution of ./rangeview.pl aborted due to compilation error
I was able to fix the issue by escaping the double quotes in lines 239, 240, and 244. For clarity, lines 239 through 244 after the change are pasted below:
<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<kml xmlns=\"http://www.opengis.net/kml/2.2\">
<Document>
<name>Paths</name>
<description>Example</description>
<Style id=\"track-1\">
I found another solution for this:
Go to line 207 and make it look like this:
if ($help) { print F <<EOT; \nThis $scriptname script creates location data
Then go to line 347 and make it look like this:
$scriptname -data /home/pi/data -log /home/pi/log -output /home/pi/result \n\n EOT exit 0; }
save and rerun the script