#23180 [Com]: Make fails not finding a krb5.h

From: Date: Wed, 16 Apr 2003 07:45:40 +0000
Subject: #23180 [Com]: Make fails not finding a krb5.h
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-37741@lists.php.net to get a copy of this message
ID: 23180 Comment by: tux at devel dot ee Reported By: alietss at yahoo dot com Status: Open Bug Type: Compile Failure Operating System: Linux RedHat 9.0 PHP Version: 4CVS-2003-04-12 (stable) New Comment: i had the same problem as you guys with following releases: php-4.2.2 php-4.3.1 php-4.3.2RC1 php4-STABLE-200304152330 this morning i found an release that works: php4-STABLE-200304160530 my conf: ./configure --prefix=/usr/sbin/php4/ \ --with-mysql \ --enable-ftp \ --enable-sockets \ --with-zlib-dir=shared \ --with-openssl \ --with-curl=/usr/local/lib \ --with-mcrypt=/usr/local/lib \ --enable-ctype \ --enable-exif \ --enable-cli \ --enable-pcntl \ Linux version 2.4.20-9 (bhcompile@porky.devel.redhat.com) (gcc version 3.2.2 20030313 (Red Hat Linux 3.2.2-10)) Previous Comments: ------------------------------------------------------------------------ [2003-04-12 17:55:40] alietss at yahoo dot com Hey other test: I remove now the --with-openssl and that error is gone but now there is another here it goes... ext/mysql/libmysql/my_tempnam.o(.text+0x40): In function `my_tempnam': /usr/src/redhat/BUILD/php4-200304122130/ext/mysql/libmysql/my_tempnam.c:103: the use of tempnam' is dangerous, better use mkstemp' ext/mysql/libmysql/my_lib.o(.text+0x37a): In function `my_dir': /usr/src/redhat/BUILD/php4-200304122130/ext/mysql/libmysql/my_lib.c:169: undefined reference to `errno' ext/mysql/libmysql/my_lib.o(.text+0x546): In function `my_stat': /usr/src/redhat/BUILD/php4-200304122130/ext/mysql/libmysql/my_lib.c:588: undefined reference to `errno' ext/mysql/libmysql/my_malloc.o(.text+0xbd): In function `my_malloc': /usr/src/redhat/BUILD/php4-200304122130/ext/mysql/libmysql/my_malloc.c:24: undefined reference to `errno' ext/mysql/libmysql/my_realloc.o(.text+0xb4): In function `my_realloc': /usr/src/redhat/BUILD/php4-200304122130/ext/mysql/libmysql/my_realloc.c:44: undefined reference to `errno' ext/mysql/libmysql/my_delete.o(.text+0x6d): In function `my_delete': /usr/src/redhat/BUILD/php4-200304122130/ext/mysql/libmysql/my_delete.c:16: undefined reference to `errno' ext/mysql/libmysql/my_tempnam.o(.text+0x79):/usr/src/redhat/BUILD/php4-200304122130/ext/mysql/libmysql/my_tempnam.c:108: more undefined references to `errno' follow collect2: ld returned 1 exit status make: *** [sapi/cgi/php] Error 1 This the configure line... ./configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --target=i686-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include Regards ------------------------------------------------------------------------ [2003-04-12 17:45:46] alietss at yahoo dot com Hi people: Hey I tested with php-4.3.1 and I have the same problem, I think should be something related to RedHat 9.0. My configure now was... ./configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --target=i686-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --with-openssl But I have the same error... En el fichero incluído de /usr/include/openssl/ssl.h:179, de /usr/src/redhat/BUILD/php-4.3.1/main/php_network.h:78, de /usr/src/redhat/BUILD/php-4.3.1/ext/standard/fsock.h:38, de /usr/src/redhat/BUILD/php-4.3.1/ext/standard/php_standard.h:44, de /usr/src/redhat/BUILD/php-4.3.1/ext/standard/basic_functions.c:28: /usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory ------------------------------------------------------------------------ [2003-04-12 13:17:15] alietss at yahoo dot com Hi boys: I'm building rpms for RedHat 9.0 of php-4.3.2 latest stables sources, httpd-2.0.45, but my make is failing not finding the krb5.h wich is in /usr/kerberos/include, the strange is that in the past this was working for me.... This is the error output, and my configure line... In file included from /usr/include/openssl/ssl.h:179, from /usr/src/redhat/BUILD/php-4.3.2/main/php_network.h:78, from /usr/src/redhat/BUILD/php-4.3.2/ext/standard/fsock.h:38, from /usr/src/redhat/BUILD/php-4.3.2/ext/standard/php_standard. h:44, from /usr/src/redhat/BUILD/php-4.3.2/ext/zlib/zlib.c:48: /usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory here my configure line... %configure \ --prefix=%{_prefix} \ --cache-file=../config.cache \ --with-config-file-path=%{_sysconfdir} \ --with-config-file-scan-dir=%{_sysconfdir}/php.d \ --enable-force-cgi-redirect \ --disable-debug \ --enable-pic \ --disable-rpath \ --enable-inline-optimization \ --with-bz2 \ --with-db4 \ --with-curl \ --with-dom=%{_prefix} \ --with-exec-dir=%{_bindir} \ --with-freetype-dir=%{_prefix} \ --with-png-dir=%{_prefix} \ --with-gd \ --enable-gd-native-ttf \ --with-ttf \ --with-gdbm \ --with-gettext \ --with-pdflib=shared \ --with-tiff-dir=%{_prefix} \ --with-ncurses \ --with-gmp \ --with-iconv \ --enable-xslt=shared \ --with-jpeg-dir=%{_prefix} \ --with-openssl \ --with-png \ --with-pspell \ --with-regex \ --with-xml \ --with-expat-dir=%{_prefix} \ --with-zlib \ --with-layout=GNU \ --enable-bcmath \ --enable-exif \ --enable-ftp \ --enable-magic-quotes \ --enable-safe-mode \ --enable-sockets \ --enable-sysvsem \ --enable-sysvshm \ --enable-discard-path \ --enable-track-vars \ --enable-trans-sid \ --enable-yp \ --enable-wddx \ --without-oci8 \ --with-pear=/usr/share/pear \ --with-imap=shared \ --with-imap-ssl \ --with-kerberos=/usr/kerberos \ --with-ldap=shared \ --with-mcal=shared,%{_prefix} \ --with-mcrypt=shared,%{_prefix} \ --with-mhash=shared,%{_prefix} \ --with-mssql=shared,%{_prefix} \ --with-mysql=shared,%{_prefix} \ %if %{oracle} --with-oci8=shared \ %endif --with-pgsql=shared \ --with-snmp=shared,%{_prefix} \ --with-snmp=shared \ --with-xslt-sablot=shared,%{_prefix} \ --with-sablot-js=shared,%{_prefix} \ --enable-ucd-snmp-hack \ --with-unixODBC=shared \ --enable-memory-limit \ --enable-bcmath \ --enable-shmop \ --enable-calendar \ --enable-dbx \ --enable-dio \ --enable-mcal \ I hope it helps, Aliet ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23180&edit=1

« previous php.bugs (#37741) next »