[dev] Re: [www-dev] Re: building svl failed
It's works! thank you very much! you so lovely... At 2011-03-15 17:49:27,Yan Wu wuyan.oo...@gmail.com wrote: On 3/15/11, huq...@163.com huq...@163.com wrote: I set the environment viable TEMP and TMP to C:/cygwin/tmp, but I got the same error! and where can i find rsc_tempfiles.patch file and how to apply it! thank you ! -- I did it in this way to solve this problem: $cd svl $make clean $export TEMP=C:/cygwin/tmp $export TMP=C:/cygwin/tmp $make -r I tried to use the patch but still got problem. In the attachment, you could find the patch provided by Michael Stahl. It can be applied as: $cp rsc_tempfiles.patch SRC_ROOT #SRC_ROOT is your OOo source root directory $patch -p1 rsc_tempfiles.patch -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: [www-dev] Re: building svl failed
I set the environment viable TEMP and TMP to C:/cygwin/tmp, but I got the same error!-- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: [www-dev] Re: building svl failed
I set the environment viable TEMP and TMP to C:/cygwin/tmp, but I got the same error! and where can i find rsc_tempfiles.patch file and how to apply it! thank you ! -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: [www-dev] Re: building svl failed
On 3/2/11, Yan Wu wuyan.oo...@gmail.com wrote: hmm, still have no idea, the call to cpp/rscpp is not shown... please try the following: first apply the attached patch (to give -verbose flag to rsc) then rebuild rsc: (cd rsc rm -r wntmsci* build debug=t deliver) then try again, it should now print the arguments that don't work The call to cpp/rsccpp is still not shown after applying the patch and rebuilding rsc. The error log is: $ make -r [ build DEP ] SRS:svl/res f:/DEV300_m100/svl/source/misc/m ediatyp.src C:\Documents and Settings\wuyan\174.tmp Preprocessor startline: f:/DEV300_m100/solver/300/wntmsci12.pro/bin/rscpp @C:\D ocuments and Settings\wuyan\175.tmp cpp: line 0, Error: Too many file arguments. Usage: cpp [input [output]] @C:\Documents: Invalid argument cpp: line 0, Error: Can't open input file @C:\Documents Error starting preprocessor make: *** [/cygdrive/f/DEV300_m100/solver/300/wntmsci12.pro/workdir/SrsPartTarge t/svl/source/misc/mediatyp.src] error 1 It caused by the blanks in the temp path C:\Documents and Settings\. As the idea from Carsten suggested, I set environment viable TEMP and TMP to C:/cygwin/tmp and building svl succeeded. Thanks a lot for your help, Michael and Carsten. Regards, Yan -- To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: sy...@openoffice.org with Subject: help
[dev] Re: [www-dev] Re: building svl failed
On 02/03/2011 04:45, Yan Wu wrote: hmm, still have no idea, the call to cpp/rscpp is not shown... please try the following: first apply the attached patch (to give -verbose flag to rsc) then rebuild rsc: (cd rsc rm -r wntmsci* build debug=t deliver) then try again, it should now print the arguments that don't work The call to cpp/rsccpp is still not shown after applying the patch and rebuilding rsc. The error log is: but it is shown :) Preprocessor commandline: -I. -If:/DEV300_m100/solver/300/wntmsci12.pro/inc/stl -If:/DEV300_m100/solver/300/wntmsci12.pro/inc/external -If:/DEV300_m100/solver/ 300/wntmsci12.pro/inc -If:/DEV300_m100/solenv/wntmsci12/inc -If:/DEV300_m100/sol env/inc -If:/DEV300_m100/res -If:/DEV300_m100/solver/300/wntmsci12.pro/inc/stl - Id:/OOoEnv/JDK16~1.0_1/include/win32 -Id:/OOoEnv/JDK16~1.0_1/include -Ic:/PROGRA ~1/MI2578~1/Windows/v6.1/include -Ic:/PROGRA~1/MICROS~1.0/VC/include -Ic:/PROGRA ~1/MICROS~1.0SD/include -Ic:/PROGRA~1/MICROS~1.0SD/include -If:/DEV300_m100/solv er/300/wntmsci12.pro/workdir/inc -If:/DEV300_m100/svl/source/inc -If:/DEV300_m10 0/svl/inc/ -If:/DEV300_m100/svl/inc/svl -If:/DEV300_m100/svl/source/misc/ -DBOOS T_MEM_FN_ENABLE_CDECL -DCPPU_ENV=msci -DCUI -DENABLE_GRAPHITE -DENABLE_GTK -DENA BLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0 -DFULL_DESK -DINTEL -DM1500 -DMSC -D NDEBUG -DNT351 -DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DPRODUCT -DPRODUCT_FULL -DSOLAR_J AVA -DSTLPORT_VERSION=400 -DSUPD=300 -DVCL -DWIN32 -DWINVER=0x0500 -DWNT -D_CRT_ NONSTDC_NO_DEPRECATE -D_CRT_NON_CONFORMING_SWPRINTFS -D_CRT_SECURE_NO_DEPRECATE -D_MT -D_REENTRANT -D_WIN32_IE=0x0500 -D_X86_=1 f:/DEV300_m100/svl/source/misc/m ediatyp.src C:\Documents and Settings\wuyan\174.tmp here it is. i'd guess the problem is this: C:\Documents and Settings\wuyan\174.tmp this path contains spaces, and probably the rscpp parses it as 3 paths insead of 1. it seems when using response files the paths need to be quoted. please try out the attached patch. btw, in another part of the rsc call there was this: --tmpdir=C:/cygwin/tmp so it seems you have 2 different temp directories set; the build system uses $TMPDIR (fallback to /tmp), while the rscpp apparently uses some other non-standard environment variable, like $TMP or $TEMP or something. Preprocessor startline: f:/DEV300_m100/solver/300/wntmsci12.pro/bin/rscpp @C:\D ocuments and Settings\wuyan\175.tmp cpp: line 0, Error: Too many file arguments. Usage: cpp [input [output]] @C:\Documents: Invalid argument cpp: line 0, Error: Can't open input file @C:\Documents Error starting preprocessor make: *** [/cygdrive/f/DEV300_m100/solver/300/wntmsci12.pro/workdir/SrsPartTarge t/svl/source/misc/mediatyp.src] error 1 Yan -- The dependency management (or lack thereof) in C and C++ results in far too much code going through the compiler. You might say that Go was conceived while waiting for a big compilation. -- Rob Pike -- To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: sy...@openoffice.org with Subject: help # HG changeset patch # Parent e154b7f823a4e9f17cac6401d7d1d8b642b92005 diff --git a/rsc/source/prj/start.cxx b/rsc/source/prj/start.cxx --- a/rsc/source/prj/start.cxx +++ b/rsc/source/prj/start.cxx @@ -52,10 +52,15 @@ #endif #endif // UNX + +#include rtl/strbuf.hxx +#include sal/main.h + +#include tools/fsys.hxx + #include rsctools.hxx #include rscerror.h -#include sal/main.h -#include tools/fsys.hxx + /*** C O D E / // @@ -128,8 +133,29 @@ static BOOL CallPrePro( const ByteString } } - aNewCmdL.Append( rsc_strdup( rInput.GetBuffer() ) ); - aNewCmdL.Append( rsc_strdup( rOutput.GetBuffer() ) ); +::rtl::OStringBuffer input(rInput.Len()+3); +if (fRspFile) +{ +input.append(''); +} +input.append(rInput); +if (fRspFile) +{ +input.append(''); +} +::rtl::OStringBuffer output(rOutput.Len()+3); +if (fRspFile) +{ +output.append(''); +} +output.append(rOutput); +if (fRspFile) +{ +output.append(''); +} + +aNewCmdL.Append( rsc_strdup( input.getStr() ) ); +aNewCmdL.Append( rsc_strdup( output.getStr() ) ); aNewCmdL.Append( (void *)0 ); if ( bVerbose ) @@ -258,7 +284,7 @@ static BOOL CallRsc2( ByteString aRsc2Na #ifdef OS2 fprintf( fRspFile, %s\n, aSrsName.GetBuffer() ); #else - fprintf( fRspFile, aSrsName.GetBuffer() ); +fprintf( fRspFile, %s, aSrsName.GetBuffer() ); #endif pString = pInputList-First(); diff --git a/rsc/source/rscpp/cpp3.c b/rsc/source/rscpp/cpp3.c --- a/rsc/source/rscpp/cpp3.c +++ b/rsc/source/rscpp/cpp3.c @@ -410,10 +410,19 @@ readoptions(char* filename, char*** pfar else
[dev] Re: [www-dev] Re: building svl failed
Hi Yan, Am 02.03.2011 04:45, schrieb Yan Wu: hmm, still have no idea, the call to cpp/rscpp is not shown... please try the following: first apply the attached patch (to give -verbose flag to rsc) then rebuild rsc: (cd rsc rm -r wntmsci* build debug=t deliver) then try again, it should now print the arguments that don't work The call to cpp/rsccpp is still not shown after applying the patch and rebuilding rsc. The error log is: $ make -r [..] Preprocessor startline: f:/DEV300_m100/solver/300/wntmsci12.pro/bin/rscpp @C:\D ocuments and Settings\wuyan\175.tmp cpp: line 0, Error: Too many file arguments. Usage: cpp [input [output]] @C:\Documents: Invalid argument cpp: line 0, Error: Can't open input file @C:\Documents Error starting preprocessor make: *** [/cygdrive/f/DEV300_m100/solver/300/wntmsci12.pro/workdir/SrsPartTarge t/svl/source/misc/mediatyp.src] error 1 For me this looks like the spaces in C:\Documents and Settings\wuyan\174.tmp is causing the trouble. Just a gues but try setting your TEMP and TMP environment variables to something without a space. And it should be short. I recomend you create a f:/temp directory and set TEMP and TMP to f:/temp Regards, Christian -- To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: sy...@openoffice.org with Subject: help
[dev] Re: [www-dev] Re: building svl failed
hi! more below... Yan Wu wrote: hmm, still have no idea, the call to cpp/rscpp is not shown... please try the following: first apply the attached patch (to give -verbose flag to rsc) then rebuild rsc: (cd rsc rm -r wntmsci* build debug=t deliver) then try again, it should now print the arguments that don't work The call to cpp/rsccpp is still not shown after applying the patch and rebuilding rsc. The error log is: $ make -r [ build DEP ] SRS:svl/res R=/cygdrive/f S=$R/DEV300_m100 O=$S/solver/300/wntmsci12.pro W=$O/workd ir mkdir -p $W/Dep/SrsTarget/svl/ cat $W/Dep/SrsPartTarget/svl/source/mis c/mediatyp.src.d $W/Dep/SrsPartTarget/svl/source/items/cstitem.src.d $W/Dep/Sr sTarget/svl/res.d R=f:/ O=f:/DEV300_m100/solver/300/wntmsci12.pro W=f:/DEV300_m100/solver/30 0/wntmsci12.pro/workdir S=f:/DEV300_m100 $O/bin/makedepend.exe -I. -I$O/i nc/stl -I$O/inc/external -I$O/inc -I$S/solenv/wntmsci12/inc -I$S/solenv/inc -I$S /res -I$O/inc/stl -Id:/OOoEnv/JDK16~1.0_1/include/win32 -Id:/OOoEnv/JDK16~1.0_1/ include -Ic:/PROGRA~1/MI2578~1/Windows/v6.1/include -Ic:/PROGRA~1/MICROS~1.0/VC/ include -Ic:/PROGRA~1/MICROS~1.0SD/include -Ic:/PROGRA~1/MICROS~1.0SD/include - I$W/inc -I$S/svl/source/inc -I$S/svl/inc/ -I$S/svl/inc/svl -DBOOST_MEM_FN_ENABL E_CDECL -DCPPU_ENV=msci -DCUI -DENABLE_GRAPHITE -DENABLE_GTK -DENABLE_LAYOUT=0 - DENABLE_LAYOUT_EXPERIMENTAL=0 -DFULL_DESK -DINTEL -DM1500 -DMSC -DNDEBUG -DNT351 -DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DPRODUCT -DPRODUCT_FULL -DSOLAR_JAVA -DSTLPORT_ VERSION=400 -DSUPD=300 -DVCL -DWIN32 -DWINVER=0x0500 -DWNT -D_CRT_NONSTDC_NO_DEP RECATE -D_CRT_NON_CONFORMING_SWPRINTFS -D_CRT_SECURE_NO_DEPRECATE -D_MT -D_REENT RANT -D_WIN32_IE=0x0500 -D_X86_=1 $S/svl/source/misc/mediatyp.src -f - | awk -f $S/solenv/gbuild/processdeps.awk -v OBJECTFILE=$W/SrsPartTarget/svl/source/misc/ mediatyp.src -v OUTDIR=$O/ -v WORKDIR=$W/ -v SRCDIR=$S/ -v REPODIR=$R/ $W/Dep/ SrsPartTarget/svl/source/misc/mediatyp.src.d R=f:/ O=f:/DEV300_m100/solver/300/wntmsci12.pro W=f:/DEV300_m100/solver/30 0/wntmsci12.pro/workdir S=f:/DEV300_m100 mkdir -p $W/SrsPartTarget/svl/so urce/misc/ RESPONSEFILE=`mktemp --tmpdir=C:/cygwin/tmp -t gbuild.XX` e cho -s -verbose -I. -I$O/inc/stl -I$O/inc/external -I$O/inc -I$S/solenv/wntmsci 12/inc -I$S/solenv/inc -I$S/res -I$O/inc/stl -Id:/OOoEnv/JDK16~1.0_1/include/win 32 -Id:/OOoEnv/JDK16~1.0_1/include -Ic:/PROGRA~1/MI2578~1/Windows/v6.1/include - Ic:/PROGRA~1/MICROS~1.0/VC/include -Ic:/PROGRA~1/MICROS~1.0SD/include -Ic:/PROGR A~1/MICROS~1.0SD/include -I$W/inc -I$S/svl/source/inc -I$S/svl/inc/ -I$S/svl/in c/svl -I$S/svl/source/misc/ -DBOOST_MEM_FN_ENABLE_CDECL -DCPPU_ENV=msci -DCUI - DENABLE_GRAPHITE -DENABLE_GTK -DENABLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0 - DFULL_DESK -DINTEL -DM1500 -DMSC -DNDEBUG -DNT351 -DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DPRODUCT -DPRODUCT_FULL -DSOLAR_JAVA -DSTLPORT_VERSION=400 -DSUPD=300 -DVCL -D WIN32 -DWINVER=0x0500 -DWNT -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NON_CONFORMING_SW PRINTFS -D_CRT_SECURE_NO_DEPRECATE -D_MT -D_REENTRANT -D_WIN32_IE=0x0500 -D_X86_ =1 -fp=$W/SrsPartTarget/svl/source/misc/mediatyp.src $S/svl/source/misc/mediatyp .src ${RESPONSEFILE} SOLARBINDIR=$O/bin $O/bin/rsc.exe -presponse @${RESPO NSEFILE} rm -rf ${RESPONSEFILE} Preprocessor commandline: -I. -If:/DEV300_m100/solver/300/wntmsci12.pro/inc/stl -If:/DEV300_m100/solver/300/wntmsci12.pro/inc/external -If:/DEV300_m100/solver/ 300/wntmsci12.pro/inc -If:/DEV300_m100/solenv/wntmsci12/inc -If:/DEV300_m100/sol env/inc -If:/DEV300_m100/res -If:/DEV300_m100/solver/300/wntmsci12.pro/inc/stl - Id:/OOoEnv/JDK16~1.0_1/include/win32 -Id:/OOoEnv/JDK16~1.0_1/include -Ic:/PROGRA ~1/MI2578~1/Windows/v6.1/include -Ic:/PROGRA~1/MICROS~1.0/VC/include -Ic:/PROGRA ~1/MICROS~1.0SD/include -Ic:/PROGRA~1/MICROS~1.0SD/include -If:/DEV300_m100/solv er/300/wntmsci12.pro/workdir/inc -If:/DEV300_m100/svl/source/inc -If:/DEV300_m10 0/svl/inc/ -If:/DEV300_m100/svl/inc/svl -If:/DEV300_m100/svl/source/misc/ -DBOOS T_MEM_FN_ENABLE_CDECL -DCPPU_ENV=msci -DCUI -DENABLE_GRAPHITE -DENABLE_GTK -DENA BLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0 -DFULL_DESK -DINTEL -DM1500 -DMSC -D NDEBUG -DNT351 -DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DPRODUCT -DPRODUCT_FULL -DSOLAR_J AVA -DSTLPORT_VERSION=400 -DSUPD=300 -DVCL -DWIN32 -DWINVER=0x0500 -DWNT -D_CRT_ NONSTDC_NO_DEPRECATE -D_CRT_NON_CONFORMING_SWPRINTFS -D_CRT_SECURE_NO_DEPRECATE -D_MT -D_REENTRANT -D_WIN32_IE=0x0500 -D_X86_=1 f:/DEV300_m100/svl/source/misc/m ediatyp.src C:\Documents and Settings\wuyan\174.tmp i bet it's breaking because of $T(E)MP containing a path with blanks. Preprocessor startline: f:/DEV300_m100/solver/300/wntmsci12.pro/bin/rscpp @C:\D ocuments and Settings\wuyan\175.tmp cpp: line 0, Error: Too many file arguments. Usage: cpp [input [output]] @C:\Documents: Invalid argument cpp: line 0, Error: Can't open input file @C:\Documents would explain this for example... Error starting preprocessor make: ***
[dev] Re: [www-dev] Re: building svl failed
Yes, it caused by the spaces in the temp path C:\Documents and Settings\. I applied the patch rsc_tempfiles.patch, but it got the same error. The TMPDIR in my winenv.set.sh is C:/cygwin/tmp. After setting environment viable TEMP and TMP to C:/cygwin/tmp, building svl succeeded. Thanks all for your help. Regards, Yan -- To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: sy...@openoffice.org with Subject: help
[dev] Re: [www-dev] Re: building svl failed
On 25/02/2011 11:05, Yan Wu wrote: $ make -r [ build DEP ] SRS:svl/res R=/cygdrive/f S=$R/DEV300_m100 O=$S/solver/300/wntmsci12.pro W=$O/workd ir mkdir -p $W/Dep/SrsTarget/svl/ cat $W/Dep/SrsPartTarget/svl/source/mis c/mediatyp.src.d $W/Dep/SrsPartTarget/svl/source/items/cstitem.src.d $W/Dep/Sr sTarget/svl/res.d R=f:/ O=f:/DEV300_m100/solver/300/wntmsci12.pro W=f:/DEV300_m100/solver/30 0/wntmsci12.pro/workdir S=f:/DEV300_m100 $O/bin/makedepend.exe -I. -I$O/i nc/stl -I$O/inc/external -I$O/inc -I$S/solenv/wntmsci12/inc -I$S/solenv/inc -I$S /res -I$O/inc/stl -Id:/OOoEnv/JDK16~1.0_1/include/win32 -Id:/OOoEnv/JDK16~1.0_1/ include -Ic:/PROGRA~1/MI2578~1/Windows/v6.1/include -Ic:/PROGRA~1/MICROS~1.0/VC/ include -Ic:/PROGRA~1/MICROS~1.0SD/include -Ic:/PROGRA~1/MICROS~1.0SD/include - I$W/inc -I$S/svl/source/inc -I$S/svl/inc/ -I$S/svl/inc/svl -DBOOST_MEM_FN_ENABL E_CDECL -DCPPU_ENV=msci -DCUI -DENABLE_GRAPHITE -DENABLE_GTK -DENABLE_LAYOUT=0 - DENABLE_LAYOUT_EXPERIMENTAL=0 -DFULL_DESK -DINTEL -DM1500 -DMSC -DNDEBUG -DNT351 -DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DPRODUCT -DPRODUCT_FULL -DSOLAR_JAVA -DSTLPORT_ VERSION=400 -DSUPD=300 -DVCL -DWIN32 -DWINVER=0x0500 -DWNT -D_CRT_NONSTDC_NO_DEP RECATE -D_CRT_NON_CONFORMING_SWPRINTFS -D_CRT_SECURE_NO_DEPRECATE -D_MT -D_REENT RANT -D_WIN32_IE=0x0500 -D_X86_=1 $S/svl/source/misc/mediatyp.src -f - | awk -f $S/solenv/gbuild/processdeps.awk -v OBJECTFILE=$W/SrsPartTarget/svl/source/misc/ mediatyp.src -v OUTDIR=$O/ -v WORKDIR=$W/ -v SRCDIR=$S/ -v REPODIR=$R/ $W/Dep/ SrsPartTarget/svl/source/misc/mediatyp.src.d R=f:/ O=f:/DEV300_m100/solver/300/wntmsci12.pro W=f:/DEV300_m100/solver/30 0/wntmsci12.pro/workdir S=f:/DEV300_m100 mkdir -p $W/SrsPartTarget/svl/so urce/misc/ RESPONSEFILE=`mktemp --tmpdir=C:/cygwin/tmp -t gbuild.XX` e cho -s -I. -I$O/inc/stl -I$O/inc/external -I$O/inc -I$S/solenv/wntmsci12/inc -I $S/solenv/inc -I$S/res -I$O/inc/stl -Id:/OOoEnv/JDK16~1.0_1/include/win32 -Id:/O OoEnv/JDK16~1.0_1/include -Ic:/PROGRA~1/MI2578~1/Windows/v6.1/include -Ic:/PROGR A~1/MICROS~1.0/VC/include -Ic:/PROGRA~1/MICROS~1.0SD/include -Ic:/PROGRA~1/MICRO S~1.0SD/include -I$W/inc -I$S/svl/source/inc -I$S/svl/inc/ -I$S/svl/inc/svl -I $S/svl/source/misc/ -DBOOST_MEM_FN_ENABLE_CDECL -DCPPU_ENV=msci -DCUI -DENABLE_G RAPHITE -DENABLE_GTK -DENABLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0 -DFULL_DES K -DINTEL -DM1500 -DMSC -DNDEBUG -DNT351 -DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DPRODUC T -DPRODUCT_FULL -DSOLAR_JAVA -DSTLPORT_VERSION=400 -DSUPD=300 -DVCL -DWIN32 -DW INVER=0x0500 -DWNT -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NON_CONFORMING_SWPRINTFS - D_CRT_SECURE_NO_DEPRECATE -D_MT -D_REENTRANT -D_WIN32_IE=0x0500 -D_X86_=1 -fp=$W /SrsPartTarget/svl/source/misc/mediatyp.src $S/svl/source/misc/mediatyp.src $ {RESPONSEFILE} SOLARBINDIR=$O/bin $O/bin/rsc.exe -presponse @${RESPONSEFILE} rm -rf ${RESPONSEFILE} cpp: line 0, Error: Too many file arguments. Usage: cpp [input [output]] Error starting preprocessor make: *** [/cygdrive/f/DEV300_m100/solver/300/wntmsci12.pro/workdir/SrsPartTarge t/svl/source/misc/mediatyp.src] Error 1 hmm, still have no idea, the call to cpp/rscpp is not shown... please try the following: first apply the attached patch (to give -verbose flag to rsc) then rebuild rsc: (cd rsc rm -r wntmsci* build debug=t deliver) then try again, it should now print the arguments that don't work -- I was learning of a painful truth about Perl that many others had discovered before me: that it is an undesigned dung heap of a language entirely inappropriate for software in-the-large. -- Bryan Cantrill -- To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: sy...@openoffice.org with Subject: help diff --git a/solenv/gbuild/AllLangResTarget.mk b/solenv/gbuild/AllLangResTarget.mk --- a/solenv/gbuild/AllLangResTarget.mk +++ b/solenv/gbuild/AllLangResTarget.mk @@ -69,6 +69,7 @@ define gb_SrsPartTarget__command mkdir -p $(dir $(1)) \ RESPONSEFILE=`$(gb_MKTEMP)` \ echo -s \ + -verbose \ $(INCLUDE) \ -I$(dir $(3)) \ $(DEFS) \ @@ -214,6 +215,7 @@ gb_ResTarget_DEFIMAGESLOCATION := $(SRCD $(dir $(call gb_ResTarget_get_imagelist_target,$*)) \ RESPONSEFILE=`$(gb_MKTEMP)` \ echo -r -p \ + -verbose \ -lg$(LANGUAGE) \ -fs=$@ \ -lip=$(realpath $(gb_ResTarget_DEFIMAGESLOCATION)$(RESLOCATION)/$(LIBRARY)) \
[dev] Re: [www-dev] Re: building svl failed
hmm, still have no idea, the call to cpp/rscpp is not shown... please try the following: first apply the attached patch (to give -verbose flag to rsc) then rebuild rsc: (cd rsc rm -r wntmsci* build debug=t deliver) then try again, it should now print the arguments that don't work The call to cpp/rsccpp is still not shown after applying the patch and rebuilding rsc. The error log is: $ make -r [ build DEP ] SRS:svl/res R=/cygdrive/f S=$R/DEV300_m100 O=$S/solver/300/wntmsci12.pro W=$O/workd ir mkdir -p $W/Dep/SrsTarget/svl/ cat $W/Dep/SrsPartTarget/svl/source/mis c/mediatyp.src.d $W/Dep/SrsPartTarget/svl/source/items/cstitem.src.d $W/Dep/Sr sTarget/svl/res.d R=f:/ O=f:/DEV300_m100/solver/300/wntmsci12.pro W=f:/DEV300_m100/solver/30 0/wntmsci12.pro/workdir S=f:/DEV300_m100 $O/bin/makedepend.exe -I. -I$O/i nc/stl -I$O/inc/external -I$O/inc -I$S/solenv/wntmsci12/inc -I$S/solenv/inc -I$S /res -I$O/inc/stl -Id:/OOoEnv/JDK16~1.0_1/include/win32 -Id:/OOoEnv/JDK16~1.0_1/ include -Ic:/PROGRA~1/MI2578~1/Windows/v6.1/include -Ic:/PROGRA~1/MICROS~1.0/VC/ include -Ic:/PROGRA~1/MICROS~1.0SD/include -Ic:/PROGRA~1/MICROS~1.0SD/include - I$W/inc -I$S/svl/source/inc -I$S/svl/inc/ -I$S/svl/inc/svl -DBOOST_MEM_FN_ENABL E_CDECL -DCPPU_ENV=msci -DCUI -DENABLE_GRAPHITE -DENABLE_GTK -DENABLE_LAYOUT=0 - DENABLE_LAYOUT_EXPERIMENTAL=0 -DFULL_DESK -DINTEL -DM1500 -DMSC -DNDEBUG -DNT351 -DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DPRODUCT -DPRODUCT_FULL -DSOLAR_JAVA -DSTLPORT_ VERSION=400 -DSUPD=300 -DVCL -DWIN32 -DWINVER=0x0500 -DWNT -D_CRT_NONSTDC_NO_DEP RECATE -D_CRT_NON_CONFORMING_SWPRINTFS -D_CRT_SECURE_NO_DEPRECATE -D_MT -D_REENT RANT -D_WIN32_IE=0x0500 -D_X86_=1 $S/svl/source/misc/mediatyp.src -f - | awk -f $S/solenv/gbuild/processdeps.awk -v OBJECTFILE=$W/SrsPartTarget/svl/source/misc/ mediatyp.src -v OUTDIR=$O/ -v WORKDIR=$W/ -v SRCDIR=$S/ -v REPODIR=$R/ $W/Dep/ SrsPartTarget/svl/source/misc/mediatyp.src.d R=f:/ O=f:/DEV300_m100/solver/300/wntmsci12.pro W=f:/DEV300_m100/solver/30 0/wntmsci12.pro/workdir S=f:/DEV300_m100 mkdir -p $W/SrsPartTarget/svl/so urce/misc/ RESPONSEFILE=`mktemp --tmpdir=C:/cygwin/tmp -t gbuild.XX` e cho -s -verbose -I. -I$O/inc/stl -I$O/inc/external -I$O/inc -I$S/solenv/wntmsci 12/inc -I$S/solenv/inc -I$S/res -I$O/inc/stl -Id:/OOoEnv/JDK16~1.0_1/include/win 32 -Id:/OOoEnv/JDK16~1.0_1/include -Ic:/PROGRA~1/MI2578~1/Windows/v6.1/include - Ic:/PROGRA~1/MICROS~1.0/VC/include -Ic:/PROGRA~1/MICROS~1.0SD/include -Ic:/PROGR A~1/MICROS~1.0SD/include -I$W/inc -I$S/svl/source/inc -I$S/svl/inc/ -I$S/svl/in c/svl -I$S/svl/source/misc/ -DBOOST_MEM_FN_ENABLE_CDECL -DCPPU_ENV=msci -DCUI - DENABLE_GRAPHITE -DENABLE_GTK -DENABLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0 - DFULL_DESK -DINTEL -DM1500 -DMSC -DNDEBUG -DNT351 -DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DPRODUCT -DPRODUCT_FULL -DSOLAR_JAVA -DSTLPORT_VERSION=400 -DSUPD=300 -DVCL -D WIN32 -DWINVER=0x0500 -DWNT -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NON_CONFORMING_SW PRINTFS -D_CRT_SECURE_NO_DEPRECATE -D_MT -D_REENTRANT -D_WIN32_IE=0x0500 -D_X86_ =1 -fp=$W/SrsPartTarget/svl/source/misc/mediatyp.src $S/svl/source/misc/mediatyp .src ${RESPONSEFILE} SOLARBINDIR=$O/bin $O/bin/rsc.exe -presponse @${RESPO NSEFILE} rm -rf ${RESPONSEFILE} Preprocessor commandline: -I. -If:/DEV300_m100/solver/300/wntmsci12.pro/inc/stl -If:/DEV300_m100/solver/300/wntmsci12.pro/inc/external -If:/DEV300_m100/solver/ 300/wntmsci12.pro/inc -If:/DEV300_m100/solenv/wntmsci12/inc -If:/DEV300_m100/sol env/inc -If:/DEV300_m100/res -If:/DEV300_m100/solver/300/wntmsci12.pro/inc/stl - Id:/OOoEnv/JDK16~1.0_1/include/win32 -Id:/OOoEnv/JDK16~1.0_1/include -Ic:/PROGRA ~1/MI2578~1/Windows/v6.1/include -Ic:/PROGRA~1/MICROS~1.0/VC/include -Ic:/PROGRA ~1/MICROS~1.0SD/include -Ic:/PROGRA~1/MICROS~1.0SD/include -If:/DEV300_m100/solv er/300/wntmsci12.pro/workdir/inc -If:/DEV300_m100/svl/source/inc -If:/DEV300_m10 0/svl/inc/ -If:/DEV300_m100/svl/inc/svl -If:/DEV300_m100/svl/source/misc/ -DBOOS T_MEM_FN_ENABLE_CDECL -DCPPU_ENV=msci -DCUI -DENABLE_GRAPHITE -DENABLE_GTK -DENA BLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0 -DFULL_DESK -DINTEL -DM1500 -DMSC -D NDEBUG -DNT351 -DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DPRODUCT -DPRODUCT_FULL -DSOLAR_J AVA -DSTLPORT_VERSION=400 -DSUPD=300 -DVCL -DWIN32 -DWINVER=0x0500 -DWNT -D_CRT_ NONSTDC_NO_DEPRECATE -D_CRT_NON_CONFORMING_SWPRINTFS -D_CRT_SECURE_NO_DEPRECATE -D_MT -D_REENTRANT -D_WIN32_IE=0x0500 -D_X86_=1 f:/DEV300_m100/svl/source/misc/m ediatyp.src C:\Documents and Settings\wuyan\174.tmp Preprocessor startline: f:/DEV300_m100/solver/300/wntmsci12.pro/bin/rscpp @C:\D ocuments and Settings\wuyan\175.tmp cpp: line 0, Error: Too many file arguments. Usage: cpp [input [output]] @C:\Documents: Invalid argument cpp: line 0, Error: Can't open input file @C:\Documents Error starting preprocessor make: *** [/cygdrive/f/DEV300_m100/solver/300/wntmsci12.pro/workdir/SrsPartTarge t/svl/source/misc/mediatyp.src] error 1 Yan --
[www-dev] Re: building svl failed
On 24/02/2011 09:02, Yan Wu wrote: Hi, I got an error when building svl on DEV300_m100, the error log is as following: = Building module svl = Entering /cygdrive/f/DEV300_m100/svl/prj cd .. make -s -r -j1 make -s -r deliverlog [ build DEP ] SRS:svl/res [ build DEP ] LNK:Library/ifsstorage.lib [ build DEP ] LNK:Library/ipasswordcontainer.lib [ info ALL ] LinkTarget Library/ii18nutil.lib not defined: Assuming headers to be there! [ info ALL ] LinkTarget Library/ijvmfwk.lib not defined: Assuming headers to be there! [ build PKG ] svl_inc [ build DEP ] LNK:Library/isvl.lib cpp: line 0, Error: Too many file arguments. Usage: cpp [input [output]] Error starting preprocessor make: *** [/cygdrive/f/DEV300_m100/solver/300/wntmsci12.pro/workdir/SrsPartTarge t/svl/source/misc/mediatyp.src] Error 1 dmake: Error code 2, while making 'all' haven't seen this error before. please try again without the -s parameter, so we can see the command that fails. like so: (cd svl make -r) also, what does which cpp say? My building environment: Windows XP sp2, VS 2008, cygwin1.dll version is 1.7.7, make is 3.81. Does someone know how to solve this ? Regards, Yan -- -- Actually, a language is not so much characterized by what it allows to program, but more so by what it prevents from being expressed. Quoting the late E. W. Dijkstra, the programmer's most difficult, daily task is to not mess things up. It seems to me that the first and noble duty of a language is to help in this eternal struggle. -- Niklaus Wirth -- To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: sy...@openoffice.org with Subject: help
[www-dev] Re: building svl failed
haven't seen this error before. please try again without the -s parameter, so we can see the command that fails. like so: (cd svl make -r) also, what does which cpp say? The error is as following without the -s parameter: $ make -r [ build DEP ] SRS:svl/res R=/cygdrive/f S=$R/DEV300_m100 O=$S/solver/300/wntmsci12.pro W=$O/workd ir mkdir -p $W/Dep/SrsTarget/svl/ cat $W/Dep/SrsPartTarget/svl/source/mis c/mediatyp.src.d $W/Dep/SrsPartTarget/svl/source/items/cstitem.src.d $W/Dep/Sr sTarget/svl/res.d R=f:/ O=f:/DEV300_m100/solver/300/wntmsci12.pro W=f:/DEV300_m100/solver/30 0/wntmsci12.pro/workdir S=f:/DEV300_m100 $O/bin/makedepend.exe -I. -I$O/i nc/stl -I$O/inc/external -I$O/inc -I$S/solenv/wntmsci12/inc -I$S/solenv/inc -I$S /res -I$O/inc/stl -Id:/OOoEnv/JDK16~1.0_1/include/win32 -Id:/OOoEnv/JDK16~1.0_1/ include -Ic:/PROGRA~1/MI2578~1/Windows/v6.1/include -Ic:/PROGRA~1/MICROS~1.0/VC/ include -Ic:/PROGRA~1/MICROS~1.0SD/include -Ic:/PROGRA~1/MICROS~1.0SD/include - I$W/inc -I$S/svl/source/inc -I$S/svl/inc/ -I$S/svl/inc/svl -DBOOST_MEM_FN_ENABL E_CDECL -DCPPU_ENV=msci -DCUI -DENABLE_GRAPHITE -DENABLE_GTK -DENABLE_LAYOUT=0 - DENABLE_LAYOUT_EXPERIMENTAL=0 -DFULL_DESK -DINTEL -DM1500 -DMSC -DNDEBUG -DNT351 -DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DPRODUCT -DPRODUCT_FULL -DSOLAR_JAVA -DSTLPORT_ VERSION=400 -DSUPD=300 -DVCL -DWIN32 -DWINVER=0x0500 -DWNT -D_CRT_NONSTDC_NO_DEP RECATE -D_CRT_NON_CONFORMING_SWPRINTFS -D_CRT_SECURE_NO_DEPRECATE -D_MT -D_REENT RANT -D_WIN32_IE=0x0500 -D_X86_=1 $S/svl/source/misc/mediatyp.src -f - | awk -f $S/solenv/gbuild/processdeps.awk -v OBJECTFILE=$W/SrsPartTarget/svl/source/misc/ mediatyp.src -v OUTDIR=$O/ -v WORKDIR=$W/ -v SRCDIR=$S/ -v REPODIR=$R/ $W/Dep/ SrsPartTarget/svl/source/misc/mediatyp.src.d R=f:/ O=f:/DEV300_m100/solver/300/wntmsci12.pro W=f:/DEV300_m100/solver/30 0/wntmsci12.pro/workdir S=f:/DEV300_m100 mkdir -p $W/SrsPartTarget/svl/so urce/misc/ RESPONSEFILE=`mktemp --tmpdir=C:/cygwin/tmp -t gbuild.XX` e cho -s -I. -I$O/inc/stl -I$O/inc/external -I$O/inc -I$S/solenv/wntmsci12/inc -I $S/solenv/inc -I$S/res -I$O/inc/stl -Id:/OOoEnv/JDK16~1.0_1/include/win32 -Id:/O OoEnv/JDK16~1.0_1/include -Ic:/PROGRA~1/MI2578~1/Windows/v6.1/include -Ic:/PROGR A~1/MICROS~1.0/VC/include -Ic:/PROGRA~1/MICROS~1.0SD/include -Ic:/PROGRA~1/MICRO S~1.0SD/include -I$W/inc -I$S/svl/source/inc -I$S/svl/inc/ -I$S/svl/inc/svl -I $S/svl/source/misc/ -DBOOST_MEM_FN_ENABLE_CDECL -DCPPU_ENV=msci -DCUI -DENABLE_G RAPHITE -DENABLE_GTK -DENABLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0 -DFULL_DES K -DINTEL -DM1500 -DMSC -DNDEBUG -DNT351 -DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DPRODUC T -DPRODUCT_FULL -DSOLAR_JAVA -DSTLPORT_VERSION=400 -DSUPD=300 -DVCL -DWIN32 -DW INVER=0x0500 -DWNT -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NON_CONFORMING_SWPRINTFS - D_CRT_SECURE_NO_DEPRECATE -D_MT -D_REENTRANT -D_WIN32_IE=0x0500 -D_X86_=1 -fp=$W /SrsPartTarget/svl/source/misc/mediatyp.src $S/svl/source/misc/mediatyp.src $ {RESPONSEFILE} SOLARBINDIR=$O/bin $O/bin/rsc.exe -presponse @${RESPONSEFILE} rm -rf ${RESPONSEFILE} cpp: line 0, Error: Too many file arguments. Usage: cpp [input [output]] Error starting preprocessor make: *** [/cygdrive/f/DEV300_m100/solver/300/wntmsci12.pro/workdir/SrsPartTarge t/svl/source/misc/mediatyp.src] Error 1 Yan -- To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: sy...@openoffice.org with Subject: help