I'd be happy to contribute in any possible way, so lets start: (GIT or SVN?)
# git clone git://git.varnish-cache.org/varnish-cache Cloning into varnish-cache... remote: Counting objects: 59112, done. remote: Compressing objects: 100% (17797/17797), done. remote: Total 59112 (delta 44996), reused 54866 (delta 41225) Receiving objects: 100% (59112/59112), 9.16 MiB | 141 KiB/s, done. Resolving deltas: 100% (44996/44996), done. # cd varnish-cache/ varnish-cache# sh autogen.des + make -k distclean + true + [ -f /usr/bin/clang -a x = x ] + rm -f configure + . ./autogen.sh + uname -s + LIBTOOLIZE=libtoolize + automake --version + tr \n + egrep ^[0-9]\.[0-9a-z.-]+ + automake_version=1.11.6 + [ -z 1.11.6 ] + set -ex + libtoolize --copy --force libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: putting macros in `m4'. libtoolize: copying file `m4/libtool.m4' libtoolize: copying file `m4/ltoptions.m4' libtoolize: copying file `m4/ltsugar.m4' libtoolize: copying file `m4/ltversion.m4' libtoolize: copying file `m4/lt~obsolete.m4' libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. + aclocal -I m4 configure.ac:21: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS ../../lib/autoconf/specific.m4:314: AC_GNU_SOURCE is expanded from... configure.ac:21: the top level configure.ac:21: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS ../../lib/autoconf/specific.m4:314: AC_GNU_SOURCE is expanded from... configure.ac:21: the top level configure.ac:432: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... m4/ld-version-script.m4:18: gl_LD_VERSION_SCRIPT is expanded from... configure.ac:432: the top level + autoheader configure.ac:21: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS ../../lib/autoconf/specific.m4:314: AC_GNU_SOURCE is expanded from... configure.ac:21: the top level configure.ac:21: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS ../../lib/autoconf/specific.m4:314: AC_GNU_SOURCE is expanded from... configure.ac:21: the top level configure.ac:432: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... m4/ld-version-script.m4:18: gl_LD_VERSION_SCRIPT is expanded from... configure.ac:432: the top level + automake --add-missing --copy --foreign configure.ac:21: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS ../../lib/autoconf/specific.m4:314: AC_GNU_SOURCE is expanded from... configure.ac:21: the top level configure.ac:21: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS ../../lib/autoconf/specific.m4:314: AC_GNU_SOURCE is expanded from... configure.ac:21: the top level configure.ac:432: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... m4/ld-version-script.m4:18: gl_LD_VERSION_SCRIPT is expanded from... configure.ac:432: the top level configure.ac:12: installing `./config.guess' configure.ac:12: installing `./config.sub' configure.ac:15: installing `./install-sh' configure.ac:15: installing `./missing' bin/varnishadm/Makefile.am: installing `./depcomp' + autoconf configure.ac:21: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS ../../lib/autoconf/specific.m4:314: AC_GNU_SOURCE is expanded from... configure.ac:21: the top level configure.ac:21: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS ../../lib/autoconf/specific.m4:314: AC_GNU_SOURCE is expanded from... configure.ac:21: the top level configure.ac:432: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... m4/ld-version-script.m4:18: gl_LD_VERSION_SCRIPT is expanded from... configure.ac:432: the top level + export CONFIG_SHELL=/bin/sh + ./configure --enable-developer-warnings --enable-debugging-symbols --enable-dependency-tracking --enable-diagnostics --enable-extra-developer-warnings --enable-stack-protector --enable-tests --enable-werror --prefix=/opt/varnish --mandir=/opt/varnish/man checking build system type... ia64-unknown-linux-gnu checking host system type... ia64-unknown-linux-gnu checking target system type... ia64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking how to print strings... printf checking for style of include used by make... GNU 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 dependency style of gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking how to convert ia64-unknown-linux-gnu file names to ia64-unknown-linux-gnu format... func_convert_file_noop checking how to convert ia64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump 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... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes 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/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so 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 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 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 dependency style of gcc... (cached) gcc3 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... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no 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... yes checking for dlopen in -ldl... yes checking for library containing initscr... no configure: WARNING: curses not found; some tools will not be built checking ncurses/curses.h usability... no checking ncurses/curses.h presence... no checking for ncurses/curses.h... no checking curses.h usability... no checking curses.h presence... no checking for curses.h... no checking for library containing pthread_create... none required checking for socket in -lsocket... no checking for getaddrinfo in -lnsl... yes checking for cos in -lm... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for PCRE... yes checking for LIBEDIT... no checking readline/readline.h usability... no checking readline/readline.h presence... no checking for readline/readline.h... no checking edit/readline/readline.h usability... no checking edit/readline/readline.h presence... no checking for edit/readline/readline.h... no checking for el_init in -ledit... no configure: WARNING: libedit not found, disabling libedit support 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... no checking sys/filio.h presence... no checking for sys/filio.h... no 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... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking endian.h usability... yes checking endian.h presence... yes checking for endian.h... yes 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 pthread_np.h usability... no checking pthread_np.h presence... no 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... no 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 *... yes checking for dladdr... no checking for socket... yes checking for strptime... yes checking for fmtcheck... no 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... yes checking whether we have support for visibility attributes... yes checking for malloc_conf in -ljemalloc... no configure: No system jemalloc found, using bundled version checking for setproctitle... no checking for srandomdev... no checking for backtrace... yes checking whether daemon() works... checking for daemon... yes 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... yes checking for gethrtime... no checking for kqueue... no checking for epoll_ctl... yes checking for port_create... no checking for python3... no checking for python3.1... no checking for python3.2... no checking for python2.7... no checking for python2.6... no checking for python2.5... no checking for python2... no checking for python... no ./configure.lineno: 15739: is: not found checking whether SO_ACCEPTFILTER is declared... no checking whether SO_RCVTIMEO works... yes checking whether SO_SNDTIMEO works... yes checking if LD -Wl,--version-script works... yes 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/varnishhist/Makefile config.status: creating bin/varnishncsa/Makefile config.status: creating bin/varnishreplay/Makefile config.status: creating bin/varnishstat/Makefile config.status: creating bin/varnishtest/Makefile config.status: creating bin/varnishtop/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/libvarnishcompat/Makefile config.status: creating lib/libvcl/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/libjemalloc/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 root@mansotarro1:~/work/lsanmartin/varnish-cache# make make all-recursive make[1]: Entering directory `/root/work/lsanmartin/varnish-cache' Making all in include make[2]: Entering directory `/root/work/lsanmartin/varnish-cache/include' make all-am make[3]: Entering directory `/root/work/lsanmartin/varnish-cache/include' mkdir -p tbl ../lib/libvcl/generate.py .. .. make[3]: ../lib/libvcl/generate.py: Command not found make[3]: *** [vcl.h] Error 127 make[3]: Leaving directory `/root/work/lsanmartin/varnish-cache/include' make[2]: *** [all] Error 2 make[2]: Leaving directory `/root/work/lsanmartin/varnish-cache/include' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/work/lsanmartin/varnish-cache' make: *** [all] Error 2 varnish-cache# ./lib/libvcl/generate.py -bash: ./lib/libvcl/generate.py: /usr/local/bin/python3.1: bad interpreter: No such file or directory # python3.1 Python 3.1.3 (r313:86834, Nov 28 2010, 11:48:51) [GCC 4.4.5] on linux2 Type "help", "copyright", "credits" or "license" for more information. # ln -s /usr/bin/python3.1 # make make all-recursive make[1]: Entering directory `/root/work/lsanmartin/varnish-cache' Making all in include make[2]: Entering directory `/root/work/lsanmartin/varnish-cache/include' make all-am make[3]: Entering directory `/root/work/lsanmartin/varnish-cache/include' mkdir -p tbl ../lib/libvcl/generate.py .. .. make[3]: Leaving directory `/root/work/lsanmartin/varnish-cache/include' make[2]: Leaving directory `/root/work/lsanmartin/varnish-cache/include' Making all in lib make[2]: Entering directory `/root/work/lsanmartin/varnish-cache/lib' Making all in libvarnishcompat make[3]: Entering directory `/root/work/lsanmartin/varnish-cache/lib/libvarnishcompat' CC daemon.lo daemon.c:1:0: error: -fstack-protector not supported for this target [-Werror] cc1: all warnings being treated as errors make[3]: *** [daemon.lo] Error 1 make[3]: Leaving directory `/root/work/lsanmartin/varnish-cache/lib/libvarnishcompat' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/work/lsanmartin/varnish-cache/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/work/lsanmartin/varnish-cache' make: *** [all] Error 2 EOF. On Mon, Nov 5, 2012 at 9:49 AM, Poul-Henning Kamp <[email protected]>wrote: > -------- > In message < > cagwuwkgydobmqiw_6s9ri7q_ccqaubyqpaudae3xh9qlqgr...@mail.gmail.com> > , Luis San Martin writes: > > >I've been trying to get it up and running varnish 2.1.5 on ia64 without > any > >success. So far I've tried debian package and varnish from source. Both > >with the same results. I attach strace file if needed. > > > >I appreciate any feedback or ideas since I can't find any clue. > > > >P.S: Base system is an SGI Altix 450 && Debian 6.0 Squeeze > > I don't think I have heard any reports about ia64 before this one. > > Ia64 has certain restrictions with respect to memory access alignment. > > I would hope varnish respects those, but absent testing on the actual > platform, that may not be the case. > > If you are willing to do a bit of work to help debug/diagnose what > goes wrong, we can try to get it working. > > The first thing you need to do, is built Varnish from source, > pull the -trunk version with svn, and compile using: > > sh autogen.des > make > > If that fails, we need to fix that before anything else. > > When it works, then next is a very basic test: > > cd bin/varnishd > > ./varnishd -C -b 127.0.0.1 > > Ideally this should return a bunch of C-code from the compiled > default VCL. > > If you get errors here, we need to get those sorted. > > Next try to see if it actually can be started: > > ./varnishd -d -b varnish-cache.org -a :8080 > > then type > > start > > Again, if that works, try to pull some data through it. > > In a different window: > > curl -v -o /dev/null http://localhost:8080/ > > That should give you a 302 reponse back... > > > -- > Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 > [email protected] | TCP/IP since RFC 956 > FreeBSD committer | BSD since 4.3-tahoe > Never attribute to malice what can adequately be explained by incompetence. >
_______________________________________________ varnish-dev mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev
