./build php; syntax error before...

DennisCitus

Verified User
Joined
Mar 18, 2004
Messages
45
Location
TeleCity 2, Amsterdam
I am trying to install Sablotron using this thread: http://www.directadmin.com/forum/showthread.php?s=&threadid=6050

But I'm facing a problem when building PHP (even when I haven't added Sablotron/XLTS)
Code:
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I../include -I../lib -I../lib    -g -O2 -MT hostip.lo -MD -MP -MF ".deps/hostip.Tpo" -c -o hostip.lo hostip.c; \
then mv -f ".deps/hostip.Tpo" ".deps/hostip.Plo"; else rm -f ".deps/hostip.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -g -O2 -MT hostip.lo -MD -MP -MF .deps/hostip.Tpo -c hostip.c  -fPIC -DPIC -o .libs/hostip.o
In file included from /usr/include/openssl/ssl.h:179,
                 from urldata.h:59,
                 from hostip.c:75:
/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 urldata.h:59,
                 from hostip.c:75:
/usr/include/openssl/kssl.h:134: syntax error before "krb5_enctype"
/usr/include/openssl/kssl.h:136: syntax error before '*' token
/usr/include/openssl/kssl.h:137: syntax error before '}' token
/usr/include/openssl/kssl.h:149: syntax error before "kssl_ctx_setstring"
/usr/include/openssl/kssl.h:149: syntax error before '*' token
/usr/include/openssl/kssl.h:150: syntax error before '*' token
/usr/include/openssl/kssl.h:151: syntax error before '*' token
/usr/include/openssl/kssl.h:151: syntax error before '*' token
/usr/include/openssl/kssl.h:152: syntax error before '*' token
/usr/include/openssl/kssl.h:153: syntax error before "kssl_ctx_setprinc"
/usr/include/openssl/kssl.h:153: syntax error before '*' token
/usr/include/openssl/kssl.h:155: syntax error before "kssl_cget_tkt"
/usr/include/openssl/kssl.h:155: syntax error before '*' token
/usr/include/openssl/kssl.h:157: syntax error before "kssl_sget_tkt"
/usr/include/openssl/kssl.h:157: syntax error before '*' token
/usr/include/openssl/kssl.h:159: syntax error before "kssl_ctx_setkey"
/usr/include/openssl/kssl.h:159: syntax error before '*' token
/usr/include/openssl/kssl.h:161: syntax error before "context"
/usr/include/openssl/kssl.h:162: syntax error before "kssl_build_principal_2"
/usr/include/openssl/kssl.h:162: syntax error before "context"
/usr/include/openssl/kssl.h:165: syntax error before "kssl_validate_times"
/usr/include/openssl/kssl.h:165: syntax error before "atime"
/usr/include/openssl/kssl.h:167: syntax error before "kssl_check_authent"
/usr/include/openssl/kssl.h:167: syntax error before '*' token
/usr/include/openssl/kssl.h:169: syntax error before "enctype"
In file included from urldata.h:59,
                 from hostip.c:75:
/usr/include/openssl/ssl.h:909: syntax error before "KSSL_CTX"
/usr/include/openssl/ssl.h:931: syntax error before '}' token
make[2]: *** [hostip.lo] Error 1
make[2]: Leaving directory `/usr/local/directadmin/customapache/curl-7.13.0/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/directadmin/customapache/curl-7.13.0/lib'
make: *** [all-recursive] Error 1

*** The make has failed, do you want to try to make again? (y,n):

[root@server09 customapache]#
How can I solve this?
 
Hi Dennis,

What OS are you running? If you are on a Redhat 9 machine, run this command:

rpm -qa | grep -i krb

Do you get any output? If not, then you need to install the following packages:

krb5-devel-1.2.7-14
krb5-libs-1.2.7-14

Note that there have been security updates issued by the Progeny Transition Service (www.progeny.com) since RH9 support has been ended by Redhat.

Hope that helps,
Greg
 
Thanks for your reply.

I am running CentOS 3.4
Dear DirectAdmin,

Thanks for your fast and good reply.

I am running CentOS 3.4

[root@server09 root]# yum install krb5-devel

Gathering header information file(s) from server(s)

Server: CentOS-3 - Addons
Server: CentOS-3 - Base
Server: CentOS-3 - Extras
Server: CentOS-3 - Updates
Finding updated packages
Downloading needed headers
krb5-devel is installed and is the latest version.
No actions to take
[root@server09 root]#

Are you sure I should install krb5-devel-1.3.6-1 RPM for i386 (Fedora Core 2)

http://www.rpmfind.net//linux/RPM/fedora/updates/2/i386/krb5-devel-1.3.6-1.i386.html

I have currently:
[root@server09 root]# rpm -q krb5-devel
krb5-devel-1.2.7-38
[root@server09 root]#

Dennis
--------------------------------------------------------------------------------

Van: DirectAdmin Support [mailto:[email protected]]
Verzonden: zondag 13 februari 2005 22:32
Aan: xxx
Onderwerp: Re: ./build php ; syntax erros

Hello,

/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory

Install the krb5-devel rpm for fedora 2.. either use:

up2date -u krb5-devel

or just find the rpm manually and install it.

Thank you,

John
--------------------------------------------------
DirectAdmin Web Control Panel
http://www.directadmin.com

>>>>>>>>>>>>>>>>>>>>>>>>>

----- Original Message -----
From: Dennis
To: [email protected]
Sent: Sunday, February 13, 2005 12:57 PM
Subject: ./build php ; syntax erros

Dear DirectAdmin,

I am trying to install Sablotron using this thread: http://www.directadmin.com/forum/sh...=&threadid=6050

But I'm facing a problem when building PHP (even when I haven't added Sablotron/XLTS)

code:
--------------------------------------------------------------------------------
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -g -O2 -MT hostip.lo -MD -MP -MF ".deps/hostip.Tpo" -c -o hostip.lo hostip.c; \
then mv -f ".deps/hostip.Tpo" ".deps/hostip.Plo"; else rm -f ".deps/hostip.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -g -O2 -MT hostip.lo -MD -MP -MF .deps/hostip.Tpo -c hostip.c -fPIC -DPIC -o .libs/hostip.o
In file included from /usr/include/openssl/ssl.h:179,
from urldata.h:59,
from hostip.c:75:
/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 urldata.h:59,
from hostip.c:75:
/usr/include/openssl/kssl.h:134: syntax error before "krb5_enctype"
/usr/include/openssl/kssl.h:136: syntax error before '*' token
/usr/include/openssl/kssl.h:137: syntax error before '}' token
/usr/include/openssl/kssl.h:149: syntax error before "kssl_ctx_setstring"
/usr/include/openssl/kssl.h:149: syntax error before '*' token
/usr/include/openssl/kssl.h:150: syntax error before '*' token
/usr/include/openssl/kssl.h:151: syntax error before '*' token
/usr/include/openssl/kssl.h:151: syntax error before '*' token
/usr/include/openssl/kssl.h:152: syntax error before '*' token
/usr/include/openssl/kssl.h:153: syntax error before "kssl_ctx_setprinc"
/usr/include/openssl/kssl.h:153: syntax error before '*' token
/usr/include/openssl/kssl.h:155: syntax error before "kssl_cget_tkt"
/usr/include/openssl/kssl.h:155: syntax error before '*' token
/usr/include/openssl/kssl.h:157: syntax error before "kssl_sget_tkt"
/usr/include/openssl/kssl.h:157: syntax error before '*' token
/usr/include/openssl/kssl.h:159: syntax error before "kssl_ctx_setkey"
/usr/include/openssl/kssl.h:159: syntax error before '*' token
/usr/include/openssl/kssl.h:161: syntax error before "context"
/usr/include/openssl/kssl.h:162: syntax error before "kssl_build_principal_2"
/usr/include/openssl/kssl.h:162: syntax error before "context"
/usr/include/openssl/kssl.h:165: syntax error before "kssl_validate_times"
/usr/include/openssl/kssl.h:165: syntax error before "atime"
/usr/include/openssl/kssl.h:167: syntax error before "kssl_check_authent"
/usr/include/openssl/kssl.h:167: syntax error before '*' token
/usr/include/openssl/kssl.h:169: syntax error before "enctype"
In file included from urldata.h:59,
from hostip.c:75:
/usr/include/openssl/ssl.h:909: syntax error before "KSSL_CTX"
/usr/include/openssl/ssl.h:931: syntax error before '}' token
make[2]: *** [hostip.lo] Error 1
make[2]: Leaving directory `/usr/local/directadmin/customapache/curl-7.13.0/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/directadmin/customapache/curl-7.13.0/lib'
make: *** [all-recursive] Error 1

*** The make has failed, do you want to try to make again? (y,n):

[root@server09 customapache]#
--------------------------------------------------------------------------------
How can I solve this?
 
Back
Top