Обсуждение: Re: [PORTS] NT-Compile-Hints
Bruce Momjian schrieb: > > > I did find two pitfalls in the NT-compilation: > > > > a) in "include\config.h" "HAVE_UNION_SEMUN" should be defined > > as 1, the configure-script left it undefined. > > > > b) The cygnus-bindir has to be placed in path befor the > > NT-directories, especially the sort.exe has to be take for > > cygnus, not NT > > > > Especially b) results in an small note in the right place (unknown > > parameter for sort) and an error-stop later. > > > > Elmar > > > > > > I have added item B. Please tell me why the HAVE_UNION_SEMUN was not > set properly for NT. configure runs a test for that. Any idea why it > failed. I did install the IPC-headers to /usr/local/include/sys The check for semun does fail because of missing headers. The later compile does find the headers. Elmar
> > > Especially b) results in an small note in the right place (unknown > > > parameter for sort) and an error-stop later. > > > > > > Elmar > > > > > > > > > > I have added item B. Please tell me why the HAVE_UNION_SEMUN was not > > set properly for NT. configure runs a test for that. Any idea why it > > failed. > > I did install the IPC-headers to /usr/local/include/sys > The check for semun does fail because of missing headers. > The later compile does find the headers. OK, how is the later compile different. Do we need to add some special compile flags? Which ones? -- Bruce Momjian | http://www.op.net/~candle maillist@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
Bruce Momjian schrieb: > > > > > Especially b) results in an small note in the right place (unknown > > > > parameter for sort) and an error-stop later. > > > > > > > > Elmar > > > > > > > > > > > > > > I have added item B. Please tell me why the HAVE_UNION_SEMUN was not > > > set properly for NT. configure runs a test for that. Any idea why it > > > failed. > > > > I did install the IPC-headers to /usr/local/include/sys > > The check for semun does fail because of missing headers. > > The later compile does find the headers. > > OK, how is the later compile different. Do we need to add some special > compile flags? Which ones? In template\cygwin32 i see SRCH_INC:/usr/local/include this does explicitely add /usr/local/include to the include-path in the makefiles there is -I/usr/local/include added to the compile-commands. Elmar