incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 陈京东 <chenjingd...@redoffice.com>
Subject [WINDOWS-BUILD] Can't successfully build the module of comphelper!
Date Thu, 15 Sep 2011 05:33:01 GMT
Hi all,

I'm building svn source code of AOOo since last week, but encountered a serious issue, which
others maybe had not come across, I had tried many ways, e.g. in configure file, changed --with-lang="zh-CN"
to --with-lang="en-US", but no any progress. Therefore, what can I do now is only to send
an email for others' help. Who could tell me why?  I'm looking forward to your suggestions,
thanks in advance!

The following is my procedure description on how to build AOOo(To help reproducing this issue):

== prep ==

Fresh installation of Microsoft Windows XP Professional version 2002 Service Pack 2 on x86,
1 GB RAM, 160 GB HD

Installed all patches, and relevant tools according to the build guide, including cygwin.
     [Guide URL] http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide

== getting the code ==

Didn't like before, to get source code, I have not referred to that instructions from web
link:
     [URL] http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide/Getting_the_source

I directly used Tortoise Svn to check out source code from Svn repository, and made the following
directory structure:
         +---ApacheOOo //AOOo root
               |
               +----extras //a place where I put down l10n module and some other external
modules
               |           //e.g.67b42915c8432abf0a922438f00860a2-libxml.zip
               |
               +----main //the rest modules related to AOOo

== configure ==

 > cd ApacheOOo/main

In this step I first created a configure file named runcygwin.sh in this directory. its content
shows as follow:

./configure \
--disable-build-mozilla \
--with-mozilla-build="/cygdrive/d/OOENV/mozilla-build" \
--with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC" \
--with-asm-home="/cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC" \
--with-frame-home="/cygdrive/c/Program Files/Microsoft SDKs" \
--with-csc-path="/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v2.0.50727" \
--with-psdk-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.0A" \
--with-midl-path="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.0A/bin" \
--with-jdk-home="/cygdrive/d/OOENV/jdk1.5.0_16" \
--with-ant-home="/cygdrive/d/OOENV/ant" \
--with-directx-home="/cygdrive/d/OOENV/Directx" \
--with-external-tar="/cygdrive/j/ApacheOOo/ext_sources" \
--with-use-shell=bash \
--disable-activex \
--disable-directx \
--disable-atl \
--without-junit \
--disable-binfilter \
--disable-odk \
--with-lang="zh-CN"

 > ./runcygwin.sh

configuration running is ok!

== bootstrap ==

 > ./bootstrap

As to all extras, I manually downloaded all external modules from this URL link, and put into
my local sub directory: ../ApacheOOo/extras
     [The URL of extras modules] http://hg.services.openoffice.org/binaries/

Bootstrap completes successfully.

== Build ==

 > source winenv.set.sh
 > cd instsetoo_native
 > build --all

Before building the module of comphelper, everything is ok! but when compiling comphelper
and generating the file - icomphelp.lib, an error occurs, like this:

[ build LNK ] Library/icomphelp.lib
mktemp: unknown option -- -
Usage: mktemp [-V] | [-dqtu] [-p prefix] [template]
/bin/sh: -c: line 0: syntax error near unexpected token `newline'
/bin/sh: -c: line 0: `printf "%s" "" >  '
/bin/sh: -c: line 0: syntax error near unexpected token `newline'
/bin/sh: -c: line 0: `echo " "e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/wor
kdir/CxxObject/comphelper/source/compare/AnyCompareFactory.o e:/OpenOfficeDev/ma
in/solver/340/wntmsci12.pro/workdir/CxxObject/comphelper/source/container/Indexe
dPropertyValuesContainer.o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdi
r/CxxObject/comphelper/source/container/NamedPropertyValuesContainer.o e:/OpenOf
ficeDev/main/solver/340/wntmsci12.pro/workdir/CxxObject/comphelper/source/contai
ner/container.o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdir/CxxObject
/comphelper/source/container/containermultiplexer.o e:/OpenOfficeDev/main/solver
/340/wntmsci12.pro/workdir/CxxObject/comphelper/source/container/embeddedobjectc
ontainer.o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdir/CxxObject/comp
helper/source/container/enumerablemap.o e:/OpenOfficeDev/main/solver/340/wntmsci
12.pro/workdir/CxxObject/comphelper/source/container/enumhelper.o e:/OpenOfficeD
ev/main/solver/340/wntmsci12.pro/workdir/CxxObject/comphelper/source/container/n
amecontainer.o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdir/CxxObject/
comphelper/source/eventattachermgr/eventattachermgr.o e:/OpenOfficeDev/main/solv
er/340/wntmsci12.pro/workdir/CxxObject/comphelper/source/misc/accessiblecomponen
thelper.o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdir/CxxObject/comph
elper/source/misc/accessiblecontexthelper.o e:/OpenOfficeDev/main/solver/340/wnt
msci12.pro/workdir/CxxObject/comphelper/source/misc/accessibleeventbuffer.o e:/O
penOfficeDev/main/solver/340/wntmsci12.pro/workdir/CxxObject/comphelper/source/m
isc/accessibleeventnotifier.o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/wor
kdir/CxxObject/comphelper/source/misc/accessiblekeybindinghelper.o e:/OpenOffice
Dev/main/solver/340/wntmsci12.pro/workdir/CxxObject/comphelper/source/misc/acces
sibleselectionhelper.o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdir/Cx
xObject/comphelper/source/misc/accessibletexthelper.o e:/OpenOfficeDev/main/solv
er/340/wntmsci12.pro/workdir/CxxObject/comphelper/source/misc/accessiblewrapper.
o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdir/CxxObject/comphelper/so
urce/misc/accimplaccess.o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdir
/CxxObject/comphelper/source/misc/anytostring.o e:/OpenOfficeDev/main/solver/340
/wntmsci12.pro/workdir/CxxObject/comphelper/source/misc/asyncnotification.o e:/O
penOfficeDev/main/solver/340/wntmsci12.pro/workdir/CxxObject/comphelper/source/m
isc/comphelper_module.o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdir/C
xxObject/comphelper/source/misc/comphelper_services.o e:/OpenOfficeDev/main/solv
er/340/wntmsci12.pro/workdir/CxxObject/comphelper/source/misc/componentbase.o e:
/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdir/CxxObject/comphelper/source
/misc/componentcontext.o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdir/
CxxObject/comphelper/source/misc/componentmodule.o e:/OpenOfficeDev/main/solver/
340/wntmsci12.pro/workdir/CxxObject/comphelper/source/misc/configurationhelper.o
  e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdir/CxxObject/comphelper/sou
rce/misc/docpasswordhelper.o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/work
dir/CxxObject/comphelper/source/misc/docpasswordrequest.o e:/OpenOfficeDev/main/
solver/340/wntmsci12.pro/workdir/CxxObject/comphelper/source/misc/documentinfo.o
  e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdir/CxxObject/comphelper/sou
rce/misc/documentiologring.o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/work
dir/CxxObject/comphelper/source/misc/evtlistenerhlp.o e:/OpenOfficeDev/main/solv
er/340/wntmsci12.pro/workdir/CxxObject/comphelper/source/misc/evtmethodhelper.o
e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdir/CxxObject/comphelper/sour
ce/misc/ihwrapnofilter.o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdir/
CxxObject/comphelper/source/misc/instancelocker.o e:/OpenOfficeDev/main/solver/3
40/wntmsci12.pro/workdir/CxxObject/comphelper/source/misc/interaction.o e:/OpenO
fficeDev/main/solver/340/wntmsci12.pro/workdir/CxxObject/comphelper/source/misc/
legacysingletonfactory.o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdir/
CxxObject/comphelper/source/misc/listenernotification.o e:/OpenOfficeDev/main/so
lver/340/wntmsci12.pro/workdir/CxxObject/comphelper/source/misc/locale.o e:/Open
OfficeDev/main/solver/340/wntmsci12.pro/workdir/CxxObject/comphelper/source/misc
/logging.o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdir/CxxObject/comp
helper/source/misc/mediadescriptor.o e:/OpenOfficeDev/main/solver/340/wntmsci12.
pro/workdir/CxxObject/comphelper/source/misc/mimeconfighelper.o e:/OpenOfficeDev
/main/solver/340/wntmsci12.pro/workdir/CxxObject/comphelper/source/misc/namedval
uecollection.o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdir/CxxObject/
comphelper/source/misc/numberedcollection.o e:/OpenOfficeDev/main/solver/340/wnt
msci12.pro/workdir/CxxObject/comphelper/source/misc/numbers.o e:/OpenOfficeDev/m
ain/solver/340/wntmsci12.pro/workdir/CxxObject/comphelper/source/misc/officereso
urcebundle.o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdir/CxxObject/co
mphelper/source/misc/officerestartmanager.o e:/OpenOfficeDev/main/solver/340/wnt
msci12.pro/workdir/CxxObject/comphelper/source/misc/proxyaggregation.o e:/OpenOf
ficeDev/main/solver/340/wntmsci12.pro/workdir/CxxObject/comphelper/source/misc/r
egpathhelper.o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdir/CxxObject/
comphelper/source/misc/scopeguard.o e:/OpenOfficeDev/main/solver/340/wntmsci12.p
ro/workdir/CxxObject/comphelper/source/misc/SelectionMultiplex.o e:/OpenOfficeDe
v/main/solver/340/wntmsci12.pro/workdir/CxxObject/comphelper/source/misc/sequenc
eashashmap.o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdir/CxxObject/co
mphelper/source/misc/sequence.o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/w
orkdir/CxxObject/comphelper/source/misc/servicedecl.o e:/OpenOfficeDev/main/solv
er/340/wntmsci12.pro/workdir/CxxObject/comphelper/source/misc/serviceinfohelper.
o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdir/CxxObject/comphelper/so
urce/misc/sharedmutex.o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdir/C
xxObject/comphelper/source/misc/stillreadwriteinteraction.o e:/OpenOfficeDev/mai
n/solver/340/wntmsci12.pro/workdir/CxxObject/comphelper/source/misc/anycompare.o
  e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdir/CxxObject/comphelper/sou
rce/misc/storagehelper.o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdir/
CxxObject/comphelper/source/misc/string.o e:/OpenOfficeDev/main/solver/340/wntms
ci12.pro/workdir/CxxObject/comphelper/source/misc/synchronousdispatch.o e:/OpenO
fficeDev/main/solver/340/wntmsci12.pro/workdir/CxxObject/comphelper/source/misc/
types.o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdir/CxxObject/comphel
per/source/misc/uieventslogger.o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/
workdir/CxxObject/comphelper/source/misc/weak.o e:/OpenOfficeDev/main/solver/340
/wntmsci12.pro/workdir/CxxObject/comphelper/source/misc/weakeventlistener.o e:/O
penOfficeDev/main/solver/340/wntmsci12.pro/workdir/CxxObject/comphelper/source/o
fficeinstdir/officeinstallationdirectories.o e:/OpenOfficeDev/main/solver/340/wn
tmsci12.pro/workdir/CxxObject/comphelper/source/processfactory/componentfactory.
o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdir/CxxObject/comphelper/so
urce/processfactory/processfactory.o e:/OpenOfficeDev/main/solver/340/wntmsci12.
pro/workdir/CxxObject/comphelper/source/property/ChainablePropertySet.o e:/OpenO
fficeDev/main/solver/340/wntmsci12.pro/workdir/CxxObject/comphelper/source/prope
rty/ChainablePropertySetInfo.o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/wo
rkdir/CxxObject/comphelper/source/property/composedprops.o e:/OpenOfficeDev/main
/solver/340/wntmsci12.pro/workdir/CxxObject/comphelper/source/property/genericpr
opertyset.o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdir/CxxObject/com
phelper/source/property/MasterPropertySet.o e:/OpenOfficeDev/main/solver/340/wnt
msci12.pro/workdir/CxxObject/comphelper/source/property/MasterPropertySetInfo.o
e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdir/CxxObject/comphelper/sour
ce/property/opropertybag.o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdi
r/CxxObject/comphelper/source/property/propagg.o e:/OpenOfficeDev/main/solver/34
0/wntmsci12.pro/workdir/CxxObject/comphelper/source/property/propertybag.o e:/Op
enOfficeDev/main/solver/340/wntmsci12.pro/workdir/CxxObject/comphelper/source/pr
operty/propertycontainer.o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdi
r/CxxObject/comphelper/source/property/propertycontainerhelper.o e:/OpenOfficeDe
v/main/solver/340/wntmsci12.pro/workdir/CxxObject/comphelper/source/property/pro
perty.o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdir/CxxObject/comphel
per/source/property/propertysethelper.o e:/OpenOfficeDev/main/solver/340/wntmsci
12.pro/workdir/CxxObject/comphelper/source/property/propertysetinfo.o e:/OpenOff
iceDev/main/solver/340/wntmsci12.pro/workdir/CxxObject/comphelper/source/propert
y/propertystatecontainer.o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdi
r/CxxObject/comphelper/source/property/propmultiplex.o e:/OpenOfficeDev/main/sol
ver/340/wntmsci12.pro/workdir/CxxObject/comphelper/source/property/propstate.o e
:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdir/CxxObject/comphelper/sourc
e/property/TypeGeneration.o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workd
ir/CxxObject/comphelper/source/streaming/basicio.o e:/OpenOfficeDev/main/solver/
340/wntmsci12.pro/workdir/CxxObject/comphelper/source/streaming/memorystream.o e
:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdir/CxxObject/comphelper/sourc
e/streaming/oslfile2streamwrap.o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/
workdir/CxxObject/comphelper/source/streaming/otransactedfilestream.o e:/OpenOff
iceDev/main/solver/340/wntmsci12.pro/workdir/CxxObject/comphelper/source/streami
ng/seekableinput.o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdir/CxxObj
ect/comphelper/source/streaming/seqinputstreamserv.o e:/OpenOfficeDev/main/solve
r/340/wntmsci12.pro/workdir/CxxObject/comphelper/source/streaming/seqoutputstrea
mserv.o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdir/CxxObject/comphel
per/source/streaming/seqstream.o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/
workdir/CxxObject/comphelper/source/streaming/streamsection.o e:/OpenOfficeDev/m
ain/solver/340/wntmsci12.pro/workdir/CxxObject/comphelper/source/xml/attributeli
st.o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdir/CxxObject/comphelper
/source/xml/ofopxmlhelper.o e:/OpenOfficeDev/main/solver/340/wntmsci12.pro/workd
ir/WinResTarget/comphelper/default.res >>  '
Microsoft (R) Incremental Linker Version 9.00.21022.08
Copyright (C) Microsoft Corporation.  All rights reserved.

LINK : fatal error LNK1299: 没有使用“@”指定响应文件
rm: missing operand
Try `rm --help' for more information.
make: *** [/cygdrive/e/OpenOfficeDev/main/solver/340/wntmsci12.pro/workdir/LinkT
arget/Library/icomphelp.lib] Error 19
dmake:  Error code 2, while making 'all'

1 module(s):
         comphelper
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making /cygdrive/e/OpenOfficeDev/main/comphelp
er/prj

Attention: if you fix the errors in above module(s) you may prolongue your the b
uild issuing command:

         build --all:comphelper

=================================================================================

That' all, I wish there is a good news to arrive ASAP, thanks again!

Best Regards

JingDong Chen

2011-09-15

Beijing Redflag Chinese 2000 Software Co., Ltd.
Building No.2, Block A, Huilongsen, 18 Xihuan Nanlu
Beijing Economic-Technological Development Area
100176 Beijing - P.R.China
PostCode:100176
Tel: +86-10-51570010 ext. 6196
E-mail: chenjingdong@redoffice.com
Website: http://www.redOffice.com
-- 
陈京东
红旗贰仟 系统开发部
电话: 010-51570010-6196
手机: 13811939717
邮箱: chenjingdong@redoffice.com
邮编: 100176
地址: 北京经济技术开发区(亦庄)西环南路18号汇龙森A座2层(100176)
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message