Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Squid+Solaris10 zone+LDAP helpers --- make all problem

807557May 31 2007
Hi
I have a blocking problem with the combination in subject.
I need to run Squid in a Solaris 10 zone with basic auth on ldap dir. server.
Actually my platform is sun fire x2200 (Amd 64) and Solaris 10 11/06
with the last patch cluster just applied.

I just installed from solaris official packages openldap-lib, gcc,
gcc-runtime-libs, ecc ecc.
and the source of squid come from the solaris companion cd (formally
squid-2.5.STABLE7)


My ./configure is

bash-3.00# ./configure --prefix="/opt/products/squidOK"
enable-storeio="null" enable-auth="basic"
--enable-basic-auth-helpers="LDAP"
--enable-external-acl-helpers="ldap_group"

the output gone ok.. and then i run an

bash-3.00# make all

so it work for some seconds and then it exit with this output (I APOLOGIZE FOR THE LENGTH OF ATTACHMENT!!):

[...]

Making all in icons
Making all in errors
Making all in doc
Making all in helpers
Making all in basic_auth
Making all in LDAP
source='squid_ldap_auth.c' object='squid_ldap_auth.o' libtool=no \
depfile='.deps/squid_ldap_auth.Po' tmpdepfile='.deps/squid_ldap_auth.TPo' \
depmode=gcc3 /bin/sh ../../../cfgaux/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -g
-Wall -c `test -f squid_ldap_auth.c || echo './'`squid_ldap_auth.c
squid_ldap_auth.c: In function `open_ldap_connection':
squid_ldap_auth.c:248: error: `LDAP_OPT_SUCCESS' undeclared (first use
in this function)
squid_ldap_auth.c:248: error: (Each undeclared identifier is reported only once
squid_ldap_auth.c:248: error: for each function it appears in.)
squid_ldap_auth.c:253: warning: implicit declaration of function
`ldap_start_tls_s'
*** Error code 1
make: Fatal error: Command failed for target `squid_ldap_auth.o'
Current working directory /opt/sfw/src/squid-
2.5.STABLE7/helpers/basic_auth/LDAP
*** Error code 1
The following command caused the error:
set fnord ; amf=$2; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='LDAP'; for subdir in $list; do \
echo "Making $target in $subdir"; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
else \
local_target="$target"; \
fi; \
(cd $subdir && make $local_target) \
|| case "$amf" in *=*) exit 1;; k) fail=yes;; *) exit 1;; esac; \
done; \
if test "$dot_seen" = "no"; then \
make "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /opt/sfw/src/squid-2.5.STABLE7/helpers/basic_auth
*** Error code 1
The following command caused the error:
set fnord ; amf=$2; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='basic_auth ntlm_auth digest_auth external_acl'; for subdir in $list; do \
echo "Making $target in $subdir"; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
else \
local_target="$target"; \
fi; \
(cd $subdir && make $local_target) \
|| case "$amf" in *=*) exit 1;; k) fail=yes;; *) exit 1;; esac; \
done; \
if test "$dot_seen" = "no"; then \
make "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /opt/sfw/src/squid-2.5.STABLE7/helpers
*** Error code 1
The following command caused the error:
set fnord ; amf=$2; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='lib scripts src icons errors doc helpers'; for subdir in $list; do \
echo "Making $target in $subdir"; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
else \
local_target="$target"; \
fi; \
(cd $subdir && make $local_target) \
|| case "$amf" in *=*) exit 1;; k) fail=yes;; *) exit 1;; esac; \
done; \
if test "$dot_seen" = "no"; then \
make "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
bash-3.00#

Any Idea??

A lot of thanks for any useful suggest.

Fabio
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 28 2007
Added on May 31 2007
0 comments
218 views