[SciPy-user] install problem can't find fortran (IRIX/python2.2.1/cvs scipy)
Tim Carlson
tim.carlson at pnl.gov
Thu May 2 19:38:01 EDT 2002
On Thu, 2 May 2002, eric wrote:
> > All goes well until I hit the bug in optimize/Zeros/zeros.h which I fix
> > and happily continue on.
>
> What problem are you running into on zeros.h? Can you send a patch?
Here is "diff -c". I think the problem was that the backslash was escaping
the ^M's that are all over this file. So I took it out and just put
everything on one line. Hey.. I'm a sysadmin, not a programmer :)
*** zeros.h Thu May 2 08:41:44 2002
--- /msrc/dist/scipy-cvs/scipy/optimize/Zeros/zeros.h Mon Apr 15 13:40:58 2002
***************
*** 14,20 ****
} default_parameters;
static double dminarg1,dminarg2;
! #define DMIN(a,b) (dminarg1=(a),dminarg2=(b),(dminarg1) < (dminarg2) ?(dminarg1) : (dminarg2))
#define SIGN(a) ((a) > 0.0 ? 1.0 : -1.0)
#define ERROR(params,num,val) (params)->error_num=(num); return (val)
--- 14,21 ----
} default_parameters;
static double dminarg1,dminarg2;
! #define DMIN(a,b) (dminarg1=(a),dminarg2=(b),(dminarg1) < (dminarg2) ?\
! (dminarg1) : (dminarg2))
#define SIGN(a) ((a) > 0.0 ? 1.0 : -1.0)
#define ERROR(params,num,val) (params)->error_num=(num); return (val)
> >>> import scipy_distutils.command.build_flib
> >>> scipy_distutils.command.build_flib.show_compilers()
> Absoft 4.6
> Gnu 2.95.2
>
> You should get MIPS and g77.
Python 2.2.1 (#1, May 1 2002, 11:48:54)
[GCC 2.95.3 20010315 (release)] on irix646
Type "help", "copyright", "credits" or "license" for more information.
>>> import scipy_distutils.command.build_flib
>>> scipy_distutils.command.build_flib.show_compilers()
SGI 7.3.1.2m
Looks like it misses g77 (which is in my path)
Something could be broken with by g77 build. g77 -v reports a mess of info
and then
g77: installation problem, cannot exec `/var/tmp/ccaTe91N': Permission
denied
A bit odd because I am able to use it to compile things. I'll do
more checking on that.
I'll whack on it a bit more and post any interesting results :)
Thanks for the advice.
I'll get this problem fixed and then post problems with HPUX. I really
hate HPUX.
Tim
Tim Carlson
Voice: (509) 376 3423
Email: Tim.Carlson at pnl.gov
EMSL UNIX System Support
More information about the SciPy-User
mailing list