HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

[hylafax-users] 4.3.1rc2 on Solaris 9



I have just built, installed and I am testing 4.3.1rc2 on Solaris 9. The new DSO stuff works like a charm and is a big win :)

However, there seems to be a problem with the nawk/awk on Sol 9. I tried to receive a fax and it worked ok...EXCEPT for the notification. Then I tried to run bin/faxrcvd by hand and it bombs out on this function in the parseFaxInfo:

	function p(varname,val)
    {
        gsub(/\\047/, "\047\\\\\047\047", val);
        printf "%s=\\047%s\\047\n",varname,val
        printf "export %s\n",varname
    }

The error I am getting with either /usr/5bin/nawk, /usr/bin/nawk, or /usr/bin/awk is:

/usr/local/hylafax/4.3.1/sbin/faxinfo -S -s %s=!=!=!=!=!=!=!=!= recvq/fax000000002.tif
/usr/5bin/nawk -F=!=!=!=!=!=!=!=!=
function p(varname,val)
{
gsub(/\047/, "\047\\\047\047", val);
printf "%s=\047%s\047\n",varname,val
printf "export
/usr/5bin/nawk: syntax error at source line 6 in function p
context is
printf >>> "export <<<
/usr/5bin/nawk: illegal statement at source line 6 in function p
missing }
+
bin/faxrcvd: : cannot execute
+ eval %sn,varname
}
{ p(toupper(recvq/fax000000002.tif),); }
'
bin/faxrcvd: syntax error at line 3: `}' unexpected


Unfortunately, I know so little awk as to be useful.

--
Thanks,

Matt
----------
Matthew C. Aycock
Operating Systems Analyst/Developer, Lead
Dept Math/CS
Emory University, Atlanta, GA
Internet:  matt@xxxxxxxxxxxxxxxx 		


____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions