Re: [squid-users] error: #error .... is not 32-bit or 64-bit
Amos, Just to confirm, please tell me one thing, i am installing squid-3.4.7.tar.gz, downloaded from http://ftp.riken.jp/net/squid/squid/squid-3.4.7.tar.gz URL. I am using CentOS release 6.3 (Final) x86_64 server. Is this the right version of squid source for my platform? Regards Santosh On Wed, Sep 3, 2014 at 5:48 PM, Amos Jeffries wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 3/09/2014 11:42 p.m., Santosh Bhabal wrote: >> Amos, >> >> My machine has already installed C++ compiler. >> >> [root@localhost ~]# rpm -qa | grep -i c++ >> libstdc++-4.4.7-4.el6.x86_64 gcc-c++-4.4.7-4.el6.x86_64 >> libstdc++-devel-4.4.7-4.el6.x86_64 >> > > Perhapse its not installed correctly then, or not in your available > PATHs. Because autoconf is searching for one of these compiler > binaries on your system: > > configure:5701: checking for g++ > configure:5731: result: no > configure:5701: checking for c++ > configure:5731: result: no > configure:5701: checking for gpp > configure:5731: result: no > configure:5701: checking for aCC > configure:5731: result: no > configure:5701: checking for CC > configure:5731: result: no > configure:5701: checking for cxx > configure:5731: result: no > configure:5701: checking for cc++ > configure:5731: result: no > configure:5701: checking for cl.exe > configure:5731: result: no > configure:5701: checking for FCC > configure:5731: result: no > configure:5701: checking for KCC > configure:5731: result: no > configure:5701: checking for RCC > configure:5731: result: no > configure:5701: checking for xlC_r > configure:5731: result: no > configure:5701: checking for xlC > configure:5731: result: no > configure:5755: checking for C++ compiler version > ... command not found > > Amos > -BEGIN PGP SIGNATURE- > Version: GnuPG v2.0.22 (MingW32) > > iQEcBAEBAgAGBQJUBwcMAAoJELJo5wb/XPRjrxwH+wUWXuQCIYLvM3My8JfR+Sv3 > mPh746+Z61K5N9WZDQMOc7H14vuJ03wZmpgc/y8xjKCVr9qyPcxi81aJfspE2f+u > yiIezPBVFs+/IirV3s19raCothP2+alAZd19Wu7EVtjY9BJvsA5W71wwgsmnmLah > kVW+bquMoa9JMPJoy70CgR5RP3IfQd+9IdHcpCVf38lp31qleXAKw3ewQ2fScw3d > ceAT63gcEEw0HDCve8mfUu26HyCRwUTWYNoMy3Re2CXHiWS7WywG1NKHGoZYN2jt > DUMiYbKACdKCp1FU7KETb23PXb3esOzEGhI2rfD2ejPsMTp9Gt53XPb670TvKhc= > =Cx5W > -END PGP SIGNATURE-
Re: [squid-users] error: #error .... is not 32-bit or 64-bit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/09/2014 11:42 p.m., Santosh Bhabal wrote: > Amos, > > My machine has already installed C++ compiler. > > [root@localhost ~]# rpm -qa | grep -i c++ > libstdc++-4.4.7-4.el6.x86_64 gcc-c++-4.4.7-4.el6.x86_64 > libstdc++-devel-4.4.7-4.el6.x86_64 > Perhapse its not installed correctly then, or not in your available PATHs. Because autoconf is searching for one of these compiler binaries on your system: configure:5701: checking for g++ configure:5731: result: no configure:5701: checking for c++ configure:5731: result: no configure:5701: checking for gpp configure:5731: result: no configure:5701: checking for aCC configure:5731: result: no configure:5701: checking for CC configure:5731: result: no configure:5701: checking for cxx configure:5731: result: no configure:5701: checking for cc++ configure:5731: result: no configure:5701: checking for cl.exe configure:5731: result: no configure:5701: checking for FCC configure:5731: result: no configure:5701: checking for KCC configure:5731: result: no configure:5701: checking for RCC configure:5731: result: no configure:5701: checking for xlC_r configure:5731: result: no configure:5701: checking for xlC configure:5731: result: no configure:5755: checking for C++ compiler version ... command not found Amos -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.22 (MingW32) iQEcBAEBAgAGBQJUBwcMAAoJELJo5wb/XPRjrxwH+wUWXuQCIYLvM3My8JfR+Sv3 mPh746+Z61K5N9WZDQMOc7H14vuJ03wZmpgc/y8xjKCVr9qyPcxi81aJfspE2f+u yiIezPBVFs+/IirV3s19raCothP2+alAZd19Wu7EVtjY9BJvsA5W71wwgsmnmLah kVW+bquMoa9JMPJoy70CgR5RP3IfQd+9IdHcpCVf38lp31qleXAKw3ewQ2fScw3d ceAT63gcEEw0HDCve8mfUu26HyCRwUTWYNoMy3Re2CXHiWS7WywG1NKHGoZYN2jt DUMiYbKACdKCp1FU7KETb23PXb3esOzEGhI2rfD2ejPsMTp9Gt53XPb670TvKhc= =Cx5W -END PGP SIGNATURE-
Re: [squid-users] error: #error .... is not 32-bit or 64-bit
Amos, My machine has already installed C++ compiler. [root@localhost ~]# rpm -qa | grep -i c++ libstdc++-4.4.7-4.el6.x86_64 gcc-c++-4.4.7-4.el6.x86_64 libstdc++-devel-4.4.7-4.el6.x86_64 Regards Santosh System Monitoring Team | +91-8108846195 | 022-61041331 On Mon, Sep 1, 2014 at 7:19 PM, Amos Jeffries wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Your machine is missing a C++ compiler. > > Squid is known to build on g++ and usually clang or Intel CC. Others > are a best-effort situation. > > Amos > > -BEGIN PGP SIGNATURE- > Version: GnuPG v2.0.22 (MingW32) > > iQEcBAEBAgAGBQJUBHl6AAoJELJo5wb/XPRj/oEH/jDoqnX61gfzfR6IiCzWc0zF > bhJEcArG7zwEVSjkCukXGh4x1HRLcbDpswEvN99maZDXKoSzvqkxWpD9W4gAr7iU > 5ImocqSVLIinNWnyKYEbK8KKqX4Urj2TfObmsL/guNMuChcrEKZtw9D13DboSg2y > aTJemwF1nKp5tOGxKriBREEuxvq1p685EvWogZMxDqPwsYyEIMoOXmGQkZjnfH7t > HW5ZRxgbBXtRkD9Ou/NVHaBL51zssDtOb6rWLwxiEXGJ6XNnMDXyiDudMvB3bXPB > 2L2uuZvQitnGyZIkqVhSqK9PyisbUa9bu7ORH0gGZ+fyjvIsKbdAHSR3hNdpVrI= > =8IwO > -END PGP SIGNATURE-
Re: [squid-users] error: #error .... is not 32-bit or 64-bit
On 09/01/2014 12:34 PM, Santosh Bhabal wrote: Hello Experts, I am getting below error while compiling Squid 3.4.7 : To make sure you have everything to build squid try to run this script: http://www1.ngtech.co.il/squid/basic_data.sh It will give many details and also one of them is the installed packages on the OS. Take a look at the installed packages on the build node of squid here: http://wiki.squid-cache.org/BuildFarm/CentosInstall Eliezer
Re: [squid-users] error: #error .... is not 32-bit or 64-bit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Your machine is missing a C++ compiler. Squid is known to build on g++ and usually clang or Intel CC. Others are a best-effort situation. Amos -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.22 (MingW32) iQEcBAEBAgAGBQJUBHl6AAoJELJo5wb/XPRj/oEH/jDoqnX61gfzfR6IiCzWc0zF bhJEcArG7zwEVSjkCukXGh4x1HRLcbDpswEvN99maZDXKoSzvqkxWpD9W4gAr7iU 5ImocqSVLIinNWnyKYEbK8KKqX4Urj2TfObmsL/guNMuChcrEKZtw9D13DboSg2y aTJemwF1nKp5tOGxKriBREEuxvq1p685EvWogZMxDqPwsYyEIMoOXmGQkZjnfH7t HW5ZRxgbBXtRkD9Ou/NVHaBL51zssDtOb6rWLwxiEXGJ6XNnMDXyiDudMvB3bXPB 2L2uuZvQitnGyZIkqVhSqK9PyisbUa9bu7ORH0gGZ+fyjvIsKbdAHSR3hNdpVrI= =8IwO -END PGP SIGNATURE-
Re: [squid-users] error: #error .... is not 32-bit or 64-bit
Please find the attached autoconf.h Regards Santosh On Mon, Sep 1, 2014 at 6:55 PM, Amos Jeffries wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 2/09/2014 1:21 a.m., Santosh Bhabal wrote: >> Yes :) > > Can you mail me the config.log and include/autoconf.h files produced > by the Squid ./configure please? > > Amos > > > -BEGIN PGP SIGNATURE- > Version: GnuPG v2.0.22 (MingW32) > > iQEcBAEBAgAGBQJUBHOyAAoJELJo5wb/XPRj/aEIAMT26s9gu1Kwd9alSOEmt6rE > Ix4zGKIbnjPgigOYN0P0uqBG/Otdj67ZvEDQ0bhgnDPeRug2soog9xnQn+frqokH > rfHfSVB0vvEmvxMf6MlyEo9rHk3pfMpouLOJyVpd4TExyZZy1hBpJaESAcesJdpD > AQsnnr6ZlfA+YoPq7WBhjIGIccDzaY9SHemcA7qF9eVZ+R+51ul7EPA2Y4lT/rsz > 7IeeSBwuvuZTaD9EeWmM0GKbdEmNoFBr+UyzXHEr7lfuM1jS+2b2TQTu16thaypE > cR7EHjFyDXEz4ud4vCwyeNnakP6yukizK0CIAgUXmFXiFJknGBLSj+lnKMcPtFU= > =TEX6 > -END PGP SIGNATURE- autoconf.rar Description: application/rar
Re: [squid-users] error: #error .... is not 32-bit or 64-bit
On Mon, 2014-09-01 at 18:51 +0530, Santosh Bhabal wrote: > Yes :) > > Regards > Santosh > > > > On Mon, Sep 1, 2014 at 6:50 PM, Antony Stone > wrote: > > On Monday 01 September 2014 at 15:17:58 (EU time), Santosh Bhabal wrote: > > > >> Yes, './configure --prefix=/usr/local/squid' command successfully > >> completed. Facing issue with 'make all' command. > > > > Have you successfully compiled other software on this machine? > > > > > > Antony > > > > -- > > If you were ploughing a field, which would you rather use - two strong oxen > > or > > 1024 chickens? > > > > - Seymour Cray, pioneer of supercomputing > > > >Please reply to the list; > > please *don't* CC > > me. Do a: file 'which squid` and ldd `which squid` and ls -l --full `which squid` Just to see what we're looking at here... James
Re: [squid-users] error: #error .... is not 32-bit or 64-bit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2/09/2014 1:21 a.m., Santosh Bhabal wrote: > Yes :) Can you mail me the config.log and include/autoconf.h files produced by the Squid ./configure please? Amos -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.22 (MingW32) iQEcBAEBAgAGBQJUBHOyAAoJELJo5wb/XPRj/aEIAMT26s9gu1Kwd9alSOEmt6rE Ix4zGKIbnjPgigOYN0P0uqBG/Otdj67ZvEDQ0bhgnDPeRug2soog9xnQn+frqokH rfHfSVB0vvEmvxMf6MlyEo9rHk3pfMpouLOJyVpd4TExyZZy1hBpJaESAcesJdpD AQsnnr6ZlfA+YoPq7WBhjIGIccDzaY9SHemcA7qF9eVZ+R+51ul7EPA2Y4lT/rsz 7IeeSBwuvuZTaD9EeWmM0GKbdEmNoFBr+UyzXHEr7lfuM1jS+2b2TQTu16thaypE cR7EHjFyDXEz4ud4vCwyeNnakP6yukizK0CIAgUXmFXiFJknGBLSj+lnKMcPtFU= =TEX6 -END PGP SIGNATURE-
Re: [squid-users] error: #error .... is not 32-bit or 64-bit
Yes :) Regards Santosh On Mon, Sep 1, 2014 at 6:50 PM, Antony Stone wrote: > On Monday 01 September 2014 at 15:17:58 (EU time), Santosh Bhabal wrote: > >> Yes, './configure --prefix=/usr/local/squid' command successfully >> completed. Facing issue with 'make all' command. > > Have you successfully compiled other software on this machine? > > > Antony > > -- > If you were ploughing a field, which would you rather use - two strong oxen or > 1024 chickens? > > - Seymour Cray, pioneer of supercomputing > >Please reply to the list; > please *don't* CC me.
Re: [squid-users] error: #error .... is not 32-bit or 64-bit
On Monday 01 September 2014 at 15:17:58 (EU time), Santosh Bhabal wrote: > Yes, './configure --prefix=/usr/local/squid' command successfully > completed. Facing issue with 'make all' command. Have you successfully compiled other software on this machine? Antony -- If you were ploughing a field, which would you rather use - two strong oxen or 1024 chickens? - Seymour Cray, pioneer of supercomputing Please reply to the list; please *don't* CC me.
Re: [squid-users] error: #error .... is not 32-bit or 64-bit
Yes, './configure --prefix=/usr/local/squid' command successfully completed. Facing issue with 'make all' command. Regards Santosh On Mon, Sep 1, 2014 at 6:33 PM, Amos Jeffries wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 2/09/2014 12:53 a.m., Santosh Bhabal wrote: >> CentOS release 6.3 (Final) x86_64 >> > > Did you run ./configure before building? > > We built Squid on CentOS 6 and 7 without problems before releasing. > > Amos > -BEGIN PGP SIGNATURE- > Version: GnuPG v2.0.22 (MingW32) > > iQEcBAEBAgAGBQJUBG6nAAoJELJo5wb/XPRjJsUIAIo4dyCrvEbgBG9/gdZHmRJf > 7acCu/OKn1teLnets1WpzAEytgpQvS6tfF8XEwq7sWet8ECUfhSCPtG/9evKluEw > 9xPekYf+eLYrZkt6X8e6Uw5FKWkL3Ng6CslWyKFtwp9tepa49h/ZZA322R3ca6ks > Ui8ABuvc0ebw2TqH5TJCUWR5zM9RGMK5m4TABKrGx0fNRdCvzH5t6veoSVXn+C9C > +3yQ9oTtiD3JWGioAWuho+PrfKRDIr4SZpJcZDZ0vFprOYbTevMOi04Vjcr8in9V > 5JEFmuNxjzEGtE+CRel3u/ssxzRLrdWy2XXOwzuL8ASTPC9te8+J6sTD0i23ka8= > =h/ks > -END PGP SIGNATURE-
Re: [squid-users] error: #error .... is not 32-bit or 64-bit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2/09/2014 12:53 a.m., Santosh Bhabal wrote: > CentOS release 6.3 (Final) x86_64 > Did you run ./configure before building? We built Squid on CentOS 6 and 7 without problems before releasing. Amos -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.22 (MingW32) iQEcBAEBAgAGBQJUBG6nAAoJELJo5wb/XPRjJsUIAIo4dyCrvEbgBG9/gdZHmRJf 7acCu/OKn1teLnets1WpzAEytgpQvS6tfF8XEwq7sWet8ECUfhSCPtG/9evKluEw 9xPekYf+eLYrZkt6X8e6Uw5FKWkL3Ng6CslWyKFtwp9tepa49h/ZZA322R3ca6ks Ui8ABuvc0ebw2TqH5TJCUWR5zM9RGMK5m4TABKrGx0fNRdCvzH5t6veoSVXn+C9C +3yQ9oTtiD3JWGioAWuho+PrfKRDIr4SZpJcZDZ0vFprOYbTevMOi04Vjcr8in9V 5JEFmuNxjzEGtE+CRel3u/ssxzRLrdWy2XXOwzuL8ASTPC9te8+J6sTD0i23ka8= =h/ks -END PGP SIGNATURE-
Re: [squid-users] error: #error .... is not 32-bit or 64-bit
CentOS release 6.3 (Final) x86_64 Regards Santosh On Mon, Sep 1, 2014 at 6:20 PM, Amos Jeffries wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 1/09/2014 9:34 p.m., Santosh Bhabal wrote: >> Hello Experts, >> >> I am getting below error while compiling Squid 3.4.7 : >> >> [root@localhost squid-3.4.7]# make all Making all in compat >> make[1]: Entering directory `/opt/squid-3.4.7/compat' >> source='assert.cc' object='assert.lo' libtool=yes \ DEPDIR=.deps >> depmode=none /bin/sh ../cfgaux/depcomp \ /bin/sh ../libtool >> --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.. -I../include >> -I../lib -I../src -I../include -I../libltdl -c -o assert.lo >> assert.cc libtool: compile: g++ -DHAVE_CONFIG_H -I.. -I../include >> -I../lib -I../src -I../include -I../libltdl -c assert.cc -o >> .libs/assert.o In file included from ../compat/compat.h:51, from >> ../include/squid.h:66, from assert.cc:32: ../compat/types.h:134:2: >> error: #error size_t is not 32-bit or 64-bit In file included from >> ../compat/compat.h:81, from ../include/squid.h:66, from >> assert.cc:32: ../compat/stdvarargs.h:31:2: error: #error XX **NO >> VARARGS ** XX In file included from ../compat/compat.h:80, from >> ../include/squid.h:66, from assert.cc:32: >> ../compat/compat_shared.h:97: error: field 'ru_stime' has >> incomplete type ../compat/compat_shared.h:98: error: field >> 'ru_utime' has incomplete type In file included from >> ../compat/compat_shared.h:219, from ../compat/compat.h:80, from >> ../include/squid.h:66, from assert.cc:32: ../compat/strtoll.h:14: >> error: 'int64_t' does not name a type assert.cc: In function 'void >> xassert(char*, char*, int)': assert.cc:36: error: 'stderr' was not >> declared in this scope assert.cc:36: error: 'fprintf' was not >> declared in this scope assert.cc:37: error: 'abort' was not >> declared in this scope make[1]: *** [assert.lo] Error 1 make[1]: >> Leaving directory `/opt/squid-3.4.7/compat' make: *** >> [all-recursive] Error 1 > > > Interesting errors. What operating system are you building on and are > you cross-building for any particular other system? > > Amos > > -BEGIN PGP SIGNATURE- > Version: GnuPG v2.0.22 (MingW32) > > iQEcBAEBAgAGBQJUBGuoAAoJELJo5wb/XPRjubUH/0c+c+shBlAmhehbcRJwjeaI > Fscp5c7f7k8E4TAdoJqKhFVTSzkEp8MpRLv1OImpf5FsDF5ZZ9apXk87L7rr42Hi > lNF/043MVYLsFMTzQX/u/cAVmw65HIVwxVpbrQwvFr9es0JpcZlTmQzb2getzPg4 > dQlAtbTjdqbc+T3Up9+lno8VDtOXtKf2tn48CX8BWiBVWzIL8qt70OMtVmsHLBma > 8I2faZt7ks6I0yI0gsNhZyWEOo/rX3opLCp01unNKuyn5dJ7LP9v2uCoPik+2X4W > yBxmeuLWV+pE3IyZUbAB4kCjlQzNhkIfAUMIq25ZFpRgOBw2R1yF1R8Y3X203ck= > =6cz0 > -END PGP SIGNATURE-
Re: [squid-users] error: #error .... is not 32-bit or 64-bit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 1/09/2014 9:34 p.m., Santosh Bhabal wrote: > Hello Experts, > > I am getting below error while compiling Squid 3.4.7 : > > [root@localhost squid-3.4.7]# make all Making all in compat > make[1]: Entering directory `/opt/squid-3.4.7/compat' > source='assert.cc' object='assert.lo' libtool=yes \ DEPDIR=.deps > depmode=none /bin/sh ../cfgaux/depcomp \ /bin/sh ../libtool > --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.. -I../include > -I../lib -I../src -I../include -I../libltdl -c -o assert.lo > assert.cc libtool: compile: g++ -DHAVE_CONFIG_H -I.. -I../include > -I../lib -I../src -I../include -I../libltdl -c assert.cc -o > .libs/assert.o In file included from ../compat/compat.h:51, from > ../include/squid.h:66, from assert.cc:32: ../compat/types.h:134:2: > error: #error size_t is not 32-bit or 64-bit In file included from > ../compat/compat.h:81, from ../include/squid.h:66, from > assert.cc:32: ../compat/stdvarargs.h:31:2: error: #error XX **NO > VARARGS ** XX In file included from ../compat/compat.h:80, from > ../include/squid.h:66, from assert.cc:32: > ../compat/compat_shared.h:97: error: field 'ru_stime' has > incomplete type ../compat/compat_shared.h:98: error: field > 'ru_utime' has incomplete type In file included from > ../compat/compat_shared.h:219, from ../compat/compat.h:80, from > ../include/squid.h:66, from assert.cc:32: ../compat/strtoll.h:14: > error: 'int64_t' does not name a type assert.cc: In function 'void > xassert(char*, char*, int)': assert.cc:36: error: 'stderr' was not > declared in this scope assert.cc:36: error: 'fprintf' was not > declared in this scope assert.cc:37: error: 'abort' was not > declared in this scope make[1]: *** [assert.lo] Error 1 make[1]: > Leaving directory `/opt/squid-3.4.7/compat' make: *** > [all-recursive] Error 1 Interesting errors. What operating system are you building on and are you cross-building for any particular other system? Amos -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.22 (MingW32) iQEcBAEBAgAGBQJUBGuoAAoJELJo5wb/XPRjubUH/0c+c+shBlAmhehbcRJwjeaI Fscp5c7f7k8E4TAdoJqKhFVTSzkEp8MpRLv1OImpf5FsDF5ZZ9apXk87L7rr42Hi lNF/043MVYLsFMTzQX/u/cAVmw65HIVwxVpbrQwvFr9es0JpcZlTmQzb2getzPg4 dQlAtbTjdqbc+T3Up9+lno8VDtOXtKf2tn48CX8BWiBVWzIL8qt70OMtVmsHLBma 8I2faZt7ks6I0yI0gsNhZyWEOo/rX3opLCp01unNKuyn5dJ7LP9v2uCoPik+2X4W yBxmeuLWV+pE3IyZUbAB4kCjlQzNhkIfAUMIq25ZFpRgOBw2R1yF1R8Y3X203ck= =6cz0 -END PGP SIGNATURE-