Compiling varnish cache on Mac OS 10.8.5

Mr OverBlue theoverblue at gmail.com
Sat Nov 23 19:31:15 CET 2013


Hi,

I have been trying to compile varnish source on Mac OS without sucess.
At first i had a few errors because the AUTOMAKE_OPTIONS=subdir-objects
wasn't present on Makefile.am.
After adding that autogen _seems_ to work correctly but make is failing
and i guess there is something wrong with autoheader...
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh
/opt/varnish-cache/build-aux/missing autoheader)
(..)
Making all in libvarnishapi
python2.7 ./generate.py . ../..
make[3]: *** No rule to make target `vsl-tags.rst', needed by `all'.  Stop.
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

I'm trying to compile the latest source from git (i have pulled 2 or 3
commits since i started this journey).

Thanks in advance,
Miguel Lopes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20131123/312ab4ec/attachment.html>
-------------- next part --------------
+ glibtoolize --copy --force
glibtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'.
glibtoolize: copying file `build-aux/ltmain.sh'
glibtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
glibtoolize: copying file `m4/libtool.m4'
glibtoolize: copying file `m4/ltoptions.m4'
glibtoolize: copying file `m4/ltsugar.m4'
glibtoolize: copying file `m4/ltversion.m4'
glibtoolize: copying file `m4/lt~obsolete.m4'
+ aclocal -I m4
+ autoheader
+ automake --add-missing --copy --foreign
+ autoconf
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking build system type... x86_64-apple-darwin12.5.0
checking host system type... x86_64-apple-darwin12.5.0
checking target system type... x86_64-apple-darwin12.5.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of gcc... gcc3
checking whether make supports nested variables... (cached) yes
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld
checking if the linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /opt/local/bin/nm
checking the name lister (/opt/local/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-apple-darwin12.5.0 file names to x86_64-apple-darwin12.5.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin12.5.0 file names to toolchain format... func_convert_file_noop
checking for /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /opt/local/bin/nm output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin12.5.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking how to run the C preprocessor... gcc -E
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking whether make sets $(MAKE)... (cached) yes
checking for rst2man... no
checking for rst2man.py... no
configure: WARNING: rst2man not found - not building man pages
checking for rst2html... no
checking for rst2html.py... no
configure: WARNING: rst2html not found - not building changelog
checking for clock_gettime in -lrt... no
checking for dlopen in -ldl... yes
checking for NcursesW wide-character library... no
checking for Ncurses library... yes
checking for working ncurses/curses.h... no
checking for working ncurses.h... yes
checking for library containing pthread_create... none required
checking for socket in -lsocket... no
checking for getaddrinfo in -lnsl... no
checking for pkg-config... /opt/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PCRE... yes
checking for LIBEDIT... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for sys/types.h... (cached) yes
checking sys/endian.h usability... no
checking sys/endian.h presence... no
checking for sys/endian.h... no
checking sys/filio.h usability... yes
checking sys/filio.h presence... yes
checking for sys/filio.h... yes
checking for sys/mount.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/vfs.h usability... no
checking sys/vfs.h presence... no
checking for sys/vfs.h... no
checking endian.h usability... no
checking endian.h presence... no
checking for endian.h... no
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for pthread_np.h... no
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking priv.h usability... no
checking priv.h presence... no
checking for priv.h... no
checking for an ANSI C-conforming const... yes
checking for struct sockaddr.sa_len... yes
checking return type of signal handlers... void
checking for size_t... yes
checking for vprintf... yes
checking for _doprnt... no
checking for strerror... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking for dladdr... yes
checking for socket... yes
checking for strptime... yes
checking for fmtcheck... yes
checking for getdtablesize... yes
checking for timegm... yes
checking for nanosleep... yes
checking for setppriv... no
checking for pthread_set_name_np... no
checking for pthread_mutex_isowned_np... no
checking for pthread_timedjoin_np... no
checking whether we have support for visibility attributes... yes
checking for setproctitle... no
checking for srandomdev... yes
checking for library containing backtrace... none required
checking whether daemon() works... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for clock_gettime... no
checking for gethrtime... no
checking for kqueue... yes
checking for epoll_ctl... no
checking for port_create... no
checking for python3... no
checking for python3.1... no
checking for python3.2... no
checking for python2.7... python2.7
checking whether SO_ACCEPTFILTER is declared... no
checking whether SO_RCVTIMEO works... yes
checking whether SO_SNDTIMEO works... yes
checking for TCP_KEEP(CNT|IDLE|INTVL) socket options... no
checking if LD -Wl,--version-script works... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating bin/Makefile
config.status: creating bin/varnishadm/Makefile
config.status: creating bin/varnishd/Makefile
config.status: creating bin/varnishlog/Makefile
config.status: creating bin/varnishstat/Makefile
config.status: creating bin/varnishtest/Makefile
config.status: creating bin/varnishncsa/Makefile
config.status: creating doc/Makefile
config.status: creating doc/sphinx/Makefile
config.status: creating doc/sphinx/conf.py
config.status: creating etc/Makefile
config.status: creating include/Makefile
config.status: creating lib/Makefile
config.status: creating lib/libvarnish/Makefile
config.status: creating lib/libvarnishapi/Makefile
config.status: creating lib/libvarnishtools/Makefile
config.status: creating lib/libvarnishcompat/Makefile
config.status: creating lib/libvcc/Makefile
config.status: creating lib/libvgz/Makefile
config.status: creating lib/libvmod_debug/Makefile
config.status: creating lib/libvmod_std/Makefile
config.status: creating lib/libvmod_directors/Makefile
config.status: creating man/Makefile
config.status: creating redhat/Makefile
config.status: creating varnishapi.pc
config.status: creating varnishapi-uninstalled.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /opt/varnish-cache/build-aux/missing autoheader)
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-recursive
Making all in include
make  all-am
mkdir -p tbl
python2.7 ../lib/libvcc/generate.py .. ..
Making all in lib
Making all in libvarnishcompat
  CC       daemon.lo
  CC       execinfo.lo
  CC       srandomdev.lo
  CCLD     libvarnishcompat.la
Making all in libvarnish
  CC       libvarnish_la-vav.lo
  CC       libvarnish_la-vas.lo
  CC       libvarnish_la-binary_heap.lo
  CC       libvarnish_la-vsub.lo
  CC       libvarnish_la-cli_auth.lo
  CC       libvarnish_la-cli_common.lo
  CC       libvarnish_la-cli_serve.lo
  CC       libvarnish_la-flopen.lo
  CC       libvarnish_la-vnum.lo
  CC       libvarnish_la-vtim.lo
  CC       libvarnish_la-vtcp.lo
  CC       libvarnish_la-vct.lo
  CC       libvarnish_la-version.lo
  CC       libvarnish_la-vev.lo
  CC       libvarnish_la-vfil.lo
  CC       libvarnish_la-vin.lo
  CC       libvarnish_la-vlu.lo
  CC       libvarnish_la-vmb.lo
  CC       libvarnish_la-vpf.lo
  CC       libvarnish_la-vre.lo
  CC       libvarnish_la-vsa.lo
  CC       libvarnish_la-vsb.lo
  CC       libvarnish_la-vsha256.lo
  CC       libvarnish_la-vss.lo
  CCLD     libvarnish.la
Making all in libvarnishapi
python2.7 ./generate.py . ../..
make[3]: *** No rule to make target `vsl-tags.rst', needed by `all'.  Stop.
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


More information about the varnish-misc mailing list