Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hi Walter
 On Thu, 2012-02-16 at 11:42 +0100, walter wrote:
I have installed the last version of Cygwin:
[...]
Please see logs AT http://pastebin.com/u/walterLO

if gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I./unix/cygwin -I./unix
-I./unix/cygwin/gnu -I./unix/cygwin -I./unix      -g -O2 -MT
unix/runargv.o -MD -MP -MF "$depbase.Tpo" -c -o unix/runargv.o
unix/runargv.c; \
then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit
1; fi
unix/runargv.c:128:23: fatal error: process.h: No such file or directory
compilation terminated.
make[4]: *** [unix/runargv.o] Error 1
make[4]: Leaving directory `/cygdrive/c/libo/dmake'
make[3]: *** [all-recursive] Error 1

I noticed your post when I just now was searching to see if someone else had the same problem ( which I just encountered ). It seems that later versions ( no idea of what versions this relates to ) of cygwin have changed the location ( and content ) of process.h. Please try this temporary solution ( see attached patch ), it will get you over the hump at least. I will try to botch together some fix in dmake to detect and rectify this situation

Noel
diff --git a/dmake/unix/runargv.c b/dmake/unix/runargv.c
index 4e87862..9fd52c9 100644
--- a/dmake/unix/runargv.c
+++ b/dmake/unix/runargv.c
@@ -125,7 +125,7 @@ _finished_child(pid, status) [unix/runargv] handles the finished child. If
 #endif
 
 #if __CYGWIN__ && ENABLE_SPAWN
-#  include <process.h>
+#  include <cygwin/process.h>
 #endif
 
 #ifdef __EMX__

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.