LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   General (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=25)
-   -   Compile PHP (http://www.litespeedtech.com/support/forum/showthread.php?t=3241)

fazewire 08-05-2009 12:40 PM

Compile PHP
 
Hello,

Before we made the switch to LSWS, we used easyapache for everything. Is there an alternative to that, that makes it easy, for LSWS? If not, then how do I do it manually? When I try, I get this:

Quote:

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 25312 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 25312 100 25312 0 0 82171 0 --:--:-- --:--:-- --:--:-- 305k
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 configure
aclocal.m4:2150: PHP_PROG_LEX is expanded from...
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:2150: PHP_PROG_LEX is expanded from...
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
shtool:echo:Warning: unable to determine terminal sequence for bold mode
shtool:echo:Warning: unable to determine terminal sequence for bold mode
checking for cc... cc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
Thanks for your help.

mistwang 08-05-2009 12:42 PM

Please use the build matching PHP feature in our WHM plugin.

fazewire 08-05-2009 12:44 PM

Quote:

Originally Posted by mistwang (Post 16412)
Please use the build matching PHP feature in our WHM plugin.

So I should compile apache, using easyapache, the way I want it, then match that build?

Thanks for the quick answer!

anewday 08-05-2009 12:54 PM

Quote:

Originally Posted by fazewire (Post 16413)
So I should compile apache, using easyapache, the way I want it, then match that build?

Thanks for the quick answer!

Yes, that's the way.

fazewire 08-05-2009 12:55 PM

Great, I'll give that a shot. Thanks!

Any input on the error above?

annoumure 08-13-2009 10:18 AM

Compile PHP
 
Cool...thanks a bunch for the help so far. I deleted my old compile files just to really try and force it to make new compile files...these are the errors that show up:

Warning: Smarty::includetemplates_cF7F72F726CAB6mainadmin.t pl.html.php function.Smarty-include: failed to open stream: No such file or directory in D:Hosting4078872htmllibrarysmartylibsSmarty.class. php on line 1266

Warning: Smarty::include function.include: Failed opening templates_cF7F72F726CAB6mainadmin.tpl.html.php for inclusion include_path=.;C:php5pear in D:Hosting4078872htmllibrarysmartylibsSmarty.class. php on line 1266

I know its finding the template files because if i delete them i get an error that says it couldnt find whatever.tpl.html instead of the errors above.

what do you think?


All times are GMT -7. The time now is 09:08 PM.