Re: Build problems

From: Date: Mon, 22 Jan 2001 20:13:48 +0000
Subject: Re: Build problems
References: 1  Groups: php.qa 
Request: Send a blank email to php-qa+get-2176@lists.php.net to get a copy of this message
This should probably be sent to the developers list (php-dev@lists.php.net) and/or posted as a bug at bugs.php.net. --zak ----- Original Message ----- From: "Chris Adams" <chris@improbable.org> To: <php-qa@lists.php.net> Sent: Sunday, January 21, 2001 10:36 PM Subject: [PHP-QA] Build problems > I'm doing a "kitchen sink" build on Debian (potato). Here are some of the > annoying/broken things I encountered: > > --with-gettext will say gettext isn't installed if --with-dom is in the > ./configure line. > > --with-mcrypt appears to have a similar bug > > doing a ./configure --with-mcrypt --with-gettext and then the real ./configure > line will work, since the previous detection is cached. > > --with-zlib has a similar problem but it didn't go away when I removed > --with-dom. The fix is the same, however. > > --with-mm didn't pick up my libmm install and I haven't worked out the magic > directory combination yet. > > Here's my build script: > -------------------------------------------------------------------------- ----- > #!/bin/bash > > rm config.cache > > # gettext and mcrypt detection routines are broken. > # having other options in the compile line will cause > # the lib detection to fail. If we do a bare configure > # now, the detection result will be cached. > > ./configure \ > --with-gettext \ > --with-mcrypt \ > --with-zlib > > ./configure \ > --with-gettext \ > --with-mcrypt \ > --with-zlib \ > --with-apxs \ > --with-openssl=/usr/local/ssl \ > --enable-magic-quotes \ > --with-bz2 \ > --enable-calendar \ > --with-curl \ > --with-mcrypt \ > --with-dom=/usr/local/lib \ > --enable-ftp \ > --enable-gd-imgstrttf \ > --with-gd \ > --with-jpeg-dir \ > --with-ttf \ > --with-t1lib \ > --with-imap-ssl \ > --with-imap \ > --with-java=/usr/local/jdk1.3 \ > --with-ldap \ > --with-mysql \ > --with-pdflib=/usr/local/lib \ > --with-zlib-dir \ > --with-jpeg-dir \ > --with-png-dir \ > --with-tiff-dir \ > --with-pgsql \ > --with-pspell \ > --with-readline \ > --with-sablot \ > --with-sablot-errors-descriptive \ > --enable-trans-sid \ > --enable-shmop \ > --enable-sockets \ > --with-swf \ > --enable-sysvsem \ > --enable-sysvshm \ > --enable-inline-optimization \ > --enable-memory-limit \ > --enable-shared > -------------------------------------------------------------------------- ----- > > > Here's the mhash compilation error: > mhash.c: In function `php_if_mhash_keygen_s2k': > mhash.c:206: `KEYGEN' undeclared (first use in this function) > mhash.c:206: (Each undeclared identifier is reported only once > mhash.c:206: for each function it appears in.) > mhash.c:206: parse error before `keystruct' > mhash.c:226: `KEYGEN_S2K_SALTED' undeclared (first use in this function) > mhash.c:244: `keystruct' undeclared (first use in this function) > > From the mhash.h installed with libmhash: /* $Id: mhash.h,v 1.3 1999/10/04 > 12:13:10 sascha Exp $ */ > > -- > PHP Quality Assurance Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-qa-unsubscribe@lists.php.net > For additional commands, e-mail: php-qa-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.qa (#2176) next »