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

Re: event.xml



David,

I looked into this a bit more. On ifarml5 (Fedora 8) I need to touch 
hddm_s.c and hddm_s.h to get this to build. Order of checkout is indeed 
important; for some reason on that system the wrong file wins the race. 
But in general, we need to fix this; the build should not depend on the 
order of checkout of the source files.

On this same issue, after touch is done to avoid the |schema-hddm 
invocation|, I get the dreaded dependency file-lock-down issue:
|
make -f Makefile.static
make[5]: Entering directory 
`/w/work5621/marki/gluex_f8/halld/halld_gcc-4.3/src-gcc-4.3/libraries/HDDM’
make[5]: *** No rule to make target `.depends/Linux-i686/hddm_s.d’, 
needed by `all’. Stop.
make[5]: Leaving directory 
`/w/work5621/marki/gluex_f8/halld/halld_gcc-4.3/src-gcc-4.3/libraries/HDDM’
make[4]: *** [all] Error 2
make[4]: Leaving directory 
`/w/work5621/marki/gluex_f8/halld/halld_gcc-4.3/src-gcc-4.3/libraries/HDDM’
make[3]: *** [HDDM] Error 2
make[3]: Leaving directory 
`/w/work5621/marki/gluex_f8/halld/halld_gcc-4.3/src-gcc-4.3/libraries’
make[2]: *** [libraries] Error 2
make[2]: Leaving directory 
`/w/work5621/marki/gluex_f8/halld/halld_gcc-4.3/src-gcc-4.3′
make[1]: *** [make_halld] Error 2
make[1]: Leaving directory `/w/work5621/marki/gluex_f8/halld’
make: *** [halld_make] Error 2
|
removing the .depends directory fixes this, but I am not sure why it 
happens. I have run into this before, but I don't remember the context.

-- Mark

David Lawrence wrote:
>
> Hi Mark,
>
> The event.xml files is supposed to be aligned with the hddm_s.h file 
> in the same directory. Actually, it is supposed to be *older* than the 
> hddm_s.h file which is derived from it. Somehow, the repository now 
> checks this out with timestamps such that the hddm_s.h appears older 
> than event.xml triggering a rebuild.
>
> What should happen is that no remake is attempted when a fresh copy is 
> checked out from the repository allowing the hddm tools to be made and 
> installed. Then, if one modifies event.xml, the hddm-schema tool will 
> be in place to regenerate the hddm_s.h as needed.
>
> At leaset, that is what is *supposed* to happen.
>
> Regards,
> -David
>
> Mark M. Ito wrote:
>> Folks,
>>
>> The file event.xml in the src/libraries/HDDM directory is confusing 
>> me. It seems to be coming out of the subversion repository:
>>
>> A src-gcc-4.3/libraries/HDDM/event.xml
>>
>> and built as part of the make, generating the following error (on 
>> re-makes only):
>>
>> make[4]: Entering directory 
>> `/w/work5621/marki/gluex_f8/halld/src-gcc-4.3/libraries/HDDM'
>> --------- generating xml file
>> cp 
>> /w/work5621/marki/gluex_f8/halld/src/programs/Utilities/hddm/schema-hddm.xsl 
>> .
>> schema-hddm event.xsd > event.xml
>> /bin/sh: schema-hddm: command not found
>>
>> I also do not see how it can be made before the "programs" build is 
>> done. What is supposed to happen here?
>>
>> -- Mark
>>
>>
>