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
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
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):
f77 -g -o astrom astrom.o astrml.o indat.o eqep.o radec.o transf.o \
rdcal.o cocomo.o cocoom.o cocomm.o wfwcs0.o opw.o opr.o params.o \
dummy_c.o -lsla -lcfitsio -lsocket -lnsl -L/hot/2/pwd/cvs/build/lib
ild: (argument error) can't find library arguments :: -lsla -lcfitsio
*** Error code 8
make: Fatal error: Command failed for target `astrom'
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).