[Bioperl-l] [Bioperl-guts-l] Notification: incoming/1133 (fwd)

Jason Stajich jason@cgt.mc.duke.edu
Sat, 23 Mar 2002 07:52:26 -0500 (EST)


Apparently the newer perl releases (I used the code from 5.7.3) provides
better MakeMaker modules to handle this.
I could at least run
% make
(lots cp to blib cmds)
couldn't load shell: Argument list too long (bu22).
*** Error code 1 (bu21)
% make test

all tests ran (not necessarily passing because of DB_File problems with
the indexes)

My procedure:

Get a copy of perl 5.7.3
% cp -r perl-5.7.3/lib/ExtUtils bioperl-1.0
% cd bioperl-1.0
% perl -I. Makefile.PL
% make
[still one error reported]
% make test
(some tests still fail)
% make install
couldn't load shell: Argument list too long (bu22).
*** Error code 1 (bu21)

-j
-- 
Jason Stajich
Duke University
jason@cgt.mc.duke.edu

---------- Forwarded message ----------
Date: Fri, 22 Mar 2002 13:31:25 -0500
From: bioperl-bugs@bioperl.org
To: bioperl-guts-l@bioperl.org
Subject: [Bioperl-guts-l] Notification: incoming/1133

JitterBug notification

new message incoming/1133

Message summary for PR#1133
	From: batalov@gnf.org
	Subject: bioperl-1.0 doesn't build
	Date: Fri, 22 Mar 2002 13:31:24 -0500
	0 replies 	0 followups

====> ORIGINAL MESSAGE FOLLOWS <====

>From batalov@gnf.org Fri Mar 22 13:31:24 2002
Received: from localhost (localhost [127.0.0.1])
	by pw600a.bioperl.org (8.12.2/8.12.2) with ESMTP id g2MIVOkO005811
	for <bioperl-bugs@pw600a.bioperl.org>; Fri, 22 Mar 2002 13:31:24 -0500
Date: Fri, 22 Mar 2002 13:31:24 -0500
Message-Id: <200203221831.g2MIVOkO005811@pw600a.bioperl.org>
From: batalov@gnf.org
To: bioperl-bugs@bioperl.org
Subject: bioperl-1.0 doesn't build

Full_Name: Serge Batalov
Module: bioperl
Version: 1.0
PerlVer: 5.6.1
OS: IRIX,HP,DEC/Compaq-Alpha
Submission from: pat.gnf.org (63.196.132.64)


#> perl -MCPAN -e shell
#>     ...install Bundle::...
#> install B/BI/BIRNEY/bioperl-1.0.tar.gz
fails in 'make' with 'Arg list too long' message

What happens is that a list of things to MakeMake is too long for the
command line (in "# --- MakeMaker pm_to_blib section")

For the reference, command-line length limit is not
a shell limit; it is built in kernel/libc.
It has to do with the execvp()
limit ARG_MAX, which is 4096 characters in POSIX,
but most systems have it inflated, to different extents.

Test it with
--------arg_max.c--------
#include <unistd.h>
main() {
  printf("ARG_MAX = %ld\n  This is the maximum length of the arguments to the
exec() family of functions\n",
         sysconf(_SC_ARG_MAX));
  exit(0);
}
--------

Linux is the second most generous (most systems tested show 64K).
It is topped only by SUN (tried 5.8), where it is 128K.
IRIX and DEC/Alpha have 20K limit.
HP -- just 8K.

It would be prudent to stick to the POSIX limit, and
split the pm_to_blib into pieces.


_______________________________________________
Bioperl-guts-l mailing list
Bioperl-guts-l@bioperl.org
http://bioperl.org/mailman/listinfo/bioperl-guts-l