Total newbie attempting to package tn5250 for Fink. The 5250 is a terminal for IBM's AS/400 series. tn5250 is the opensource emulation of this terminal. http://tn5250.sourceforge.net
So far I've run into two problems when trying to make, which I think are solved. The third one has me stumped. As I really haven't a clue what I'm doing, I may have caused myself further problems. Problem 1) semi-solved compile error tn5250-private.h:36: header file 'malloc.h' not found the makefile assumes the header will be in /usr/local/include/ Darwin&BSD store their libraries in /usr/include/sys/ I cheated and made a symbolic link to the BSD location #ln -s /usr/include/sys/malloc.h /usr/local/include/ Problem 2) semi-solved compile error stream.h:30: header file 'openssl/ssl.h' not found Since openssl is required to compile, I install fink's openssl. The file still won't compile because it is expecting the file in a different location. I cheat again and make a symbolic link to the Fink location for openssl #ln -s /sw/include/openssl /usr/include/openssl Problem 3) compile error cc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/sw/etc\" -g -O2 -c buffer.c -Wp,-MD,.deps/buffer.TPlo -fno-common -DPIC -o .libs/buffer.lo /usr/include/curses.h:107: illegal external declaration, missing `;' after `*' cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode In file included from tn5250-private.h:93, from buffer.c:22: /usr/include/curses.h:107: parse error before `0x13' make[2]: *** [buffer.lo] Error 1 make[1]: *** [all] Error 2 make: *** [all-recursive] Error 1 Curses.h line 107 is in the middle of a long declaration. But it appears to be valid. There is a ; at the end of all the comma separated *xx declarations. Would someone review my work and tell me where I've gone wrong? Many thanks in advance, Layne _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel