Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jul 29th, 2007, 4:46 PM   #1
Booooze
Expert Programmer
 
Booooze's Avatar
 
Join Date: Mar 2006
Location: Igloo
Posts: 710
Rep Power: 3 Booooze is on a distinguished road
Send a message via MSN to Booooze
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 is offline   Reply With Quote
Old Jul 29th, 2007, 5:06 PM   #2
Booooze
Expert Programmer
 
Booooze's Avatar
 
Join Date: Mar 2006
Location: Igloo
Posts: 710
Rep Power: 3 Booooze is on a distinguished road
Send a message via MSN to Booooze
Yeah, I feel a little stupid. I'll be downloading gcc now. Man is this gonna be fun.
Booooze is offline   Reply With Quote
Old Jul 30th, 2007, 1:40 AM   #3
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
yum install gcc
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware installation guide for Linux beginners coldDeath Coder's Corner Lounge 104 Jul 29th, 2007 5:40 AM
My views on Linux Marvin Coder's Corner Lounge 70 Dec 19th, 2006 12:13 PM
Linux is Annoying (Ubuntu) Baphomet Coder's Corner Lounge 6 Dec 1st, 2006 9:42 AM
Installing Norton on Linux? JDStud6 Coder's Corner Lounge 8 Mar 3rd, 2006 4:07 PM
Thinking of installing Linux crazykid48x Coder's Corner Lounge 7 Jan 20th, 2006 10:33 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 10:33 AM.

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