/usr/bin/install problem or what is the coreutils deal?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

/usr/bin/install problem or what is the coreutils deal?

Gerrit P. Haase
Hello,

recently upgraded another box to the latest greates of all the stuff:

$ cygcheck -c coreutils
Cygwin Package Information
Package              Version        Status
coreutils            5.3.0-9        OK


$ mkdir .inst && make install DESTDIR=/j/GNUCash/g-wrap-1.9.6/.inst
Making install in libffi
make[1]: Entering directory `/j/GNUCash/g-wrap-1.9.6/libffi'
Making install in include
make[2]: Entering directory `/j/GNUCash/g-wrap-1.9.6/libffi/include'
make[3]: Entering directory `/j/GNUCash/g-wrap-1.9.6/libffi/include'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/include" || mkdir -p -- "/j/GNUCash/g-wrap-1.9.6/.inst/usr/include"
 /usr/bin/install -c -m 644 'ffi.h' '/j/GNUCash/g-wrap-1.9.6/.inst/usr/include/ffi.h'
 /usr/bin/install -c -m 644 'ffitarget.h' '/j/GNUCash/g-wrap-1.9.6/.inst/usr/include/ffitarget.h'
/usr/bin/install: cannot stat `ffitarget.h.exe': No such file or directory
make[3]: *** [install-includeHEADERS] Error 1
make[3]: Leaving directory `/j/GNUCash/g-wrap-1.9.6/libffi/include'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/j/GNUCash/g-wrap-1.9.6/libffi/include'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/j/GNUCash/g-wrap-1.9.6/libffi'
make: *** [install-recursive] Error 1


Note the hint: Nothing to be done for `install-exec-am'.
And then, the file ffi.h is installed ok, then the second file is not
found, because it is a symlink?

It is right there:

$ ls -l /j/GNUCash/g-wrap-1.9.6/libffi/include/*.h
-rw-r--r--  1 gerrit Dom?nen-Admins 9121 Nov 25 19:33 /j/GNUCash/g-wrap-1.9.6/libffi/include/ffi.h
-rw-r--r--  1 gerrit Dom?nen-Admins 2484 Mar  3  2005 /j/GNUCash/g-wrap-1.9.6/libffi/include/ffi_common.h
lrwxrwxrwx  1 gerrit Dom?nen-Admins   24 Nov 25 19:33 /j/GNUCash/g-wrap-1.9.6/libffi/include/ffitarget.h -> .././src/x86/ffitarget.h

$ ls -l /j/GNUCash/g-wrap-1.9.6/libffi/include/.././src/x86/ffitarget.h
-rw-r--r--  1 gerrit Dom?nen-Admins 2580 Sep 27  2004 /j/GNUCash/g-wrap-1.9.6/libffi/include/.././src/x86/ffitarget.h


What is the deal?


Gerrit
--
=^..^=


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply | Threaded
Open this post in threaded view
|

Re: /usr/bin/install problem or what is the coreutils deal?

Eric Blake (cygwin)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Gerrit P. Haase on 11/25/2005 12:34 PM:

> Hello,
>
> recently upgraded another box to the latest greates of all the stuff:
>
> $ cygcheck -c coreutils
> Cygwin Package Information
> Package              Version        Status
> coreutils            5.3.0-9        OK
>
>  /usr/bin/install -c -m 644 'ffitarget.h' '/j/GNUCash/g-wrap-1.9.6/.inst/usr/include/ffitarget.h'
> /usr/bin/install: cannot stat `ffitarget.h.exe': No such file or directory

I'll take a look into that; it may be that the cygwin .exe magic in
install is not doing the right thing when following symlinks, especially
since the error message includes ".exe".  Meanwhile, does the problem
still exist if you try the experimental coreutils-5.93-1? (Note, you will
have to have a recent cygwin snapshot installed to try it.)

- --
Life is short - so eat dessert first!

Eric Blake             [hidden email]
volunteer cygwin coreutils maintainer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDiwPE84KuGfSFAYARAlRqAJ4+MhLilEMx8cqpIhsdi/SwZZpa8ACfV7/o
VPyhTjbwFw2aZZUG5jAgvw8=
=Barh
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply | Threaded
Open this post in threaded view
|

Re: /usr/bin/install problem or what is the coreutils deal?

Gerrit P. Haase
Eric schrieb:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1

> According to Gerrit P. Haase on 11/25/2005 12:34 PM:
>> Hello,
>>
>> recently upgraded another box to the latest greates of all the stuff:
>>
>> $ cygcheck -c coreutils
>> Cygwin Package Information
>> Package              Version        Status
>> coreutils            5.3.0-9        OK
>>
>>  /usr/bin/install -c -m 644 'ffitarget.h'
>> '/j/GNUCash/g-wrap-1.9.6/.inst/usr/include/ffitarget.h'
>> /usr/bin/install: cannot stat `ffitarget.h.exe': No such file or directory

> I'll take a look into that; it may be that the cygwin .exe magic in
> install is not doing the right thing when following symlinks, especially
> since the error message includes ".exe".  Meanwhile, does the problem
> still exist if you try the experimental coreutils-5.93-1? (Note, you will
> have to have a recent cygwin snapshot installed to try it.)

Somehow the symlink pointed to a symlink and the target was not found.
Though the rela file was there, I have no idea what happend in detail, I
just replaced the symlinks with the real file and everything was ok.


Gerrit
--
=^..^=


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/