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


There is a real sucky problem that will especially affect new Windows libreoffice developers, namely *real* early there is a big fat build failure. I came across this as I completely started from scratch creating a build environment [*] ( as I managed to bork my windows xp installation ) Attached is a patch, probably there is a better way to do this but I don't really have a clue about autoconf/configure type stuff and this fix was the easiest for me. It would be great to get this into 3.5 branch and this is what we specifically point windows people to ( on the list and irc anyway ). Note: I didn't attach the generated ( but still under git ) configure a my autoconf is 1.68 and the previous version used to produce configure was 1.62. I guess it's not so bad I shouldn't push to master anyway right?

Noel

[*] btw this was a great opportunity to check out the instructions at http://wiki.documentfoundation.org/Development/Windows_Build_Dependencies which I found to be spot on. Ok I have some experience building libreoffice on windows and I used the non-free compiler but really I found those instructions quite good and accurate
diff --git a/dmake/configure.in b/dmake/configure.in
index c196413..d82c889 100755
--- a/dmake/configure.in
+++ b/dmake/configure.in
@@ -189,7 +189,7 @@ dnl Initialize libtool
 dnl Checks for header files.
 AC_HEADER_DIRENT
 AC_HEADER_STDC
-AC_CHECK_HEADERS(fcntl.h limits.h strings.h sys/types.h sys/stat.h unistd.h errno.h utime.h 
spawn.h wait.h sys/wait.h sys/time.h)
+AC_CHECK_HEADERS(fcntl.h limits.h strings.h sys/types.h sys/stat.h unistd.h errno.h utime.h 
spawn.h wait.h sys/wait.h sys/time.h cygwin/process.h)
 
 dnl Checks for typedefs, structures, and compiler characteristics.
 AC_C_CONST
diff --git a/dmake/unix/runargv.c b/dmake/unix/runargv.c
index 4e87862..bd961a7 100644
--- a/dmake/unix/runargv.c
+++ b/dmake/unix/runargv.c
@@ -125,6 +125,9 @@ _finished_child(pid, status) [unix/runargv] handles the finished child. If
 #endif
 
 #if __CYGWIN__ && ENABLE_SPAWN
+#if HAVE_CYGWIN_PROCESS_H
+#  include <cygwin/process.h>
+#else
 #  include <process.h>
 #endif
 

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.