On Fri, 8 Apr 2005, David Berry wrote:
> Has anyone got any words of wisdom for Dennis?
Get Dennis to make sure that he's set the right environment variables:
setenv FC f77
setenv F77 f77
setenv CC cc
setenv CXX CC
the line:
> f77: Warning: Option -print-search-dirs passed to ld, if ld is invoked,
looks suspicious, like maybe CC=f77? The last failure still looks more
like a Perl issue (I've seen it somewhere before, but where evades me for
the moment).
Cheers,
Peter.
> ---------- Forwarded message ----------
> Date: Fri, 8 Apr 2005 16:03:04 +0100 (BST)
> From: Dennis Kelly <[log in to unmask]>
> To: David Berry <[log in to unmask]>
> Cc: Tim Jenness <[log in to unmask]>, Andy Gibb <[log in to unmask]>
> Subject: more on building
>
> Dear David,
>
> I found a more recent version of Perl on Solaris and put it at the front
> of the path. I then got the following:-
>
>
> alba> ./bootstrap
> m4 at /home/bdk/albadir/local-star/buildsupport/bin/m4 is OK
> Bootstrapping with
> STARCONF_DEFAULT_STARLINK = /home/bdk/albadir/local-star
> STARCONF_DEFAULT_PREFIX = /home/bdk/albadir/local-star
> BUILDSUPPORT_PREFIX = /home/bdk/albadir/local-star/buildsupport
> Do we need to build GNU m4? false
> Bootstrapping buildsupport:
> make -f Makefile.tmp \
> prefix=/home/bdk/albadir/local-star/buildsupport \
> MANIFEST=/home/bdk/albadir/local-star/manifests \
> buildsupport
> cd thirdparty/fsf/autoconf \
> && if test -n "$BUILDSUPPORT_PREFIX"; then \
> ./configure --prefix=$BUILDSUPPORT_PREFIX \
> >configure-output.log; \
> elif test ! -f Makefile; then \
> { t="Directory unconfigured but BUILDSUPPORT_PREFIX undefined";\
> echo $t >configure-output.log; echo $t >&2; \
> exit 1; }; \
> else \
> echo "No configuration necessary" >configure-output.log; \
> fi \
> && (make && make install) >make.log 2>make.log.err || { cat
> make.log.err; false; }
> cd thirdparty/fsf/libtool \
> && if test -n "$BUILDSUPPORT_PREFIX"; then \
> ./configure --prefix=$BUILDSUPPORT_PREFIX \
> >configure-output.log; \
> elif test ! -f Makefile; then \
> { t="Directory unconfigured but BUILDSUPPORT_PREFIX undefined";\
> echo $t >configure-output.log; echo $t >&2; \
> exit 1; }; \
> else \
> echo "No configuration necessary" >configure-output.log; \
> fi \
> && (make && make install) >make.log 2>make.log.err || { cat
> make.log.err; false; }
> f77: Warning: Option -print-search-dirs passed to ld, if ld is invoked,
> ignored otherwise
> Undefined first referenced
> symbol in file
> main /opt/SUNWspro/WS6U2/lib/crt1.o
> ld: fatal: Symbol referencing errors. No output written to a.out
> configure: WARNING: Could not find Fortran module file extension.
> f77: Warning: Option -print-search-dirs passed to ld, if ld is invoked,
> ignored otherwise
> Undefined first referenced
> symbol in file
> main /opt/SUNWspro/WS6U2/lib/crt1.o
> ld: fatal: Symbol referencing errors. No output written to a.out
> cd thirdparty/fsf/automake \
> && if test -n "$BUILDSUPPORT_PREFIX"; then \
> ./configure --prefix=$BUILDSUPPORT_PREFIX \
> >configure-output.log; \
> elif test ! -f Makefile; then \
> { t="Directory unconfigured but BUILDSUPPORT_PREFIX undefined";\
> echo $t >configure-output.log; echo $t >&2; \
> exit 1; }; \
> else \
> echo "No configuration necessary" >configure-output.log; \
> fi \
> && (make && make install) >make.log 2>make.log.err || { cat
> make.log.err; false; }
> cd buildsupport/starconf && autoreconf --install --symlink
> Not enough arguments for mkdir at
> /home/bdk/albadir/local-star/buildsupport/bin/autoreconf line 490, near
> "$aux_dir
> or"
> Execution of /home/bdk/albadir/local-star/buildsupport/bin/autoreconf
> aborted due to compilation errors.
> *** Error code 1
> make: Fatal error: Command failed for target
> `buildsupport/starconf/configure'
> Failed to make buildsupport
>
>
> cheers,
> Dennis
>
--
Dr. Peter W. Draper, Starlink Programmer, http://star-www.dur.ac.uk/~pdraper
|