Ticket #21172 (closed defect: fixed)
gprolog can't compile for x86_64
| Reported by: | mellon85@… | Owned by: | pmoura@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.8.0 |
| Keywords: | x86_64 | Cc: | marco.comini@…, dcestari@…, dominick.saputo@…, marcos.ramos@…, wholzing@…, t.kunishi@…, macports@…, simon@…, Martin.Buchmann@…, andrew.pennebaker@…, ryandesign@… |
| Port: | gprolog |
Description (last modified by macsforever2000@…) (diff)
gprolog can't compile on Snow Leopard due to some compiler options
---> Computing dependencies for gprolog ---> Fetching gprolog ---> Attempting to fetch gprolog-1.3.1.tar.gz from http://www.gprolog.org/ ---> Verifying checksum(s) for gprolog ---> Extracting gprolog ---> Configuring gprolog ---> Building gprolog Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gprolog/work/gprolog-1.3.1/src" && /usr/bin/make -j2 all " returned error 2 Command output: (cd EnginePl; /usr/bin/make config) /usr/bin/gcc-4.2 -march=i486 -O3 -fomit-frame-pointer -o pl_config pl_config.c pl_config.c:1: error: CPU you selected does not support x86-64 instruction set pl_config.c:1: error: CPU you selected does not support x86-64 instruction set make[1]: *** [pl_config] Error 1 make: *** [all] Error 2
Attachments
Change History
comment:1 Changed 4 years ago by macsforever2000@…
- Keywords snowleopard added; snow leopard removed
- Owner changed from macports-tickets@… to pmoura@…
- Description modified (diff)
comment:10 Changed 3 years ago by pmoura@…
The latest GNU Prolog unstable version compiles fine on Snow Leopard but you might need to run "autoconf" in the "src" directory first.
comment:12 Changed 3 years ago by ryandesign@…
Has duplicate #24963.
comment:14 Changed 2 years ago by ryandesign@…
Has duplicate #27410.
comment:15 Changed 2 years ago by jmr@…
- Keywords x86_64 added; snowleopard removed
- Summary changed from gprolog can't compile on Snow Leopard to gprolog can't compile for x86_64
Indicated this port's status in r73976.
comment:16 Changed 2 years ago by pmoura@…
See #26503.
comment:18 Changed 2 years ago by pmoura@…
Can someone please commit #28608, which updated gprolog-devel to the latest GNU Prolog development version.
Can someone close this ticket? GNU Prolog cannot be compiled for 64 bits. This is not something that can be "fixed" in a portfile.
comment:19 follow-up: ↓ 20 Changed 2 years ago by andrew.pennebaker@…
It's worth mentioning that the Mac package at http://www.gprolog.org/#download works just fine.
comment:20 in reply to: ↑ 19 Changed 2 years ago by pmoura@…
Replying to andrew.pennebaker@…:
It's worth mentioning that the Mac package at http://www.gprolog.org/#download works just fine.
I known. *I* built it. But I built in on *Leopard*, not Snow Leopard. From your original description of the problem on this ticket: "gprolog can't compile on Snow Leopard due to some compiler options". Note that you can download a binary installer that I built for the latest GNU Prolog 1.4.0 beta version from the GNU Prolog web site. This installer was built on Snow Leopard using MacPorts. GNU Prolog 1.4.0 contains the necessary support that is missing on 1.3.1. Or simply use the gprolog-devel port instead.
comment:21 Changed 2 years ago by andrew.pennebaker@…
Thanks very much for the installer.
Could that developer version become a stable version?
comment:22 Changed 2 years ago by pmoura@…
GNU Prolog 1.4.0, according to its developer, is expected to be released in the near future. When that happens, I will update the "gprolog" portfile.
comment:23 Changed 23 months ago by ryandesign@…
- Owner changed from pmoura@… to pmoura@…
- Cc ryandesign@… added
Now that gprolog has been updated to 1.4.0 in r79938, can the platform darwin 10 block be deleted? When I tried it, the port built fine for me for i386 on a 64-bit Snow Leopard machine.
comment:24 Changed 23 months ago by pmoura@…
From the GNU Prolog 1.4.0 release notes:
- fix compilation problem under Mac OS X Snow Leopard (force 32-bits mode)
Thus, it's safe to delete that block.
comment:25 Changed 23 months ago by ryandesign@…
- Status changed from new to closed
- Resolution set to fixed

