[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [dev] Somethhing failed with rsclexx.h



Hi Ken ... 

On Fri, Feb 22, 2002 at 03:51:14PM +1100, Ken Foskey wrote:
>> >cd rsc
>> >rm -rf unxlngppc.pro
>> >build
>> Hmm ok, the problem is, that I try to build OpenOffice from a script to
>> package it for debian... is it possible to remove rsc/unxlngppc.pro
>> before rsc will build?
>> Ahh I see... it is not possible
>In a normal build it does not exist already so it simply is not an
>issue.  The problem here is that the prereqs were not set up to include
>the makefile.rc (why would it normally) so you must force a fresh
>build.  The fast way is to delete the output directory.

But ... if I will force a fresh build, I have the problem, that the
output direktory is there to delete .. 

>There is scope for a dmake clean:
>
>How about (untested, is the INPATH variable right):
>
>Index: makefile.rc
>===================================================================
>RCS file: /cvs/oo/tools/config_office/makefile.rc,v
>retrieving revision 1.34.4.1
>diff -c -r1.34.4.1 makefile.rc
>*** makefile.rc	2001/10/19 17:05:42	1.34.4.1
>--- makefile.rc	2002/02/22 04:33:57
>***************
>*** 194,201 ****
>  # 
>  
>  bootstrap .PHONY :
>! 	@config_office/bootstrap
>  
>  
>  # 
>  # configure target
>--- 198,208 ----
>  # 
>  
>  bootstrap .PHONY :
>! 	@bootstrap
>! 
>  
>+ clean .PHONY:
>+ 	find . -name $(INPATH) -exec rm -r -f {} \;

I changed this to:
        find . -name $(INPATH)| xargs rm -r -f \;

and it will work...
>  # 
>  # configure target

 ... but, if I will run dmake after ./bootstrap, it will delete the
 binaries, created by bootstrap .. I got this:


Making Module-Definitionfile : ../unxlngppc.pro/misc/zip641lp.def
just a dummy for UNIX
cp -f /home/palic/Files/Projekte/OpenOffice/source/debian/openoffice-641c/build-tree/oo_641c_src/solenv/src/default_description.xml ../unxlngppc.pro/misc/zip_dflt.xml
xml2cmp -func ../unxlngppc.pro/misc/zip_dflt_description.cxx ../unxlngppc.pro/misc/zip_dflt.xml
xml2cmp: command not found.
dmake:  Error code 1, while making '../unxlngppc.pro/misc/zip_dflt_description.cxx'

 ...If I run dmake before ./bootstrap, it will not have an effect.

Sure .. I can delete the output directory of rsc and do a build again,
but the buildscript stops, if an error occurs.

Sometime, I'm asking myself, why many people do not run into this
problem ... what are they doing?

Any hints?

	Regards

		Jan

-- 
One time, you all will be emulated by linux!

----
Jan- Hendrik Palic
Url:"http://www.billgotchy.de";
E-Mail: "palic@billgotchy.de"

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d- s: a-- C++ UL++ P+++ L+++ E W++ N+ o+ K- w--- 
O- M- V- PS++ PE Y+ PGP++ t--- 5- X+++ R-- tv- b++ DI-- D+++ 
G+++ e+++ h+ r++ z+ 
------END GEEK CODE BLOCK------



Reply to: