tags:

views:

425

answers:

0

I need to install a socks5 server on my linux server, I tried ss5, but it's not easy to install it, are there other alternatives? ss5 error below when I tries to make install.

make[1]: Entering directory `/root/app/ss5-3.7.8/common'
gcc -g -O2 -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../include     -c -o SS5OpenLdap.o SS5OpenLdap.c
SS5OpenLdap.c:27:18: error: ldap.h: No such file or directory
SS5OpenLdap.c: In function ‘DirectoryQuery’:
SS5OpenLdap.c:127: error: ‘LDAP’ undeclared (first use in this function)
SS5OpenLdap.c:127: error: (Each undeclared identifier is reported only once
SS5OpenLdap.c:127: error: for each function it appears in.)
SS5OpenLdap.c:127: error: ‘ld’ undeclared (first use in this function)
SS5OpenLdap.c:129: error: ‘LDAPMessage’ undeclared (first use in this function)
SS5OpenLdap.c:129: error: ‘result’ undeclared (first use in this function)
SS5OpenLdap.c:132: error: ‘LDAP_VERSION3’ undeclared (first use in this function)
SS5OpenLdap.c:179: error: expected expression before ‘)’ token
SS5OpenLdap.c:185: error: ‘LDAP_OPT_PROTOCOL_VERSION’ undeclared (first use in this function)
SS5OpenLdap.c:186: error: ‘LDAP_OPT_REFERRALS’ undeclared (first use in this function)
SS5OpenLdap.c:186: error: ‘LDAP_OPT_OFF’ undeclared (first use in this function)
SS5OpenLdap.c:190: error: ‘LDAP_AUTH_SIMPLE’ undeclared (first use in this function)
SS5OpenLdap.c:190: error: ‘LDAP_SUCCESS’ undeclared (first use in this function)
SS5OpenLdap.c:199: error: ‘LDAP_SCOPE_SUBTREE’ undeclared (first use in this function)
make[1]: *** [SS5OpenLdap.o] Error 1
make[1]: Leaving directory `/root/app/ss5-3.7.8/common'