On 17/05/2012 20:41, David Kirkby wrote:
On 17 May 2012 16:57, Rob McMahon<robmcmaho...@gmail.com>  wrote:

Answering my own question: it's this line from
spkg/build/prereq-1.0/configure{,.ac}

   if test "x`file $SAGE_FORTRAN_LIB | grep 32-bit | grep \"dynamic lib\" `"
= 'x'

Having set my path up to get GNU make, it was also picking up a different
version of `file' which says "shared object" instead of "dynamic lib".
  Moving on ...

Rob
I guess we could change the call to "file" to /usr/bin/file. I suspect
the "file" command will be in /usr/bin on any platform.

I'd vote yes for this. The tests are already "if test "x`uname`" = 'xSunOS' ... " so it doesn't matter about other platforms. I'm sure a lot of other people are running Ian Darwin's file command (we need it for mail scanning). You can't just look for "dynamic lib|shared object" because Ian Darwin's file says "symbolic link to ..." and you need to use "file -L" to follow the link (which /usr/bin/file doesn't support).

Cheers,

Rob

--
E-Mail: rob.mcma...@warwick.ac.uk               PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to