Opened 14 years ago

Closed 14 years ago

#24963 closed defect (duplicate)

gprolog tries to compile for a 486.

Reported by: stevenshack@… Owned by: pmoura@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: marco.comini@…
Port: gprolog

Description (last modified by mf2k (Frank Schima))

When I try to install gprolog with "port install gprolog" it tries to compile for a 486.

--->  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)

Portfile (1.9 KB) - added by pmoura (Paulo Moura) 14 years ago.
Portfile for the latest beta of GNU Prolog 1.4.0

Download all attachments as: .zip

Change History (9)

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: gprolog removed
Owner: changed from macports-tickets@… to pmoura@…

comment:2 Changed 14 years ago by pmoura (Paulo Moura)

The latest unstable versions of GNU Prolog compile fine on Intel Macs.

comment:3 Changed 14 years ago by stevenshack@…

That's a non-starter. Is the problem just a makefile configured to compile for 486 that could be fixed or is there something deeper stopping it from building?

comment:4 Changed 14 years ago by pmoura (Paulo Moura)

The release notes for GNU Prolog 1.3.2 (beta) contain the following entry:

  • fix compilation problem under Mac OS X Snow Leopard (force 32-bits mode)

For more details you will need to contact the GNU Prolog developer, Daniel Diaz.

comment:5 Changed 14 years ago by stevenshack@…

Okay, then it's a gprolog defect then. Now I know I can wait. Thank you.

comment:6 Changed 14 years ago by marco.comini@…

Cc: marco.comini@… added

Cc Me!

Changed 14 years ago by pmoura (Paulo Moura)

Attachment: Portfile added

Portfile for the latest beta of GNU Prolog 1.4.0

comment:7 Changed 14 years ago by pmoura (Paulo Moura)

The portfile above seems to work fine. Just build a binary installer of GNU Prolog 1.4.0 using it. I run Logtalk's unit tests with it. No problem detected. But please let me know if you find any issue.

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

Resolution: duplicate
Status: newclosed

That's the Portfile from #26503.

This ticket is a duplicate of #21172.

Note: See TracTickets for help on using tickets.