Hi:

The closest I've come to completion was under this configuration:
  Debian, 32-bit
  gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
  
The sequence of compilation was this:
  gecode-1.3.1
  seam-1.4
  alice-1.4
  alice-runtime-1.4
  alice-gecode-1.4 (** failed to compile ** )

When I ran "make" for alice-gecode-1.4, I got this error message:
====================================================================================
pkg-config --exists "gecode >= 1.3.1" --print-errors
alicetool -v compile  \
    `pkg-config --cflags gecode` -c  UnsafeGecode.cc -o UnsafeGecode.o
g++ -I. -I/usr/local/include/seam -DHAVE_LIGHTNING=1 -fno-operator-names 
-DHAVE_U_INT=1 -fPIC -ggdb -DHAVE_LOADLIBRARY=0 -DHAVE_SIGNAL=1 
-DHAVE_CONSOLECTRL=0 -DHAVE_LIBLTDL=1 -DDEB
alicetool -v compile  \
    `pkg-config --cflags gecode` -c  GecodeSpace.cc -o GecodeSpace.o
g++ -I. -I/usr/local/include/seam -DHAVE_LIGHTNING=1 -fno-operator-names 
-DHAVE_U_INT=1 -fPIC -ggdb -DHAVE_LOADLIBRARY=0 -DHAVE_SIGNAL=1 
-DHAVE_CONSOLECTRL=0 -DHAVE_LIBLTDL=1 -DDEB
alicetool -v link UnsafeGecode.o GecodeSpace.o `pkg-config --libs gecode` -o 
UnsafeGecode.dll
g++ -fPIC -Wl,-S UnsafeGecode.o GecodeSpace.o -L/usr/local/lib -lgecodekernel 
-lgecodeint -lgecodeset -o UnsafeGecode.dll /usr/local/lib/seam/alice.dll 
-L/lib -shared -L/usr/local/
make: *** No rule to make target `SPACE-sig.alc', needed by `compilealice'.  
Stop.
pkg-config --exists "gecode >= 1.3.1" --print-errors
mkdir -p -m 775 `alice-config --alicelibdir`/gecode
install -c -m555 UnsafeGecode.dll `alice-config --alicelibdir`/gecode
make: *** No rule to make target `SPACE-sig.alc', needed by `compilealice'.  
Stop.
====================================================================================

NOTE: I also tried alice-gecode-1.3 and got a different error

====================================================================================
alicetool -v compile  \
        `pkg-config --cflags gecode` -c  UnsafeGecode.cc -o UnsafeGecode.o
g++ -I. -I/usr/local/include/seam -DHAVE_LIGHTNING=1 -fno-operator-names 
-DHAVE_U_INT=1 -fPIC -ggdb -DHAVE_LOADLIBRARY=0 -DHAVE_SIGNAL=1 
-DHAVE_CONSOLECTRL=0 -DHAVE_LIBLTDL=1 -DDEBUGGER=0 -fno-rtti -DPROFILE=0 
-I/include -I/usr/local/include -I/usr/local/include -c UnsafeGecode.cc -o 
UnsafeGecode.o
UnsafeGecode.cc: In function 'Worker::Result int_lex()':
UnsafeGecode.cc:1011: error: 'lex' was not declared in this scope
make: *** [UnsafeGecode.o] Error 1
pkg-config --exists "gecode >= 1.2.1" --print-errors
alicetool -v compile  \
        `pkg-config --cflags gecode` -c  UnsafeGecode.cc -o UnsafeGecode.o
g++ -I. -I/usr/local/include/seam -DHAVE_LIGHTNING=1 -fno-operator-names 
-DHAVE_U_INT=1 -fPIC -ggdb -DHAVE_LOADLIBRARY=0 -DHAVE_SIGNAL=1 
-DHAVE_CONSOLECTRL=0 -DHAVE_LIBLTDL=1 -DDEBUGGER=0 -fno-rtti -DPROFILE=0 
-I/include -I/usr/local/include -I/usr/local/include -c UnsafeGecode.cc -o 
UnsafeGecode.o
UnsafeGecode.cc: In function 'Worker::Result int_lex()':
UnsafeGecode.cc:1011: error: 'lex' was not declared in this scope
make: *** [UnsafeGecode.o] Error 1
====================================================================================

Any ideas? (I won't mention compiling on a 64-bit machine, which generated a 
different set of error messages.)

Thanks for your time.

- Thomas

Guido Tack <[EMAIL PROTECTED]> wrote: Thomas Joad wrote:
> I've yet to make it work, though. I've used Fedora7, debian,  
> mandrake 10 (32-bit and 64-bit versions of both), and tried doing  
> alice 1.4 and alice 1.3.
>
> Error messages include (briefly):
>     for alice-gecode-1.4: UnsafeGecodeSpecial.hh:208: error: â 
> €˜BvarSel’ does not name a type

I guess your version of Gecode is too recent.  If I remember  
correctly, alice 1.4 can be compiled against Gecode 1.3.1.

>     for seam-1.4: ../store/PointerOp.hh:23: error: cast from  
> 'Block*' to 'u_int' loses precision (this was on a 32-bit machine)

Hm, that's a bit strange.  What version of gcc are you using exactly?   
I would have expected something like this on a 64 bit machine, maybe.

Cheers,
 Guido


 
       
_______________________________________________
alice-users mailing list
[email protected]
http://www.ps.uni-sb.de/mailman/listinfo/alice-users

Reply via email to