免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2253 | 回复: 2
打印 上一主题 下一主题

[网络管理] 编译安装ircd-hybrid出问题了 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-03-03 11:28 |只看该作者 |倒序浏览
[root@localhost ircd-hybrid-7.2.3]# sudo ./configure --prefix=/usr/local/ircd-hybrid
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 uname -s for Cygwin, Solaris or HPUX... no
checking if gcc is Apple GCC... no
checking if gcc supports the SVR4 SGS interfaces... no
checking for mkdep... no
checking for makedepend... no
checking how to generate dependency info... gcc -MM
checking for /dev/null... yes
checking for library containing strerror... none required
checking for inline... inline
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether gcc needs -traditional... no
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for rm... /bin/rm
checking for cp... /bin/cp
checking for mv... /bin/mv
checking for ln... /bin/ln
checking for sed... /bin/sed
checking for ar... /usr/bin/ar
checking for ld... /usr/bin/ld
checking for test... /usr/bin/test
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 crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking sys/syslog.h usability... yes
checking sys/syslog.h presence... yes
checking for sys/syslog.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking wait.h usability... yes
checking wait.h presence... yes
checking for wait.h... yes
checking link.h usability... yes
checking link.h presence... yes
checking for link.h... yes
checking for library containing socket... none required
checking for library containing inet_aton... none required
checking for library containing inet_pton... none required
checking for library containing inet_ntop... none required
checking for struct sockaddr_storage... yes
checking for struct addrinfo... yes
checking for socklen_t... yes
checking for broken glibc with __ss_family... no
checking for core IPv6 support... yes
checking for struct in6addr_any... yes
checking for library containing crypt... -lcrypt
checking whether string.h and strings.h may both be included... yes
checking whether byte ordering is bigendian... no
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for strlcpy... no
checking for strlcat... no
checking for int64_t... yes
checking size of int64_t... 8
checking for long long... yes
checking size of long long... 8
checking for uint64_t... yes
checking for int64_t... (cached) yes
checking for u_int32_t... yes
checking for u_int16_t... yes
checking for in_port_t... yes
checking for sa_family_t... yes
checking for socketpair... yes
checking for basename... yes
checking for mmap... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for lrand48... yes
checking for srand48... yes
checking for strtok_r... yes
checking for usleep... yes
checking for OpenSSL... not found. Specify a correct path?
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for zlibVersion in -lz... yes
checking for kevent... no
checking sys/epoll.h usability... yes
checking sys/epoll.h presence... yes
checking for sys/epoll.h... yes
checking for epoll support in kernel... yes
Using epoll for select loop.
checking if you want to do a profile build... no
checking if you want ElectricFence... no
checking if you want the block allocator... yes
Building ircd with G-Line voting support
checking for syslog options... none
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for library containing shl_load... no
checking for library containing dlopen... -ldl
checking for dlsym... yes
checking for dlfunc... no
checking for dlinfo... yes
checking for the ld -export-dynamic flag... yes
checking for compiler option to produce PIC... gcc: -fPIC -DPIC -shared
configure: creating ./config.status
config.status: creating Makefile
config.status: creating etc/Makefile
config.status: creating servlink/Makefile
config.status: creating contrib/Makefile
config.status: creating contrib/help/Makefile
config.status: creating src/Makefile
config.status: creating messages/Makefile
config.status: creating modules/Makefile
config.status: creating tools/Makefile
config.status: creating doc/Makefile
config.status: creating help/Makefile
config.status: creating lib/Makefile
config.status: creating lib/pcre/Makefile
config.status: creating include/setup.h
config.status: include/setup.h is unchanged

Compiling ircd-hybrid 7.2.2

Installing into: /usr/local/ircd-hybrid
Ziplinks ................ yes
OpenSSL ................. no
Modules ................. shared
IPv6 support ............ yes
Net I/O implementation .. epoll
EFnet server ............ no (use example.conf)
Halfops support ......... no
Small network ........... no
G-Line voting ........... yes

Configured limits:
NICKLEN ................. 9
TOPICLEN ................ 160
提示安装成功

论坛徽章:
0
2 [报告]
发表于 2012-03-03 11:29 |只看该作者
[root@localhost ircd-hybrid-7.2.3]# make
depend ==> lib
make[1]: Entering directory `/home/irc/ircd-hybrid-7.2.3/lib'
depend ==> pcre
make[2]: Entering directory `/home/irc/ircd-hybrid-7.2.3/lib/pcre'
gcc -MM -I.  pcre_chartables.c pcre_compile.c pcre_exec.c pcre_globals.c pcre_study.c pcre_tables.c pcre_fullinfo.c pcre_try_flipped.c > .depend
make[2]: Leaving directory `/home/irc/ircd-hybrid-7.2.3/lib/pcre'
make[1]: Leaving directory `/home/irc/ircd-hybrid-7.2.3/lib'
depend ==> modules
make[1]: Entering directory `/home/irc/ircd-hybrid-7.2.3/modules'
gcc -MM -I../include -I../lib/pcre   core/m_die.c core/m_join.c core/m_kick.c core/m_kill.c core/m_message.c core/m_mode.c core/m_nick.c core/m_part.c core/m_quit.c core/m_server.c core/m_sjoin.c core/m_squit.c m_accept.c m_admin.c m_away.c m_cap.c m_capab.c m_cburst.c m_close.c m_connect.c m_drop.c m_encap.c m_eob.c m_etrace.c m_hash.c m_help.c m_gline.c m_info.c m_invite.c m_ison.c m_kline.c m_knock.c m_links.c m_list.c m_lljoin.c m_llnick.c m_locops.c m_lusers.c m_map.c m_motd.c m_names.c m_nburst.c m_omotd.c m_oper.c m_operwall.c m_pass.c m_ping.c m_pong.c m_post.c m_rehash.c m_restart.c m_resv.c m_rkline.c m_rxline.c m_set.c m_stats.c m_svinfo.c m_tburst.c m_testmask.c m_testline.c m_time.c m_topic.c m_trace.c m_user.c m_userhost.c m_users.c m_version.c m_wallops.c m_who.c m_whois.c m_whowas.c m_xline.c  > .depend
/bin/sed -e 's/\.o/.so/g' < .depend > .depend.tmp-1
/bin/sed -e 's/^m_\(server\|squit\|die\|join\|kick\|kill\|message\|mode\|nick\|part\|quit\|sjoin\)/core\/m_\1/' .depend.tmp-1 > .depend.tmp
/bin/mv -f .depend.tmp .depend
/bin/rm -f .depend.tmp-1
make[1]: Leaving directory `/home/irc/ircd-hybrid-7.2.3/modules'
depend ==> src
make[1]: Entering directory `/home/irc/ircd-hybrid-7.2.3/src'
gcc -MM -I../include -I../lib/pcre   balloc.c channel.c channel_mode.c client.c csvlib.c dbuf.c dynlink.c event.c fdlist.c fileio.c getopt.c hash.c hook.c hostmask.c irc_getaddrinfo.c irc_getnameinfo.c irc_res.c irc_reslib.c irc_string.c ircd.c ircd_signal.c lex.yy.c list.c listener.c m_error.c match.c memory.c modules.c motd.c numeric.c packet.c parse.c restart.c resv.c s_auth.c s_bsd.c s_conf.c s_gline.c s_log.c s_misc.c s_serv.c s_stats.c s_user.c send.c sprintf_irc.c tools.c version.c whowas.c y.tab.c s_bsd_epoll.c > .depend
make[1]: Leaving directory `/home/irc/ircd-hybrid-7.2.3/src'
depend ==> servlink
make[1]: Entering directory `/home/irc/ircd-hybrid-7.2.3/servlink'
gcc -MM -I. -I../include   servlink.c io.c control.c > .depend
make[1]: Leaving directory `/home/irc/ircd-hybrid-7.2.3/servlink'
build ==> lib
make[1]: Entering directory `/home/irc/ircd-hybrid-7.2.3/lib'
depend ==> pcre
make[2]: Entering directory `/home/irc/ircd-hybrid-7.2.3/lib/pcre'
make[2]: `.depend' is up to date.
make[2]: Leaving directory `/home/irc/ircd-hybrid-7.2.3/lib/pcre'
build ==> pcre
make[2]: Entering directory `/home/irc/ircd-hybrid-7.2.3/lib/pcre'
make[2]: Nothing to be done for `build'.
make[2]: Leaving directory `/home/irc/ircd-hybrid-7.2.3/lib/pcre'
make[1]: Leaving directory `/home/irc/ircd-hybrid-7.2.3/lib'
build ==> modules
make[1]: Entering directory `/home/irc/ircd-hybrid-7.2.3/modules'
make[1]: Nothing to be done for `build'.
make[1]: Leaving directory `/home/irc/ircd-hybrid-7.2.3/modules'
build ==> src
make[1]: Entering directory `/home/irc/ircd-hybrid-7.2.3/src'
cd ../lib/pcre && make -w
make[2]: Entering directory `/home/irc/ircd-hybrid-7.2.3/lib/pcre'
make[2]: Nothing to be done for `default'.
make[2]: Leaving directory `/home/irc/ircd-hybrid-7.2.3/lib/pcre'
gcc -I../include -I../lib/pcre   -Wall -O2 -g -I. -c lex.yy.c
In file included from /usr/include/sys/stat.h:105,
                 from ../include/stdinc.h:123,
                 from ircd_lexer.l:31:
/usr/include/bits/stat.h:103: error: expected identifier or ??before 鈁?token
make[1]: *** [lex.yy.o] Error 1
make[1]: Leaving directory `/home/irc/ircd-hybrid-7.2.3/src'
make: *** [build] Error 2
编译出错了!

论坛徽章:
0
3 [报告]
发表于 2012-03-03 11:30 |只看该作者
说没有在本地目录发现这个ircd-hybrid文件
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP