Hi, All,
Thank you very much for all of your great help. : )
Hi Gregor,
It's great to hear from you. And I am very sorry that I replyed so late.
On Friday 18 May 2007 17:46, Gregor Hartmann wrote:
> Hi Canghua Qu,
>
> looking at the log there is one thing that looks strange to me.
>
> There are pathes like
> \cygdrive\c\DOCUME~1\QUCANG~1\LOCALS~1\Temp\euro_1372.c1 which should
> look like c:\DOCUME~1\QUCANG~1\LOCALS~1\Temp\euro_1372.c1 I guess.
during my configure, I typed the path like above. Do you mean I should
change the pathes like :
form:
*****************************************
./configure --with-cl-home="/cygdrive/c/Program Files/Microsoft Visual
Studio .NET 2003/Vc7"
--with-jdk-home=/cygdrive/d/OOEnv/j2sdk1.4.2_06
--with-asm-home="/cygdrive/c/Program Files/Microsoft Visual
Studio .NET 2003/Vc7/bin" --with-frame-home="/cygdrive/c/Program
Files/Microsoft Visual Studio .NET
2003/SDK/v1.1" --with-wdevenv-path="/cygdrive/d/OOEnv/ConvertDSWSetup"
--with-ant-home=/cygdrive/d/OOEnv/ant
--with-psdk-home=/cygdrive/d/OOEnv/PSDK
--with-csc-path=/cygdrive/c/WINNT/Microsoft.NET/Framework/v1.1.4322 �0�2
--disable-build-mozilla --with-unzip-home=/cygdrive/d/OOEnv/unzip
--with-use-shell=4nt
*****************************************
to :
./configure --with-cl-home="c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7" ....
and so on?
I still have three problems on it . Need your help. :-)
Q1.
I have "tar" another source into my disk F. then I tried to configure in
cygwin shell.
After the output said: Configure completed
Then in 4NT, I run the winenv.bat ,which is generated during configure.
And then I "cd wizards", " build ".
the output like this:
*****************************************************
cd ..\..\..\..\wntmsci10.pro\class && zip -u -rX commonwizards.jar
com/sun/star/wizards/common�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2
com/sun/star/wizards/db
�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2
com/sun/star/wizards/ui
com/sun/star/wizards/document�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2�0�2
com/sun/star/wiz
ards/text ^ iff errorlevel == 12 .and. errorlevel == 12 then ( echo Nothing to
u
pdate for zip ^ set somedummyvar=%somedummyvar)
4NT: (Sys) ▓╬╩�0�5▓╗╒�0�5╚╖íú
�0�2"D:\OOEnv\unzip\zip.exe"
dmake.exe:�0�2 Error code 130, while making '..\..\..\..
\wntmsci10.pro\class\common
wizards.jar'
'---* tg_merge.mk *---'
�0�2
ERROR: Error 65280 occurred while
making /cygdrive/f/ooo_OOE680_m6_src/wizards/c
om/sun/star/wizards
�0�2
[f:\ooo_ooe680_m6_src\wizards]build>1.txt
4NT: (Sys) ▓╬╩�0�5▓╗╒�0�5╚╖íú
�0�2"D:\OOEnv\unzip\zip.exe"
dmake.exe:�0�2 Error code 130, while making '..\..\..\..
\wntmsci10.pro\class\common
wizards.jar'
�0�2
ERROR: Error 65280 occurred while
making /cygdrive/f/ooo_OOE680_m6_src/wizards/c
om/sun/star/wizards
************************************************�0�2
[f:\ooo_ooe680_m6_src\wizards]vi 1.txt
4NT: Unknown command "vi"
***********************************************************************
I don't know why.
>
> What came to my mind is that you might have started 4NT from within the
> cygwin shell?
>
Yes. the 4NT builds the source with cygwin shell. Is there something wrong?
> Try starting it from your XP Desktop.
Q2: In 4NT, the error : can't find the "starview.hid" came out. Then I copied
a starview.hid in \solenv\inc into \wizards\source\euro\ , but another error:
cannot open include file:'stdio.h': No such file or directory.
I don't know how to resolve a problem like this. Do you have any good
suggestions ?
Q3: When I tired to build it on Linux.
changed the line in rules.mk:
from:
+$(PERL) $(SOLARENV)$/bin$/mhids.pl $*.src $(SRS) $(PRJNAME) $(CDEFS)
$(INCLUDE)
�0�2 �0�2 To:
+$(WRAPCMD) $(PERL) $(SOLARENV)$/bin$/mhids.pl $*.src $(SRS) $(PRJNAME)
$(CDEFS) $(INCLUDE)
but an error information like this:
********************************
Making hid ../../unxlngi6.pro/srs/euro.hid
/usr/bin/perl /mnt/hda5/ooo_OOE680_m6_src_redflag/solenv/bin/mhids.pl
euro.src ../../unxlngi6.pro/srs wizards-DLINUX -DUNX -DVCL -DGCC -DC341
-DINTEL -DCVER=C341 -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT
-DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400
-DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redflag-linux/3.4.3/../../../../include/c++/3.4.3
-DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE
-DEXCEPTIONS_OFF -DCUI -DSOLAR_JAVA -DOOE680=OOE680 �0�2 -I. �0�2
-I../../unxlngi6.pro/inc/euro -I../inc -I../../inc/pch -I../../inc
-I../../unx/inc -I../../unxlngi6.pro/inc -I.
-I/mnt/hda5/ooo_OOE680_m6_src_redflag/solver/680/unxlngi6.pro/inc/stl
-I/mnt/hda5/ooo_OOE680_m6_src_redflag/solver/680/unxlngi6.pro/inc/external
-I/mnt/hda5/ooo_OOE680_m6_src_redflag/solver/680/unxlngi6.pro/inc
-I/mnt/hda5/ooo_OOE680_m6_src_redflag/solenv/unxlngi6/inc
-I/mnt/hda5/ooo_OOE680_m6_src_redflag/solenv/inc
-I/mnt/hda5/ooo_OOE680_m6_src_redflag/res
-I/mnt/hda5/ooo_OOE680_m6_src_redflag/solver/680/unxlngi6.pro/inc/stl
-I/mnt/hda5/ooo_OOE680_m6_src_redflag/solenv/inc/Xp31
-I/opt/j2sdk1.4.1_07/include -I/opt/j2sdk1.4.1_07/include/linux
-I/opt/j2sdk1.4.1_07/include/native_threads/include -I/usr/X11R6/include �0�2
�0�2
-I/mnt/hda5/ooo_OOE680_m6_src_redflag/solver/680/unxlngi6.pro/inc/offuh -I.
-I../../res -I.
ERROR - "TMP" environment variable not set
dmake: �0�2Error code 255, while making '../../unxlngi6.pro/srs/euro.hid'
'---* tg_merge.mk *---'
ERROR: Error 65280 occurred while
making /mnt/hda5/ooo_OOE680_m6_src_redflag/wizards/source/euro
dmake: �0�2Error code 1, while making 'build_instsetoo_native'
'---* �0�2*---'
***************************************************
I don't know how did this happen. Could you give me some suggestions?
Thank you very much for all of your help! :-)
Kinnd Regards,
Canghua
>
> But thats just a wild guess.
>
> > Q 2. Why can't I find the directory hid in
> > ooo_OOE680_m6_src\solver\680\wntmsci10.pro\bin\,nor the file hid.lst in
> > it ?
>
> the directory should be there after delivering a module which contains
> HIDs. There has to be an entry in the prj/d.lst file to create the
> directory like this:
>
> mkdir: %COMMON_DEST%\bin%_EXT%\hid
>
> and an entry to actually deliver the file(s) similar to this:
>
> ..\%COMMON_OUTDIR%\misc\*.hid %COMMON_DEST%\bin%_EXT%\hid\*.hid
>
>
> The file hid.lst will only be there if built in a project *and*
> delivered. This should be the case only in instsetoo_native
>
> In boost there are no HIDs and a hid.lst should not be generated!
> Usually the hid.lst is only generated when there is the following line
> in the makefile.mk
>
> GEN_HID2=TRUE
>
> So ether it was inserted in your build or the guard around the commands
> actually building it has been removed in solenv/inc/*.mk
>
>
> Hope this helps
> Gregor Hartmann
>
> > As I have command "dmake > >demakelog.txt" , in the demakelog.txt ,I can
> > find,for example: ********************************************
> > =============
> > Building project boost
> > =============
> > /cygdrive/e/ooo_OOE680_m6_src/boost
> > dmake.exe: Executing shell macro: +echo %_cwd
> > dmake.exe: Executing shell macro: +echo %_4ver
> > dmake.exe: Executing shell macro: +$(WRAPCMD) echo $(subst,$/stl,
> > $(SOLARINC)) Making .\wntmsci10.pro\bin\hid.lst :
> > ---------------
> > Deleting E:\ooo_OOE680_m6_src\boost\wntmsci10.pro\bin\hid.lst
> > 1 file deleted 16,384 bytes freed
> > type e:\ooo_OOE680_m6_src\solver\680\wntmsci10.pro\bin\hid\*.hid | sort
> > -u > > .\wntmsci10.pro\bin\hid.lst.wntmsci10.pro.tmp
> > E:\ooo_OOE680_m6_src\boost\wntmsci10.pro\bin\hid.lst.wntmsci10.pro.tmp -
> > > E:\ooo_OOE680_m6_src\boost\wntmsci10.pro\bin\hid.lst
> > 1 file renamed
> > -------------
> > ********************************************
> >
> >
> > Do you guys have any suggestion on my problems? Need your help! :-)
> > Awaiting for your earliest reply!
> > And Thanks in advance!! ^_^
> >
> >
> > Yours sincerely,
> > Cynthia Qu
> >
> >
> > Beijing Redflag CH2000 Software Co., Ltd.
> > BEIJING, CHINA.
> > TEL:010- -6440
> > 2007-05-15
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]