From owner-freebsd-doc@FreeBSD.ORG Thu Jul 14 17:38:13 2005 Return-Path: X-Original-To: freebsd-doc@freebsd.org Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C38F916A41C for ; Thu, 14 Jul 2005 17:38:13 +0000 (GMT) (envelope-from abenet62@yahoo.com) Received: from web32805.mail.mud.yahoo.com (web32805.mail.mud.yahoo.com [68.142.206.35]) by mx1.FreeBSD.org (Postfix) with SMTP id 62CA543D45 for ; Thu, 14 Jul 2005 17:38:13 +0000 (GMT) (envelope-from abenet62@yahoo.com) Received: (qmail 27202 invoked by uid 60001); 14 Jul 2005 17:38:12 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=hNDSFxuYo7oXlkq2vrAU63kVzFwYslChbMJL4h4zNuGIeaVpUAHUsgnBcXa8zc1PTUM3c9jZVo9Mj6PlqrbR6zpfQD21Sb44iem7wp13QwMmkMrFL3KYfVg4lIuw6nnJbfnfcAjaNWRoV/K8FWyOiH4Bha3pdNwdPzLQ7FXEufw= ; Message-ID: <20050714173812.27200.qmail@web32805.mail.mud.yahoo.com> Received: from [66.126.126.99] by web32805.mail.mud.yahoo.com via HTTP; Thu, 14 Jul 2005 10:38:12 PDT Date: Thu, 14 Jul 2005 10:38:12 -0700 (PDT) From: abenet Getahun To: freebsd-doc@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: php installatin X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jul 2005 17:38:13 -0000 I have a problem installing php , the following are what I am getting when I configure php. ./configure' '--prefix=/www' '--enable-module=so' this is in debug.log file CONFIGURE: './configure' '--prefix=/www' '--enable-module=so' CC: gcc CFLAGS: -g -O2 CPPFLAGS: CXX: CXXFLAGS: INCLUDES: LDFLAGS: LIBS: DLIBS: SAPI: cgi PHP_RPATHS: uname -a: Linux dev.varastream.com 2.6.9-1.667 #1 Tue Nov 2 14:41:25 EST 2004 i686 i686 i386 GNU/Linux gcc -o conftest -g -O2 conftest.c 1>&5 conftest.c: In function `int main()': conftest.c:3: error: `exit' undeclared (first use this function) conftest.c:3: error: (Each undeclared identifier is rep this is in config.log file his file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:1656: checking host system type configure:1756: checking for gcc configure:1869: checking whether the C compiler (gcc ) works configure:1885: gcc -o conftest conftest.c 1>&5 configure:1911: checking whether the C compiler (gcc ) is a cross-compiler configure:1916: checking whether we are using GNU C configure:1925: gcc -E conftest.c configure:1944: checking whether gcc accepts -g configure:1977: checking whether gcc and cc understand -c and -o together configure:1992: gcc -c conftest.c -o conftest.o 1>&5 conftest.c:1: error: ISO C++ forbids declaration of `foo' with no type configure:2028: checking how to run the C preprocessor configure:2049: gcc -E conftest.c >/dev/null 2>conftest.out configure:2109: checking for AIX configure:2136: checking if compiler supports -R configure:2151: gcc -o conftest -g -O2 conftest.c -R /usr/lib 1>&5 gcc: unrecognized option `-R' /usr/lib: file not recognized: Is a directory collect2: ld returned 1 exit status configure: failed program was: #line 2144 "configure" #include "confdefs.h" int main() { Please help thanks. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com