Opened 15 years ago
Closed 13 years ago
#21172 closed defect (fixed)
gprolog can't compile for x86_64
Reported by: | mellon85@… | Owned by: | pmoura (Paulo Moura) |
---|---|---|---|
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@…, MartinBuchmann (Martin Buchmann), mcandre (Andrew Pennebaker), ryandesign (Ryan Carsten Schmidt) |
Port: | gprolog |
Description (last modified by mf2k (Frank Schima))
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 (1)
Change History (26)
Changed 15 years ago by mellon85@…
comment:1 Changed 15 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Keywords: | snowleopard added; snow leopard removed |
Owner: | changed from macports-tickets@… to pmoura@… |
comment:2 Changed 15 years ago by marco.comini@…
Cc: | marco.comini@… added |
---|
comment:10 Changed 15 years ago by pmoura (Paulo Moura)
The latest GNU Prolog unstable version compiles fine on Snow Leopard but you might need to run "autoconf" in the "src" directory first.
comment:13 Changed 14 years ago by MartinBuchmann (Martin Buchmann)
Cc: | Martin.Buchmann@… added |
---|
Cc Me!
comment:15 Changed 14 years ago by jmroot (Joshua Root)
Keywords: | x86_64 added; snowleopard removed |
---|---|
Summary: | gprolog can't compile on Snow Leopard → gprolog can't compile for x86_64 |
Indicated this port's status in r73976.
comment:18 Changed 14 years ago by pmoura (Paulo Moura)
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 14 years ago by mcandre (Andrew Pennebaker)
It's worth mentioning that the Mac package at http://www.gprolog.org/#download works just fine.
comment:20 Changed 14 years ago by pmoura (Paulo Moura)
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 14 years ago by mcandre (Andrew Pennebaker)
Thanks very much for the installer.
Could that developer version become a stable version?
comment:22 Changed 14 years ago by pmoura (Paulo Moura)
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 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Owner: | changed from pmoura@… to pmoura@… |
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 13 years ago by pmoura (Paulo Moura)
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 13 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Cc Me!