bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gawk] Problem in installing gawk on OS X 10.8.4 (Mountain Lion)


From: Hermann Peifer
Subject: Re: [bug-gawk] Problem in installing gawk on OS X 10.8.4 (Mountain Lion)
Date: Wed, 28 Aug 2013 07:12:06 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130801 Thunderbird/17.0.8

On 2013-08-25 11:14, Arnold wrote:

I think this patch will do the trick. You should should do 'make
distclean', then apply the patch.  Then touch configh.in and configure
after applying it in the hope that the auto* machinery won't kick in. Then
run configure and rebuild.

Please let me know if this works.


Hi,

I applied the patch on OS X 10.7.5 and ended up with a compilation error. The steps are listed below.

Hope this helps, Hermann

$ git clone git://git.savannah.gnu.org/gawk.git gawk2
Cloning into 'gawk2'...
...

$ cd gawk2/

$  patch -p1 < ../history_list.patch
patching file configh.in
patching file configure
patching file debug.c
patching file m4/readline.m4

$ ./bootstrap.sh && ./configure && make
...
gcc -DDEFPATH='".:/usr/local/share/awk"' -DDEFLIBPATH="\"/usr/local/lib/gawk\"" -DSHLIBEXT="\"so"\" -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR='"/usr/local/share/locale"' -I. -g -O2 -DNDEBUG -MT debug.o -MD -MP -MF .deps/debug.Tpo -c -o debug.o debug.c
debug.c: In function ‘do_save’:
debug.c:4082: warning: dereferencing ‘void *’ pointer
debug.c:4082: error: request for member ‘line’ in something not a structure or union
debug.c: In function ‘serialize’:
debug.c:4406: warning: dereferencing ‘void *’ pointer
debug.c:4406: error: request for member ‘line’ in something not a structure or union
debug.c:4409: warning: dereferencing ‘void *’ pointer
debug.c:4409: error: request for member ‘line’ in something not a structure or union
debug.c:4409: warning: dereferencing ‘void *’ pointer
debug.c:4409: error: request for member ‘line’ in something not a structure or union
make[2]: *** [debug.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2





reply via email to

[Prev in Thread] Current Thread [Next in Thread]