Fail to build on Windows 7 (32 bits)
Michael Stahl
mstahl at redhat.com
Tue Aug 18 14:41:04 PDT 2015
On 18.08.2015 20:37, julien2412 wrote:
> $ find workdir/UnpackedTarball/nss -name nspr4.lib
> workdir/UnpackedTarball/nss/nspr/out/pr/src/nspr4.lib
> build.log <http://nabble.documentfoundation.org/file/n4157616/build.log>
so the relevant difference is that your nsinstall.py command has
"libnspr4.lib" while mine has "nspr4.lib".
... the name comes from this part of the makefile
workdir/UnpackedTarball/nss/nspr/config/rules.mk:
> ifdef MSC_VER
> IMPORT_LIBRARY = $(OBJDIR)/$(LIBRARY_NAME)$(LIBRARY_VERSION).$(LIB_SUFFIX)
> else
> IMPORT_LIBRARY = $(OBJDIR)/lib$(LIBRARY_NAME)$(LIBRARY_VERSION).$(LIB_SUFFIX)
> endif
for some reason you don't have MSC_VER set - which is very unusual for a
Windows build of LO...
i wonder if this stuff from your log has something to do with it?
> make[2]:
> expr: erreur de syntaxe
> expr: erreur de syntaxe
> expr: erreur de syntaxe
> checking build system type... i686-pc-cygwin
> checking host system type... i686-pc-cygwin
> checking target system type... i686-pc-cygwin
> checking for cl... cl
> ../configure: line 7133: test: : integer expression expected
> ../configure: line 7143: test: -ge: unary operator expected
> ../configure: line 7157: test: : integer expression expected
> ../configure: line 7186: test: : integer expression expected
> ../configure: line 7228: test: : integer expression expected
> ../configure: line 7289: test: : integer expression expected
> configure: creating ./config.status
i don't get these error messages.
line 7133 of workdir/UnpackedTarball/nss/nspr/configure:
> if test "$_CC_MAJOR_VERSION" -eq "14"; then
so clearly something is going wrong in configure with the detection of MSVC.
can you patch in an echo around the CC_VERSION=`"${CC}" ... line to see
what the value of $CC and $CC_VERSION is?
did you do any changes from before when (presumably) the build worked,
or is this broken since the NSS upgrade commit
6e7991dfd8c54a833f4a9795a0d57f4690e92e6b ?
More information about the LibreOffice
mailing list