GVKun编程网logo

CentOS 5 configure error的解决方法(centos init 5)

16

如果您对CentOS5configureerror的解决方法和centosinit5感兴趣,那么这篇文章一定是您不可错过的。我们将详细讲解CentOS5configureerror的解决方法的各种细节

如果您对CentOS 5 configure error的解决方法centos init 5感兴趣,那么这篇文章一定是您不可错过的。我们将详细讲解CentOS 5 configure error的解决方法的各种细节,并对centos init 5进行深入的分析,此外还有关于(error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on d、@AutoConfigureAfter和@AutoConfigureOrder的使用、CentOS 5 常见的configure error的解决方法、CentOS 5.8上安装PHP软件提示“configure:error:no acceptable的实用技巧。

本文目录一览:

CentOS 5 configure error的解决方法(centos init 5)

CentOS 5 configure error的解决方法(centos init 5)

仅限于CentOS 5
configure: error: No curses/termcap library found
网上有的说法是:
--with-named-curses-libs=/usr/lib/libncursesw.so.5
其实是不对的,虽然能解决configure的错误,但是make的时候会提示错误,centos中正确的做法应该是
yum -y install ncurses-devel
debian: apt-get install libncurses5-dev

configure: error: xml2-config not found
yum -y install libxml2-devel
debian:apt-get install libxml2-dev

configure: error: Cannot find OpenSSL''s
yum -y install openssl-devel

configure: error: libjpeg.(a|so) not found
yum -y install gd
yum -y install gd-devel
debian:apt-get install libjpeg-dev

configure: error: libpng.(a|so) not found.
apt-get install libpng12-dev

configure: error: cannot find output from lex; giving up
yum -y install flex

configure: error: mod_deflate has been requested but can not be built due to prerequisite failures
yum -y install zlib-devel openssl-devel
debian:apt-get install zlib1g-dev

configure: error: libXpm.(a|so) not found.
apt-get install libxpm-dev

onfigure: error: freetype.h not found.
apt-get install libfreetype6-dev

configure: error: ...No recognized SSL/TLS toolkit detected
apt-get install libssl-dev

configure: error: Please reinstall the libcurl distribution - easy.h should be in /include/curl/
yum -y install curl-devel

(error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on d

(error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on d

(error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.

redis设置了保存RDB快照,最后一次保存失败后,redis强制中断持久化到磁盘的操作

修改stop-writes-on-bgsave-error为no可以继续操作

(error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.
127.0.0.1:6379> set name artist
(error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.
127.0.0.1:6379> CONFIG SET stop-writes-on-bgsave-error no
OK
127.0.0.1:6379> set name artist
OK

@AutoConfigureAfter和@AutoConfigureOrder的使用

@AutoConfigureAfter和@AutoConfigureOrder的使用

https://blog.csdn.net/Vansonh...

源码:

public List<String> getInPriorityOrder(Collection<String> classNames) {

    final AutoConfigurationSorter.AutoConfigurationClasses classes = 
        new AutoConfigurationSorter.AutoConfigurationClasses(this.metadataReaderFactory, this.autoConfig)

    List<String> orderedClassNames = new ArrayList(classNames);
    // ⾸先根据ASCII来进⾏排序
    Collections.sort(orderedClassNames);
    // 根据 Order
    Collections.sort(orderedClassNames, new Comparator<String>() {
        public int compare(String o1, String o2) {
            int i1 = classes.get(o1).getOrder();
            int i2 = classes.get(o2).getOrder();
            return i1 < i2 ? -1 : (i1 > i2 ? 1 : 0);
        }
    });
    // 根据 @AutoConfigureAfter @AutoConfigureBefore
    List<String> orderedClassNames = this.sortByAnnotation(classes, orderedClassNames);

CentOS 5 常见的configure error的解决方法

CentOS 5 常见的configure error的解决方法

仅限于CentOS 5 
configure: error: No curses/termcap library found 
网上有的说法是: 
--with-named-curses-libs=/usr/lib/libncursesw.so.5 
其实是不对的,虽然能解决configure的错误,但是make的时候会提示错误,正确的做法应该是 
yum -y install ncurses-devel 
debian: apt-get install libncurses5-dev
configure: error: xml2-config not found 
yum -y install libxml2-devel 
debian:apt-get install libxml2-dev
configure: error: Cannot find OpenSSL''s 
yum -y install openssl-devel
configure: error: libjpeg.(a|so) not found 
yum -y install gd 
yum -y install gd-devel 
debian:apt-get install libjpeg-dev
configure: error: libpng.(a|so) not found. 
apt-get install libpng12-dev
configure: error: cannot find output from lex; giving up 
yum -y install flex
configure: error: mod_deflate has been requested but can not be built due to prerequisite failures 
yum -y install zlib-devel openssl-devel 
debian:apt-get install zlib1g-dev
configure: error: libXpm.(a|so) not found. 
apt-get install libxpm-dev
onfigure: error: freetype.h not found. 
apt-get install libfreetype6-dev
configure: error: ...No recognized SSL/TLS toolkit detected 
apt-get install libssl-dev
configure: error: Please reinstall the libcurl distribution - easy.h should be in /include/curl/ 
yum -y install curl-deve

CentOS 5.8上安装PHP软件提示“configure:error:no acceptable

CentOS 5.8上安装PHP软件提示“configure:error:no acceptable

问题:

在centos5.8上安装PHP软件包时,提示“configure:error:no acceptable cc found in $path”。

原因:

这是缺少GCC编译器造成的,安装即可。

解决办法:

找到gcc的rpm包,安装即可。或者使用yum命令安装:

# yum install gcc -y


我们今天的关于CentOS 5 configure error的解决方法centos init 5的分享已经告一段落,感谢您的关注,如果您想了解更多关于(error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on d、@AutoConfigureAfter和@AutoConfigureOrder的使用、CentOS 5 常见的configure error的解决方法、CentOS 5.8上安装PHP软件提示“configure:error:no acceptable的相关信息,请在本站查询。

本文标签: