Could not determine MSC version (Visual Studio 2017)
julien2412
serval2412 at yahoo.fr
Fri Jan 25 08:50:35 UTC 2019
sberg wrote
>>...
> From "make[2]: *** [Makefile:129: ../nspr/out/config.status] Error 1"
> it looks like this is a failure during configure of external/nss.
> workdir/UnpackedTarball/nss/nspr/out/config.log might contain a clue as
> to why it fails for you
> ...
Here's the config.log
is "--enable-win32-target=WIN95" ok ? Shouldn't we use WINNT ?
config.log
<http://document-foundation-mail-archive.969070.n3.nabble.com/file/t230433/config.log>
Here are the different locations where "Could not determine MSC version" can
be found:
workdir\UnpackedTarball\nss\nss\build.log:
checking for cl... cl
configure: error: Could not determine MSC version.
make[2]: *** [Makefile:129: ../nspr/out/config.status] Error 1
workdir\UnpackedTarball\nss\nspr\out\config.log
configure:2543: checking for cl
configure:2570: result: cl
configure:5898: cl -c conftest.c >&5
conftest.c
conftest.c(14): error C2065: '__thumb2__'ÿ: identificateur non d‚clar‚
Compilateur d'optimisation Microsoft (R) C/C++ versionÿ19.16.27026.1 pour
x64
Copyright (C) Microsoft Corporation. Tous droits r‚serv‚s.
configure:5898: $? = 2
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define DEBUG 1
| /* end confdefs.h. */
|
| int
| main ()
| {
| return sizeof(__thumb2__);
| ;
| return 0;
| }
configure:7134: error: Could not determine MSC version.
workdir\UnpackedTarball\nss\nspr\configure.orig
# Determine compiler version
_MSVC_VER_FILTER='s|.*
\([0-9]\+\.[0-9]\+\.[0-9]\+\(\.[0-9]\+\)\?\).*|\1|p'
CC_VERSION=`${CC} -v 2>&1 | sed -ne "$_MSVC_VER_FILTER"`
if test -z "$CC_VERSION"; then
as_fn_error $? "Could not determine MSC version." "$LINENO" 5
fi
workdir\UnpackedTarball\nss\nspr\configure.in.orig
# Determine compiler version
changequote(,)
_MSVC_VER_FILTER='s|.*
\([0-9]\+\.[0-9]\+\.[0-9]\+\(\.[0-9]\+\)\?\).*|\1|p'
changequote([,])
CC_VERSION=`${CC} -v 2>&1 | sed -ne "$_MSVC_VER_FILTER"`
if test -z "$CC_VERSION"; then
AC_MSG_ERROR([Could not determine MSC version.])
fi
workdir\UnpackedTarball\nss\nspr\configure.in
# Determine compiler version
changequote(,)
_MSVC_VER_FILTER='s|.*
\([0-9]\+\.[0-9]\+\.[0-9]\+\(\.[0-9]\+\)\?\).*|\1|p'
changequote([,])
CC_VERSION=`${CC} -v 2>&1 | sed -ne "$_MSVC_VER_FILTER"`
if test -z "$CC_VERSION"; then
AC_MSG_ERROR([Could not determine MSC version.])
fi
Julien
--
Sent from: http://document-foundation-mail-archive.969070.n3.nabble.com/Dev-f1639786.html
More information about the LibreOffice
mailing list