Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#13387 closed defect (fixed)

BUG: swi-prolog 5.6.47 won't compile on Leopard

Reported by: darren.bane@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: Cc: wielemak@…,pmoura (Paulo Moura)
Port:

Description

swi-prolog-5.6.47

!snip!

gcc -c -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_swi-prolog/work/pl-5.6.47/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_swi-prolog/work/pl-5.6.47/src/rc -Wall -O3 -fno-strict-aliasing -O2 -no-cpp-precomp -fno-common pl-rl.c -o pl-rl.o
pl-rl.c: In function 'rl_sighandler':
pl-rl.c:322: warning: implicit declaration of function 'rl_reset_after_signal'
pl-rl.c: In function 'event_hook':
pl-rl.c:356: warning: implicit declaration of function 'rl_forced_update_display'
pl-rl.c: In function 'Sread_readline':
pl-rl.c:456: warning: implicit declaration of function 'rl_discard_argument'
pl-rl.c: In function 'prolog_complete':
pl-rl.c:511: warning: implicit declaration of function 'rl_delete'
pl-rl.c: In function 'PL_install_readline':
pl-rl.c:558: error: 'rl_catch_signals' undeclared (first use in this function)
pl-rl.c:558: error: (Each undeclared identifier is reported only once
pl-rl.c:558: error: for each function it appears in.)
pl-rl.c:566: warning: passing argument 2 of 'rl_add_defun' from incompatible pointer type
make[1]: *** [pl-rl.o] Error 1
make: *** [lite] Error 2

Error: Status 1 encountered during processing.

Installing readline from MacPorts fixed the problem, so I'd recommend replacing lib:libreadline:readline entry in depends_lib with port:readline.

Attachments (1)

Portfile (2.9 KB) - added by pmoura (Paulo Moura) 17 years ago.

Download all attachments as: .zip

Change History (5)

Changed 17 years ago by pmoura (Paulo Moura)

Attachment: Portfile added

comment:1 Changed 17 years ago by pmoura (Paulo Moura)

The new attached portfile includes the patch suggested above and some fixes for building meta-packages.

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

Owner: changed from macports-dev@… to ryandesign@…

comment:3 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

The lib:libreadline:readline dependency was changed to port:readline as part of r31733 in #13461.

Paulo, in the future, please either provide portfile diffs, or if you must provide complete portfiles, then please leave the $Id$ tag at the top intact so I'll know what revision of the portfile the changes are based on.

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.