bug-gawk
[Top][All Lists]
Advanced

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

Re: [bug-gawk] Gawk 4.1.0 released


From: Hermann Peifer
Subject: Re: [bug-gawk] Gawk 4.1.0 released
Date: Mon, 20 May 2013 17:26:41 -0300
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130509 Thunderbird/17.0.6

On 2013-05-20 17:04, Aharon Robbins wrote:
Hi.

The usual GNU build incantation should be used:

     tar -xpvzf gawk-4.1.0.tar.gz
     cd gawk-4.1.0
     ./configure && make && make check

Bug reports should be sent to address@hidden

Enjoy!

Arnold Robbins (on behalf of all the gawk developers)
address@hidden

For the sake of the exercise, I followed the above steps and ended up with:

(...)
gcc  -g -O2 -DNDEBUG   -o gawk array.o awkgram.o builtin.o cint_array.o
command.o debug.o dfa.o eval.o ext.o field.o floatcomp.o gawkapi.o
gawkmisc.o getopt.o getopt1.o int_array.o io.o main.o mpfr.o msg.o
node.o profile.o random.o re.o regex.o replace.o str_array.o symbol.o
version.o    -lreadline  -lm -lm
Undefined symbols for architecture x86_64:
    "_history_list", referenced from:
        _serialize in debug.o
        _do_save in debug.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *** [gawk] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


A small update:

The above error disappears when adding the configure option
"--with-mpfr=/opt/local"

This beats me. I have a very old PPC mac book, and I think MPFR is
in /usr/local and things just work, but I always build from the git repo.

Arnold


On my not so old MacBook Air, I installed MPFR via MacPorts, which puts all stuff under /opt/local. In any case, the reported issue is not a real problem for me as things work fine when using "--with-mpfr=/opt/local". I just thought it would be worth mentioning.

Regards, Hermann



reply via email to

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