7 messages in net.java.dev.jna.usersRE: [jna-users] Problem to build jna ...
FromSent OnAttachments
Maxwell C. XandecoMay 20, 2008 5:05 am 
Timothy WallMay 20, 2008 5:33 am 
Maxwell C. XandecoMay 20, 2008 5:43 am 
Nikolas LotzMay 20, 2008 6:26 am 
Timothy WallMay 20, 2008 6:31 am 
Maxwell C. XandecoMay 20, 2008 9:56 am 
Timothy WallMay 20, 2008 7:21 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:RE: [jna-users] Problem to build jna from subversionActions...
From:Maxwell C. Xandeco (maxw@fit-tecnologia.org.br)
Date:May 20, 2008 9:56:49 am
List:net.java.dev.jna.users

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.