Post New Topic  Post A Reply
my profile | register | search | faq | forum home
  next oldest topic   next newest topic
» MacOSX - forked.net   » Compile Problems   » Compiling Pine 4.44 on OS X.2.2

UBBFriend: Email this page to someone!    
Author Topic: Compiling Pine 4.44 on OS X.2.2
DMCrimson
Member
Member # 503

posted November 15, 2002 09:59 AM      Profile for DMCrimson     Send New Private Message      Edit/Delete Post  Reply With Quote 
fails, below are the errors:
quote:
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...


Posts: 15 | From: Finland | Registered: Sep 2002  |  IP: Logged
DMCrimson
Member
Member # 503

posted November 18, 2002 08:15 AM      Profile for DMCrimson     Send New Private Message      Edit/Delete Post  Reply With Quote 
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


Posts: 15 | From: Finland | Registered: Sep 2002  |  IP: Logged

All times are Pacific Time  

Post New Topic  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
Hop To:

Contact Us | macosx.forked.net

Powered by Infopop Corporation
Ultimate Bulletin BoardTM 6.1.0.2