[api-dev] Re: Error building OOo (mozilla) on Windows
On 08/03/2011 20:10, Knut Olav Bøhmer wrote: By build now stoped in at instsetoo_native because it did not understant TEMP=C:\tmp Easy fix, but, the building procedure on Windows is really unstable.. indeed, there are too many temp dir variables, and too many path notations to choose from. -- ENOSIG -- - To unsubscribe send email to dev-unsubscr...@api.openoffice.org For additional commands send email to sy...@api.openoffice.org with Subject: help
[api-dev] Re: Error building OOo (mozilla) on Windows
Hi, This happend because TEMP environment variable was missing. 2011/3/5 Knut Olav Bøhmer boh...@gmail.com Hi, What is happening here? Why is bash not able to access /tmp Why is there noe make target at the end? Building OpenOffice.org 3.2.1 on Windows XP $ pwd /cygdrive/f/OOO320/nss $echo $TMPDIR /cygdrive/f/tmp/ $ rm -Rf wntmsci12.pro/ $ dmake mkout -- version: 1.8 dmake: Executing shell macro: cygpath -p $(MOZILLABUILD) - if [ -f ./wntmsci12.pro/misc/build/mozilla ] ; then mv ./ wntmsci12.pro/misc/build/mozilla ./ wntmsci12.pro/misc/build/mozilla_removeme ; fi rm -rf ./wntmsci12.pro/misc/build/mozilla_removeme cd ./wntmsci12.pro/misc/build ( gzip -d -c ../../../download/nss-3.12.6-with-nspr-4.8.4.tar.gz | tar -xf -) F:/cygwin1-7/bin/touch.exe so_unpacked_nss make writeable... cd ./wntmsci12.pro/misc/build cat ../../..//nss.patch | tr -d \015 | patch -p2 F:/cygwin1-7/bin/touch.exe so_patched_nss patching file `mozilla/nsprpub/config/rules.mk' patching file `mozilla/nsprpub/configure' patching file `mozilla/security/coreconf/Darwin.mk' patching file `mozilla/security/coreconf/Linux.mk' patching file `mozilla/security/coreconf/SunOS5.mk' patching file `mozilla/security/coreconf/arch.mk' patching file `mozilla/security/coreconf/rules.mk' patching file `mozilla/security/nss/cmd/platlibs.mk' F:/cygwin1-7/bin/touch.exe ./wntmsci12.pro/misc/build/so_configured_nss mkdir.exe ./wntmsci12.pro/misc/build/mozilla/ /usr/bin/mkdir: cannot create directory `./ wntmsci12.pro/misc/build/mozilla/': File exists cd ./wntmsci12.pro/misc/build/mozilla/ /cygdrive/f/mozilla-build/msys/bin/bash -i-c cd F:/OOO320/nss/./ wntmsci12.pro/misc/build/mozilla/security/nss make nss_build_all F:/cygwin1-7/bin/touch.exe F:/OOO320/nss/./ wntmsci12.pro/misc/build/so_built_nss bash.exe: warning: could not find /tmp, please create! bash.exe: warning: could not find /tmp, please create! bash.exe: warning: could not find /tmp, please create! bash.exe: warning: could not find /tmp, please create! cd ../coreconf ; make bash.exe: warning: could not find /tmp, please create! bash.exe: warning: could not find /tmp, please create! bash.exe: warning: could not find /tmp, please create! make[1]: Entering directory `/f/OOO320/nss/ wntmsci12.pro/misc/build/mozilla/security/coreconf' bash.exe: warning: could not find /tmp, please create! cd nsinstall; make export bash.exe: warning: could not find /tmp, please create! bash.exe: warning: could not find /tmp, please create! make[2]: Entering directory `/f/OOO320/nss/ wntmsci12.pro/misc/build/mozilla/security/coreconf/nsinstall' make[2]: Nothing to be done for `export'. make[2]: Leaving directory `/f/OOO320/nss/ wntmsci12.pro/misc/build/mozilla/security/coreconf/nsinstall' bash.exe: warning: could not find /tmp, please create! cd nsinstall; make libs bash.exe: warning: could not find /tmp, please create! bash.exe: warning: could not find /tmp, please create! make[2]: Entering directory `/f/OOO320/nss/ wntmsci12.pro/misc/build/mozilla/security/coreconf/nsinstall' make[2]: Nothing to be done for `libs'. make[2]: Leaving directory `/f/OOO320/nss/ wntmsci12.pro/misc/build/mozilla/security/coreconf/nsinstall' make[1]: Leaving directory `/f/OOO320/nss/ wntmsci12.pro/misc/build/mozilla/security/coreconf' nsinstall -D ../../nsprpub/out cd ../../nsprpub/out ; \ sh ../configure \ --disable-debug --enable-optimize --enable-win32-target=WIN95 \ --with-dist-prefix='$(topsrcdir)/../dist/out' \ --with-dist-includedir='$(topsrcdir)/../dist/out/include' bash.exe: warning: could not find /tmp, please create! bash.exe: warning: could not find /tmp, please create! creating cache ./config.cache checking host system type... bash.exe: warning: could not find /tmp, please create! bash.exe: warning: could not find /tmp, please create! i686-pc-mingw32 checking target system type... bash.exe: warning: could not find /tmp, please create! i686-pc-mingw32 checking build system type... bash.exe: warning: could not find /tmp, please create! i686-pc-mingw32 checking for cl... cl ../configure: cannot create temp file for here document: No such file or directory ../configure: cannot create temp file for here document: No such file or directory ../configure: cannot create temp file for here document: No such file or directory bash.exe: warning: could not find /tmp, please create! bash.exe: warning: could not find /tmp, please create! ../configure: cannot create temp file for here document: No such file or directory ../configure: cannot create temp file for here document: No such file or directory ../configure: cannot create temp file for here document: No such file or directory ../configure: cannot create temp file for here document: No such file or directory updating cache ./config.cache ../configure: cannot create temp file for here document: No such file or directory creating ./config.status
[api-dev] Re: Error building OOo (mozilla) on Windows
On 05/03/2011 16:27, Knut Olav Bøhmer wrote: Hi, What is happening here? Why is bash not able to access /tmp Why is there noe make target at the end? Building OpenOffice.org 3.2.1 on Windows XP cd ./wntmsci12.pro/misc/build/mozilla/ http://wntmsci12.pro/misc/build/mozilla/ /cygdrive/f/mozilla-build/msys/bin/bash -i-c cd what is executed here is not cygwin bash, but msys bash, which is AFAIK a native win32 program that cannot understand cygwin paths such as /tmp. F:/OOO320/nss/./wntmsci12.pro/misc/build/mozilla/security/nss http://wntmsci12.pro/misc/build/mozilla/security/nss make nss_build_all F:/cygwin1-7/bin/touch.exe F:/OOO320/nss/./wntmsci12.pro/misc/build/so_built_nss http://wntmsci12.pro/misc/build/so_built_nss bash.exe: warning: could not find /tmp, please create! bash.exe: warning: could not find /tmp, please create! bash.exe: warning: could not find /tmp, please create! bash.exe: warning: could not find /tmp, please create! bash.exe: warning: could not find /tmp, please create! cd ../../nsprpub/out ; make bash.exe: warning: could not find /tmp, please create! make[1]: Entering directory `/f/OOO320/nss/wntmsci12.pro/misc/build/mozilla/nsprpub/out http://wntmsci12.pro/misc/build/mozilla/nsprpub/out' make[1]: *** No targets specified and no makefile found. Stop. make[1]: Leaving directory no idea what is going wrong here; perhaps a consequence of all the previous errors? because i don't build on windows if i can at all avoid it, i don't really have a good idea what may cause this. perhaps you have some variable like TMPDIR, TEMP or TMP pointing to /tmp? try setting these to some mixed-notation value e.g. f:/cygwin/tmp, see if that helps... [btw, the general dev@ooo list is a better place to ask about build problems than the API list.] -- It's very hard to review carefully this kind of boilerplate code. Because it's really, really dull. You basically can't pay people enough to carefully review dull code. We've tried. It does not work. There's some kind of very strong mental habit that causes people to just kind of gloss over the repeated bits. [...] So avoiding boilerplate is key, and ML is very good at that. -- Yaron Minsky -- - To unsubscribe send email to dev-unsubscr...@api.openoffice.org For additional commands send email to sy...@api.openoffice.org with Subject: help
[api-dev] Re: Error building OOo (mozilla) on Windows
On 7 March 2011 13:18, Michael Stahl michael.x.st...@oracle.com wrote: On 05/03/2011 16:27, Knut Olav Bøhmer wrote: Hi, What is happening here? Why is bash not able to access /tmp Why is there noe make target at the end? Building OpenOffice.org 3.2.1 on Windows XP cd ./wntmsci12.pro/misc/build/mozilla/ http://wntmsci12.pro/misc/build/mozilla/ /cygdrive/f/mozilla-build/msys/bin/bash -i-c cd what is executed here is not cygwin bash, but msys bash, which is AFAIK a native win32 program that cannot understand cygwin paths such as /tmp. By build now stoped in at instsetoo_native because it did not understant TEMP=C:\tmp Easy fix, but, the building procedure on Windows is really unstable.. F:/OOO320/nss/./wntmsci12.pro/misc/build/mozilla/security/nss http://wntmsci12.pro/misc/build/mozilla/security/nss make nss_build_all F:/cygwin1-7/bin/touch.exe F:/OOO320/nss/./wntmsci12.pro/misc/build/so_built_nss http://wntmsci12.pro/misc/build/so_built_nss bash.exe: warning: could not find /tmp, please create! bash.exe: warning: could not find /tmp, please create! bash.exe: warning: could not find /tmp, please create! bash.exe: warning: could not find /tmp, please create! bash.exe: warning: could not find /tmp, please create! cd ../../nsprpub/out ; make bash.exe: warning: could not find /tmp, please create! make[1]: Entering directory `/f/OOO320/nss/wntmsci12.pro/misc/build/mozilla/nsprpub/out http://wntmsci12.pro/misc/build/mozilla/nsprpub/out' make[1]: *** No targets specified and no makefile found. Stop. make[1]: Leaving directory no idea what is going wrong here; perhaps a consequence of all the previous errors? because i don't build on windows if i can at all avoid it, i don't really have a good idea what may cause this. perhaps you have some variable like TMPDIR, TEMP or TMP pointing to /tmp? try setting these to some mixed-notation value e.g. f:/cygwin/tmp, see if that helps... [btw, the general dev@ooo list is a better place to ask about build problems than the API list.] -- It's very hard to review carefully this kind of boilerplate code. Because it's really, really dull. You basically can't pay people enough to carefully review dull code. We've tried. It does not work. There's some kind of very strong mental habit that causes people to just kind of gloss over the repeated bits. [...] So avoiding boilerplate is key, and ML is very good at that. -- Yaron Minsky -- - To unsubscribe send email to dev-unsubscr...@api.openoffice.org For additional commands send email to sy...@api.openoffice.org with Subject: help -- Knut Olav Bøhmer -- - To unsubscribe send email to dev-unsubscr...@api.openoffice.org For additional commands send email to sy...@api.openoffice.org with Subject: help