On 2005 Jun 30 , at 19.04, Peter W. Draper wrote:
> On Mon, 27 Jun 2005, Rankin, SE (Stephen) wrote:
>
>
>> I have to look more carefully at the directory thing, but the "USTAR
>> format archive" thing only appears to happen on Solaris.
>>
>
> Just finished an update to my Solaris build and it seems this
> problem is
> down to the following command sequence:
>
> cat sc3.htx_tar | /usr/bin/pax -r -v
> USTAR format archive
Steve, is this consistent with the places you discovered directory
names missing.
If I recall correctly, the SSN/78 documentation for the manifest
files says that it includes all the files and is silent on whether it
includes directories or not. My rationale for this was that you
couldn't tell from a file list whether the install step had created a
directory (and thus `owned' it) or hadn't (and thus didn't), so that
the sort of ownership-tweaking action you're describing was best left
to any packaging tools rather than the 'make install' trying to work
work out what was best.
You mentioned you had a workaround when generating RPMs. Myself, I'd
like to promote this to an approved technique, as I'd intended that
this sort of thing would be a packaging tool's problem. Would that
suit? One way or another, I should probably clarify what the 'make
manifest' step does for directory names.
One part of the reason at least is that the manifest file lines are
generated in a couple of different ways, and it's not a no-brainer to
get directory names consistently in or out.
> Seems unavoidable as it's output by pax in response to "-v", so Norman
> will need to recognise this and push it to /dev/null (or prefer tar
> over
> pax).
I prefer most things to pax.
But this I need to fix.
> Norman, another issue I've just come across is that for a
> successful build
> you need to have LD_LIBRARY_PATH set correctly (this time it was
> wrong),
> otherwise link commands like (from ASTROM):
You're suggesting this as a remark for SUN/248 (Building Starlink
Applications), yes? If so, I could make the change (happy to), or
you could edit docs/sun/248 yourself.
>
> Clearly the "-L/hot/2/pwd/cvs/build/lib" needs to come before -lsla
> and
> -lcfitsio, but there doesn't seem to be a macro you can use for this
> (could that be what STAR_LDFLAGS is for? but that's not currently
> set).
If you're not suggesting this as being for SUN/248, then I need to
look at this more carefully.
Norman
--
----------------------------------------------------------------------
Norman Gray : Physics & Astronomy, Glasgow University, UK
http://www.astro.gla.ac.uk/users/norman/ : www.starlink.ac.uk
|