[Chicken-users] libffi and cmake on gnu/linux again

2007-07-13 Thread Sunnan
I haven't compiled chicken for a while, but now I'm trying to compile 
darcs head.

The first step is to run

ccmake .

, right? Well, it says that it can't compile the libffi test. I don't 
know where to go from there or troubleshoot this further; I've got these 
files:



/.
/usr
/usr/share
/usr/share/doc
/usr/include
/usr/include/ffi.h
/usr/include/ffitarget.h
/usr/lib
/usr/lib/libffi.a
/usr/lib/libffi.la
/usr/lib/libffi_pic.a
/usr/lib64
/usr/lib64/libffi.a
/usr/lib64/libffi.la
/usr/lib64/libffi_pic.a
/usr/share/doc/libffi4-dev
/usr/lib/libffi.so
/usr/lib64/libffi.so

Sunnan


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] libffi and cmake on gnu/linux again

2007-07-13 Thread Brandon Van Every

On 7/13/07, felix winkelmann <[EMAIL PROTECTED]> wrote:

Hi!

Try passing -DWITHOUT_LIBFFI=TRUE to ccmake (or cmake).
I don't know why this fails.


It fails on MinGW also, but I assumed that was because it wasn't
supported on MinGW.  Is it supposed to work?


Cheers,
Brandon Van Every


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] libffi and cmake on gnu/linux again

2007-07-13 Thread felix winkelmann

Hi!

Try passing -DWITHOUT_LIBFFI=TRUE to ccmake (or cmake).
I don't know why this fails.


cheers,
felix



On 7/13/07, Sunnan <[EMAIL PROTECTED]> wrote:

I haven't compiled chicken for a while, but now I'm trying to compile
darcs head.
The first step is to run

ccmake .

, right? Well, it says that it can't compile the libffi test. I don't
know where to go from there or troubleshoot this further; I've got these
files:


/.
/usr
/usr/share
/usr/share/doc
/usr/include
/usr/include/ffi.h
/usr/include/ffitarget.h
/usr/lib
/usr/lib/libffi.a
/usr/lib/libffi.la
/usr/lib/libffi_pic.a
/usr/lib64
/usr/lib64/libffi.a
/usr/lib64/libffi.la
/usr/lib64/libffi_pic.a
/usr/share/doc/libffi4-dev
/usr/lib/libffi.so
/usr/lib64/libffi.so

Sunnan


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users




___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] libffi and cmake on gnu/linux again

2007-07-13 Thread felix winkelmann

BTW, in ccmake you can simply press "e" and continue. It should still
be able to generate a makefile.


cheers,
felix


On 7/13/07, Sunnan <[EMAIL PROTECTED]> wrote:

I haven't compiled chicken for a while, but now I'm trying to compile
darcs head.
The first step is to run

ccmake .

, right? Well, it says that it can't compile the libffi test. I don't
know where to go from there or troubleshoot this further; I've got these
files:


/.
/usr
/usr/share
/usr/share/doc
/usr/include
/usr/include/ffi.h
/usr/include/ffitarget.h
/usr/lib
/usr/lib/libffi.a
/usr/lib/libffi.la
/usr/lib/libffi_pic.a
/usr/lib64
/usr/lib64/libffi.a
/usr/lib64/libffi.la
/usr/lib64/libffi_pic.a
/usr/share/doc/libffi4-dev
/usr/lib/libffi.so
/usr/lib64/libffi.so

Sunnan


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users




___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] libffi and cmake on gnu/linux again

2007-07-13 Thread Kon Lovett


On Jul 13, 2007, at 7:31 AM, Brandon Van Every wrote:


On 7/13/07, felix winkelmann <[EMAIL PROTECTED]> wrote:

Hi!

Try passing -DWITHOUT_LIBFFI=TRUE to ccmake (or cmake).
I don't know why this fails.


It fails on MinGW also, but I assumed that was because it wasn't
supported on MinGW.  Is it supposed to work?


Not sure if you mean the test or the use of libffi. It used to work  
for me, although I had to set the CMAKE_*_FLAGS variables since it  
wouldn't find the include or lib files in 'local'. Now even that  
doesn't do it for me. (& the stack direction test still fails to  
build for me - at least I can patch the CMakeLists file to get around  
this.)


Best Wishes,
Kon




Cheers,
Brandon Van Every


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users




___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] libffi and cmake on gnu/linux again

2007-07-16 Thread Sunnan

felix winkelmann wrote:

BTW, in ccmake you can simply press "e" and continue. It should still
be able to generate a makefile.


OK. I was concerned that that would build a version of chicken without 
libffi support.


Sunnan



___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] libffi and cmake on gnu/linux again

2007-07-16 Thread felix winkelmann

On 7/16/07, Sunnan <[EMAIL PROTECTED]> wrote:

felix winkelmann wrote:
> BTW, in ccmake you can simply press "e" and continue. It should still
> be able to generate a makefile.

OK. I was concerned that that would build a version of chicken without
libffi support.


It would. I was trying to say that the error shown my ccmake is not
fatal - chicken
can still be built. But libffi support will not be compiled in.

It should be possible to modify the compiler- and linker flags in ccmake
to use libffi.


cheers,
felix


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] libffi and cmake on gnu/linux again

2007-07-16 Thread Sunnan

felix winkelmann wrote:


It should be possible to modify the compiler- and linker flags in ccmake
to use libffi.

Thanks.


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users