This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: configure error: cannot find install-sh or install.sh in ../.. "../../winsup/cygwin"/../..


Problems love me,

getting some make issues now when i run make in the build directory.

/usr/include/sys/select.h:78: error: conflicting types for 'fd_set'
/home/rmcleod/cygwin/winsup/w32api/lib/../include/winsock2.h:64 note:
previous declaration of 'fd_set' was here
/usr/include/sys/select.h:109: error: conflicting types for 'select'
/home/rmcleod/cygwin/winsup/w32api/lib/../include/winsock2.h632: note:
previous declaration of 'select' was here

I am doing this process on Ubuntu, as i believe thats how im supposed
to cross compile something for cygwin; do it from linux.

Thanks,

Ryan

On Mon, Jul 19, 2010 at 12:50 PM, Ryan McLeod <r.mcleod20@gmail.com> wrote:
> Thanks Dave,
>
> In case anyone else has the issue, here's what i did:
>
> Paths were /home/rmcleod/cygwin/winsup and /home/rmcleod/cygwin/build.
> Copy an install-sh, config.guess and config.sub into
> /home/rmcleod/cygwin. cd to build. Run:
> /home/rmcleod/cygwin/winsup/configure \
> --prefix=/myprefix/xelerance/cross/win2k --target=i686-pc-cygwin
> --without-headers ?--with-newlib \
> --disable-shared ?--enable-languages=c,c++
>
> On Mon, Jul 19, 2010 at 12:53 PM, Dave Korn <dave.korn.cygwin@gmail.com> wrote:
>> On 19/07/2010 16:29, Ryan McLeod wrote:
>>> I get the above error when I am trying to cross-compile openswan for
>>> cygwin as laid out here:
>>> http://www.cygwin.com/ml/cygwin/2005-08/msg00175.html
>>>
>>> The only thing i do differently is:
>>>
>>> ../../winsup/configure --prefix=/myprefix/cross
>>> --target=i686-pc-cygwin --without-headers \
>>>
>>> --with-newlib --disable-shared --enable-languages=c,c++
>>>
>>> changes to:
>>>
>>> ../winsup/configure --prefix=/myprefix/xelerance/cross/win2k
>>> --target=i686-pc-cygwin --without-headers \
>>>
>>> --with-newlib --disable-shared --enable-languages=c,c++
>>>
>>> The prefix change is mentioned as that in the openswan documents, but
>>> considering i only go up one directory from winsup
>>> and into a build directory from there, not sure why he specified
>>> ../../winsup. I did have to copy install-sh, config.guess and
>>
>> ?It's bad advice. ?Use an absolute path to configure, and be sure to build in
>> a directory that is parallel to (rather than a subdir of) the source tree.
>>
>>> ../../winsup. I did have to copy install-sh, config.guess and
>>> config.sub into the winsup directory, as i was getting configure
>>> errors then with the install-sh.
>>
>> ?That shouldn't be necessary either. ?The top-level copies should be the only
>> ones.
>>
>> ? ?cheers,
>> ? ? ?DaveK
>>
>> --
>> Problem reports: ? ? ? http://cygwin.com/problems.html
>> FAQ: ? ? ? ? ? ? ? ? ? http://cygwin.com/faq/
>> Documentation: ? ? ? ? http://cygwin.com/docs.html
>> Unsubscribe info: ? ? ?http://cygwin.com/ml/#unsubscribe-simple
>>
>>
>

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]