From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 00:52:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD96F10657CB for ; Sun, 10 Jan 2010 00:52:55 +0000 (UTC) (envelope-from lists@lizardhill.com) Received: from kermit7.lizardhill.com (kermit7.lizardhill.com [64.69.41.223]) by mx1.freebsd.org (Postfix) with ESMTP id C686A8FC18 for ; Sun, 10 Jan 2010 00:52:55 +0000 (UTC) Received: from ip68-104-23-65.lv.lv.cox.net ([68.104.23.65] helo=mickey) by kermit.lizardhill.com with esmtpa (Exim 4.62) (envelope-from ) id 1NTm2n-0004y0-K0; Sat, 09 Jan 2010 16:52:37 -0800 From: "Don O'Neil" To: "'Polytropon'" References: <157701ca90c1$3a62ecd0$af28c670$@com> <20100109073442.c86fe9e4.freebsd@edvax.de> In-Reply-To: <20100109073442.c86fe9e4.freebsd@edvax.de> Date: Sat, 9 Jan 2010 16:52:57 -0800 Message-ID: <188101ca918f$40141810$c03c4830$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcqQ9c+6wjKBr7XaQMqCV8To+jTGoQAmMHtA Content-Language: en-us Cc: php-general@lists.php.net, freebsd-questions@freebsd.org Subject: RE: Clean PHP 5.2.12 Build Core Dumping 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: Sun, 10 Jan 2010 00:52:55 -0000 Ok... well, your idea is a good one, but it seems that the port is broken. I did a port update, which brought in the latest php build info from December, but when I run 'make' (without even editing the Makefile to add my own other modules I need) I get this: X11BASE is now deprecated. Unset X11BASE in make.conf and try again. *** Error code 1 Not even sure where it's getting that error message from, since I can't find any reference to X11BASE in any of the files in the package, or in my env. Any ideas? > -----Original Message----- > From: Polytropon [mailto:freebsd@edvax.de] > Sent: Friday, January 08, 2010 10:35 PM > To: Don O'Neil > Cc: php-general@lists.php.net; freebsd-questions@freebsd.org > Subject: Re: Clean PHP 5.2.12 Build Core Dumping > > On Fri, 8 Jan 2010 16:18:11 -0800, "Don O'Neil" > wrote: > > Ok... more info on the problem... > > > > I started with a clean untarred archive, ad just ran ./configure, > make, make > > test.... I get a core dump. > > Maybe this is not a FreeBSD source? > > I'd suggest using the FreeBSD ports system for installation from > source (i. e. tar archives). PHP 5.2.12 seems to be availabe. > You can use > > # cd /usr/ports/lang/php5 > # make > # make install > > Make sure - not "make sure" :-) - that your ports tree is up to > date in order to recieve the latest version. > > > > > After running gdb on the core dump I noticed it was the sqlite stuff > that > > was dumping, so I re-ran configure with --without-sqlite > > --without-pdo-sqlite --with-mysql=/usr/local/mysql > > Check the available options that can be set for the php5 port > at compile time, either via "make config", or enter them > manually (e. g. in Makefile.local - I'm not sure if this > mechanism is still supported). > > > > > Now the gdb shows this: > > > > Core was generated by `php'. > > Program terminated with signal 11, Segmentation fault. > > #0 0x081d50a7 in sqlite3Select (pParse=0xbbc00080, p=0x0, > eDest=164102200, > > iParm=0, pParent=0x24, parentTab=139141440, pParentAgg=0x84c10d8, > > aff=0x0) > > at > > /usr/local/directadmin/customapache/php- > 5.2.11/ext/pdo_sqlite/sqlite/src/sel > > ect.c:3172 > > 3172 for(j=0; jnExpr; j++){ > > > > > > First off, the compile directory listed is wrong, don't know where it > got > > php-5.2.11 from, that's the last version I built and is installed on > this > > system. Maybe it's pulling that from the system php? > > Yes, correct. > > > > > Secondly, even though I've told it not to use sqlite, it still seems > to be. > > It is - by 5.2.11 (or by directadmin). Seems that you've not > installed 5.2.12 with your custom options yet. > > > > > Any help here would be appreciated in moving forward. My whole reason > for > > needing to rebuild php is I need the pdo_mysql module instead of the > > pdo_sqlite version. > > As I said, I would suggest to try to achieve this through > the ports system. It's easier than fighting ./configure. :-) > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ...