2013年4月20日 8:37 1xx <[email protected]>:
> 2013年4月20日 5:31 Kohei Yoshida <[email protected]>:
>> ちなみにWindowsでのビルドに関してはこのページ
>> https://wiki.documentfoundation.org/Development/BuildingOnWindows
>>https://wiki.documentfoundation.org/Development/Windows_Build_Dependencies
>> が(英語ですが)役に立ちます。このページによると2012 Expressでもビルド可能と一応書いてありますね。

> cygwinとVisualStudioとの合わせ技でbuildするイメージでしょうか?
> ちょっとチャレンジしてみます。


>https://wiki.documentfoundation.org/Development/BuildingOnWindows
>https://wiki.documentfoundation.org/Development/Windows_Build_Dependencies

を確認しながらLibreOffice 4.0.2.2のソースを
Windows 7 Ultimate 64-bit SP1に
Visual Studio 2012 Express for Desktop + cygwin 1.7.17
を入れた環境でビルドを試みているのですが、
つまづいてしまいました。

./autogen.sh --with-ant-home=/opt/ant190 --without-junit
--disable-activex --disable-atl
--with-nss-build-tools=/cygdrive/c/mozilla-build
--with-visual-studio=2012

このコマンドは正常終了したのですが、


$ /opt/lo/bin/make
/opt/lo/bin/make -r -f /home/Mitsutoshi/src/libreoffice-4.0.2.2/Makefile.top all
make[1]: Entering directory `/home/Mitsutoshi/src/libreoffice-4.0.2.2'
C:/cygwin/home/Mitsutoshi/src/libreoffice-4.0.2.2/bin/unpack-sources
C:/cygwin/home/Mitsutoshi/src/libreoffice-4.0.2.2
C:/cygwin/home/Mitsutoshi/src/libreoffice-4.0.2.2/src/libreoffice-dictionaries-4.0.2.2.tar.xz
 
C:/cygwin/home/Mitsutoshi/src/libreoffice-4.0.2.2/src/libreoffice-help-4.0.2.2.tar.xz
Unpacking libreoffice-dictionaries-4.0.2.2...
tar -xf 
C:/cygwin/home/Mitsutoshi/src/libreoffice-4.0.2.2/src/libreoffice-dictionaries-4.0.2.2.tar.xz
-C C:/cygwin/home/Mitsutoshi/src/libreoffice-4.0.2.2/src
tar: C に接続できません: 名前解決失敗
find: 
‘C:/cygwin/home/Mitsutoshi/src/libreoffice-4.0.2.2/src/libreoffice-dictionaries-4.0.2.2’:
No such file or directory
Unpacking libreoffice-help-4.0.2.2...
tar -xf 
C:/cygwin/home/Mitsutoshi/src/libreoffice-4.0.2.2/src/libreoffice-help-4.0.2.2.tar.xz
-C C:/cygwin/home/Mitsutoshi/src/libreoffice-4.0.2.2/src
tar: C に接続できません: 名前解決失敗
find: 
‘C:/cygwin/home/Mitsutoshi/src/libreoffice-4.0.2.2/src/libreoffice-help-4.0.2.2’:
No such file or directory
C:/cygwin/home/Mitsutoshi/src/libreoffice-4.0.2.2/download && touch
C:/cygwin/home/Mitsutoshi/src/libreoffice-4.0.2.2/src.downloaded
Copying /cygdrive/C/Program Files (x86)/Microsoft Visual Studio
11.0/VC/redist/x86/Microsoft.VC110.CRT/msvcp110.dll to
./external/msvcp110
Copying /cygdrive/C/Program Files (x86)/Microsoft Visual Studio
11.0/VC/redist/x86/Microsoft.VC110.CRT/msvcr110.dll to
./external/msvcp110
MSMDir not found at ./oowintool line 350.
oowintool failed to copy merge modules
make[1]: *** [C:/cygwin/home/Mitsutoshi/src/libreoffice-4.0.2.2/src.downloaded]
Error 1
make[1]: Leaving directory `/home/Mitsutoshi/src/libreoffice-4.0.2.2'
make: *** [all] Error 2

と、oowintoolがレジストリMSMDirを見つけられなくて
エラーになります。

oowintool のソースを見たのですが
HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/VisualStudio/*.0/Setup/VS/MSMDir
というレジストリが必要なようですが、
私の環境にはこの項目がありません。

見落としがあるのかもしれないと思い、

>https://wiki.documentfoundation.org/Development/BuildingOnWindows
>https://wiki.documentfoundation.org/Development/Windows_Build_Dependencies

を確認したのですが、
それらしい個所を見つけることが出来ませんでした。

この問題を解決するために何が必要なのか、何が足りないのか、
ご存知の方がいらっしゃったら、
教えていただけないでしょうか?


さっさとコンパイルして落ちている問題の個所を
特定するつもりでいたのですが、
それ以前の問題でつまづいて申し訳ない限りです。

--
1xx <[email protected]> <https://twitter.com/ItSANgo>
<http://d.hatena.ne.jp/Itisango/>

-- 
Unsubscribe instructions: E-mail to [email protected]
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

メールによる返信