`
zhile005
  • 浏览: 53402 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

squid安装在HP-UNIX下面遇到的错误

 
阅读更多
th.c
        mv -f .deps/ntlmauth.Tpo .deps/ntlmauth.Po
        rm -f libntlmauth.a
        /usr/bin/ar cru libntlmauth.a ntlmauth.o
        : libntlmauth.a
Making all in scripts
无后辍列表。
无后辍列表。
        cd .. && /bin/sh ./config.status scripts/RunCache
config.status: creating scripts/RunCache
Making all in src
Make: line 1338: syntax error。停止。
*** 错误退出代码 1


HP-UX DJTECWEB B.11.31 U ia64 0062839481 不限用户数的许可证
有证书的机器,但是安装squid失败,问题正在解决处理中。


===================================================================
无后辍列表。
Making all in compat
Make: line 775: syntax error。停止。
*** 错误退出代码 1

停止。


===================================================================
无后辍列表。
Making all in lib
        source='Array.c' object='Array.o' libtool=no \
        depfile='.deps/Array.Po' tmpdepfile='.deps/Array.TPo' \
        depmode=gcc3 /bin/sh ../cfgaux/depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include     -g -O2 -Wall -c `test -f Array.c || echo './'`Array.c
        source='base64.c' object='base64.o' libtool=no \
        depfile='.deps/base64.Po' tmpdepfile='.deps/base64.TPo' \
        depmode=gcc3 /bin/sh ../cfgaux/depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include     -g -O2 -Wall -c `test -f base64.c || echo './'`base64.c
        source='getfullhostname.c' object='getfullhostname.o' libtool=no \
        depfile='.deps/getfullhostname.Po' tmpdepfile='.deps/getfullhostname.TPo' \
        depmode=gcc3 /bin/sh ../cfgaux/depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include     -g -O2 -Wall -c `test -f getfullhostname.c || echo './'`getfullhostname.c
        source='hash.c' object='hash.o' libtool=no \
        depfile='.deps/hash.Po' tmpdepfile='.deps/hash.TPo' \
        depmode=gcc3 /bin/sh ../cfgaux/depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include     -g -O2 -Wall -c `test -f hash.c || echo './'`hash.c
        source='heap.c' object='heap.o' libtool=no \
        depfile='.deps/heap.Po' tmpdepfile='.deps/heap.TPo' \
        depmode=gcc3 /bin/sh ../cfgaux/depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include     -g -O2 -Wall -c `test -f heap.c || echo './'`heap.c
        source='html_quote.c' object='html_quote.o' libtool=no \
        depfile='.deps/html_quote.Po' tmpdepfile='.deps/html_quote.TPo' \
        depmode=gcc3 /bin/sh ../cfgaux/depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include     -g -O2 -Wall -c `test -f html_quote.c || echo './'`html_quote.c
        source='iso3307.c' object='iso3307.o' libtool=no \
        depfile='.deps/iso3307.Po' tmpdepfile='.deps/iso3307.TPo' \
        depmode=gcc3 /bin/sh ../cfgaux/depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include     -g -O2 -Wall -c `test -f iso3307.c || echo './'`iso3307.c
        source='md5.c' object='md5.o' libtool=no \
        depfile='.deps/md5.Po' tmpdepfile='.deps/md5.TPo' \
        depmode=gcc3 /bin/sh ../cfgaux/depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include     -g -O2 -Wall -c `test -f md5.c || echo './'`md5.c
        source='radix.c' object='radix.o' libtool=no \
        depfile='.deps/radix.Po' tmpdepfile='.deps/radix.TPo' \
        depmode=gcc3 /bin/sh ../cfgaux/depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include     -g -O2 -Wall -c `test -f radix.c || echo './'`radix.c
        source='rfc1035.c' object='rfc1035.o' libtool=no \
        depfile='.deps/rfc1035.Po' tmpdepfile='.deps/rfc1035.TPo' \
        depmode=gcc3 /bin/sh ../cfgaux/depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include     -g -O2 -Wall -c `test -f rfc1035.c || echo './'`rfc1035.c
        source='rfc1123.c' object='rfc1123.o' libtool=no \
        depfile='.deps/rfc1123.Po' tmpdepfile='.deps/rfc1123.TPo' \
        depmode=gcc3 /bin/sh ../cfgaux/depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include     -g -O2 -Wall -c `test -f rfc1123.c || echo './'`rfc1123.c
        source='rfc1738.c' object='rfc1738.o' libtool=no \
        depfile='.deps/rfc1738.Po' tmpdepfile='.deps/rfc1738.TPo' \
        depmode=gcc3 /bin/sh ../cfgaux/depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include     -g -O2 -Wall -c `test -f rfc1738.c || echo './'`rfc1738.c
        source='rfc2617.c' object='rfc2617.o' libtool=no \
        depfile='.deps/rfc2617.Po' tmpdepfile='.deps/rfc2617.TPo' \
        depmode=gcc3 /bin/sh ../cfgaux/depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include     -g -O2 -Wall -c `test -f rfc2617.c || echo './'`rfc2617.c
        source='safe_inet_addr.c' object='safe_inet_addr.o' libtool=no \
        depfile='.deps/safe_inet_addr.Po' tmpdepfile='.deps/safe_inet_addr.TPo' \
        depmode=gcc3 /bin/sh ../cfgaux/depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include     -g -O2 -Wall -c `test -f safe_inet_addr.c || echo './'`safe_inet_addr.c
        source='splay.c' object='splay.o' libtool=no \
        depfile='.deps/splay.Po' tmpdepfile='.deps/splay.TPo' \
        depmode=gcc3 /bin/sh ../cfgaux/depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include     -g -O2 -Wall -c `test -f splay.c || echo './'`splay.c
        source='Stack.c' object='Stack.o' libtool=no \
        depfile='.deps/Stack.Po' tmpdepfile='.deps/Stack.TPo' \
        depmode=gcc3 /bin/sh ../cfgaux/depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include     -g -O2 -Wall -c `test -f Stack.c || echo './'`Stack.c
        source='stub_memaccount.c' object='stub_memaccount.o' libtool=no \
        depfile='.deps/stub_memaccount.Po' tmpdepfile='.deps/stub_memaccount.TPo' \
        depmode=gcc3 /bin/sh ../cfgaux/depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include     -g -O2 -Wall -c `test -f stub_memaccount.c || echo './'`stub_memaccount.c
        source='util.c' object='util.o' libtool=no \
        depfile='.deps/util.Po' tmpdepfile='.deps/util.TPo' \
        depmode=gcc3 /bin/sh ../cfgaux/depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include     -g -O2 -Wall -c `test -f util.c || echo './'`util.c
util.c: 在函数‘xstrerror’中:
util.c:630: 警告:‘strerror_buf’的地址总是等价为‘true’
        source='uudecode.c' object='uudecode.o' libtool=no \
        depfile='.deps/uudecode.Po' tmpdepfile='.deps/uudecode.TPo' \
        depmode=gcc3 /bin/sh ../cfgaux/depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include     -g -O2 -Wall -c `test -f uudecode.c || echo './'`uudecode.c
        rm -f libmiscutil.a
        /usr/bin/ar cru libmiscutil.a Array.o base64.o  getfullhostname.o hash.o heap.o  html_quote.o iso3307.o md5.o  radix.o rfc1035.o rfc1123.o  rfc1738.o rfc2617.o safe_inet_addr.o   splay.o Stack.o  stub_memaccount.o util.o uudecode.o
        : libmiscutil.a
        source='ntlmauth.c' object='ntlmauth.o' libtool=no \
        depfile='.deps/ntlmauth.Po' tmpdepfile='.deps/ntlmauth.TPo' \
        depmode=gcc3 /bin/sh ../cfgaux/depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include     -g -O2 -Wall -c `test -f ntlmauth.c || echo './'`ntlmauth.c
        rm -f libntlmauth.a
        /usr/bin/ar cru libntlmauth.a ntlmauth.o
        : libntlmauth.a
Making all in scripts
无后辍列表。
        cd .. && CONFIG_FILES=scripts/RunCache CONFIG_HEADERS= CONFIG_LINKS= /bin/sh ./config.status
creating scripts/RunCache
        cd .. && CONFIG_FILES=scripts/RunAccel CONFIG_HEADERS= CONFIG_LINKS= /bin/sh ./config.status
creating scripts/RunAccel
Making all in src
Make: line 1226: syntax error。停止。
*** 错误退出代码 1

停止。

=========找到解决方式,又遇见新的问题?
Use 'GNU make' (gmake) on HP-UX platforms.
http://www.squid-cache.org/mail-archive/squid-users/200209/0990.html

用gmake编译后又出现了以下问题:
libtool: compile:  g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/wapapp/squidtest/etc/squid.conf\" -DDEFAULT_SQUID_DATA_DIR=\"/wapapp/squidtest/share\" -DDEFAULT_SQUID_CONFIG_DIR=\"/wapapp/squidtest/etc\" -I.. -I../include -I../src -I../include -I../libltdl -I../src -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -D_REENTRANT -g -O2 -MT comm.lo -MD -MP -MF .deps/comm.Tpo -c comm.cc  -fPIC -DPIC -o .libs/comm.o
comm.cc: In function 'int comm_udp_recvfrom(int, void*, size_t, int, IpAddress&)':
comm.cc:513: error: invalid conversion from 'socklen_t*' to 'int*'
comm.cc:513: error:   initializing argument 6 of 'int recvfrom(int, void*, int, int, void*, int*)'
comm.cc: In function 'u_short comm_local_port(int)':
comm.cc:571: error: invalid conversion from 'socklen_t*' to 'int*'
comm.cc:571: error:   initializing argument 3 of 'int getsockname(int, void*, int*)'
comm.cc: In function 'int comm_connect_addr(int, const IpAddress&)':
comm.cc:1315: error: invalid conversion from 'socklen_t*' to 'int*'
comm.cc:1315: error:   initializing argument 5 of 'int getsockopt(int, int, int, void*, int*)'
comm.cc: In function 'int comm_old_accept(int, ConnectionDetail&)':
comm.cc:1389: error: invalid conversion from 'socklen_t*' to 'int*'
comm.cc:1389: error:   initializing argument 3 of 'int accept(int, void*, int*)'
comm.cc:1420: error: invalid conversion from 'socklen_t*' to 'int*'
comm.cc:1420: error:   initializing argument 3 of 'int getsockname(int, void*, int*)'
gmake[3]: *** [comm.lo] Error 1
gmake[3]: Leaving directory `/wapapp/varnish-install/squid-3.1.14/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/wapapp/varnish-install/squid-3.1.14/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/wapapp/varnish-install/squid-3.1.14/src'
gmake: *** [all-recursive] Error 1


查看一下gmake的版本:
wapapp:/wapapp/varnish-install/squid-3.1.14>gmake -v
GNU Make 3.82
Built for ia64-hp-hpux11.31
Copyright (C) 2010  Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
分享到:
评论

相关推荐

    squid-3.1.23-24.el6.x86_64 linux安装及依赖包

    在Linux环境中安装Squid代理软件,需要了解以下几个关键知识点: 1. **Squid的安装**:首先,确保系统已经更新到最新版本,使用`sudo yum update`命令。然后,通过`sudo yum install squid`来安装Squid软件包。这个...

    squid3.5-windows-64

    回到这个特定的 "squid3.5_win64.msi" 文件,这是一个 Microsoft Windows 安装程序包,用于在64位 Windows 操作系统上安装 Squid。安装过程中,您可能需要配置以下设置: 1. **安装路径**:选择 Squid 服务将安装在...

    squid编译安装及配置详解.pdf

    3. 配置 squid.conf 文件:在 /usr/local/squid/etc 目录下添加一条记录 “visible_hostname 主机名”,例如在 squid.conf 文件中添加 “visible_hostname localhost”。 4. 测试 squid.conf 文件:使用 squid 命令...

    Linux下Squid安装步骤

    10.Squid 排错如果遇到问题,查看Squid的日志文件(默认为`/var/log/squid/access.log`和`/var/log/squid/cache.log`)以获取错误信息。使用`grep`或`less`命令筛选相关错误。 总结,安装和配置Squid需要对Linux...

    squid-migration-script-3.5.20-17.el7_9.4.x86_64.rpm

    官方离线安装包,测试可用。使用rpm -ivh [rpm完整包名] 进行安装

    squid-migration-script-3.5.20-17.el7_9.5.x86_64.rpm

    官方离线安装包,测试可用。使用rpm -ivh [rpm完整包名] 进行安装

    squid-2.7.STABLE8-for windows

    在Windows环境下安装Squid代理服务器,可以提高网络访问速度,节省带宽,并实现一定的网络访问策略控制。"squid-2.7.STABLE8-for windows" 是针对Windows平台的Squid版本,它提供了稳定和优化的服务。 在Windows上...

    squid日志格式-http错误代码-注解

    在Squid日志格式中,还可以看到FQDN,全域名(Fully Qualified Domain Name)是指主机名加上全路径,全路径中列出了序列中所有域成员。全域名可以从逻辑上准确地表示出主机在什么地方,也可以说全域名是主机名的一种...

    squid-3.5.20-17.el7_9.5.x86_64.rpm

    官方离线安装包,测试可用。使用rpm -ivh [rpm完整包名] 进行安装

    docker-squid, Dockerfile为Squid代理服务器创建 Docker 容器映像.zip

    docker-squid, Dockerfile为Squid代理服务器创建 Docker 容器映像 sameersbn/squid: 3 。3 。8-23简介 。问题正在开始运行。安装工具快速入门命令行参数持久性解决方案配置文件使用情况日志记录维护工具升级插件...

    Squid安装及详细配置.

    在开始安装Squid之前,我们需要做一些基础的准备工作: 1. **停止防火墙和HTTP服务**:确保iptables和httpd服务已经停止,避免安装过程中出现冲突。 - `service iptables stop` - `service httpd stop` 2. **...

    squid-migration-script-3.5.20-12.el7.x86_64.rpm

    离线安装包,亲测可用

    Squid中文权威指南-共16章节pdf

    在第5章“运行Squid”中,读者将了解到如何正确地安装、配置和启动Squid服务。这一章会介绍Squid的基本设置,包括系统需求、安装步骤、配置文件详解以及服务管理命令。理解这些内容对于建立稳定的Squid环境至关重要...

    squid代理中出现的错误

    在安装与配置Squid 的过程中,用户可能会遇到多种启动失败的情况,特别是当采用源码编译安装的方式时。本文将针对常见的“Squid 启动错误”进行深入分析,并提供具体的解决方案。 #### 常见错误类型及原因分析 ###...

    Squid-Premium-v3.5.4.2最新高级版.apk

    Squid-Premium-v3.5.4.2最新高级版.apk

    squid-migration-script-3.5.20-15.el7_8.1.x86_64.rpm

    官方离线安装包,测试可用。使用rpm -ivh [rpm完整包名] 进行安装

    linux下squid的安装,配置,卸载及SNMP的安装配置

    1. 在安装Linux系统时,选择自定义安装,确保包含开发工具包和Web服务器服务,但不要选择预装的Squid。同时禁用SELinux。 2. 下载Squid源码包:`cd /tmp`,然后`wget -c ...

    squid-3.2.1-20120908-r11653.tar.gz

    squid-3.2.1-20120908-r11653

    mysql_auth-0.8.tar.gz_Squid!_auth-0.8.tar.gz_mysql_auth_mysql_au

    要设置MySQL Auth,首先需要在Squid服务器上安装相应的软件包,包括Squid本身以及mysql_auth模块。解压下载的"mysql_auth-0.8.tar.gz"文件,然后按照文档指示编译和安装。在配置阶段,需要在Squid的配置文件(squid....

    squidproxy-mysql-php-configuration

    鱿鱼安装步骤(对于数据库) cd / tmp / wget tar -xvzf squid-4.13.tar.gz cd鱿鱼4.13 / ./configure --prefix = / opt / squid / --with-logdir = / var / log / squid / --with-pidfile = / var / run / ...

Global site tag (gtag.js) - Google Analytics