Mailing List Archive

The revenge of the return of 1.1.2
Believe it or not, I have merged a few additional fixes and finished
the change log for 1.1.2, and once Stig merges his changes to the
Debian package metadata, we will be all set for a December 20th
release. Please test...

DES
--
Dag-Erling Sm?rgrav
Senior Software Developer
Linpro AS - www.linpro.no
The revenge of the return of 1.1.2 [ In reply to ]
On Tue, 18 Dec 2007 18:21:53 +0100, Dag-Erling Sm?rgrav
<des at linpro.no> wrote:

> Believe it or not, I have merged a few additional fixes and finished
> the change log for 1.1.2, and once Stig merges his changes to the
> Debian package metadata, we will be all set for a December 20th
> release. Please test...
>
> DES


/me cheers!

Go, DES, go!

Regards,
Florian Schulze
The revenge of the return of 1.1.2 [ In reply to ]
On Tue, 18 Dec 2007 18:21:53 +0100, Dag-Erling Sm?rgrav
<des at linpro.no> wrote:

> Believe it or not, I have merged a few additional fixes and finished
> the change log for 1.1.2, and once Stig merges his changes to the
> Debian package metadata, we will be all set for a December 20th
> release. Please test...
>
> DES


I just fetched the 1.1 branch r2308 and tried to compile on Mac OS X
Leopard.

cache_pool.c:43:2: error: #error Unknown sendfile() implementation
cache_pool.c:173:2: error: #error Unknown sendfile() implementation
make[3]: *** [varnishd-cache_pool.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

During configure I get this when looking for sendfile:

checking for sendfile... yes

some more configure info:

checking build system type... i386-apple-darwin9.1.0
checking host system type... i386-apple-darwin9.1.0
checking target system type... i386-apple-darwin9.1.0
...
checking for ld used by gcc... /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld

Some gcc info:
$ gcc -v
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5465~16/src/configure --disable-checking
-enable-werror --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
--with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib
--build=i686-apple-darwin9 --with-arch=apple --with-tune=generic
--host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5465)

Regards,
Florian Schulze
The revenge of the return of 1.1.2 [ In reply to ]
Wonderful news !

Thanks DES

JFB


> -----Message d'origine-----
> De : varnish-misc-bounces at projects.linpro.no
> [mailto:varnish-misc-bounces at projects.linpro.no] De la part
> de Dag-Erling Sm?rgrav
> Envoy? : mardi 18 d?cembre 2007 18:22
> ? : varnish-misc at projects.linpro.no
> Objet : The revenge of the return of 1.1.2
>
> Believe it or not, I have merged a few additional fixes and
> finished the change log for 1.1.2, and once Stig merges his
> changes to the Debian package metadata, we will be all set
> for a December 20th release. Please test...
>
> DES
> --
> Dag-Erling Sm?rgrav
> Senior Software Developer
> Linpro AS - www.linpro.no
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at projects.linpro.no
> http://projects.linpro.no/mailman/listinfo/varnish-misc
>
The revenge of the return of 1.1.2 [ In reply to ]
Dag-Erling Sm?rgrav <des at linpro.no> writes:

> [...] once Stig merges his changes to the Debian package metadata,

That's now done as well.

--
Stig Sandbeck Mathisen, Linpro
The revenge of the return of 1.1.2 [ In reply to ]
"Florian Schulze" <florian.schulze at gmx.net> writes:
> I just fetched the 1.1 branch r2308 and tried to compile on Mac OS X
> Leopard.
>
> cache_pool.c:43:2: error: #error Unknown sendfile() implementation
> cache_pool.c:173:2: error: #error Unknown sendfile() implementation
> make[3]: *** [varnishd-cache_pool.o] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2

Ah, yes. Both Linux and FreeBSD have sendfile(), but with different
argument lists and slightly different semantics, so we check for
__FreeBSD__ or __linux__ when using sendfile(). This didn't use to be
a problem, because AFAIK Mac OS X didn't have sendfile() before
Leopard. I imagine Leopard's sendfile() works like FreeBSD's, but I
don't have a Leopard box to test on (my Mac is too old to run it). I
can change cache_pool.c so just ignores HAVE_SENDFILE in the !(FreeBSD
|| Linux) case, however.

DES
--
Dag-Erling Sm?rgrav
Senior Software Developer
Linpro AS - www.linpro.no
The revenge of the return of 1.1.2 [ In reply to ]
On Wed, 19 Dec 2007 08:59:36 +0100, Stig Sandbeck Mathisen
<ssm at linpro.no> wrote:

> Dag-Erling Sm?rgrav <des at linpro.no> writes:
>
>> [...] once Stig merges his changes to the Debian package metadata,
>
> That's now done as well.
>

Thanks for bringing the release even more close!

Regards,
Florian Schulze