From owner-freebsd-questions@FreeBSD.ORG Tue Dec 26 22:06:43 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 69E4016A412 for ; Tue, 26 Dec 2006 22:06:43 +0000 (UTC) (envelope-from maanjee@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.241]) by mx1.freebsd.org (Postfix) with ESMTP id 13A5C13C470 for ; Tue, 26 Dec 2006 22:06:42 +0000 (UTC) (envelope-from maanjee@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so1142851ana for ; Tue, 26 Dec 2006 14:06:42 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=lAhSvkMJIDbKcZ4czeMjxvphW1iBcKtpkrs7oyL6mhC2I45CicNz4sMDTj+8zGEsNgXtcTyesqTBroU8gYbsVef8M9f9ai6yo/EnoOKqpOank9qqMzUsrlyfubXhHDKccFsSvJHP5sGI6iPx+376oL9WMcOU2Eqr3VvTsv2ipns= Received: by 10.100.5.17 with SMTP id 17mr1317984ane.1167169335247; Tue, 26 Dec 2006 13:42:15 -0800 (PST) Received: by 10.100.111.20 with HTTP; Tue, 26 Dec 2006 13:42:15 -0800 (PST) Message-ID: <2cd0a0da0612261342i308497edl52fc3a22335559b7@mail.gmail.com> Date: Tue, 26 Dec 2006 22:42:15 +0100 From: VeeJay To: maanjee@gmail.com, FreeBSD-Questions MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Help, FreeBSd ...PHP installation problem... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Dec 2006 22:06:43 -0000 Hello Can someone help me? I am trying to install PHP 4.4 on my freeBSD box. I have installed apache20 already and its working perfect. But when I want to install PHP, I get compilation error. 1. first I give this command: ./configure --prefix=/usr/local/apache2/php --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache2/sbin/apxs --enable-safe-mode 2. then I give make command localhost# make 3. Then I get this error: /bin/sh /home/localuser/temp/php-4.4.4/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/standard/ -I/home/localuser/temp/php-4.4.4/ext/standard/ -DPHP_ATOM_INC -I/home/localuser/temp/php-4.4.4/include -I/home/localuser/temp/php-4.4.4/main -I/home/localuser/temp/php-4.4.4-I/usr/local/mysql/include/mysql -I/home/localuser/temp/php- 4.4.4/ext/xml/expat -I/home/localuser/temp/php-4.4.4/TSRM -I/home/localuser/temp/php-4.4.4/Zend -g -O2 -prefer-non-pic -c /home/localuser/temp/php-4.4.4/ext/standard/info.c -o ext/standard/info.lo /bin/sh /home/localuser/temp/php-4.4.4/libtool --silent --preserve-dup-deps --mode=compile gcc -Imain/ -I/home/localuser/temp/php-4.4.4/main/ -DPHP_ATOM_INC -I/home/localuser/temp/php-4.4.4/include -I/home/localuser/temp/php-4.4.4/main -I/home/localuser/temp/php-4.4.4-I/usr/local/mysql/include/mysql -I/home/localuser/temp/php- 4.4.4/ext/xml/expat -I/home/localuser/temp/php-4.4.4/TSRM -I/home/localuser/temp/php-4.4.4/Zend -g -O2 -prefer-non-pic -c main/internal_functions.c -o main/internal_functions.lo /bin/sh /home/localuser/temp/php-4.4.4/libtool --silent --preserve-dup-deps --mode=link gcc -g -O2 -prefer-non-pic -rpath /home/localuser/temp/php- 4.4.4/libs -avoid-version -module -L/usr/local/mysql/lib/mysql -R /usr/local/mysql/lib/mysql ext/pcre/pcrelib/pcre_chartables.lo ext/pcre/pcrelib/pcre_ucp_searchfuncs.lo ext/pcre/pcrelib/pcre_compile.lo ext/pcre/pcrelib/pcre_config.lo ext/pcre/pcrelib/pcre_dfa_exec.lo ext/pcre/pcrelib/pcre_exec.lo ext/pcre/pcrelib/pcre_fullinfo.lo ext/pcre/pcrelib/pcre_get.lo ext/pcre/pcrelib/pcre_globals.lo ext/pcre/pcrelib/pcre_info.lo ext/pcre/pcrelib/pcre_maketables.lo ext/pcre/pcrelib/pcre_ord2utf8.lo ext/pcre/pcrelib/pcre_refcount.lo ext/pcre/pcrelib/pcre_study.lo ext/pcre/pcrelib/pcre_tables.lo ext/pcre/pcrelib/pcre_try_flipped.lo ext/pcre/pcrelib/pcre_valid_utf8.lo ext/pcre/pcrelib/pcre_version.lo ext/pcre/pcrelib/pcre_xclass.lo ext/pcre/php_pcre.lo ext/ctype/ctype.lo ext/mysql/php_mysql.lo ext/overload/overload.lo ext/posix/posix.lo ext/session/session.lo ext/session/mod_files.lo ext/session/mod_mm.lo ext/session/mod_user.lo regex/regcomp.lo regex/regexec.lo regex/regerror.lo regex/regfree.lo ext/standard/array.lo ext/standard/base64.lo ext/standard/basic_functions.lo ext/standard/browscap.lo ext/standard/crc32.lo ext/standard/crypt.lo ext/standard/cyr_convert.lo ext/standard/datetime.lo ext/standard/dir.lo ext/standard/dl.lo ext/standard/dns.lo ext/standard/exec.lo ext/standard/file.lo ext/standard/filestat.lo ext/standard/flock_compat.lo ext/standard/formatted_print.lo ext/standard/fsock.lo ext/standard/head.lo ext/standard/html.lo ext/standard/image.lo ext/standard/info.lo ext/standard/iptc.lo ext/standard/lcg.lo ext/standard/link.lo ext/standard/mail.lo ext/standard/math.lo ext/standard/md5.lo ext/standard/metaphone.lo ext/standard/microtime.lo ext/standard/pack.lo ext/standard/pageinfo.lo ext/standard/parsedate.lo ext/standard/quot_print.lo ext/standard/rand.lo ext/standard/reg.lo ext/standard/soundex.lo ext/standard/string.lo ext/standard/scanf.lo ext/standard/syslog.lo ext/standard/type.lo ext/standard/uniqid.lo ext/standard/url.lo ext/standard/url_scanner.lo ext/standard/var.lo ext/standard/versioning.lo ext/standard/assert.lo ext/standard/strnatcmp.lo ext/standard/levenshtein.lo ext/standard/incomplete_class.lo ext/standard/url_scanner_ex.lo ext/standard/ftp_fopen_wrapper.lo ext/standard/http_fopen_wrapper.lo ext/standard/php_fopen_wrapper.lo ext/standard/credits.lo ext/standard/css.lo ext/standard/var_unserializer.lo ext/standard/ftok.lo ext/standard/aggregation.lo ext/standard/sha1.lo ext/tokenizer/tokenizer.lo ext/xml/xml.lo ext/xml/expat/xmlparse.lo ext/xml/expat/xmlrole.lo ext/xml/expat/xmltok.lo TSRM/TSRM.lo TSRM/tsrm_strtok_r.lo TSRM/tsrm_virtual_cwd.lo main/main.lo main/snprintf.lo main/spprintf.lo main/php_sprintf.lo main/safe_mode.lo main/fopen_wrappers.lo main/alloca.lo main/php_scandir.lo main/php_ini.lo main/SAPI.lo main/rfc1867.lo main/php_content_types.lo main/strlcpy.lo main/strlcat.lo main/mergesort.lo main/reentrancy.lo main/php_variables.lo main/php_ticks.lo main/streams.lo main/network.lo main/php_open_temporary_file.lo main/php_logos.lo main/output.lo main/memory_streams.lo main/user_streams.lo Zend/zend_language_parser.lo Zend/zend_language_scanner.lo Zend/zend_ini_parser.lo Zend/zend_ini_scanner.lo Zend/zend_alloc.lo Zend/zend_compile.lo Zend/zend_constants.lo Zend/zend_dynamic_array.lo Zend/zend_execute_API.lo Zend/zend_highlight.lo Zend/zend_llist.lo Zend/zend_opcode.lo Zend/zend_operators.lo Zend/zend_ptr_stack.lo Zend/zend_stack.lo Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo Zend/zend_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo Zend/zend_indent.lo Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo Zend/zend_strtod.lo Zend/zend_execute.lo sapi/apache2handler/sapi_apache2.lo sapi/apache2handler/apache_config.lo sapi/apache2handler/php_functions.lo main/internal_functions.lo -lcrypt -lcrypt -lmysqlclient -lm -lcrypt -lcrypt -o libphp4.la ext/pcre/pcrelib/pcre_chartables.lo: file not recognized: File truncated *** Error code 1 Stop in /home/localuser/temp/php-4.4.4. localhost# Please help... I have spent almost 3 days trying to solve it... have surfed net and googled a lot... but not any luck yet.... You would wonder, why I am not using freebsd port systme for php, but then it begins to install apache again...which is already installed.. otherwise... -- Thanks! BR / vj