Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15851 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 84065 invoked by uid 1010); 6 Apr 2005 07:57:18 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 84043 invoked from network); 6 Apr 2005 07:57:17 -0000 Received: from unknown (HELO pb1.pair.com) (127.0.0.1) by localhost with SMTP; 6 Apr 2005 07:57:17 -0000 X-Host-Fingerprint: 66.111.4.25 out1.smtp.messagingengine.com Received: from ([66.111.4.25:48847] helo=out1.smtp.messagingengine.com) by pb1.pair.com (ecelerity HEAD r(5268)) with SMTP id 09/82-19272-D5693524 for ; Wed, 06 Apr 2005 03:57:17 -0400 Received: from web2.messagingengine.com (web2.internal [10.202.2.211]) by frontend1.messagingengine.com (Postfix) with ESMTP id D21B2C7039B for ; Wed, 6 Apr 2005 03:57:13 -0400 (EDT) Received: by web2.messagingengine.com (Postfix, from userid 99) id EA55E791; Wed, 6 Apr 2005 03:57:11 -0400 (EDT) Message-ID: <1112774231.23916.231224234@webmail.messagingengine.com> X-Sasl-Enc: urobm7NL+5vFNnrgWutICnV/yl7+qo6PJGoNifCtfNkQ 1112774231 To: internals@lists.php.net Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.5 (F2.73; T1.001; A1.64; B3.05; Q3.03) Date: Wed, 06 Apr 2005 00:57:11 -0700 Subject: ./configure on a cross compile environment From: kameshj@fastmail.fm ("Kamesh Jayachandran") Hi All, Few weeks back I have checked in the configure.in and few m4 patches so that NetWare cross compile goes through. I tested the same by checking out a sources from php5_0 tree and ./buildconf and ./configure with approproiate --host and --target switches. When I do the same with whatever the ./configure script comes with php-5.0.4 I get the error. ./configure --disable-all --enable-ftp --enable-session --enable-bcmath --enable-calendar --enable-maintainer-zts --host i386-pc-netware --target i386-pc-netware --build i686-pc-linux-gnu --program-suffix=nlm CFLAGS="-nostdinc -fpack-struct -DNETWARE -I/usr/nwsdk/libc_api.2004.09.07/include/ -Xlinker --nlm-kernelspace -Xlinker --nlm-screenname=PHP" CC="/usr/cross-gcc/opt/cross/bin/i586-netware-gcc" CFLAGS=-nostdinc -fpack-struct -DNETWARE -I/usr/nwsdk/libc_api.2004.09.07/include/ -Xlinker --nlm-kernelspace -Xlinker --nlm-screenname=PHP Error message follows -------------------- configure: warning: CFLAGS=-nostdinc -fpack-struct -DNETWARE -I/usr/nwsdk/libc_api.2004.09.07/include/ -Xlinker --nlm-kernelspace -Xlinker --nlm-screenname=PHP: invalid host type CC=/usr/cross-gcc/opt/cross/bin/i586-netware-gcc configure: warning: CC=/usr/cross-gcc/opt/cross/bin/i586-netware-gcc: invalid host type configure: error: can only configure for one host and one target at a time How the ./configure is built while doing the releases? Even the ./buildconf --force on a released packages dis not help. With regards Kamesh Jayachandran