PHP Configure Error

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
User avatar
Todd_Z
Forum Regular
Posts: 708
Joined: Thu Nov 25, 2004 9:53 pm
Location: U Michigan

PHP Configure Error

Post by Todd_Z »

Code: Select all

./configure --with-apxs2=/usr/local/sbin/apxs --enable-debug=no --enable-safe-mode --with-mysql=/usr/local/mysql/ --with-regex=system --with-xml --with-gd --with-zlib-dir --with-jpeg-dir

Code: Select all

loading cache ./config.cache
checking host system type... i686-pc-linux-gnuoldld
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
Any ideas?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

it wasn't able to find gcc or cc (C Compilers) in your paths.. sounds like you have other problems than php ;)(
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

That doesn't look too nice :?

I'd install this swiftly ;)

http://gcc.gnu.org/

If you don't have that then there's not a lot you can install full-stop :P I'm amazed it wasn't packaged with your distro. Mind if I ask what you're running?
User avatar
Todd_Z
Forum Regular
Posts: 708
Joined: Thu Nov 25, 2004 9:53 pm
Location: U Michigan

Post by Todd_Z »

ubuntu 5.10
User avatar
dude81
Forum Regular
Posts: 509
Joined: Mon Aug 29, 2005 6:26 am
Location: Pearls City

Post by dude81 »

download a gcc complier and install it. That is the basic component for all installations in your Linux system
or just resintall ur system and give enable all tools . You mised a Major componenet :)
Post Reply