[OS X TeX] bmeps

Martin Costabel costabel at wanadoo.fr
Tue May 18 14:39:57 CEST 2004


On 18 mai 2004, at 13:10, Giulio Cozzi wrote:

> Dear All,
> I'm trying to install from source "bmeps". It is quit difficult for me 
> becouse I'm not an Unix expert. I obtain the following error:
>
> cozzi1:/Volumes/Frodo/TEMP/bmeps root# make
> cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include  -DVERSNUMB=\"1.0.7a\" 
> -c bmepsm.c -o bmepsm.o
> bmepsm.ctr:657:2: #error "Either O_BINARY or _O_BINARY is needed!"
> bmepsm.ctr: In function `main':
> bmepsm.ctr:667: warning: passing arg 1 of `setmode' makes pointer from 
> integer without a cast
> bmepsm.ctr:667: error: too many arguments to function `setmode'

Their configure script doesn't seem to have heard about Darwin yet. 
Edit the config.h file and change the definition of HAVE_SETMODE from 1 
to 0. HAVE__SETMODE should be 0, too. Then "make" should succeed.

-- 
Martin

-----------------------------------------------------
Please see <http://www.esm.psu.edu/mac-tex/> for list
guidelines, information, and LaTeX/TeX resources.





More information about the macostex-archives mailing list