hola amigo firecold use el enlace que me sugeriste http://www.alterserv.com/foros/index.php?topic=803.0 haste esta parte no me genero ningun error cd squid3-3.1.20 al usar este otro comando gedit /usr/src/squid/squid3-3.1.20/debian/rules aunque lo abri con nano, me muestra los archivos que muestras en esa foto, pero el --enbled-ssl no aparece, le agrege esa linea y guarde los combios, al usar este comando dpkg-buildpackage -b -uc empiesa pero me muestra estos errores.
make[2]: se ingresa al directorio `/usr/src/squid/squid3-3.1.20/scripts'
make[2]: No se hace nada para `all'.
make[2]: se sale del directorio `/usr/src/squid/squid3-3.1.20/scripts'
Making all in src
make[2]: se ingresa al directorio `/usr/src/squid/squid3-3.1.20/src'
mawk -f ./cf_gen_defines <./cf.data.pre >cf_gen_defines.cci || (/bin/rm -f -f cf_gen_defines.cci && exit 1)
sed \
-e "s%
- DEFAULT_HTTP_PORT
- %3128%g" \
-e "s% - DEFAULT_ICP_PORT
- %3130%g" \
-e "s% - DEFAULT_CACHE_EFFECTIVE_USER
- %nobody%g" \
-e "s% - DEFAULT_MIME_TABLE
- %/usr/share/squid3/mime.conf%g" \
-e "s% - DEFAULT_DNSSERVER
- %/usr/lib/squid3/`echo dnsserver | sed 's,x,x,;s/$//'`%g" \
-e "s% - DEFAULT_SSL_CRTD
- %/usr/lib/squid3/`echo ssl_crtd | sed 's,x,x,;s/$//'`%g" \
-e "s% - DEFAULT_UNLINKD
- %/usr/lib/squid3/`echo unlinkd | sed 's,x,x,;s/$//'`%g" \
-e "s% - DEFAULT_PINGER
- %/usr/lib/squid3/`echo pinger | sed 's,x,x,;s/$//'`%g" \
-e "s% - DEFAULT_DISKD
- %/usr/lib/squid3/`echo diskd | sed 's,x,x,;s/$//'`%g" \
-e "s% - DEFAULT_CACHE_LOG
- %/var/log/squid3/cache.log%g" \
-e "s% - DEFAULT_ACCESS_LOG
- %/var/log/squid3/access.log%g" \
-e "s% - DEFAULT_STORE_LOG
- %/var/log/squid3/store.log%g" \
-e "s% - DEFAULT_PID_FILE
- %/var/run/squid3.pid%g" \
-e "s% - DEFAULT_NETDB_FILE
- %/var/log/squid3/netdb.state%g" \
-e "s% - DEFAULT_SWAP_DIR
- %/var/spool/squid3%g" \
-e "s% - DEFAULT_SSL_DB_DIR
- %/var/lib/ssl_db%g" \
-e "s% - DEFAULT_ICON_DIR
- %/usr/share/squid3/icons%g" \
-e "s% - DEFAULT_CONFIG_DIR
- %/etc/squid3%g" \
-e "s% - DEFAULT_PREFIX
- %/usr%g" \
-e "s% - DEFAULT_HOSTS
- %/etc/hosts%g" \
-e "s% - SQUID
- %SQUID\ 3.1.20%g" \
< ./cf.data.pre >cf.data
g++ -o cf_gen ./cf_gen.cc -I. -I../include/ -I../src
./cf_gen cf.data ./cf.data.depend
mawk -f ./mk-globals-c.awk < ./globals.h > globals.cc || (/bin/rm -f -f globals.cc && exit 1)
/bin/bash ./repl_modules.sh lru heap > repl_modules.cc
/usr/bin/make all-recursive
make[3]: se ingresa al directorio `/usr/src/squid/squid3-3.1.20/src'
Making all in base
make[4]: se ingresa al directorio `/usr/src/squid/squid3-3.1.20/src/base'
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../src -I../../include -I/usr/include -I/usr/include/libxml2 -D_FORTIFY_SOURCE=2 -I/usr/include/libxml2 -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -fhuge-objects -D_REENTRANT -m32 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c -o AsyncCall.lo AsyncCall.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../src -I../../include -I/usr/include -I/usr/include/libxml2 -D_FORTIFY_SOURCE=2 -I/usr/include/libxml2 -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -fhuge-objects -D_REENTRANT -m32 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c AsyncCall.cc -fPIC -DPIC -o .libs/AsyncCall.o
g++: warning: switch '-fhuge-objects' is no longer supported
In file included from ../../src/ssl_support.h:39:0,
from ../../src/squid.h:272,
from AsyncCall.cc:5:
../../src/ssl/gadgets.h:39:1: error: variable or field 'X509_free_cpp' declared void
../../src/ssl/gadgets.h:39:1: error: 'X509' was not declared in this scope
../../src/ssl/gadgets.h:39:1: error: 'a' was not declared in this scope
../../src/ssl/gadgets.h:40:21: error: 'X509' was not declared in this scope
../../src/ssl/gadgets.h:40:27: error: 'X509_free_cpp' was not declared in this scope
../../src/ssl/gadgets.h:40:40: error: template argument 1 is invalid
../../src/ssl/gadgets.h:40:40: error: template argument 2 is invalid
../../src/ssl/gadgets.h:40:54: error: invalid type in declaration before ';' token
../../src/ssl/gadgets.h:42:1: error: variable or field 'EVP_PKEY_free_cpp' declared void
../../src/ssl/gadgets.h:42:1: error: 'EVP_PKEY' was not declared in this scope
../../src/ssl/gadgets.h:42:1: error: 'a' was not declared in this scope
../../src/ssl/gadgets.h:43:21: error: 'EVP_PKEY' was not declared in this scope
../../src/ssl/gadgets.h:43:31: error: 'EVP_PKEY_free_cpp' was not declared in this scope
../../src/ssl/gadgets.h:43:48: error: template argument 1 is invalid
../../src/ssl/gadgets.h:43:48: error: template argument 2 is invalid
../../src/ssl/gadgets.h:43:66: error: invalid type in declaration before ';' token
../../src/ssl/gadgets.h:45:1: error: variable or field 'BN_free_cpp' declared void
../../src/ssl/gadgets.h:45:1: error: 'BIGNUM' was not declared in this scope
../../src/ssl/gadgets.h:45:1: error: 'a' was not declared in this scope
../../src/ssl/gadgets.h:46:21: error: 'BIGNUM' was not declared in this scope
../../src/ssl/gadgets.h:46:29: error: 'BN_free_cpp' was not declared in this scope
../../src/ssl/gadgets.h:46:40: error: template argument 1 is invalid
../../src/ssl/gadgets.h:46:40: error: template argument 2 is invalid
../../src/ssl/gadgets.h:46:56: error: invalid type in declaration before ';' token
../../src/ssl/gadgets.h:48:1: error: variable or field 'BIO_free_cpp' declared void
../../src/ssl/gadgets.h:48:1: error: 'BIO' was not declared in this scope
../../src/ssl/gadgets.h:48:1: error: 'a' was not declared in this scope
../../src/ssl/gadgets.h:49:21: error: 'BIO' was not declared in this scope
../../src/ssl/gadgets.h:49:26: error: 'BIO_free_cpp' was not declared in this scope
../../src/ssl/gadgets.h:49:38: error: template argument 1 is invalid
../../src/ssl/gadgets.h:49:38: error: template argument 2 is invalid
../../src/ssl/gadgets.h:49:51: error: invalid type in declaration before ';' token
../../src/ssl/gadgets.h:51:1: error: variable or field 'ASN1_INTEGER_free_cpp' declared void
../../src/ssl/gadgets.h:51:1: error: 'ASN1_INTEGER' was not declared in this scope
../../src/ssl/gadgets.h:51:1: error: 'a' was not declared in this scope
../../src/ssl/gadgets.h:52:21: error: 'ASN1_INTEGER' was not declared in this scope
../../src/ssl/gadgets.h:52:35: error: 'ASN1_INTEGER_free_cpp' was not declared in this scope
../../src/ssl/gadgets.h:52:56: error: template argument 1 is invalid
../../src/ssl/gadgets.h:52:56: error: template argument 2 is invalid
../../src/ssl/gadgets.h:52:74: error: invalid type in declaration before ';' token
../../src/ssl/gadgets.h:54:1: error: variable or field 'TXT_DB_free_cpp' declared void
../../src/ssl/gadgets.h:54:1: error: 'TXT_DB' was not declared in this scope
../../src/ssl/gadgets.h:54:1: error: 'a' was not declared in this scope
../../src/ssl/gadgets.h:55:21: error: 'TXT_DB' was not declared in this scope
../../src/ssl/gadgets.h:55:29: error: 'TXT_DB_free_cpp' was not declared in this scope
../../src/ssl/gadgets.h:55:44: error: template argument 1 is invalid
../../src/ssl/gadgets.h:55:44: error: template argument 2 is invalid
../../src/ssl/gadgets.h:55:60: error: invalid type in declaration before ';' token
../../src/ssl/gadgets.h:57:1: error: variable or field 'X509_NAME_free_cpp' declared void
../../src/ssl/gadgets.h:57:1: error: 'X509_NAME' was not declared in this scope
../../src/ssl/gadgets.h:57:1: error: 'a' was not declared in this scope
../../src/ssl/gadgets.h:58:21: error: 'X509_NAME' was not declared in this scope
../../src/ssl/gadgets.h:58:32: error: 'X509_NAME_free_cpp' was not declared in this scope
../../src/ssl/gadgets.h:58:50: error: template argument 1 is invalid
../../src/ssl/gadgets.h:58:50: error: template argument 2 is invalid
../../src/ssl/gadgets.h:58:69: error: invalid type in declaration before ';' token
../../src/ssl/gadgets.h:60:1: error: variable or field 'RSA_free_cpp' declared void
../../src/ssl/gadgets.h:60:1: error: 'RSA' was not declared in this scope
../../src/ssl/gadgets.h:60:1: error: 'a' was not declared in this scope
../../src/ssl/gadgets.h:61:21: error: 'RSA' was not declared in this scope
../../src/ssl/gadgets.h:61:26: error: 'RSA_free_cpp' was not declared in this scope
../../src/ssl/gadgets.h:61:38: error: template argument 1 is invalid
../../src/ssl/gadgets.h:61:38: error: template argument 2 is invalid
../../src/ssl/gadgets.h:61:51: error: invalid type in declaration before ';' token
../../src/ssl/gadgets.h:63:1: error: variable or field 'X509_REQ_free_cpp' declared void
../../src/ssl/gadgets.h:63:1: error: 'X509_REQ' was not declared in this scope
../../src/ssl/gadgets.h:63:1: error: 'a' was not declared in this scope
../../src/ssl/gadgets.h:64:21: error: 'X509_REQ' was not declared in this scope
../../src/ssl/gadgets.h:64:31: error: 'X509_REQ_free_cpp' was not declared in this scope
../../src/ssl/gadgets.h:64:48: error: template argument 1 is invalid
../../src/ssl/gadgets.h:64:48: error: template argument 2 is invalid
../../src/ssl/gadgets.h:64:66: error: invalid type in declaration before ';' token
../../src/ssl/gadgets.h:66:1: error: variable or field 'SSL_CTX_free_cpp' declared void
../../src/ssl/gadgets.h:66:1: error: 'SSL_CTX' was not declared in this scope
../../src/ssl/gadgets.h:66:1: error: 'a' was not declared in this scope
../../src/ssl/gadgets.h:67:21: error: 'SSL_CTX' was not declared in this scope
../../src/ssl/gadgets.h:67:30: error: 'SSL_CTX_free_cpp' was not declared in this scope
../../src/ssl/gadgets.h:67:46: error: template argument 1 is invalid
../../src/ssl/gadgets.h:67:46: error: template argument 2 is invalid
../../src/ssl/gadgets.h:67:63: error: invalid type in declaration before ';' token
../../src/ssl/gadgets.h:69:1: error: variable or field 'SSL_free_cpp' declared void
../../src/ssl/gadgets.h:69:1: error: 'SSL' was not declared in this scope
../../src/ssl/gadgets.h:69:1: error: 'a' was not declared in this scope
../../src/ssl/gadgets.h:70:21: error: 'SSL' was not declared in this scope
../../src/ssl/gadgets.h:70:26: error: 'SSL_free_cpp' was not declared in this scope
../../src/ssl/gadgets.h:70:38: error: template argument 1 is invalid
../../src/ssl/gadgets.h:70:38: error: template argument 2 is invalid
../../src/ssl/gadgets.h:70:51: error: invalid type in declaration before ';' token
../../src/ssl/gadgets.h:77:1: error: 'EVP_PKEY' does not name a type
../../src/ssl/gadgets.h:83:1: error: 'X509_REQ' does not name a type
../../src/ssl/gadgets.h:109:1: error: 'X509' does not name a type
In file included from ../../src/ssl_support.h:39:0,
from ../../src/squid.h:272,
from AsyncCall.cc:5:
../../src/ssl/gadgets.h:117:176: error: 'BIGNUM' has not been declared
In file included from ../../src/squid.h:272:0,
from AsyncCall.cc:5:
../../src/ssl_support.h:59:1: error: 'SSL_CTX' does not name a type
In file included from ../../src/squid.h:272:0,
from AsyncCall.cc:5:
../../src/ssl_support.h:62:1: error: 'SSL_CTX' does not name a type
../../src/ssl_support.h:75:29: error: 'SSL' was not declared in this scope
../../src/ssl_support.h:75:34: error: 'ssl' was not declared in this scope
../../src/ssl_support.h:78:37: error: typedef 'SSLGETATTRIBUTE' is initialized (use decltype instead)
../../src/ssl_support.h:78:37: error: 'SSL' was not declared in this scope
../../src/ssl_support.h:78:42: error: expected primary-expression before ',' token
../../src/ssl_support.h:78:44: error: expected primary-expression before 'const'
../../src/ssl_support.h:81:1: error: 'SSLGETATTRIBUTE' does not name a type
../../src/ssl_support.h:84:1: error: 'SSLGETATTRIBUTE' does not name a type
../../src/ssl_support.h:87:38: error: 'SSL' was not declared in this scope
../../src/ssl_support.h:87:43: error: 'ssl' was not declared in this scope
../../src/ssl_support.h:90:43: error: 'SSL' was not declared in this scope
../../src/ssl_support.h:90:48: error: 'ssl' was not declared in this scope
../../src/ssl_support.h:98:1: error: 'SSL_CTX' does not name a type
../../src/ssl_support.h:105:31: error: 'SSL_CTX' was not declared in this scope
../../src/ssl_support.h:105:41: error: 'sslContext' was not declared in this scope
../../src/ssl_support.h:112:1: error: 'SSL_CTX' does not name a type
../../src/ssl_support.h:123:26: error: 'X509' was not declared in this scope
../../src/ssl_support.h:123:32: error: 'peer_cert' was not declared in this scope
../../src/ssl_support.h:123:43: error: expected primary-expression before 'void'
../../src/ssl_support.h:123:67: error: 'check_func' was not declared in this scope
../../src/ssl_support.h:123:79: error: expected primary-expression before 'void'
../../src/ssl_support.h:123:98: error: 'ASN1_STRING' was not declared in this scope
../../src/ssl_support.h:123:111: error: 'cn_data' was not declared in this scope
../../src/ssl_support.h:123:119: error: expression list treated as compound expression in initializer [-fpermissive]
../../src/ssl_support.h:133:22: error: 'ASN1_TIME' was not declared in this scope
../../src/ssl_support.h:133:35: error: expected primary-expression before ',' token
../../src/ssl_support.h:133:37: error: expected primary-expression before 'char'
../../src/ssl_support.h:133:48: error: expected primary-expression before 'int'
../../src/ssl_support.h:133:55: error: expression list treated as compound expression in initializer [-fpermissive]
In file included from ../../src/squid.h:318:0,
from AsyncCall.cc:5:
../../src/structs.h:618:9: error: 'SSL_CTX' does not name a type
../../src/structs.h:968:5: error: 'SSL_CTX' does not name a type
../../src/structs.h:969:5: error: 'SSL_SESSION' does not name a type
make[4]: *** [AsyncCall.lo] Error 1
make[4]: se sale del directorio `/usr/src/squid/squid3-3.1.20/src/base'
make[3]: *** [all-recursive] Error 1
make[3]: se sale del directorio `/usr/src/squid/squid3-3.1.20/src'
make[2]: *** [all] Error 2
make[2]: se sale del directorio `/usr/src/squid/squid3-3.1.20/src'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/usr/src/squid/squid3-3.1.20'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: fallo: debian/rules build devolvió un estado de salida de error 2
root@debian:/usr/src/squid/squid3-3.1.20# dpkg -i ../squid*.deb
dpkg: error al procesar ../squid*.deb (--install):
no se puede acceder al archivo: No existe el fichero o el directorio
Se encontraron errores al procesar:
../squid*.deb
[/color]
a que se debe eso, tambien no hay nigun *.deb, la version de squid es la 3.20, solo copie una parte de los errores por que son muchos. gracias
Te comento amigo, que ese post ya tiene cierto tiempo de estar y por ende des actualizado, estaré creando otro tema para actualizar dicha información, Saludos