Menu

#4 make fails at fortran script with zcat on MacOS X 10.4

open
nobody
None
5
2006-02-23
2006-02-23
Anonymous
No

MacOS X 10.4.2
zcat 1.3.5

After configuring, make failed on the mkfortran script in the src/
acmkdir/Makefile.
I modified the src/acmkdir/Makefile to use gunzip instead of zcat and
removed the $(srcdir) reference. I also added a GUNZIP reference at the
top of the Makefile.
Ie:

GUNZIP = /usr/bin/gunzip

And From:

mkfortran: $(srcdir)/fortran.tar.gz
rm -f mkfortran
$(ZCAT) $(srcdir)/fortran.tar.gz > fortran.tar
tar xf fortran.tar
($(SHAR) fortran > mkfortran) >& /dev/null
chmod ugo+x mkfortran
rm -rf fortran
rm -f fortran.tar

To:

mkfortran: $(srcdir)/fortran.tar.gz
rm -f mkfortran
$(GUNZIP) fortran.tar.gz > fortran.tar
tar xf fortran.tar
($(SHAR) fortran > mkfortran) >& /dev/null
chmod ugo+x mkfortran
rm -rf fortran
rm -f fortran.tar

I apologize for not providing a more permanent fix. I don't know
enough about the tools to point out where to fix them (since Makefile
is generated from others, I'm not sure where to make changes and my
attempts to try have failed).

Discussion


Log in to post a comment.

MongoDB Logo MongoDB