Re: Wierd CVS Build problem with libmysql
| From: | Jason Greene | Date: | Mon, 06 Nov 2000 23:28:59 +0000 |
| Subject: | Re: Wierd CVS Build problem with libmysql | ||
| References: | 1 2 3 4 5 6 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-37312@lists.php.net to get a copy of this message | ||
CVS libmysql builds fine now
I checked ext/mysql/libmysql/acinclude.m4 and made sure that MYSQL_TYPE_QSORT defined.
Since tim told me the problem was with the autoheader stuff, I examined my ./configure which did not
contain any of the qsort checks that were in ext/mysql/libmysql/acinclude.m4, so I reran buildconf,
same results. After resyncing my cvs tree about 5 minutes ago and rerunning buildconf the nescesary
#defines were in place. I must
have missed an update somewhere along the line.
-Jason
----- Original Message -----
From: "Andi Gutmans" <andi@zend.com>
To: "Thimble Smith" <tim@mysql.com>; "Jason Greene"
<jason@inetgurus.net>
Cc: <monty@mysql.com>; <zeev@zend.com>; <php-dev@lists.php.net>
Sent: Monday, November 06, 2000 12:57 PM
Subject: Re: [PHP-DEV] Wierd CVS Build problem with libmysql
> Jason,
>
> Can you please give us a status after you check the issues Tim pointed out?
>
> Thanks,
>
> Andi
>
> At 01:07 PM 11/6/00 -0500, Thimble Smith wrote:
> >On Mon, Nov 06, 2000 at 11:48:09AM -0800, Jason Greene wrote:
> > > Here is a copy of the make error when compiled with SUN cc version 5.0
> > for Solaris 2.7 sparc.
> > >
> > > "./my_sys.h", line 459: undefined or not a type: RETQSORTTYPE
> > > "./my_sys.h", line 459: syntax error before or at: qsort2
> > > "./my_sys.h", line 460: warning: old-style declaration or incorrect
> > type for: qsort2
> > > cc: acomp failed for libmysql.c
> > > make: Fatal error: Command failed for target `libmysql.lo'
> > > Current working directory
> > /nfs/archive/source/custom-builds/webhosting/webhosting_v2/webbuild/php4/e
> > xt/mysql/libmysql
> > > make: Fatal error: Command failed for target `all-recursive'
> > >
> > > Are the qsort2 functions necessary?
> >
> >This is because the autoheader stuff wasn't rebuilt correctly.
> >
> >I'm not sure which scripts rebuild the needed files - buildconf
> >or genfiles or what.
> >
> >Make sure that php_config.h.in has a line:
> >#undef RETQSORTTYPE
> >
> >And make sure that you've got an updated
> >ext/mysql/libmysql/acinclude.m4 that has MYSQL_TYPE_QSORT defined
> >in it.
> >
> >Tim
> >
> >--
> > __ ___ ___ ____ __
> > / |/ /_ __/ __/ __ \/ / Tim Smith <tim@mysql.com>
> > / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Development Team
> >/_/ /_/\_, /___/\___\_\___/ Boone, NC USA
> > <___/ www.mysql.com
> >
> >--
> >PHP Development Mailing List <http://www.php.net/>
> >To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> >For additional commands, e-mail: php-dev-help@lists.php.net
> >To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
> ---
> Andi Gutmans <andi@zend.com>
> http://www.zend.com/
>