Print

Print


sorry for long silence ... made stupid mistake of starting from scratch forgetting the network speed here. The other thing is I realised I typed "make" after configure, not "make world". If that is the issue, sorry for wasting your time for the umpteenth time. It is looking a bit happier ...

tom


On 4 March 2014 20:33, Tim Jenness <[log in to unmask]> wrote:
That all looks right to me. You don't need to set STARLINK_DIR as the login script is meant to set it for you (and if you set it it will simply assume you are relocating).

None of this explains why star2html is not in $STARCONF_DEFAULT_PREFIX/bin

if you go into applications/star2html and type "make install" what happens?


On Tue, Mar 4, 2014 at 12:03 PM, Thomas Marsh <[log in to unmask]> wrote:
Oh right! I am now not sure how I have *ever* built starlink if this is the case because the first thing I do before trying to is
source the following little script, which as you will see explicitly unsets STARLINK_DIR. I thought it says to do this somewhere in the 
build instructions, but perhaps STARLINK_DIR gets set at some point and then I mistakenly re-sourced the little script or something.
Apologies for my probable incompetence. Where would be the best point for me to re-start? Right back to bootstrap?


setenv F77 gfortran
setenv FC gfortran
setenv STARCONF_DEFAULT_STARLINK $TRM_SOFTWARE/gstar
setenv STARCONF_DEFAULT_PREFIX $TRM_SOFTWARE/gstar
unsetenv INSTALL
unsetenv STARLINK
unsetenv STARLINK_DIR
setenv PATH $STARCONF_DEFAULT_PREFIX/bin:$STARCONF_DEFAULT_PREFIX/buildsupport/bin:$PATH


tom

On 4 March 2014 18:17, Tim Jenness <[log in to unmask]> wrote:
star2html is in your path in $STARLINK_DIR/bin

Your configure can't find it.

What I don't understand is how you got all the way to sc/002 before it noticed. star2html is built very early in make world. Did you switch terminals to one that doesn't have $STARLINK_DIR/bin in your path?


On Tue, Mar 4, 2014 at 11:03 AM, Thomas Marsh <[log in to unmask]> wrote:
I get this:

cd docs/sc/002/
sc/002> ./configure -C
configure: loading cache config.cache
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /usr/bin/mkdir -p
checking for gawk... (cached) gawk
checking whether make sets $(MAKE)... (cached) yes
checking whether make supports nested variables... (cached) yes
configure: Starlink tree located at /home/phsaap/software/gstar
checking for git... (cached) /usr/bin/git
checking for pax... (cached) /usr/bin/pax
checking for gnutar... (cached) /bin/tar
checking for star2html... (cached) star2html
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating component.xml
config.status: creating examples/Makefile

but the make problem is unchanged ...

Where does it find "star2html"? I ran a 'find' from the top level and the only star2html it came back with was the directory
./applications/star2html/

is that right?

tom



On 4 March 2014 15:32, Tim Jenness <[log in to unmask]> wrote:
sc2 is the first standalone document to build.

What happens if you run ./configure in the docs/sc/002 directory?


On Tue, Mar 4, 2014 at 2:33 AM, Tom Marsh <[log in to unmask]> wrote:
Sorry, me again. Trying to build starlink on newish laptop and encountered one I vaguely feel I have before:

star2html  sc2.tex
make[4]: star2html: Command not found
make[4]: [sc2.htx_tar] Error 127 (ignored)
test -d sc2.htx
make[4]: *** [sc2.htx_tar] Error 1
make[4]: Leaving directory `/home/phsaap/software/github/starlink/docs/sc/002'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/phsaap/software/github/starlink/docs/sc/002'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/phsaap/software/github/starlink/docs/sc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/phsaap/software/github/starlink/docs'
make: *** [all-recursive] Error 2

there were various things (yacc, bison, flex) that I had to install as I hit errors; I don't know if this could somehow have led to the above problem which would not have occurred otherwise. Anyway, grateful for ways around it. It was quite early in the 'make' stage. I am at VLT at the moment and need to get starlink etc installed

tom




--
Professor T.R. Marsh      Tel.:     +44-(0)24765-74739
Department of Physics    FAX :  +44-(0)24765-23762
University of Warwick     
Coventry CV4 7AL, UK    www.astro.warwick.ac.uk




--
Professor T.R. Marsh      Tel.:     +44-(0)24765-74739
Department of Physics    FAX :  +44-(0)24765-23762
University of Warwick     
Coventry CV4 7AL, UK    www.astro.warwick.ac.uk




--
Professor T.R. Marsh      Tel.:     +44-(0)24765-74739
Department of Physics    FAX :  +44-(0)24765-23762
University of Warwick     
Coventry CV4 7AL, UK    www.astro.warwick.ac.uk