Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#30763 closed defect (fixed)

gawk: missing readline dependency

Reported by: ForTozs Owned by: Schamschula (Marius Schamschula)
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: Cc:
Port: gawk

Description (last modified by jmroot (Joshua Root))

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 (1)

main.log (37.7 KB) - added by ForTozs 13 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 13 years ago by jmroot (Joshua Root)

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

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 Changed 13 years ago by jmroot (Joshua Root)

Keywords: lion removed
Resolution: fixed
Status: newclosed
Summary: Problem installing gawk...gawk: missing readline dependency

Changed 13 years ago by ForTozs

Attachment: main.log added

comment:3 in reply to:  2 Changed 13 years ago by ForTozs

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 13 years ago by ForTozs

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

Note: See TracTickets for help on using tickets.