Re: www/squid32 on 10-beta3

2013-11-12 Thread Johan Hendriks

Florian Smeets schreef:

On Mon, Nov 11, 2013 at 01:46:01PM +0100, Dimitry Andric wrote:

On 11 Nov 2013, at 09:44, Johan Hendriks joh.hendr...@gmail.com wrote:

I try to install www/squid32 on my FreeBSD 10-BETA3 server, but it fails with 
the following error.

Making all in base
/bin/sh ../../libtool --tag=CXX--mode=compile c++ -DHAVE_CONFIG_H  -I../.. 
-I../../include -I../../lib  -I../../src -I../../include   -I/usr/include  
-I/usr/include -I../../libltdl -I/usr/include  -I/usr/include  -O2 -pipe 
-march=core2 -fno-strict-aliasing -Wno-unused-private-field 
-I/usr/local/include -MT AsyncCall.lo -MD -MP -MF .deps/AsyncCall.Tpo -c -o 
AsyncCall.lo AsyncCall.cc
libtool: compile:  c++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib 
-I../../src -I../../include -I/usr/include -I/usr/include -I../../libltdl 
-I/usr/include -I/usr/include -O2 -pipe -march=core2 -fno-strict-aliasing 
-Wno-unused-private-field -I/usr/local/include -MT AsyncCall.lo -MD -MP -MF 
.deps/AsyncCall.Tpo -c AsyncCall.cc  -fPIC -DPIC -o .libs/AsyncCall.o
In file included from AsyncCall.cc:5:
In file included from ../../src/squid-old.h:164:
In file included from ../../src/typedefs.h:118:
In file included from ../../src/anyp/ProtocolType.h:5:
In file included from /usr/include/c++/v1/ostream:130:
In file included from /usr/include/c++/v1/ios:216:
In file included from /usr/include/c++/v1/__locale:15:
In file included from /usr/include/c++/v1/string:432:
/usr/include/c++/v1/cstdio:139:9: error: no member named
  'ERROR_sprintf_UNSAFE_IN_SQUID' in the global namespace
using ::sprintf;
  ~~^
../../compat/unsafe.h:10:17: note: expanded from macro 'sprintf'
#define sprintf ERROR_sprintf_UNSAFE_IN_SQUID
^
1 error generated.

Please try the attached patch.  I already posted a similar patch for squid33.

I will take care of these later today.

Florian

It works now, but when i select TP_PF it errors out again,
This is on squid32 and squid 33

configure: IPF-based transparent proxying enabled: no
configure: error: PF-based transparent proxy requested but needed header 
not found

===  Script configure failed unexpectedly.
Please report the problem to tms...@freebsd.org [maintainer] and attach the
/usr/ports/www/squid33/work/squid-3.3.10/config.log including the output
of the failure of your make command. Also, it might be a good idea to 
provide

an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

regards
Johan
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


www/squid32 on 10-beta3

2013-11-11 Thread Johan Hendriks

Hello all.

I try to install www/squid32 on my FreeBSD 10-BETA3 server, but it fails 
with the following error.


Making all in base
/bin/sh ../../libtool --tag=CXX--mode=compile c++ -DHAVE_CONFIG_H  
-I../.. -I../../include -I../../lib  -I../../src -I../../include   
-I/usr/include  -I/usr/include -I../../libltdl -I/usr/include  
-I/usr/include  -O2 -pipe -march=core2 -fno-strict-aliasing 
-Wno-unused-private-field -I/usr/local/include -MT AsyncCall.lo -MD -MP 
-MF .deps/AsyncCall.Tpo -c -o AsyncCall.lo AsyncCall.cc
libtool: compile:  c++ -DHAVE_CONFIG_H -I../.. -I../../include 
-I../../lib -I../../src -I../../include -I/usr/include -I/usr/include 
-I../../libltdl -I/usr/include -I/usr/include -O2 -pipe -march=core2 
-fno-strict-aliasing -Wno-unused-private-field -I/usr/local/include -MT 
AsyncCall.lo -MD -MP -MF .deps/AsyncCall.Tpo -c AsyncCall.cc  -fPIC 
-DPIC -o .libs/AsyncCall.o

In file included from AsyncCall.cc:5:
In file included from ../../src/squid-old.h:164:
In file included from ../../src/typedefs.h:118:
In file included from ../../src/anyp/ProtocolType.h:5:
In file included from /usr/include/c++/v1/ostream:130:
In file included from /usr/include/c++/v1/ios:216:
In file included from /usr/include/c++/v1/__locale:15:
In file included from /usr/include/c++/v1/string:432:
/usr/include/c++/v1/cstdio:139:9: error: no member named
  'ERROR_sprintf_UNSAFE_IN_SQUID' in the global namespace
using ::sprintf;
  ~~^
../../compat/unsafe.h:10:17: note: expanded from macro 'sprintf'
#define sprintf ERROR_sprintf_UNSAFE_IN_SQUID
^
1 error generated.
*** Error code 1

Stop.
make[5]: stopped in /usr/ports/www/squid32/work/squid-3.2.13/src/base
*** Error code 1

Stop.
make[4]: stopped in /usr/ports/www/squid32/work/squid-3.2.13/src
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/www/squid32/work/squid-3.2.13/src
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/www/squid32/work/squid-3.2.13
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/www/squid32
*** Error code 1


regards
Johan
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: www/squid32 on 10-beta3

2013-11-11 Thread Dimitry Andric
On 11 Nov 2013, at 09:44, Johan Hendriks joh.hendr...@gmail.com wrote:
 I try to install www/squid32 on my FreeBSD 10-BETA3 server, but it fails with 
 the following error.
 
 Making all in base
 /bin/sh ../../libtool --tag=CXX--mode=compile c++ -DHAVE_CONFIG_H  
 -I../.. -I../../include -I../../lib  -I../../src -I../../include   
 -I/usr/include  -I/usr/include -I../../libltdl -I/usr/include  -I/usr/include 
  -O2 -pipe -march=core2 -fno-strict-aliasing -Wno-unused-private-field 
 -I/usr/local/include -MT AsyncCall.lo -MD -MP -MF .deps/AsyncCall.Tpo -c -o 
 AsyncCall.lo AsyncCall.cc
 libtool: compile:  c++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib 
 -I../../src -I../../include -I/usr/include -I/usr/include -I../../libltdl 
 -I/usr/include -I/usr/include -O2 -pipe -march=core2 -fno-strict-aliasing 
 -Wno-unused-private-field -I/usr/local/include -MT AsyncCall.lo -MD -MP -MF 
 .deps/AsyncCall.Tpo -c AsyncCall.cc  -fPIC -DPIC -o .libs/AsyncCall.o
 In file included from AsyncCall.cc:5:
 In file included from ../../src/squid-old.h:164:
 In file included from ../../src/typedefs.h:118:
 In file included from ../../src/anyp/ProtocolType.h:5:
 In file included from /usr/include/c++/v1/ostream:130:
 In file included from /usr/include/c++/v1/ios:216:
 In file included from /usr/include/c++/v1/__locale:15:
 In file included from /usr/include/c++/v1/string:432:
 /usr/include/c++/v1/cstdio:139:9: error: no member named
  'ERROR_sprintf_UNSAFE_IN_SQUID' in the global namespace
 using ::sprintf;
  ~~^
 ../../compat/unsafe.h:10:17: note: expanded from macro 'sprintf'
 #define sprintf ERROR_sprintf_UNSAFE_IN_SQUID
^
 1 error generated.

Please try the attached patch.  I already posted a similar patch for squid33.

-Dimitry


www__squid32-fix-cstdio-1.diff
Description: Binary data



signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: www/squid32 on 10-beta3

2013-11-11 Thread Florian Smeets
On Mon, Nov 11, 2013 at 01:46:01PM +0100, Dimitry Andric wrote:
 On 11 Nov 2013, at 09:44, Johan Hendriks joh.hendr...@gmail.com wrote:
  I try to install www/squid32 on my FreeBSD 10-BETA3 server, but it fails 
  with the following error.
  
  Making all in base
  /bin/sh ../../libtool --tag=CXX--mode=compile c++ -DHAVE_CONFIG_H  
  -I../.. -I../../include -I../../lib  -I../../src -I../../include   
  -I/usr/include  -I/usr/include -I../../libltdl -I/usr/include  
  -I/usr/include  -O2 -pipe -march=core2 -fno-strict-aliasing 
  -Wno-unused-private-field -I/usr/local/include -MT AsyncCall.lo -MD -MP -MF 
  .deps/AsyncCall.Tpo -c -o AsyncCall.lo AsyncCall.cc
  libtool: compile:  c++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib 
  -I../../src -I../../include -I/usr/include -I/usr/include -I../../libltdl 
  -I/usr/include -I/usr/include -O2 -pipe -march=core2 -fno-strict-aliasing 
  -Wno-unused-private-field -I/usr/local/include -MT AsyncCall.lo -MD -MP -MF 
  .deps/AsyncCall.Tpo -c AsyncCall.cc  -fPIC -DPIC -o .libs/AsyncCall.o
  In file included from AsyncCall.cc:5:
  In file included from ../../src/squid-old.h:164:
  In file included from ../../src/typedefs.h:118:
  In file included from ../../src/anyp/ProtocolType.h:5:
  In file included from /usr/include/c++/v1/ostream:130:
  In file included from /usr/include/c++/v1/ios:216:
  In file included from /usr/include/c++/v1/__locale:15:
  In file included from /usr/include/c++/v1/string:432:
  /usr/include/c++/v1/cstdio:139:9: error: no member named
   'ERROR_sprintf_UNSAFE_IN_SQUID' in the global namespace
  using ::sprintf;
   ~~^
  ../../compat/unsafe.h:10:17: note: expanded from macro 'sprintf'
  #define sprintf ERROR_sprintf_UNSAFE_IN_SQUID
 ^
  1 error generated.
 
 Please try the attached patch.  I already posted a similar patch for squid33.

I will take care of these later today.

Florian


pgpcXvdRLqlI1.pgp
Description: PGP signature


Re: www/squid32 on 10-beta3

2013-11-11 Thread Johan Hendriks
Op maandag 11 november 2013 schreef Florian Smeets (f...@smeets.im):

 On Mon, Nov 11, 2013 at 01:46:01PM +0100, Dimitry Andric wrote:
  On 11 Nov 2013, at 09:44, Johan Hendriks 
  joh.hendr...@gmail.comjavascript:;
 wrote:
   I try to install www/squid32 on my FreeBSD 10-BETA3 server, but it
 fails with the following error.
  
   Making all in base
   /bin/sh ../../libtool --tag=CXX--mode=compile c++ -DHAVE_CONFIG_H
  -I../.. -I../../include -I../../lib  -I../../src -I../../include
 -I/usr/include  -I/usr/include -I../../libltdl -I/usr/include
  -I/usr/include  -O2 -pipe -march=core2 -fno-strict-aliasing
 -Wno-unused-private-field -I/usr/local/include -MT AsyncCall.lo -MD -MP -MF
 .deps/AsyncCall.Tpo -c -o AsyncCall.lo AsyncCall.cc
   libtool: compile:  c++ -DHAVE_CONFIG_H -I../.. -I../../include
 -I../../lib -I../../src -I../../include -I/usr/include -I/usr/include
 -I../../libltdl -I/usr/include -I/usr/include -O2 -pipe -march=core2
 -fno-strict-aliasing -Wno-unused-private-field -I/usr/local/include -MT
 AsyncCall.lo -MD -MP -MF .deps/AsyncCall.Tpo -c AsyncCall.cc  -fPIC -DPIC
 -o .libs/AsyncCall.o
   In file included from AsyncCall.cc:5:
   In file included from ../../src/squid-old.h:164:
   In file included from ../../src/typedefs.h:118:
   In file included from ../../src/anyp/ProtocolType.h:5:
   In file included from /usr/include/c++/v1/ostream:130:
   In file included from /usr/include/c++/v1/ios:216:
   In file included from /usr/include/c++/v1/__locale:15:
   In file included from /usr/include/c++/v1/string:432:
   /usr/include/c++/v1/cstdio:139:9: error: no member named
'ERROR_sprintf_UNSAFE_IN_SQUID' in the global namespace
   using ::sprintf;
~~^
   ../../compat/unsafe.h:10:17: note: expanded from macro 'sprintf'
   #define sprintf ERROR_sprintf_UNSAFE_IN_SQUID
  ^
   1 error generated.
 
  Please try the attached patch.  I already posted a similar patch for
 squid33.

 I will take care of these later today.

 Florian



Sorry, something at work came up and i have not read my mail since.
I will do a portsnap tomorrow and try again.

Thanks for your time and effort.

Regards
Johan
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org