[SciPy-user] build prob (and fix) on OSF

John A. Turner turner at lanl.gov
Fri Aug 8 12:56:11 EDT 2003


building 0.2.0-200.4161 on an Alpha running Tru64Unix 5.1 (also known
as OSF1, and which sys.platform reports as osf1V5), ran into a failure
after a huge ar command for LAPACK

went hunting and found this bit in build_flib.py:

         if os.name == 'nt' or sys.platform[:4] == 'irix':
             # I (pearu) had the same problem on irix646 ...
             # I think we can make this "bunk" default as skip_ranlib
             # feature speeds things up.
             # XXX:Need to check if Digital compiler works here.

             # This is pure bunk...
             # Windows fails for long argument strings on the command line.
             # if objects is real long (> 2048 chars or so on my machine),
             # the command fails (cmd.exe /e:2048 on w2k).
             # for now we'll split linking into to steps which should work for
             objects = object_list[:]
             while objects:

sure enough, changing the if test to:

         if os.name == 'nt' or sys.platform[:4] == 'irix' or sys.platform[:3] == 'osf':

allowed me to get past that problem

-John A. Turner
  Los Alamos National Lab
  Advanced Scientific Simulation, CCS-2





More information about the SciPy-User mailing list