Subject: Re: port2pkg question
To: Frederick Bruckman <fb@enteract.com>
From: Roger Fischer <rogerf1@mac.com>
List: tech-pkg
Date: 03/18/2000 18:46:54
At 6:27 PM -0800 3/18/00, Frederick Bruckman wrote:
>On Sat, 18 Mar 2000, Roger Fischer wrote:
>

>> makedepend: warning:  FmMain.c (reading Fm.h, line 25): cannot find include
>> file "alloca.h"
>>         not in ../regexp/alloca.h
>>         not in /usr/X11R6/include/alloca.h
>>         not in /usr/include/alloca.h
>>         not in /usr/include/alloca.h
>
>> gcc -O2      -I../regexp -I/usr/X11R6/include   -DCSRG_BASED
>> -DFUNCPROTO=15 -DNARROWPROTO  -DXPM -DMAGIC_HEADERS  -c FmMain.c
>> In file included from Am.h:11,
>>                  from FmMain.c:31:
>> Fm.h:25: alloca.h: No such file or directory
>> *** Error code 1
>>
>> Stop.

>"alloca.h" <ptah> is found in old linux distros. You may be able to
>simply patch it out. If not, IIRC, most of what would be found there
>is in machine/param.h, which is best pulled in via the addition of
>``#include <sys/types.h>'' to the relevant files.

Oh well, we've gone beyond my abilities.  I'd like to take some courses in
"C", but at the moment, I really wouldn't know what to do.  I don't know
anything about patching.  If it's simple maybe somebody can walk me through
it.

It looks like I'm out of luck until somebody decides to make a NetBSD
package of xfm.  (hopefully xfm-1.4.2 vice 1.3.2)

Thanks for the help
rog