*BSD News Article 39998


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!bruce.cs.monash.edu.au!harbinger.cc.monash.edu.au!msunews!uwm.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!pipex!sunic!ugle.unit.no!trane.uninett.no!due.uninett.no!titan.cmr.no!tl
From: tl@titan.cmr.no (Tom Lislegaard)
Newsgroups: comp.os.386bsd.bugs
Subject: Re: Problem with FlexFax
Date: 23 Dec 1994 08:55:05 GMT
Organization: Christian Michelsen Research a/s
Lines: 30
Distribution: world
Message-ID: <3de399$fnc@due.uninett.no>
References: <D16oy2.KC1@cogsci.ed.ac.uk>
NNTP-Posting-Host: titan.cmr.no

In article <D16oy2.KC1@cogsci.ed.ac.uk>, richard@cogsci.ed.ac.uk (Richard Tobin) writes:
> I'm trying to build FlexFax under FreeBSD 2.0.  Here's what I'm doing;
> please tell me where the problem is...
> 
> (1) Get flexfax-v2.3beta036special-tar.gz and put it in /usr/ports/distfiles.
> (2) Get flexfax port and put it in /usr/ports.
> (3) In /usr/ports/flexfax, do "make" and answer the questions.
> (4) Get lots of errors "osfcn.h: No such file or directory".
> 
osfcn.h was ommitted from 2.0R, get it from the libg++ distribution and
drop into /usr/include/g++.
(It may also be in the -current sources now).

Also, as the 'cuserid' function has disappeared in 2.0 you have to
create a 'port/freebsd/libport.a' and and add this to the LIB variable
in 'port/freebsd/defs'. See some of the other port directories for a model.
There's a useable 'cuserid.c' in 'port/4.4'.

And BTW, the tried & tested way of making FlexFAX is:

 (1) edit configure to use bash instead of /bin/sh and do './configure'
 (2) run '/usr/local/bin/make' (or whatever you call gnu-make)

ps.
one more thing that comes to mind:
change UUCP_LOCKDIR in defs from '/var/spool/lock' to '/var/spool/uucp'.

-tom
-- 
Tom Lislegaard,  System Manager,  Chr. Michelsen Research a/s, Bergen, Norway