[MacPorts] #13839: Minicom fails to build on 10.5.1
#13839: Minicom fails to build on 10.5.1 -------------------------------+-------------------------------------------- Reporter: jpollock1@mac.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | -------------------------------+-------------------------------------------- Minicom fails to build on 10.5.1 ---> Building minicom with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_comms_minicom/work/minicom-2.1" && make all " returned error 2 Command output: make all-recursive Making all in doc make[2]: Nothing to be done for `all'. Making all in extras Making all in linux make[3]: Nothing to be done for `all'. Making all in tables make[3]: Nothing to be done for `all'. Making all in termcap make[3]: Nothing to be done for `all'. Making all in terminfo make[3]: Nothing to be done for `all'. make[3]: Nothing to be done for `all-am'. Making all in man make[2]: Nothing to be done for `all'. Making all in intl make[2]: Nothing to be done for `all'. Making all in po make[2]: Nothing to be done for `all'. Making all in lib make[2]: Nothing to be done for `all'. Making all in src /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -I../lib -O2 -Wall -W -c window.c window.c:65: error: static declaration of 'BC' follows non-static declaration /usr/include/termcap.h:59: error: previous declaration of 'BC' was here make[2]: *** [window.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2 Error: Status 1 encountered during processing. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13839> MacPorts </projects/macports> Ports system for Mac OS
#13839: Minicom fails to build on 10.5.1 --------------------------------+------------------------------------------- Reporter: jpollock1@mac.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: --------------------------------+------------------------------------------- Comment (by pruchai@hotmail.com): I am having the same issue, but i got it resolved by going into {{{ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_comms_minicom/work/minicom-2.1 }}} and changing line 65 in {{{ src/window.c }}} from {{{ static char *BC, *CR, *NL; }}} to {{{ static char *CR, *NL; }}} and re-running {{{ port install minicom }}} that worked like a charm Have to add that this is not a MacPorts related issue, as it also present in upstream. Also, i can not take credit for this fix, because i found it [http://209.85.173.104/search?q=cache:rIjXV- FFnbYJ:problemboard.com/bio/%3Fm%3D200508+/usr/include/termcap.h:59:+error:+previous+declaration+of+%E2%80%98BC%E2%80%99+was+here&hl=en&ct=clnk&cd=2&gl=us here] -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13839#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#13839: Minicom fails to build on 10.5.1 --------------------------------+------------------------------------------- Reporter: jpollock1@mac.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: duplicate | Keywords: --------------------------------+------------------------------------------- Changes (by jmr@macports.org): * status: new => closed * resolution: => duplicate Comment: Duplicate of #13025. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13839#comment:3> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts