Re: [eclipse-clp-users] Problem Compiling from Source

From: Kish Shen <kisshen_at_...5...>
Date: Wed, 15 Apr 2009 14:17:14 +0100
George K wrote:
> Hi All,
> I'm trying (sorry newbie) to compile Eclipse_6.0_80 from source and am
> getting the following error...
> ---
> ./sepia -D .. -e "compile(\"../lib/\",\
> 		[debug:off,srcroot:\"../..\",outdir:\"../../lib\",output:eco])"
> type error in /(1076489008, 3, _93551)
> abort
> make[1]: *** [../../lib/] Error 2
> make[1]: *** Deleting file `../../lib/'
> make[1]: Leaving directory
> `/home/george/Documents/src/Eclipse_6.0_80/Kernel/i386_linux'
> make: *** [make_kernel] Error 2
> ---
> I'm using ARCH=i386_linux on Ubuntu 8.04.  Config ends successfully.
> Same problem with all versions (inc Dev) of 6. Version 5 has (other)
> problems compiling as well. Any ideas?
> Thanks,
> George.
> ------------------------------------------------------------------------------
> This email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> _______________________________________________
> ECLiPSe-CLP-Users mailing list
Hi George,

I think the problem is that you are compiling without GMP support -- GMP 
is the GNU Mulitple Precisiion arithmetic library, a thirdparty package 
we use to support bugnums (integers larger than the machine's word 
length) and rationals (which uses bignums).

configure is supposed to detect if you want to build ECLiPSe with GMP or 
not, and it should be able to build ECLiPSe without GMP, which means 
that bugnums and rationals will not be supported. The problem is that 
compiling essentially assumes support for rational, and the 
type error you are seeing is because the division is trying to generate 
a rational, which is not supported.

I am not sure how this error has slip through, and I will patch ECLiPSe 
to fix it. To work around the problem, you can either build ECLiPSe with 
GMP support, or you can change the build process to avoid compiling -- to do this, you need to edit in Kernel/src, 
find, which is in a list for PL_ECO_LIBRARIES (this defines 
.pl files that will be compiled into eco files). Remove 
from this list, and rebuild ECLiPSe by running configure and make again.



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 Wed Apr 15 2009 - 13:17:46 CEST

This archive was generated by hypermail 2.3.0 : Sun Aug 25 2019 - 06:15:50 CEST