Compiling Pine 4.44 on OS X.2.2

Find out how to get that @*&^$&@ thing to compile!

Compiling Pine 4.44 on OS X.2.2

Postby DMCrimson » Fri Nov 15, 2002 5:59 pm

fails, below are the errors:
Making Pico and Pilot
make CC=cc -f makefile.osx
rm -f os.h
ln -s osdep/os-osx.h os.h
cc -g -DDEBUG -Dbsd -DJOB_CONTROL -c -o main.o main.c
In file included from headers.h:31,
from main.c:38:
os.h:184: conflicting types for `sys_nerr'
/usr/include/stdio.h:265: previous declaration of `sys_nerr'
make: *** [main.o] Error 1

Making Pine and rpload/rpdump.
make CC=cc -f makefile.osx
rm -f os.h
ln -s osdep/os-osx.h os.h
./cmplhlp2.sh < pine.hlp > helptext.h
cc -g -DDEBUG -Dconst= -DSYSTYPE=\"OSX\" -c -o addrbook.o addrbook.c
/usr/include/sys/cdefs.h:84: warning: redefinition of macro const
In file included from ../pico/headers.h:31,
from headers.h:59,
from addrbook.c:48:
../pico/os.h:184: conflicting types for `sys_nerr'
/usr/include/stdio.h:265: previous declaration of `sys_nerr'
make: *** [addrbook.o] Error 1


How to continue? I'm a newbie, but like the idea of compiling from source...
DMCrimson
 
Posts: 13
Joined: Mon Sep 09, 2002 7:00 pm
Location: Finland

Re: Compiling Pine 4.44 on OS X.2.2

Postby DMCrimson » Mon Nov 18, 2002 4:15 pm

ok, it worked after all...with info provided here and on what's below from www.osxgnu.org :
In the file /usr/share/autoconf/autoconf.m4f line 7294 should read:

exit (setpgrp (0,0) == -1);])],
not
exit (setpgrp (1,1) == -1);])],

and
CFLAGS=-no-cpp-precomp
LDFLAGS=-ltinfo -lgcc
DMCrimson
 
Posts: 13
Joined: Mon Sep 09, 2002 7:00 pm
Location: Finland


Return to Compile Problems

Who is online

Users browsing this forum: No registered users and 49 guests

cron