I am currently installing gsl-1.7 on our IBM cluster with an AIX5.1
  operating system as it is needed by the Gadget2.0 library. While compiling
  gsl-1.7 I got the following error.

  gcc: installation problem, cannot exec
'/usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.1.0.0/2.9-aix51-020209/collect2': arg
list too long

 After investigating it I found that the command line size of the shell in
 AIX-5.1 is 24kb. As you know, while gsl Makefile tries to create its
 executable file it fails due to the high number of object files to be linked.

 One of the proposed solution listed on
 http://econ.duke.edu/webfiles/arg/compecon/src/gsl/INSTALL is to
 use a manual approach to incrementally combining the object files
 in smaller groups.

 Question:
   How can I split the object files in smaller groups and compile them
   incrementally?

 Thank you in advance for any help.

Hello,

On more recent versions of AIX (e.g >= 5.1) use

  chdev -l sys0 -a ncargs=NNN

to increase the allowed number of arguments. NNN is the amount of
space measured in 4k blocks (default 6, maximum 1024)

Note that the main source of information for GSL is the INSTALL file in the distribution itself and our web page is http://www.gnu.org/software/gsl

--
Brian Gough

Network Theory Ltd,
Publishing the GSL Manual - http://www.network-theory.co.uk/gsl/manual/


_______________________________________________
Help-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gsl

Reply via email to