RE: error while building perl

2004-05-14 Thread NYIMI Jose (BMB)
> -Original Message-
> From: Christian Stalp [mailto:[EMAIL PROTECTED] 
> Sent: Friday, May 14, 2004 1:46 PM
> To: [EMAIL PROTECTED]
> Subject: error while building perl
> 
> 
> Hello, 
> I just tryed to build perl with the gcc and got this dumped:
> 
>`sh  cflags "optimize='-O2'" toke.o`  toke.c
>   CCCMD =  /opt/gcc/bin/gcc -DPERL_CORE -c -D_HPUX_SOURCE 
> -DUINT32_MAX_BROKEN -fno-strict-aliasing -D_LARGEFILE_SOURCE 
> -DARG_ZERO_IS_SCRIPT -O2  -Wall
> toke.c: In function `Perl_yylex':
> toke.c:5244: virtual memory exhausted
> *** Error exit code 1
> 

Probably you have memory limitation.
what is the ouput of the ulimit -a (or limit -a) command ?

Mines is:

%ulimit -a
time(seconds)unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes)8192
coredump(blocks) unlimited
nofiles(descriptors) 2048
vmemory(kbytes)  unlimited

There is also unlimit command that let you remove limitation.
Check the doc (%man unlimit) or your sysadmin.

HTH,

José.


 DISCLAIMER 

"This e-mail and any attachment thereto may contain information which is confidential 
and/or protected by intellectual property rights and are intended for the sole use of 
the recipient(s) named above. 
Any use of the information contained herein (including, but not limited to, total or 
partial reproduction, communication or distribution in any form) by other persons than 
the designated recipient(s) is prohibited. 
If you have received this e-mail in error, please notify the sender either by 
telephone or by e-mail and delete the material from any computer".

Thank you for your cooperation.

For further information about Proximus mobile phone services please see our website at 
http://www.proximus.be or refer to any Proximus agent.


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




Re: error while building perl

2004-05-14 Thread Christian Stalp
Hey Jose,
the output is:
core file size (blocks) 2097151
data seg size (kbytes)  65536
file size (blocks)  unlimited
max memory size (kbytes)unlimited
open files  2048
pipe size (512 bytes)   16
stack size (kbytes) 8192
cpu time (seconds)  unlimited
max user processes  598
virtual memory (kbytes) unlimited

I think the virtual memory is not really the problem?

Gruss Christian

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




RE: error while building perl

2004-05-14 Thread NYIMI Jose (BMB)
> -Original Message-
> From: Christian Stalp [mailto:[EMAIL PROTECTED] 
> Sent: Friday, May 14, 2004 2:58 PM
> To: NYIMI Jose (BMB)
> Cc: [EMAIL PROTECTED]
> Subject: Re: error while building perl
> 
> 
> Hey Jose,
> the output is:
> core file size (blocks) 2097151
> data seg size (kbytes)  65536
> file size (blocks)  unlimited
> max memory size (kbytes)unlimited
> open files  2048
> pipe size (512 bytes)   16
> stack size (kbytes) 8192
> cpu time (seconds)  unlimited
> max user processes  598
> virtual memory (kbytes) unlimited
> 
> I think the virtual memory is not really the problem?
> 

Ok,
Are you using the latest version of gcc ?
If not install one on /usr/local/bin/gcc
Since /usr/local became your favour dir ;)

Oh, look at gcc bugzilla:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=884

this seems to be a known gcc bug and apparently has been pacthed.

HTH,

José.


 DISCLAIMER 

"This e-mail and any attachment thereto may contain information which is confidential 
and/or protected by intellectual property rights and are intended for the sole use of 
the recipient(s) named above. 
Any use of the information contained herein (including, but not limited to, total or 
partial reproduction, communication or distribution in any form) by other persons than 
the designated recipient(s) is prohibited. 
If you have received this e-mail in error, please notify the sender either by 
telephone or by e-mail and delete the material from any computer".

Thank you for your cooperation.

For further information about Proximus mobile phone services please see our website at 
http://www.proximus.be or refer to any Proximus agent.


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




RE: error while building perl

2004-05-14 Thread NYIMI Jose (BMB)


> -Original Message-
> From: Christian Stalp [mailto:[EMAIL PROTECTED] 
> Sent: Friday, May 14, 2004 1:46 PM
> To: [EMAIL PROTECTED]
> Subject: error while building perl
> 
> 
> Hello, 
> I just tryed to build perl with the gcc and got this dumped:
> 
>`sh  cflags "optimize='-O2'" toke.o`  toke.c
>   CCCMD =  /opt/gcc/bin/gcc -DPERL_CORE -c -D_HPUX_SOURCE 
> -DUINT32_MAX_BROKEN -fno-strict-aliasing -D_LARGEFILE_SOURCE 
> -DARG_ZERO_IS_SCRIPT -O2  -Wall

Your problem seems to be the use of -O2 option of gcc.
You could try to compile without this "optimization" option but I don't think this a
good way fixing a problem :-)

Just a thought ...

José.



 DISCLAIMER 

"This e-mail and any attachment thereto may contain information which is confidential 
and/or protected by intellectual property rights and are intended for the sole use of 
the recipient(s) named above. 
Any use of the information contained herein (including, but not limited to, total or 
partial reproduction, communication or distribution in any form) by other persons than 
the designated recipient(s) is prohibited. 
If you have received this e-mail in error, please notify the sender either by 
telephone or by e-mail and delete the material from any computer".

Thank you for your cooperation.

For further information about Proximus mobile phone services please see our website at 
http://www.proximus.be or refer to any Proximus agent.


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]