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 issource the following little script, which as you will see explicitly unsets STARLINK_DIR. I thought it says to do this somewhere in thebuild 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 gfortransetenv FC gfortransetenv STARCONF_DEFAULT_STARLINK $TRM_SOFTWARE/gstarsetenv STARCONF_DEFAULT_PREFIX $TRM_SOFTWARE/gstarunsetenv INSTALLunsetenv STARLINKunsetenv STARLINK_DIRsetenv 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 -Cconfigure: loading cache config.cachechecking for a BSD-compatible install... (cached) /usr/bin/install -cchecking whether build environment is sane... yeschecking for a thread-safe mkdir -p... (cached) /usr/bin/mkdir -pchecking for gawk... (cached) gawkchecking whether make sets $(MAKE)... (cached) yeschecking whether make supports nested variables... (cached) yesconfigure: Starlink tree located at /home/phsaap/software/gstarchecking for git... (cached) /usr/bin/gitchecking for pax... (cached) /usr/bin/paxchecking for gnutar... (cached) /bin/tarchecking for star2html... (cached) star2htmlchecking that generated files are newer than configure... doneconfigure: creating ./config.statusconfig.status: creating Makefileconfig.status: creating component.xmlconfig.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