HylaFAX The world's most advanced open source fax server

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

Re: Hylafax on Solaris 2.6



-----BEGIN PGP SIGNED MESSAGE-----

In article <199708140430.AAA04506@cssun.mathcs.emory.edu>,
Ken Mandelberg <km@mathcs.emory.edu> wrote:
> 
> Silly me, there is no Solaris 2.6 problem. We just lost faxgetty
> out of inittab as part of our upgrade.

Hmm.  I've been running hylafax on 2.6 for some months (various Betas)
and I think there _is_ a slight problem.  I've written a state monitor
so I can see all the transitions in real-time, and I had modems sticking
in the wrong state with the 2.5 pre-compiled package.  I recompiled
faxgetty on a 2.6 machine and turned off CONFIG_FIFOBUG and it seemed to
be a lot better.

I also had fun compiling with SunPro C++ 4.2.  I ended up using this as
CC:

#!/usr/local/perl5/bin/perl -w

use strict;

my $CC = '/packages/compilers/C++_4.2/SUNWspro/bin/CC';

my @args;
my @symlinks;

my $arg;

foreach $arg (@ARGV) {
  if ($arg =~ /\.c\+\+$/ && -f $arg) {
    my $linkname = $arg;
    $linkname =~ s/\.c\+\+$/\.cxx/;
    if (defined (readlink ($linkname)) || symlink ($arg, $linkname)) {
      push (@symlinks, $linkname);
      push (@args, $linkname);
    } else {
      die "could not link $arg to $linkname ($!)";
    }
  } else {
    push (@args, $arg);
  }
}

# open (TTY, '>/dev/tty') && print TTY "$CC @args\n";

my $cc_exit = system ($CC, @args);


unlink (@symlinks) == $#symlinks + 1 || warn "could not unlink everything";

exit $cc_exit / 256;

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQB1AwUBM/K3wcoy0yij3IvtAQH4sQMAqd1FKaMUAd4CsHTqbAsLDI3+RH5bNyRf
2jLc7eWPpDs+X9QfYJY1NTWxRCDkZUITm+ZnwAXca4/RH/Q7PFIJfevpkPs4Ovht
VvxvYcNYT/pUHlUav/NGiZZQykyybpXe
=xHhR
-----END PGP SIGNATURE-----




Project hosted by iFAX Solutions