Im reinstalled the cygwin.... And now I get the error:
Buildfile: C:\java\workspace\jna\build.xml
-dynamic-properties:
[echo] Java version: 1.6.0_05, compatibility: 1.4
[echo] JNA version 3.0.3, native API version 3.0.4
-setup:
compile:
javah:
-native-api-check:
:rsrc:
rsrc:
native:
[exec] Configuring libffi (x86)
[exec] configure: error: cannot find install-sh or install.sh in /..
/../..
[exec] make: *** [../build/native/libffi/.libs/libffi_convenience.a] Error
1
BUILD FAILED
C:\java\workspace\jna\build.xml:321: exec returned: 2
I think I did something wrong.......do you know about?
-----Original Message-----
From: Timothy Wall [mailto:twal...@dev.java.net]
Sent: terça-feira, 20 de maio de 2008 10:32
To: use...@jna.dev.java.net
Subject: Re: [jna-users] Problem to build jna from subversion
On May 20, 2008, at 8:44 AM, Maxwell C. Xandeco wrote:
configure:2415: checking for C compiler default output file name
configure:2418: gcc -mno-cygwin -DHAVE_PROTECTION conftest.c >&5
gcc: installation problem, cannot exec 'cc1': No such file or
directory
See if you can build a simple C program with the gcc you have installed (be sure
to include the "-mno-cygwin" option). I would guess that gcc with cygwin will
work, but mingw will not due to some error in the installation.
I've had this happen before; in my case either a bunch of tedious symlinks where
mingw expects files or a reinstall of cygwin fixes the problem.