I get this error every time I try to build matching php

grniyce

Well-Known Member
#1
cc1: out of memory allocating 2036 bytes after a total of 70115328 bytes
make: *** [ext/date/lib/parse_date.lo] Error 1
**ERROR** Could not compile PHP
 

grniyce

Well-Known Member
#2
can someone please answer this for me? I cannot get litespeed installed and operational unless someone helps to define why it's not allowing me to build matching php.

I have since uninstalled litespeed completely, removed all files, and can start from scratch again.
 

grniyce

Well-Known Member
#4
so i just login to ssh thru putty and paste each line one by one and then close the window? i'm not sure if that took. i'm sorry, i'm rather new to this. all i know is litespeed works a LOT better than crap-ache, and I'd like to be able to use it.
 

grniyce

Well-Known Member
#6
I pasted the whole thing in putty thru ssh ya know, and then I went back in to WHM and selected to build matching php and got the exact same error... I pasted below a few details...


Main >> LiteSpeed Web Server Plugin for WHM
Build PHP Using Apache Configuration with LSAPI
Progress: Stopped due to Error

==============================================
Start building PHP 5.2.9 with LSAPI
==============================================
Fri Mar 27 15:06:01 CDT 2009

Changing to build directory /home/cpeasyapache/ls.src
Detected php build directory for cPanel /home/cpeasyapache/src/php-5.2.9
Same source code will be copied over

Query lastest LSAPI version: 4.9
php-litespeed-4.9.tgz already downloaded, use the saved copy
Extracting LSAPI archive: tar -xzf php-litespeed-4.9.tgz

Finished gathering all the source code

Generating configuration script
Forcing buildconf
using default Zend directory
buildconf: checking installation...
buildconf: autoconf version 2.59 (ok)
buildconf: Your version of autoconf likely contains buggy cache code.
Running cvsclean for you.
To avoid this, install autoconf-2.13.
rebuilding main/php_config.h.in
autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
autoheader: WARNING: `acconfig.h':
autoheader:
autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: [Define if a function `main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
aclocal.m4:2147: PHP_PROG_LEX is expanded from...
Configuring PHP build (2-3 minutes)
loading cache ./config.cache


cc1: out of memory allocating 2036 bytes after a total of 70225920 bytes
make: *** [ext/date/lib/parse_date.lo] Error 1
**ERROR** Could not compile PHP

Go back
 

grniyce

Well-Known Member
#10
Excellent, it does work now. One last question... ---> Do you have any idea what these errors mean? They don't go away, and only show in LSWS Admin.

Code:
Found last 10 warning/error messages in the log:  	More
Time 	Level 	Message
2009-03-27 16:35:26.150	ERROR	[config] \: pre-mature end of line.
2009-03-27 16:35:26.150	ERROR	[config] rewrite: unknown server variable while parsing: XML:/*
2009-03-27 16:35:26.150	ERROR	[config] rewrite: unknown server variable while parsing: XML:/*
2009-03-27 16:35:26.150	ERROR	[config] \: pre-mature end of line.
2009-03-27 16:35:26.150	ERROR	[config] rewrite: unknown server variable while parsing: XML:/*
2009-03-27 16:35:26.150	ERROR	[config] \: pre-mature end of line.
2009-03-27 16:35:26.150	ERROR	[config] rewrite: unknown server variable while parsing: XML:/*
2009-03-27 16:35:26.150	ERROR	[config] rewrite: unknown server variable while parsing: XML:/*
2009-03-27 16:35:26.150	ERROR	[config] \: pre-mature end of line.
2009-03-27 16:35:26.150	ERROR	[config] rewrite: unknown server variable while parsing: XML:/*
 
Top