Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Coder's Corner Lounge (http://www.programmingforums.org/forum11.html)
-   -   Linux - Installing PHP (http://www.programmingforums.org/showthread.php?t=13656)

Booooze Jul 29th, 2007 3:46 PM

Linux - Installing PHP
 
Once again, I'm taking another shot at my server. First it was the DNS, then it froze when I tried to download (or upload) any files. Turned out that was because of the wireless card I think. Anyways, I've gotten PHP 5.2.3 now, and I'm trying to install it. I'm following this tutorial. All was good up until the configure part. It gives me errors, and I can't get the make file. Here's what I'm trying and it's results. (i've also truied different variations. Btw, it's DSL (damn small linux) with PHP 5.2.3 on Monkey web server. I know that the versions are different from the tutorial, but everywhere else on line providing tutorials on php 5 don't seem to be any different.

Quote:

./configure --prefix=/home/dsl/php-5.2.3/
loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
expr: syntax error
./configure: line 2334: test: =: unary operator expected
expr: syntax error
./configure: line 2340: test: =: unary operator expected
expr: syntax error
./configure: line 2347: test: =: unary operator expected
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
Note the command. I wouldn't think that your supposed to have that "prefix" there? I thought that was for extra extensions or what not. Anyways, I've tried similar commands. I've tried different directories and stuff, but this seems to be the best results. Any help greatly appreciated. Thanks.

Booooze Jul 29th, 2007 4:06 PM

Yeah, I feel a little stupid. I'll be downloading gcc now. Man is this gonna be fun.

Infinite Recursion Jul 30th, 2007 12:40 AM

yum install gcc


All times are GMT -5. The time now is 3:09 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC