[MacPorts] #13387: BUG: swi-prolog 5.6.47 won't compile on Leopard

MacPorts trac at macosforge.org
Fri Nov 23 09:51:41 PST 2007


#13387: BUG: swi-prolog 5.6.47 won't compile on Leopard
-----------------------------------+----------------------------------------
 Reporter:  darren.bane at gmail.com  |       Owner:  macports-dev at lists.macosforge.org
     Type:  defect                 |      Status:  new                              
 Priority:  Normal                 |   Milestone:  Port Bugs                        
Component:  ports                  |     Version:  1.5.2                            
 Keywords:                         |  
-----------------------------------+----------------------------------------
 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}}}.

-- 
Ticket URL: <http://trac.macports.org/projects/macports/ticket/13387>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list