galaxy001 / scholarzhang

Automatically exported from code.google.com/p/scholarzhang
1 stars 1 forks source link

CentOS下编译的问题 #34

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
是个新手,刚接触CentOS不久哈
CentOS上Yum的源用的是中科大的
用Yum安装了autoconf automake libtool这三个包
然后执行了 
./autogen.sh
显示需要1.10以上版本的automake

更新了automake 1.10.1又显示autoconf版本太低
又把autoconf更新到了2.60之后还是编译不成功,有没有熟悉CentO
S的人指
点一下,google 了半天都没找到解决方法
报错如下
configure.ac:9: error: possibly undefined macro: AC_DISABLE_STATIC
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:10: error: possibly undefined macro: AC_PROG_LIBTOOL
autoreconf: /usr/local/bin/autoconf failed with exit status: 1

现在的版本是autoconf 2.60 automake 1.10.1 libtool 1.5.22
CentOS 5.4 kernel 2.6.18-164.11.1.el5xen

Original issue reported on code.google.com by cloudbey...@gmail.com on 15 Mar 2010 at 5:31

GoogleCodeExporter commented 9 years ago
跟我的状况一样

我auto系列都是源码包。。。

Original comment by tywtyw2...@gmail.com on 16 Mar 2010 at 3:54

GoogleCodeExporter commented 9 years ago
我觉得可能是Yum源的问题,科大好像都不是最新的,昨天改��
�ubuntu+教育网的源就找不
到相对较新的auto系列,用YLMF的就行了……有时间再尝试一下
……

Original comment by cloudbey...@gmail.com on 16 Mar 2010 at 4:32

GoogleCodeExporter commented 9 years ago
好像系统的问题。。。

Original comment by tywtyw2...@gmail.com on 16 Mar 2010 at 4:43

GoogleCodeExporter commented 9 years ago
安装libtool的高版本可以
我现在通过./autogen.sh,但是./configure过不去了  内牛满面啊

Original comment by wondersw...@gmail.com on 17 Mar 2010 at 3:14

GoogleCodeExporter commented 9 years ago
刚才瞄了下下载,放出fedora版本了,大家再试试……为了自��
�不能死心……

Original comment by cloudbey...@gmail.com on 17 Mar 2010 at 4:10

GoogleCodeExporter commented 9 years ago
Centos 
很悲剧啊,从下午到晚上一直在试,貌似YUM上的东西版本都��
�低,然后从网上下的RPM都
快死循环了,一个需要另一个,另一个又需要另一个……

Original comment by cloudbey...@gmail.com on 17 Mar 2010 at 12:09

GoogleCodeExporter commented 9 years ago
用源码包编译 卡在xtables上面   一直没找到libxtables

Original comment by tywtyw2...@gmail.com on 17 Mar 2010 at 3:44

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
libxtables的问题可能是pkg-config的版本不够高,用新版的pkg-confi
g就能绕过这个问题,但是……

CentOS(5.x)内核版本可能不够安装要求,即使过了libxtables,�
��能也无法编译成功……

Original comment by revl...@gmail.com on 18 Mar 2010 at 5:11

GoogleCodeExporter commented 9 years ago
杯具的CentOS的……
5.4的内核是CentOS 5.4 kernel 2.6.18-164.11.1.el5xen
这个应该够吧?

Original comment by cloudbey...@gmail.com on 18 Mar 2010 at 5:23

GoogleCodeExporter commented 9 years ago
对就是2.6.18-164.11

但是编译到最后始终报内核版本不够,这是目前最好的结果

Original comment by revl...@gmail.com on 18 Mar 2010 at 6:57

GoogleCodeExporter commented 9 years ago
安装libtool包

Original comment by maskede...@gmail.com on 31 Mar 2010 at 1:26

GoogleCodeExporter commented 9 years ago
superceded by newer version of xtables-addons

Original comment by yingyingcui.scholarzhang@gmail.com on 18 Aug 2010 at 7:11

GoogleCodeExporter commented 9 years ago

Original comment by kiz...@gmail.com on 17 Sep 2011 at 2:42