[Mauiusers] Building maui on FreeBSD

andy thomas andy at ic.ac.uk
Wed Apr 28 10:11:52 MDT 2010


I am trying to build maui-3.2.6p21 on a 64-bit AMD K8 system running 
FreeBSD 7.1. After first installing the GNU version of sed in 
/usr/local/bin to get around a limitation of FreeBSD sed (see 
http://www.clusterresources.com/pipermail/mauiusers/2006-February/002037.html), 
I've managed to successfully run the configure script to create the 
makefiles although there is one warning message:

configure: WARNING: Unsupported OS: FreeBSD, attempting build with OPSYS=__LINUX

But when I try to build it with gmake, I get the following error:

gmake[1]: Entering directory `/export/home/andy/maui-3.2.6p21/src/server'
gcc -I../../include -I../../include      -I/usr/local/include -D__LINUX 
-D__MPBS       -g -O2 -D__M64  -c Server.c
In file included from Server.c:84:
OServer.c: In function 'ServerDemonize':
OServer.c:182: error: too few arguments to function 'setpgrp'
gmake[1]: *** [Server.o] Error 1
gmake[1]: Leaving directory `/export/home/andy/maui-3.2.6p21/src/server'
gmake: *** [all] Error 2

Should I be forcing OPSYS to __FREEBSD?

Andy


More information about the mauiusers mailing list