At 8PM -0400 on 12/03/14 MHX wrote:
Show quoted text> On Tue Mar 04 13:14:39 2014, ben@morrow.me.uk wrote:
> > (even with buildperl.pl: I get
> >
> > sed: -e: No such file or directory
> > sed -i -e '/^.*<builtin>/d' -e '/^.*<built-in>/d' -e '/^.*<command
> > line>/d' -e '/^.*<command-line>/d' makefile x2p/makefile: 256
> >
> > ).
>
> Are you running this on a Mac?
FreeBSD.
Show quoted text> The Mac and GNU sed utilities are sadly incompatible. You might
> be luckier with a GNU sed.
While I could install gsed from ports, it gets installed as 'gsed' to
avoid conflicting with the system sed, so that doesn't help much.
If I fix the sed invocations I get prototype conflicts in malloc.c. I
can make them go away by passing -Dccflags=-DHIDEMYMALLOC to Configure,
but first the 'extracting symbols from libc' step fails and Configure
fails to find any of the symbols it's looking for, and then compilation
fails here:
util.c: In function 'vsprintf':
util.c:1408: error: argument 'pat' doesn't match prototype
/usr/include/stdio.h:276: error: prototype declaration
util.c:1408: error: argument 'args' doesn't match prototype
/usr/include/stdio.h:276: error: prototype declaration
util.c:1411: error: 'FILE' has no member named '_ptr'
util.c:1412: error: 'FILE' has no member named '_cnt'
util.c:1416: error: 'FILE' has no member named '_flag'
util.c:1416: error: '_IOWRT' undeclared (first use in this function)
I also get some worrying warnings about casting pointers to int (this is
a 64bit machine). Obviously this isn't going to work without a fair
amount of porting effort.
Ben