当前位置: 代码迷 >> Web前端 >> varnish在HP-UINX上安装报错
  详细解决方案

varnish在HP-UINX上安装报错

热度:289   发布时间:2012-09-20 09:36:50.0
varnish在HP-UINX下安装报错
Making all in libvarnishcompat
Making all in libvarnish
        V="$(git log -n 1 --pretty=format:%h 2>/dev/null || LANG=C svnversion -n ../..)" \
        H="$(head -n 1 svn_version.c 2>/dev/null || true)"; \
        [ "$V" = "exported" ] && [ -e svn_version.c ] && exit 0 ; \
        if [ "/* $V */" != "$H" ]; then \
                ( \
                  echo "/* $V */" ;\
                  echo "#include <libvarnish.h>" ;\
                  echo "const char* svn_version(void)" ;\
                  echo "{" ;\
                  echo "        const char* SVN_Version = \"$V\";" ;\
                  echo "        return SVN_Version;" ;\
                  echo "}" ;\
                ) > svn_version.c ; \
        fi
sh: svnversion:  not found.
        /bin/sh ../../libtool --tag=CC    --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../include      -g -O2 -MT vre.lo -MD -MP -MF .deps/vre.Tpo -c -o vre.lo vre.c
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../include -g -O2 -MT vre.lo -MD -MP -MF .deps/vre.Tpo -c vre.c  -fPIC -DPIC -o .libs/vre.o
vre.c:29:18: error: pcre.h: No such file or directory
vre.c:38: error: expected specifier-qualifier-list before 'pcre'
vre.c: In function 'VRE_compile':
vre.c:46: warning: implicit declaration of function 'calloc'
vre.c:46: warning: incompatible implicit declaration of built-in function 'calloc'
vre.c:48: error: 'vre_t' has no member named 're'
vre.c:48: warning: implicit declaration of function 'pcre_compile'
vre.c:49: error: 'vre_t' has no member named 're'
vre.c: In function 'VRE_exec':
vre.c:65: warning: implicit declaration of function 'pcre_exec'
vre.c:65: error: 'vre_t' has no member named 're'
vre.c: In function 'VRE_free':
vre.c:75: warning: implicit declaration of function 'pcre_free'
vre.c:75: error: 'vre_t' has no member named 're'
vre.c:77: warning: implicit declaration of function 'free'
vre.c:77: warning: incompatible implicit declaration of built-in function 'free'
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

HP-UX 125RITEC B.11.31 U ia64 0942432495 unlimited-user license