Build squid on x64 Windows

View: New views
8 Messages — Rating Filter:   Alert me  

Parent Message unknown Build squid on x64 Windows

by Serge Fonville :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I was trying to build squid on x64 Windows.
Unfortunately I get tons of build errors.
Does anyone have experience with succesfully building Squid on x64 Windows?

Steps I took:
* Install Windows SDK 2008
* Install Visual C++ Express 2008
* Create x64 Solution platform
* Change target machine to MachineX64 (/MACHINE:X64) on every project
(where possible)

Thanks in advance.

Regards,

Serge Fonville

--
http://www.sergefonville.nl

Convince Google!!
They need to support Adsense over SSL
https://www.google.com/adsense/support/bin/answer.py?hl=en&answer=10528
http://www.google.com/support/forum/p/AdSense/thread?tid=1884bc9310d9f923&hl=en

Re: Build squid on x64 Windows

by Henrik Nordstrom-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ons 2009-11-04 klockan 12:43 +0100 skrev Serge Fonville:

> I was trying to build squid on x64 Windows.
> Unfortunately I get tons of build errors.
> Does anyone have experience with succesfully building Squid on x64 Windows?

I am not sure anyone have attempted a 64-bit windows build yet.

It's however known that Squid is very picky about Visual C++ versions
even on 32-bit windows.

You may want to try MinGW-w64 compiler environment instead. That's based
on GCC, same compiler Squid is built with on UNIX like platforms.

Regards
Henrik


Re: Build squid on x64 Windows

by Serge Fonville :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for the clear reply.
I did quickly look into that.
I'll look into that again.

Regards,

Serge Fonville

On Wed, Nov 4, 2009 at 11:45 PM, Henrik Nordstrom
<henrik@...> wrote:

> ons 2009-11-04 klockan 12:43 +0100 skrev Serge Fonville:
>
>> I was trying to build squid on x64 Windows.
>> Unfortunately I get tons of build errors.
>> Does anyone have experience with succesfully building Squid on x64 Windows?
>
> I am not sure anyone have attempted a 64-bit windows build yet.
>
> It's however known that Squid is very picky about Visual C++ versions
> even on 32-bit windows.
>
> You may want to try MinGW-w64 compiler environment instead. That's based
> on GCC, same compiler Squid is built with on UNIX like platforms.
>
> Regards
> Henrik
>
>



--
http://www.sergefonville.nl

Convince Google!!
They need to support Adsense over SSL
https://www.google.com/adsense/support/bin/answer.py?hl=en&answer=10528
http://www.google.com/support/forum/p/AdSense/thread?tid=1884bc9310d9f923&hl=en

Re: Build squid on x64 Windows

by Serge Fonville :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I setup a Mingw environment and managed to run the configure script.
When I run make I get an error "'failcom' is not recognized as an
internal or external command, operable program or batch file"
Since failcom seems to be a variable, I think I misconfigured
something somewhere. But I have no idea what and where

Thanks in advance.

Regards,

Serge Fonville

On Thu, Nov 5, 2009 at 12:05 AM, Serge Fonville
<serge.fonville@...> wrote:

> Thanks for the clear reply.
> I did quickly look into that.
> I'll look into that again.
>
> Regards,
>
> Serge Fonville
>
> On Wed, Nov 4, 2009 at 11:45 PM, Henrik Nordstrom
> <henrik@...> wrote:
>> ons 2009-11-04 klockan 12:43 +0100 skrev Serge Fonville:
>>
>>> I was trying to build squid on x64 Windows.
>>> Unfortunately I get tons of build errors.
>>> Does anyone have experience with succesfully building Squid on x64 Windows?
>>
>> I am not sure anyone have attempted a 64-bit windows build yet.
>>
>> It's however known that Squid is very picky about Visual C++ versions
>> even on 32-bit windows.
>>
>> You may want to try MinGW-w64 compiler environment instead. That's based
>> on GCC, same compiler Squid is built with on UNIX like platforms.
>>
>> Regards
>> Henrik
>>
>>
>
>
>
> --
> http://www.sergefonville.nl
>
> Convince Google!!
> They need to support Adsense over SSL
> https://www.google.com/adsense/support/bin/answer.py?hl=en&answer=10528
> http://www.google.com/support/forum/p/AdSense/thread?tid=1884bc9310d9f923&hl=en
>



--
http://www.sergefonville.nl

Convince Google!!
They need to support Adsense over SSL
https://www.google.com/adsense/support/bin/answer.py?hl=en&answer=10528
http://www.google.com/support/forum/p/AdSense/thread?tid=1884bc9310d9f923&hl=en

R: [squid-users] Build squid on x64 Windows

by Guido Serassio :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

You don't specify the Squid version.

Build a 64 bit Squid on Windows is a waste of time: the MS C Runtime Library is limited to 2048 file descriptors, so you will never hit 32 bit limits running Squid on Windows.

If you want to build a 32 bit Squid 2.7 on a x64 machine, you need to install regular 32 bit MinGW. My development notebook is a Windows XP x64 running MinGW.
If you want to use Visual Studio, You must use the old Visual Studio 6.0 SP6.

Regards
 

Guido Serassio
Acme Consulting S.r.l.
Microsoft Gold Certified Partner
VMware Professional Partner
Via Lucia Savarino, 1                10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135               Fax. : +39.011.9781115
Email: guido.serassio@...
WWW: http://www.acmeconsulting.it



> -----Messaggio originale-----
> Da: Serge Fonville [mailto:serge.fonville@...]
> Inviato: mercoledì 4 novembre 2009 12.43
> A: squid-users@...
> Oggetto: [squid-users] Build squid on x64 Windows
>
> Hi,
>
> I was trying to build squid on x64 Windows.
> Unfortunately I get tons of build errors.
> Does anyone have experience with succesfully building Squid on x64
> Windows?
>
> Steps I took:
> * Install Windows SDK 2008
> * Install Visual C++ Express 2008
> * Create x64 Solution platform
> * Change target machine to MachineX64 (/MACHINE:X64) on every project
> (where possible)
>
> Thanks in advance.
>
> Regards,
>
> Serge Fonville
>
> --
> http://www.sergefonville.nl
>
> Convince Google!!
> They need to support Adsense over SSL
> https://www.google.com/adsense/support/bin/answer.py?hl=en&answer=10528
> http://www.google.com/support/forum/p/AdSense/thread?tid=1884bc9310d9f923&
> hl=en

Re: R: [squid-users] Build squid on x64 Windows

by Serge Fonville :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Good point.
Still that doesn't explain the failcom error.

Thanks for the feedback though

Regards,

Serge Fonville

On Thu, Nov 5, 2009 at 3:00 PM, Guido Serassio
<guido.serassio@...> wrote:

> Hi,
>
> You don't specify the Squid version.
>
> Build a 64 bit Squid on Windows is a waste of time: the MS C Runtime Library is limited to 2048 file descriptors, so you will never hit 32 bit limits running Squid on Windows.
>
> If you want to build a 32 bit Squid 2.7 on a x64 machine, you need to install regular 32 bit MinGW. My development notebook is a Windows XP x64 running MinGW.
> If you want to use Visual Studio, You must use the old Visual Studio 6.0 SP6.
>
> Regards
>
>
> Guido Serassio
> Acme Consulting S.r.l.
> Microsoft Gold Certified Partner
> VMware Professional Partner
> Via Lucia Savarino, 1                10098 - Rivoli (TO) - ITALY
> Tel. : +39.011.9530135               Fax. : +39.011.9781115
> Email: guido.serassio@...
> WWW: http://www.acmeconsulting.it
>
>
>
>> -----Messaggio originale-----
>> Da: Serge Fonville [mailto:serge.fonville@...]
>> Inviato: mercoledì 4 novembre 2009 12.43
>> A: squid-users@...
>> Oggetto: [squid-users] Build squid on x64 Windows
>>
>> Hi,
>>
>> I was trying to build squid on x64 Windows.
>> Unfortunately I get tons of build errors.
>> Does anyone have experience with succesfully building Squid on x64
>> Windows?
>>
>> Steps I took:
>> * Install Windows SDK 2008
>> * Install Visual C++ Express 2008
>> * Create x64 Solution platform
>> * Change target machine to MachineX64 (/MACHINE:X64) on every project
>> (where possible)
>>
>> Thanks in advance.
>>
>> Regards,
>>
>> Serge Fonville
>>
>> --
>> http://www.sergefonville.nl
>>
>> Convince Google!!
>> They need to support Adsense over SSL
>> https://www.google.com/adsense/support/bin/answer.py?hl=en&answer=10528
>> http://www.google.com/support/forum/p/AdSense/thread?tid=1884bc9310d9f923&
>> hl=en
>



--
http://www.sergefonville.nl

Convince Google!!
They need to support Adsense over SSL
https://www.google.com/adsense/support/bin/answer.py?hl=en&answer=10528
http://www.google.com/support/forum/p/AdSense/thread?tid=1884bc9310d9f923&hl=en

Re: Build squid on x64 Windows

by Henrik Nordstrom-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

tor 2009-11-05 klockan 08:28 +0100 skrev Serge Fonville:
> I setup a Mingw environment and managed to run the configure script.
> When I run make I get an error "'failcom' is not recognized as an
> internal or external command, operable program or batch file"
> Since failcom seems to be a variable, I think I misconfigured
> something somewhere. But I have no idea what and where

Never heard of failcom before...

Regards
Henrik


Re: Build squid on x64 Windows

by Serge Fonville :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I read through the files and found failcom is a variable.
It is in at least the Makefile.
I believe it contains a returncode.
For some reason msys doesn't allow variables starting with @ in makefiles

Thanks a lot so far

Regards,

Serge Fonville

On Thu, Nov 5, 2009 at 9:40 PM, Henrik Nordstrom
<henrik@...> wrote:

> tor 2009-11-05 klockan 08:28 +0100 skrev Serge Fonville:
>> I setup a Mingw environment and managed to run the configure script.
>> When I run make I get an error "'failcom' is not recognized as an
>> internal or external command, operable program or batch file"
>> Since failcom seems to be a variable, I think I misconfigured
>> something somewhere. But I have no idea what and where
>
> Never heard of failcom before...
>
> Regards
> Henrik
>
>



--
http://www.sergefonville.nl

Convince Google!!
They need to support Adsense over SSL
https://www.google.com/adsense/support/bin/answer.py?hl=en&answer=10528
http://www.google.com/support/forum/p/AdSense/thread?tid=1884bc9310d9f923&hl=en