There are some code deliveries into Symphony's trunk since I made a build
test on **r1351216**. There are also several changes on AOO340's branch
(for example, ext_source/commons-codec, ext_library/hunspell).

So I tried to make a new full build with Symphony's source code
**r1377558** on Windows XP. Here are the steps.

1. check out code from "
https://svn.apache.org/repos/asf/incubator/ooo/symphony/trunk/";.
   the dirs/files under "$SRC_ROOT" are
      .svn
      ext_libraries
      ext_sources
      extras
      help
      l10n
      main
      README

   There are no visible targs for "ext_libraries" and "ext_source" on web
site. But there definitly are links to other places.
   So we can get the all the source code packages by checking out from svn
url above.


2. download icu package from "
http://download.icu-project.org/files/icu4c/4.8.1/icu4c-4_8_1-src.tgz";,
   change the name to
"af36f635271a239d76d038d6cf8da8df-icu4c-4_8_1-src.tgz",
   put it into "$SRC_ROOT/ext_sources"

   download commons codec package from "
http://archive.apache.org/dist/commons/codec/source/commons-codec-1.6-src.tar.gz
",
   rename to "2e482c7567908d334785ce7d69ddfff7-commons-codec-1.6-src.tar.gz"
   put it into "$SRC_ROOT/ext_sources"

   remove dir "$SRC_ROOT/main/hunspell" (the conflict between
"main/hunspell" and "ext_source/hunspell")
   @pfg, could you please have a look at this issue? Thanks!


3. download the 3rd-party packages, put them into the right places
   here is the table for details :
      file name                                    location

------------------------------------------------------------------------
      dbghelp.dll                                  (main/external/dbghelp)
      gdiplus.dll                                  (main/external/gdiplus)
      vcredist_x64.exe                             (main/external/vcredist)
      vcredist_x86.exe                             (main/external/vcredist)
      msvcp80.dll                                  (main/external/msvcp80)
      msvcr80.dll                                  (main/external/msvcp80)
      Microsoft_VC90_CRT_x86.msm                   (main/external/msm90)
      Microsoft_VC90_DebugCRT_x86.msm              (main/external/msm90)
      policy_9_0_Microsoft_VC90_CRT_x86.msm        (main/external/msm90)
      policy_9_0_Microsoft_VC90_DebugCRT_x86.msm   (main/external/msm90)
      WNTMSCIruntime.zip                           (main/moz/zipped)
      WNTMSCIinc.zip                               (main/moz/zipped)
      WNTMSCIlib.zip                               (main/moz/zipped)


4. please check the tools for build
           tool name                           location

----------------------------------------------------------------------
           Cygwin                              C:\dev.tools\cygwin_2.573
           MS Visual Studio                    /cygdrive/c/dev.tools/vc.2008
           MS SDK
/cygdrive/c/dev.tools/MSSDK_v6.1
           MS.net framework
/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v3.5
           Java Development Kit                /cygdrive/c/dev.tools/jdk_1.6
           Ant
/cygdrive/c/dev.tools/apache-ant-1.7.0
           DirectX                             /cygdrive/c/dev.tools/directx
           NSIS                                /cygdrive/c/dev.tools/NSIS
           Mozilla Build Tool
/cygdrive/c/dev.tools/mozilla-build


5. run the following command to configure/build
      cd $SRC_ROOT/main
      autoconf
      ./configure \
           --with-cl-home="/cygdrive/c/dev.tools/vc.2008/VC" \
           --with-mspdb-path="/cygdrive/c/dev.tools/vc.2008/Common7/IDE" \
           --with-asm-home="/cygdrive/c/dev.tools/vc.2008/VC/bin" \
           --with-frame-home="/cygdrive/c/dev.tools/MSSDK_v6.1" \
           --with-psdk-home="/cygdrive/c/dev.tools/MSSDK_v6.1" \
           --with-midl-path="/cygdrive/c/dev.tools/MSSDK_v6.1/Bin" \

--with-csc-path="/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v3.5" \
           --with-jdk-home="/cygdrive/c/dev.tools/jdk_1.6" \
           --with-ant-home="/cygdrive/c/dev.tools/apache-ant-1.7.0" \
           --with-directx-home="/cygdrive/c/dev.tools/directx" \
           --with-nsis-path="/cygdrive/c/dev.tools/NSIS" \
           --with-dmake-url="
http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.1.tar.bz2"; \
           --with-epm-url="
http://ftp.easysw.com/pub/epm/3.7/epm-3.7-source.tar.gz"; \
           --with-mozilla-build="/cygdrive/c/dev.tools/mozilla-build" \
           --with-use-shell=bash \
           --without-junit \
           --disable-build-mozilla \
           --disable-odk \
           --enable-category-b \
           --enable-bundled-dictionaries
      ./bootstrap
      source winenv.set.sh
      cd instsetoo_native/
      build --all -P4


Please follow the instructions in the build guide strictly. Please do not
use any other switcher in confugre.

It seems like that the build process is OK. I will update the result when
it is finished.

Reply via email to