Search squid archive

Re: Squid-4.0.9 and FreeBSD 9.3 / FreeBSD-10.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 23/04/2016 4:24 p.m., Amos Jeffries wrote:
> On 22/04/2016 8:03 a.m., Odhiambo Washington wrote:
>> On 21 April 2016 at 21:52, Amos Jeffries wrote:
>>
>>> On 22/04/2016 6:12 a.m., Odhiambo Washington wrote:
>>>> Hi Amos,
>>>>
>>>> I have just now succeeded in compiling squid-4.0.9 on FreeBSD 10.3 and
>>> I'm
>>>> even able to run it.
>>>> The server I am testing on serves about 20 users. It's been successfully
>>>> running 3.5.x (upgraded to 3.5.17 today).
>>>>
>>>> On my other server that is FreeBSD-9.3 (the one I upgraded recently from
>>>> 8.4) I still get stuck at a point, but hopefully someone could help me
>>> out:
>>>>
>>>> [wash@gw ~/Tools/Squid/4.x/squid-4.0.9]$ make
>>>
>>>
>>>> libtool: compile:  clang++ -DHAVE_CONFIG_H -I.. -I../include -I../lib
>>>> -I../src -I../include -I/usr/local/include -I../libltdl -I/usr/include
>>>> -I/usr/local/include/libxml2 -I/usr/local/include
>>>> -I/usr/local/include/libxml2 -Werror -Qunused-arguments
>>>> -Wno-deprecated-register -D_REENTRANT -I/usr/local/include -g -O2
>>>> -march=native -std=c++11 -I/usr/local/include -MT assert.lo -MD -MP -MF
>>>> .deps/assert.Tpo -c assert.cc  -fPIC -DPIC -o .libs/assert.o
>>>> In file included from assert.cc:9:
>>>> In file included from ../include/squid.h:43:
>>>> In file included from ../compat/compat.h:70:
>>>> ../compat/types.h:62:10: fatal error: 'cstdint' file not found
>>>> #include <cstdint>
>>>>          ^
>>>
>>> This is one of the standard library files. It is required to be present
>>> in C++11 compiler systems. So our configure is not testing for it.
>>>
>>> It would seem clang is not finding the correct C++11 stdlib headers. I
>>> assume you know how and where to check for those?
>>>
>>
>> Heheeee... I wouldn't lie that I know. How do I go about it??
>>
> 
> Try command line "locate cstdint".
> If that dont work then its a manual search through the directories.
> 
> On our FreeBSD 9.3 build node it is:
>  /usr/include/c++/4.2/tr1/cstdint
>  /usr/local/include/c++/v1/c++/v1/cstdint
>  /usr/local/include/c++/v1/cstdint
>  /usr/local/lib/gcc49/include/c++/cstdint
>  /usr/local/lib/gcc49/include/c++/tr1/cstdint
> 

Which was setup with these instructions:
 <http://wiki.squid-cache.org/BuildFarm/FreeBsdInstall>

Amos

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux