Date: Thu, 14 Jul 2005 10:38:12 -0700 (PDT) From: abenet Getahun <abenet62@yahoo.com> To: freebsd-doc@freebsd.org Subject: php installatin Message-ID: <20050714173812.27200.qmail@web32805.mail.mud.yahoo.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050714173812.27200.qmail>