Re: Broken build for Solaris

From: Date: Tue, 22 Jun 1999 10:57:59 +0000
Subject: Re: Broken build for Solaris
References: 1 2 3 4 5 6  Groups: php.dev 
Request: Send a blank email to php-dev+get-7400@lists.php.net to get a copy of this message
On Tue, Jun 22, 1999 at 12:51:23PM +0200, Kristian Köhntopp wrote: > > Sascha Schumann wrote: > > You have a > > > > AC_ADD_INCLUDE($MYSQL_INCDIR) > > > > in line 1246 (from the beta) of configure.in. That should take > > care of that. > > But it does not. Where will the include directory show up? The generated > Makefile looks like this: > > kk@boss ~/Source/php3 $ grep -i mysql Makefile > functions/msql.c functions/mysql.c \ > LIBS = dbase/libdbf.a pcrelib/libpcre.a regex/libregex.a > -lmysqlclient -lpam -lm -ldl -lsocket -lnsl -lresolv > functions/php3_ldap.h functions/php3_mysql.h functions/php3_bcmath.h \ > functions/mysql.o: functions/mysql.c config.h build-defs.h php.h php_version.h \ > functions/php3_string.h functions/php3_mysql.h > > As you can see, the mysql include directory is mentioned nowhere. > > vi with ":set number" shows the INCLUDE definition as > > 40 INSTALL_IT = cp php $(bindir) > 41 INCLUDE = -I$(srcdir) -I. > 42 PROF_CFLAGS = That's wrong - does the MySQL test during ./configure time succeed? ./configure --enable-debug --with-mysql=/opt/mysql produces the following INCLUDE line: INCLUDE = -I$(srcdir) -I. -I/opt/mysql/include/mysql Please rerun autoheader && autoconf && rm config.cache. -- Regards, Sascha Schumann Consultant

« previous php.dev (#7400) next »