# FLAVOR="ldap" make install
....
test -z "/usr/local/bin" || mkdir -p --
"/usr/ports/www/squid/w-squid-2.7.STABLE3-ldap/fake-i386-ldap/usr/local/bin"
  install -c -s -o root -g bin -m 555 'squidclient'
'/usr/ports/www/squid/w-squid-2.7.STABLE3-ldap/fake-i386-ldap/usr/local/bin/s
quidclient'
test -z "/usr/local/libexec" || mkdir -p --
"/usr/ports/www/squid/w-squid-2.7.STABLE3-ldap/fake-i386-ldap/usr/local/libex
ec"
  install -c -s -o root -g bin -m 555 'cachemgr.cgi'
'/usr/ports/www/squid/w-squid-2.7.STABLE3-ldap/fake-i386-ldap/usr/local/libex
ec/cachemgr.cgi'
install -c -o root -g bin -m 444
/usr/ports/www/squid/w-squid-2.7.STABLE3-ldap/squid-2.7.STABLE3/tools/cachemg
r.conf
/usr/ports/www/squid/w-squid-2.7.STABLE3-ldap/fake-i386-ldap/etc/cachemgr.con
f
===>  Building package for squid-2.7.STABLE3-ldap
Create /usr/ports/packages/i386/all/squid-2.7.STABLE3-ldap.tgz
Unknown element: @bin bin/squidclient
===>  Cleaning for squid-2.7.STABLE3-ldap
rm -f /usr/ports/packages/i386/all/squid-2.7.STABLE3-ldap.tgz
/usr/ports/packages/i386/ftp/squid-2.7.STABLE3-ldap.tgz
/usr/ports/packages/i386/cdrom/squid-2.7.STABLE3-ldap.tgz
*** Error code 1

Stop in /usr/ports/www/squid (line 1422 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/www/squid (line 1962 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/www/squid (line 1452 of
/usr/ports/infrastructure/mk/bsd.port.mk).
#


Almost there.


thanks
-----Mensagem original-----
De: Giancarlo Razzolini [mailto:[EMAIL PROTECTED] Em nome de Giancarlo
Razzolini
Enviada em: terga-feira, 23 de setembro de 2008 14:34
Para: Ricardo Augusto de Souza
Cc: misc@openbsd.org
Assunto: Re: Problems to compile squid with ldap auth on openBSD 4.3

Ricardo Augusto de Souza escreveu:
> Hi,
>
> I got some errors trying to compile squid with ldap auth on openbsd 4.3.
>
> I used squid from ports and  compiled its source and I got same error
> when I add "--enable-auth="basic digest LDAP" \  and
> --enable-basic-auth-helpers="NCSA YP LDAP" \ to ./configure.
>
>
>
> Note I have already installed OpenLDAP .
>
>
>
> Can anyone help me please?
>
> Thanks
>
I took a look at the -current tree of the ports and noticed they've
created a new flavor of squid called ldap. This solves a problem that i
had for a long time compiling ldap-auth on squid with openbsd. I did
make 2 patches, one for squid-ldap-auth and other for squid-group-auth.
I recommend that you checkout the -current version of ports, and try to
compile squid the following way:

FLAVOR="ldap" make install

If it works, then you're done. If it not works, i assume you might have
to compile the -current kernel and userland. Or, i could send you the
patches i made for it. Since on this list there is the demime, as me and
i sent to you the patches in private. But first, try with ports.

My regards,

--
Giancarlo Razzolini
http://lock.razzolini.adm.br
Linux User 172199
Red Hat Certified Engineer no:804006389722501
Verify:https://www.redhat.com/certification/rhce/current/
Moleque Sem Conteudo Numero #002
OpenBSD Stable
Ubuntu 8.04 Hardy Heron
4386 2A6F FFD4 4D5F 5842  6EA0 7ABE BBAB 9C0E 6B85

Reply via email to