Opened 14 years ago

Closed 14 years ago

#26176 closed defect (worksforme)

cgdb: configure error: cgdb needs ncurses/curses to build

Reported by: chaynes@… Owned by: jfrederich@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: cgdb

Description

sudo port install cgdb resulted in output including

Error: Target org.macports.configure returned: configure failure: shell command failed

and log including

:info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cgdb/work/cgdb-0.6.5" && ./configure --prefix=/opt/local --infodir=/opt/local/share/info --mandir=/opt/local/share/man " returned error 1
:error:configure Target org.macports.configure returned: configure failure: shell command failed
:debug:configure Backtrace: configure failure: shell command failed
    while executing
"$procedure $targetname"

macports installed yesterday under Leopard.

Attachments (1)

main.log (15.8 KB) - added by chaynes@… 14 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Keywords: cgdb configure removed
Owner: changed from macports-tickets@… to jfrederich@…
Port: cgdb added

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

It works fine here and I don't see any information in this report that we can act on (no actual specific error message shown). ("shell command failed" is what you will see when pretty much any error occurs with any port in MacPorts.) Please "sudo port clean cgdb" and try again; if it still fails, attach the main.log (compressing it first if it is large).

Changed 14 years ago by chaynes@…

Attachment: main.log added

comment:3 Changed 14 years ago by chaynes@…

cleaned and rerun as requested with same result. main.log attached as requested.

comment:4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: cgdb: configure failure: shell command failedcgdb: configure error: cgdb needs ncurses/curses to build

Do you have the ncurses port installed? You should already, since it is a listed dependency of cgdb. So I wonder if your ncurses is properly installed. You could try rebuilding it. ("sudo port -n upgrade --force ncurses")

comment:5 Changed 14 years ago by chaynes@…

That did it. Thanks a lot!

comment:6 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed

Hm, ok. Glad you got it working, but unsure why your existing ncurses wasn't ok to begin with.

Note: See TracTickets for help on using tickets.