New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #30763 (closed defect: fixed)

Opened 21 months ago

Last modified 21 months ago

gawk: missing readline dependency

Reported by: JDTilley@… Owned by: mschamschula@…
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: Cc:
Port: gawk

Description (last modified by jmr@…) (diff)

OS X 10.7 Lion. Xcode 4.1. This is my first time here and forgive me as I am new to this. I've desperately been trying to install octave-java and so I ended up uninstalling my ports tree and starting from scratch. Now it seems gawk will not build. Here is the error:

:info:build /Developer/usr/bin/llvm-gcc-4.2  -pipe -O2 -arch x86_64  -L/opt/local/lib -arch x86_64 -L/opt/local/lib -o dgawk array.o awkgram.o builtin.o dfa.o ext.o field.o floatcomp.o gawkmisc.o getopt.o getopt1.o io.o main.o msg.o node.o random.o re.o regex.o replace.o version.o eval_d.o profile.o command.o debug.o  -lintl -liconv -lc  -Wl,-framework -Wl,CoreFoundation  -lreadline -lm -lm 
:info:build Undefined symbols for architecture x86_64:
:info:build   "_history_list", referenced from:
:info:build       _serialize in debug.o
:info:build       _do_save in debug.o
:info:build ld: symbol(s) not found for architecture x86_64
:info:build collect2: ld returned 1 exit status
:info:build make[2]: *** [dgawk] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gawk/gawk/work/gawk-4.0.0'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gawk/gawk/work/gawk-4.0.0'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gawk/gawk/work/gawk-4.0.0'
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gawk/gawk/work/gawk-4.0.0" && /usr/bin/make -j4 -w all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)

Anybody have any ideas what this is about?

Attachments

main.log (37.7 KB) - added by JDTilley@… 21 months ago.

Change History

comment:1 Changed 21 months ago by jmr@…

  • Keywords lion added; Lion removed
  • Owner changed from macports-tickets@… to mschamschula@…
  • Description modified (diff)

Please remember to cc the maintainer, and to use WikiFormatting for preformatted text (or better, just add the complete log as an attachment).

comment:2 follow-up: ↓ 3 Changed 21 months ago by jmr@…

  • Status changed from new to closed
  • Keywords lion removed
  • Resolution set to fixed
  • Summary changed from Problem installing gawk... to gawk: missing readline dependency

Changed 21 months ago by JDTilley@…

comment:3 in reply to: ↑ 2 Changed 21 months ago by JDTilley@…

Thanks, but I am still getting the same error. Here is a log. I changed the port file manually, since I couldn't figure out how to patch it. I thought all you had to do was put it in (port dir)/files and I couldn't get that to work or the manual method in the macports guide. I'm sure I was doing something wrong.

comment:4 Changed 21 months ago by JDTilley@…

Sorry...I Didn't have readline installed. It is working now... Thanks.

Note: See TracTickets for help on using tickets.