#23180 [Fbk->Opn]: Make fails not finding a krb5.h

From: Date: Fri, 25 Apr 2003 01:10:11 +0000
Subject: #23180 [Fbk->Opn]: Make fails not finding a krb5.h
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-38344@lists.php.net to get a copy of this message
ID: 23180 User updated by: alietss at yahoo dot com Reported By: alietss at yahoo dot com -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: Linux RedHat 9.0 PHP Version: 4.3.2-RC New Comment: Hi sniper: I tested with this configure line and the error persists... ./configure --with-openssl Remember I'm on RedHat 9.0, I check the config.log and I saw some erros, compile it on RedHat 9.0 and you'll see then this are some of the errors... configure:2298: gcc -V </dev/null >&5 gcc: argument to `-V' is missing configure:2725: gcc -c -g -O2 conftest.c >&5 conftest.c:2: parse error before "me" configure:2728: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif configure:2933: checking how to run the C preprocessor configure:2969: gcc -E conftest.c configure:2975: $? = 0 configure:3007: gcc -E conftest.c configure:3006:28: ac_nonexistent.h: No such file or directory configure:3013: $? = 1 configure: failed program was: | #line 2998 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:3238: gcc -o conftest -g -O2 conftest.c -R /usr/lib >&5 gcc: unrecognized option `-R' /usr/lib: file not recognized: Is a directory collect2: ld returned 1 exit status configure:3241: $? = 1 configure: failed program was: | #line 3221 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:4007: gcc -o conftest -g -O2 conftest.c >&5 /tmp/ccqISvsu.o(.text+0x20): In function `main': /Downloads/devel/php-4.3.2/configure:4004: undefined reference to `pthread_mutexattr_init' /tmp/ccqISvsu.o(.text+0x34):/Downloads/devel/php-4.3.2/configure:4005: undefined reference to `pthread_create' collect2: ld returned 1 exit status configure:4010: $? = 1 configure: program exited with status 1 configure: failed program was: | #line 3983 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define YYTEXT_POINTER 1 | /* end confdefs.h. */ | | #include <pthread.h> | #include <stddef.h> | | void *thread_routine(void *data) { | return data; | } | | int main() { | pthread_t thd; | pthread_mutexattr_t mattr; | int data = 1; | pthread_mutexattr_init(&mattr); | return pthread_create(&thd, NULL, thread_routine, &data); | } configure:4035: checking for pthreads_cflags configure:4074: gcc -o conftest -g -O2 -kthread conftest.c >&5 gcc: unrecognized option `-kthread' /tmp/ccTYCzuX.o(.text+0x20): In function `main': /Downloads/devel/php-4.3.2/configure:4071: undefined reference to `pthread_mutexattr_init' /tmp/ccTYCzuX.o(.text+0x34):/Downloads/devel/php-4.3.2/configure:4072: undefined reference to `pthread_create' collect2: ld returned 1 exit status configure:4077: $? = 1 configure: program exited with status 1 configure: failed program was: | #line 4050 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define YYTEXT_POINTER 1 | /* end confdefs.h. */ | | #include <pthread.h> | #include <stddef.h> | | void *thread_routine(void *data) { | return data; | } | | int main() { | pthread_t thd; | pthread_mutexattr_t mattr; | int data = 1; | pthread_mutexattr_init(&mattr); | return pthread_create(&thd, NULL, thread_routine, &data); | } configure:5619: gcc -c -g -O2 conftest.c >&5 configure:5611:19: httpd.h: No such file or directory configure: In function `main': configure:5615: `conn_rec' undeclared (first use in this function) configure:5615: (Each undeclared identifier is reported only once configure:5615: for each function it appears in.) configure:5615: `c' undeclared (first use in this function) configure:5622: $? = 1 configure: failed program was: | #line 5602 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define YYTEXT_POINTER 1 | /* end confdefs.h. */ | #include <httpd.h> | int | main () | { | conn_rec *c; int fd = c->client->fd; | ; | return 0; | } configure:12789: gcc -o conftest -g -O2 conftest.c >&5 configure:12792: $? = 0 configure:12794: ./conftest configure:12797: $? = 1 configure: program exited with status 1 configure: failed program was: | #line 12775 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define YYTEXT_POINTER 1 | #define PHP_WRITE_STDOUT 1 | #define FORCE_CGI_REDIRECT 0 | #define DISCARD_PATH 0 | #define ENABLE_PATHINFO_CHECK 1 | #define PHP_FASTCGI 0 | #define PHP_FCGI_STATIC 0 | #define HAVE_SENDMAIL 1 | /* end confdefs.h. */ | | int main(void) { | return (unsigned char)'A' != (unsigned char)0xC1; | } | Previous Comments: ------------------------------------------------------------------------ [2003-04-24 04:09:44] sniper@php.net Please reduce the configure options to the bare minimum which still causes the problem. ------------------------------------------------------------------------ [2003-04-23 22:21:20] alietss at yahoo dot com Hi sniper: I tested with http://snaps.php.net/php4-STABLE-latest.tar.gz and is giving the same error... ------------------------------------------------------------------------ [2003-04-23 03:28:54] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [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 (#38344) next »