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)

build.log (609 bytes) - added by mellon85@… 15 years ago.

Download all attachments as: .zip

Change History (26)

Changed 15 years ago by mellon85@…

Attachment: build.log added

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

Cc Me!

comment:3 Changed 15 years ago by dcestari@…

Cc: dcestari@… added

Cc Me!

comment:4 Changed 15 years ago by dominick.saputo@…

Cc: dominick.saputo@… added

Cc Me!

comment:5 Changed 15 years ago by marcos.ramos@…

Cc: marcos.ramos@… added

Cc Me!

comment:6 Changed 15 years ago by wholzing@…

Cc: wholzing@… added

Cc Me!

comment:7 Changed 15 years ago by t.kunishi@…

Cc: t.kunishi@… added

Cc Me!

comment:8 Changed 14 years ago by macports@…

Cc: macports@… added

Cc Me!

comment:9 Changed 14 years ago by ifigueroap@…

Cc Me!

comment:10 Changed 14 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:11 Changed 14 years ago by simon@…

Cc: simon@… added

Cc Me!

comment:12 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Has duplicate #24963.

comment:13 Changed 13 years ago by MartinBuchmann (Martin Buchmann)

Cc: Martin.Buchmann@… added

Cc Me!

comment:14 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Has duplicate #27410.

comment:15 Changed 13 years ago by jmroot (Joshua Root)

Keywords: x86_64 added; snowleopard removed
Summary: gprolog can't compile on Snow Leopardgprolog can't compile for x86_64

Indicated this port's status in r73976.

comment:16 Changed 13 years ago by pmoura (Paulo Moura)

See #26503.

comment:17 Changed 13 years ago by blb@…

Cc: andrew.pennebaker@… added

Cc reporter of dup #29030.

comment:18 Changed 13 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 Changed 13 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 in reply to:  19 Changed 13 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 13 years ago by mcandre (Andrew Pennebaker)

Thanks very much for the installer.

Could that developer version become a stable version?

comment:22 Changed 13 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: newclosed
Note: See TracTickets for help on using tickets.