LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Nice PHP compiler for FC 6? (https://www.linuxquestions.org/questions/programming-9/nice-php-compiler-for-fc-6-a-554567/)

ashesh0326 05-17-2007 03:55 AM

Nice PHP compiler for FC 6?
 
Hi friends, I've been looking for a good PHP compiler for Fedora 6, any one which has a built in webserver/interpreter.
I tried my hand at Roadsend, but since the installation instructions were way too opaque, I let it go. Apart from that, I've not been able to come across a good PHP compiler.

Any ideas?

osor 05-17-2007 07:55 PM

Maybe you could tell us the problems you had with Roadsend.

ashesh0326 05-18-2007 03:36 AM

Osor, I'm still new to PHP, and I was looking for a new compiler. I tried installing roadsend, but this is what I get everytime I try:
Quote:

[root@ashesh pcc]# ./configure
You *MUST* define the PCC_HOME environment variable to point to the source root directory!
And I've not been able to understand where to define toe PCC_HOME environment variable.

And apart from Roadsend, there are no non commercial compilers for PHP. :(
Can you please help?

osor 05-18-2007 07:38 PM

Did you read this? Look particularly at the part where it says “YOU MUST DEFINE AT LEAST 'PCC_HOME' BEFORE PCC WILL BUILD”. The variable points to wherever you downloaded (and/or extracted) your sources. In most cases (where you are building inside the source dir itself), you do something like:
Code:

$ export PCC_HOME=$PWD
$ ./configure

Also make sure you’ve compiled and installed the Bigloo Scheme implementation.

ashesh0326 05-18-2007 10:38 PM

Quote:

[root@ashesh pcc]# make
mkdir libs
mkdir: cannot create directory `libs': File exists
make: [libs] Error 1 (ignored)
(cd tools/libwebserver && \
./configure --libdir=pcc/libs --includedir=pcc/libs && \
make all && \
make install)
configure: error: expected an absolute directory name for --libdir: pcc/libs
make: *** [libs/libwebserver.so] Error 1
Quote:

[root@ashesh pcc]# ./configure
PCC_HOME is: /pcc
Makefile.config already exists
I'm sorry if I sound lame, but can you please tell me whats wrong now?


All times are GMT -5. The time now is 06:14 AM.