Re: php5 compile fails
| From: | Jani Taskinen | Date: | Mon, 28 Apr 2003 20:16:41 +0000 |
| Subject: | Re: php5 compile fails | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-1081@lists.php.net to get a copy of this message | ||
There was some bug report about this too..so is the
answer to these "Not PHP bug, blame RH9" ? :)
--Jani
On Mon, 28 Apr 2003, Vlad Krupin wrote:
>it's a known problem with redhat9 (and maybe some others).
>the missing include files are in /usr/kerberos/include, which is not in
>your include path :(
>
>#include <openssl.h>
>int main(){}
>
>should result in the same error.
>
>Vlad
>
>Kevin Waterson wrote:
>
>>Ok, my config line is
>>./configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --enable-imap
>>--target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin
>>--sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include
>>--libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com
>>--mandir=/usr/share/man --infodir=/usr/share/info --prefix=/usr --with-config-file-path=/etc
>>--enable-force-cgi-redirect --disable-debug --enable-pic --disable-rpath
>>--enable-inline-optimization --with-dom=/usr --with-exec-dir=/usr/bin --with-freetype-dir=/usr
>>--with-png-dir=/usr --with-gd --enable-gd-native-ttf --with-ttf --with-gdbm --with-gettext
>>--with-ncurses --with-gmp --with-iconv --with-jpeg-dir=/usr --with-openssl --with-png
>>--with-regex=system --with-xml --with-domxml --with-expat-dir=/usr --with-zlib --with-layout=GNU
>>--enable-bcmath --enable-exif --enable-ftp --enable-magic-quotes --enable-safe-mode --enable-socke!
ts!
>> --enable-sysvsem --enable-sysvshm --enable-discard-path --enable-track-vars
>> --enable-trans-sid --enable-yp --enable-wddx --without-oci8 --with-kerberos=/usr/kerberos
>> --with-ldap=shared --with-mysql=/usr --enable-memory-limit --enable-bcmath --enable-shmop
>> --enable-versioning --enable-calendar --enable-dbx --enable-dio --enable-mcal
>> --with-apxs2=/usr/sbin/apxs --enable-xslt --with-xslt-sablot=/usr --with-sablot-js=/usr
>>
>>and the error is
>>
>>/bin/sh /home/kevin/html/php/dev/php5/php5-200304270530/libtool --silent --preserve-dup-deps
>>--mode=compile gcc -Iext/ftp/ -I/home/kevin/html/php/dev/php5/php5-200304270530/ext/ftp/
>>-DPHP_ATOM_INC -I/home/kevin/html/php/dev/php5/php5-200304270530/include
>>-I/home/kevin/html/php/dev/php5/php5-200304270530/main
>>-I/home/kevin/html/php/dev/php5/php5-200304270530 -I/usr/include/httpd
>>-I/home/kevin/html/php/dev/php5/php5-200304270530/Zend -I/usr/include/libxml2
>>-I/usr/include/freetype2 -I/usr/include/mysql
>>-I/home/kevin/html/php/dev/php5/php5-200304270530/TSRM -g -O2 -prefer-pic -c
>>/home/kevin/html/php/dev/php5/php5-200304270530/ext/ftp/php_ftp.c -o ext/ftp/php_ftp.lo
>>In file included from /usr/include/openssl/ssl.h:179,
>> from /home/kevin/html/php/dev/php5/php5-200304270530/ext/ftp/php_ftp.c:39:
>>/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
>>In file included from /usr/include/openssl/ssl.h:179,
>> from /home/kevin/html/php/dev/php5/php5-200304270530/ext/ftp/php_ftp.c:39:
>>/usr/include/openssl/kssl.h:132: parse error before "krb5_enctype"
>>/usr/include/openssl/kssl.h:134: parse error before "FAR"
>>/usr/include/openssl/kssl.h:135: parse error before '}' token
>>/usr/include/openssl/kssl.h:147: parse error before "kssl_ctx_setstring"
>>/usr/include/openssl/kssl.h:147: parse error before '*' token
>>/usr/include/openssl/kssl.h:148: parse error before '*' token
>>/usr/include/openssl/kssl.h:149: parse error before '*' token
>>/usr/include/openssl/kssl.h:149: parse error before '*' token
>>/usr/include/openssl/kssl.h:150: parse error before '*' token
>>/usr/include/openssl/kssl.h:151: parse error before "kssl_ctx_setprinc"
>>/usr/include/openssl/kssl.h:151: parse error before '*' token
>>/usr/include/openssl/kssl.h:153: parse error before "kssl_cget_tkt"
>>/usr/include/openssl/kssl.h:153: parse error before '*' token
>>/usr/include/openssl/kssl.h:155: parse error before "kssl_sget_tkt"
>>/usr/include/openssl/kssl.h:155: parse error before '*' token
>>/usr/include/openssl/kssl.h:157: parse error before "kssl_ctx_setkey"
>>/usr/include/openssl/kssl.h:157: parse error before '*' token
>>/usr/include/openssl/kssl.h:159: parse error before "context"
>>/usr/include/openssl/kssl.h:160: parse error before "kssl_build_principal_2"
>>/usr/include/openssl/kssl.h:160: parse error before "context"
>>/usr/include/openssl/kssl.h:163: parse error before "kssl_validate_times"
>>/usr/include/openssl/kssl.h:163: parse error before "atime"
>>/usr/include/openssl/kssl.h:165: parse error before "kssl_check_authent"
>>/usr/include/openssl/kssl.h:165: parse error before '*' token
>>/usr/include/openssl/kssl.h:167: parse error before "enctype"
>>In file included from /home/kevin/html/php/dev/php5/php5-200304270530/ext/ftp/php_ftp.c:39:
>>/usr/include/openssl/ssl.h:909: parse error before "KSSL_CTX"
>>/usr/include/openssl/ssl.h:931: parse error before '}' token
>>make: *** [ext/ftp/php_ftp.lo] Error 1
>>
>>Kevin
>>
>>
>>
>>
>>
>
>
>
>
--
<- For Sale! ->