Re: [eclipse-clp-users] Compiler error building ECLiPSe 6.111 from sources on MacOS X 10.7 (64 bits)

From: Kish Shen <kisshen_at_cisco.com>
Date: Tue, 01 May 2012 03:59:20 +0100
Hi Paulo,

Are you compiling ECLiPSe with bignum support (you need GNU GMP or MPIR 
for bignums)? If you are not, I think this is the root cause of your 
problem, but I don't quite understand why you are getting an integer 
overflow error with -2^31, particularly on a 64 bit platform.

I have not compiled ECLiPSe with MacOS X 10.7 -- I have 10.6 on my 
machine, and I don't think I have compiled ECLiPSe on the Mac without 
bignum support. Have you ever compiled from source on 10.6, and have you 
seen this problem there? Are you compiling ECLiPSe 6.1?

Cheers,

Kish

On 30/04/2012 17:33, Paulo Moura wrote:
>
> Hi,
>
> I get a compiler error building ECLiPSe 6.111 from sources on MacOS X 10.7 (64 bits):
>
> $ export ARCH=x86_64_macosx
> $ export ECLIPSETHIRDPARTY=/opt/local
> $ ./configure
> ...
> $ make -f Makefile.$ARCH
> ...
> /bin/cp ../lib/suspend.pl ../../lib/suspend.pl
> ./sepia -D .. -e "compile(\"../lib/constraint_pools.ecl\",\
> 		[debug:off,srcroot:\"../..\",outdir:\"../../lib\",output:eco])"
> integer overflow in ^(-2, 31, _148863)
> abort
> make[1]: *** [../../lib/constraint_pools.eco] Error 2
> make[1]: *** Deleting file `../../lib/constraint_pools.eco'
> make: *** [make_kernel] Error 2
>
> Any hints on how to solve the issue are most appreciated.
>
> Cheers,
>
> Paulo
>
>
> -----------------------------------------------------------------
> Paulo Jorge Lopes de Moura, PhD
> Assistant Professor
> Dep. of Computer Science, University of Beira Interior
> 6201-001 Covilhã, Portugal
>
> Office 3.18  Ext. 3276
> Phone: +351 275 242081 Fax: +351 275 319899
> Email:<mailto:pmoura_at_di.ubi.pt>
>
> Home page:<http://www.di.ubi.pt/~pmoura>
> Research:<http://logtalk.org/>  Blog:<http://blog.logtalk.org/>
> -----------------------------------------------------------------
>
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> ECLiPSe-CLP-Users mailing list
> ECLiPSe-CLP-Users_at_lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/eclipse-clp-users


-- 
This e-mail may contain confidential and privileged material for the
sole use of the intended recipient. Any review, use, distribution or
disclosure by others is strictly prohibited. If you are not the intended
recipient (or authorized to receive for the recipient), please contact
the sender by reply e-mail and delete all copies of this message.
Cisco Systems Limited (Company Number: 02558939), is registered in
England and Wales with its registered office at 1 Callaghan Square,
Cardiff, South Glamorgan CF10 5BT.
Received on Tue May 01 2012 - 02:59:29 CEST

This archive was generated by hypermail 2.2.0 : Wed May 02 2012 - 06:15:18 CEST