Ticket #30423 (closed defect: fixed)
swi-prolog: build fails on OS X Lion
| Reported by: | weiju.wu@… | Owned by: | J.Wielemaker@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.0.0 |
| Keywords: | lion | Cc: | pmoura@… |
| Port: | swi-prolog |
Description (last modified by jmr@…) (diff)
Hi, trying to install swi-prolog on OS X Lion fails for me:
---> Computing dependencies for swi-prolog ---> Fetching archive for swi-prolog ---> Fetching swi-prolog ---> Verifying checksum(s) for swi-prolog ---> Extracting swi-prolog ---> Configuring swi-prolog ---> Building swi-prolog Error: Target org.macports.build returned: shell command failed (see log for details) Log for swi-prolog is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_swi-prolog/swi-prolog/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
Attachments
Change History
comment:1 follow-up: ↓ 2 Changed 22 months ago by jmr@…
- Owner changed from macports-tickets@… to J.Wielemaker@…
- Cc pmoura@… added
- Description modified (diff)
Please remember to preview and use WikiFormatting, and to cc the maintainers.
comment:2 in reply to: ↑ 1 Changed 22 months ago by weiju.wu@…
Replying to jmr@…:
Please remember to preview and use WikiFormatting, and to cc the maintainers.
will remember this in the future, thanks
comment:3 Changed 22 months ago by pmoura@…
It seems to be an issue with the new default compiler on Lion. Adding configure.compiler gcc-4.2 to the portfile allows the compilation to succeed. Btw, the same issue seems to be causing the compilation of GNU Prolog and YAP to fail. Apparently some incompatible change to mmap.
Note: See
TracTickets for help on using
tickets.


log file of the failed installation process