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


2013/4/23 1xx <itsango@gmail.com>:
2013年4月23日 2:19 Kohei Yoshida <kohei.yoshida@gmail.com>:
On Mon, Apr 22, 2013 at 1:06 PM, Isamu Mogi <dyob@lunaport.net> wrote:

見当違いだったら申し訳ないのですが、msmファイルを探すのに失敗しているよ
うにみえます。僕の環境(win8、64ビット日本語)だとC:\Program Files
(x86)\Common Files\Merge Modulesにあるので、もしそこに拡張子msmのファイ
ルが無いようならvc2012のredistributableファイルをインストールor再インス
トールしてみるとうまくいくかもしれません。

はい、
C:\Program Files (x86)\Common Files\Merge Modules
フォルダに*.msmファイルはあるのですが、
HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/VisualStudio/*.0/Setup/VS/MSMDir
というレジストリが見つからなくて、
./download → ./oowintoolでエラーになっているように見えます。


とりあえずgitリポジトリからのビルドを試してみるとともに、
開発環境のインストールの仕方をもう一度チェックしなおしてみたいと思います。

gitリポジトリからのビルドに挑戦していました。

--------
$ ./autogen.sh --with-ant-home=/opt/ant190 --without-junit
--disable-activex --disable-atl --with-visual-studio=2012
--enable-debug
Running ./configure with '--with-ant-home=/opt/ant190'
'--without-junit' '--disable-activex' '--disable-atl'
'--with-visual-studio=2012' '--enable-debug'
'--srcdir=/home/Mitsutoshi/src/libo'
********************************************************************
*
*   Running LibreOffice build configuration.
*
********************************************************************

checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for grep... (cached) /usr/bin/grep
checking for sed... /usr/bin/sed
checking whether build target is Release Build... no
checking whether to sign windows build... no
checking for gawk... gawk
checking for gawk... /usr/bin/gawk
checking for bash... /usr/bin/sh
checking for GNU or BSD tar... tar
checking for tar's option to strip components... --strip-components
checking for ccache... /usr/bin/ccache
configure: WARNING: ccache's cache size is less than 1GB using it is
counter-producive: Disabling auto-ccache detection
checking whether to treat the installation as read-only... no
checking whether to build a 64-bit LibreOffice... no
checking whether to use DirectX... yes
checking whether to use ActiveX... no
checking whether to use ATL... no
checking Visual C++... /cygdrive/c/PROGRA~2/MICROS~1.0/VC/
checking cl.exe... found Visual C++ 2012
(/cygdrive/c/PROGRA~2/MICROS~1.0/VC/bin/cl.exe)
checking the dependency generation prefix (cl.exe -showIncludes)...
"????: ?C???N???[?h ?t?@?C??: "
checking for a x64 compiler and libraries for 64-bit Explorer
extensions... not found
configure: WARNING: Installation set will not contain 64-bit Explorer extensions
checking whether to build with additional debug utilities... no
checking whether to do a debug build... yes
checking whether to use selective debuginfo... no, for all
checking whether to include symbols while preserve optimization... no
checking for explicit AFLAGS... no
checking for explicit CFLAGS... no
checking for explicit CXXFLAGS... no
checking for explicit OBJCFLAGS... no
checking for explicit OBJCXXFLAGS... no
checking for explicit LDFLAGS... no
checking for product version... 4.1.0.0.alpha0+
checking which package format to use... native
checking how to run the C preprocessor...
/cygdrive/c/PROGRA~2/MICROS~1.0/VC/bin/cl.exe -E
checking for ANSI C header files... no
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking syslog.h usability... no
checking syslog.h presence... no
checking for syslog.h... no
checking whether to enable crashdump feature... no
checking whether to turn warnings to errors... no
checking whether to have assert to abort in release code... no
checking whether to use linkoo for the smoketest installation... yes
checking whether to use link-time optimization... no
checking whether to enable CUPS support... no
checking whether we want to fetch tarballs... "yes, if we use them"
checking whether to build help... no
checking whether to include MySpell dictionaries... no
checking whether to use dicts from external paths... yes
checking for spelling dictionary directory... file:///usr/share/hunspell
checking for hyphenation patterns directory... file:///usr/share/hyphen
checking for thesaurus directory... file:///usr/share/mythes
checking whether to enable pch feature... no
checking for GNU make... /opt/lo/bin/make
checking the GNU make version... /opt/lo/bin/make 3.82
checking whether GNU make supports the 'file' function... no
checking for --hash-style gcc linker support ... no
checking for perl... /usr/bin/perl
checking the Perl version... checked (perl 5)
checking for required Perl modules... all modules found
checking for midl.exe... C:\Program Files (x86)\Windows
Kits\8.0\/Bin/x86/midl.exe
checking for csc.exe... C:\Windows\Microsoft.NET\Framework\v4.0.30319\/csc.exe
checking for al.exe... C:\Program Files (x86)\Microsoft
SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\/al.exe
checking .NET Framework... found
checking whether /cygdrive/c/PROGRA~2/MICROS~1.0/VC/bin/cl.exe
supports thread safe statics... unknown (assuming no)
checking whether /cygdrive/c/PROGRA~2/MICROS~1.0/VC/bin/cl.exe
supports C++11 = delete syntax... no
checking whether /cygdrive/c/PROGRA~2/MICROS~1.0/VC/bin/cl.exe
supports C++11 "override" syntax... no
checking whether /cygdrive/c/PROGRA~2/MICROS~1.0/VC/bin/cl.exe
supports C++11 "final" syntax... no
checking whether /cygdrive/c/PROGRA~2/MICROS~1.0/VC/bin/cl.exe
supports C++11 perfect forwarding... no
checking which memory allocator to use... internal
checking for posix_fallocate... no
checking whether to add custom build version... no
checking whether to build with Java support... yes
cygpath: can't convert empty path
cygpath: can't convert empty path
configure: error: Merge modules not found
Error running configure at ./autogen.sh line 206.

$ echo $?
1
--------

Merge modules not foundで./configureを検索してみると

--------
find_msms()
{
    for ver in 9.0 10.0 11.0; do
        reg_get_value HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/VisualStudio/$ver/Se
tup/VS/MSMDir
        if test -n "$regvalue"; then
            if test -e "$regvalue/Microsoft_VC${VCVER}_CRT_x86.msm"; then
                msmdir=$regvalue
                break
            fi
        fi
    done
    msmdir=`cygpath -d "$msmdir"`
    msmdir=`cygpath -u "$msmdir"`
    if test -z "$msmdir"; then
        as_fn_error $? "Merge modules not found" "$LINENO" 5
    fi
--------
と、やはりレジストリ
KEY_LOCAL_MACHINE/SOFTWARE/Microsoft/VisualStudio/$ver/Setup/VS/MSMDir
が無いが故にエラーが出ているように見えます。

開発環境の作り方をもう一度チェックしてみたいと思います。

ありがとうございました。


--
1xx <ItSANgo@gmail.com> <https://twitter.com/ItSANgo>
<http://d.hatena.ne.jp/Itisango/>

-- 
Unsubscribe instructions: E-mail to discuss+help@ja.libreoffice.org
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/ja/discuss/
All messages sent to this list will be publicly archived and cannot be deleted

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.