autoDevops,CI,CD
首先下载好软件包。
wget http://iweb.dl.sourceforge.net/project/freetype/freetype2/2.5.0/freetype-2.5.0.1.tar.bz2
然后解压出来。tar xvfj freetype-2.5.0.1.tar.bz2
cd freetype-2.5.0.1/
./configure --without-png
make
make install
安装Freetyper时,加参数 without-png 这样在./configure 就不会再出现以下的报错 /usr/include/libpng12/pngconf.h:336: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
/usr/include/libpng12/pngconf.h:337: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'include'
make: *** [/usr/src/freetype-2.5.0.1/objs/sfnt.lo] Error 1
Introduction to FreeType2 The FreeType2 package contains a library which allows applications to properly render TrueType fonts. This package is known to build and work properly using an LFS-7.4 platform. Package Information Download (HTTP): http://downloads.sourceforge.net/freetype/freetype-2.5.0.1.tar.bz2 Download MD5 sum: c72e9010b1d986d556fc0b2b5fcbf31a Download size: 1.5 MB Estimated disk space required: 35 MB (includes installing additional documentation) Estimated build time: 0.2 SBU Additional Downloads ...
RedFlag Linux SP3 升级最新版gcc4.8.1首先需要准备需要材料:mpc-1.0.1.tar.gzmpfr-3.1.2.tar.gzgmp-5.1.3.tar.gz 分别解压缩tar zxvf gmp-5.1.3.tar.gz tar zxvf mpfr-3.1.2.tar.gztar zxvf mpc-1.0.1.tar.gz解压之后, 按照下面步骤安装。1. 安装gmp:# ./configure --prefix=/usr# make# make check这一步用来查看有没有文件不匹配或缺失,然后安装:# make install2. 安装mpfr配置:# /configure --prefix=/usr# make# make check接下来安装:# make install3. 安装mpc配置:# /configure --prefix=/usr# make# make check接下来安装:# make install准备工作完成,以下是gcc的安装与更新。4. 配置 在我的机器上,我是这样配置的: $ ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --disable-libmudflap --enable-languages=c,c++,java,fortran --disable-libgcj --with-cpu=generic (注:/usr/是自定的安装目录) 将GCC安装在/usr/local/gcc4.8目...
编译GCC-4.8.1 报以下错误,怎么解决。官网没给解决方法,只说到config.log中找更多错误信息checking for suffix of object files... configure: error: in `/home/manu/gcc/gcc/i686-pc-linux-gnu/libgcc':configure: error: cannot compute suffix of object files: cannot compileSee `config.log' for more details.make[2]: *** [configure-stage1-target-libgcc] Error 1make[2]: Leaving directory `/home/manu/gcc/gcc'最后在config.log文件中发现更多报错信息。opt/gcc-4.8.1/host-i686-pc-linux-gnu/gcc/cc1: error while loading shared libraries: libmpc.so.3: cannot open shared object file: No such file or directory/opt/gcc-4.8.1/host-i686-pc-linux-gnu/gcc/cc1: error while loading shared libraries: libmpc.so.3: cannot open shared object file: No such file or directoryconfigure:3605: error: in `/opt/gcc-4.8.1/i686-pc-linux-gnu/libgcc':configure:3608: error: cannot compute suffix of object files: cannot compile/usr/local/lib/libmpc.so.3,可以找到此文件1) 如果共享库文件安装到了/lib或/usr/lib目录下, 那么需执行一下ldconfig...
GMP-4.2.2 Introduction to GMP The GMP package contains math libraries. These have useful functions for arbitrary precision arithmetic. Package Information Download (HTTP): http://ftp.gnu.org/gnu/gmp/gmp-4.2.2.tar.bz2 Download (FTP): ftp://ftp.gnu.org/gnu/gmp/gmp-4.2.2.tar.bz2 Download MD5 sum: 7ce52531644e6d12f16911b7e3151f3f Download size: 1.7 MB Estimated disk space required: 36 MB (additional 11 MB for alternative documentation) Estimated build time: 1.0 SBU (additional 0.6 SBU to run the testsuite) ...
/bin/rm: cannot remove `libtoolT': No such file or directory 、 在 CentOS 5.4 下编译安装MySQL时出错: /bin/rm: cannot remove `libtoolT: No such file or directory 解决问题。具体方法是: 在执行./configure 之前,先执行: # autoreconf --force --install # libt 在 CentOS 5.4 下编译安装MySQL时出错:/bin/rm: cannot remove `libtoolT': No such file or directory网上搜寻后,解决问题。具体方法是:在执行./configure 之前,先执行:# autoreconf --force --install# libtoolize --automake --force# automake --force --add-missing# ./configure --prefix=/usr/local/mysql/ --datadir=/var/lib/mysql
Linux下apach+ssl自动启动的脚本 )配置apache启动时自动提取ssl_mod密码脚本#cd /usr/local/apache2/conf/extra#cp httpd-ssl.conf httpd-ssl.conf.bak --做个备份#vi /usr/local/apache2/conf/extra/httpd-ssl.conf注释SSLPassPhraseDialog builtin在后添加SSLPassPhraseDialog exec:/usr/local/apache2/conf/apache_pass.sh #vi /usr/local/apache2/conf/apache_pass.sh输入:#!/bin/shecho "密码" ---密码写启动apache时所用的ssl_mod密码(即server.key的内容) #chmod 500 /usr/local/apache2/conf/apache_pass.sh --使apache_pass.sh文件只有root可见,增加安全性#chmod +x /usr/local/apache2/conf/apache_pass.sh (或者上句直接改成511,省掉此句)。b)配置apache开机自动启动脚本当手动编译安装apache服务器后一般不会开机自动运行,需要自己添加:# cd /etc/init.d# vi apache2加上以下脚本#!/bin/sh# description: Apache auto start-stop script.# chkconfig: - 85 15APACHE_HOME=/usr/local/apache2AP...
Compiling and Installing This document covers compilation and installation of the Apache HTTP Server on Unix and Unix-like systems only. For compiling and installation on Windows, see Using Apache HTTP Server with Microsoft Windows and Compiling Apache for Microsoft Windows. For other platforms, see the platform documentation. Apache httpd uses libtool and autoconf to create a build environment that looks like many other Open Source projects. If you are upgrading from one minor version to the next (for example, 2.2.50 to 2.2.51), please skip down to the upgrading section. Overview for the impatient Requirements Download Extract Configuring the source tree Build Install Customize Test Upgrading Third-party packagesSee alsoConfigure the source treeStarting Apache httpdStopping and RestartingCommentsOverview for the impatient Download $ lynx http://httpd.apache.org/download.cgi Extract $ gzip -d h...
Redflag Linux SP3安装apache时 apr报错解决 rm: cannot remove `libtoolT': No such file or directory 在configure里面 RM='$RM -f' 这里的$RM后面一定有一个空格。 如果后面没有空格,直接连接减号,就依然会报错。把RM='$RM'改为RM='$RM -f'
安装apr报错rm: cannot remove `libtoolT': No such file or directory直接打开/usr/local/src/apr-1.4.6/configure 把 $RM“$cfgfile” 那行删除掉 $RM“$cfgfile” 大约在 42302行然后再重新运行 ./configure --prefix=/usr/local/apr 就可以了网上说的其他解决办法如下,但我应用都不行:#aclocal# autoconf# automake# libtoolize –force或者:#autoreconf –force –install# libtoolize –automake –force# automake –force –add-missing我是在Asianux Server 4 编译安装的,也可能跟我使用的系统有关
最新评论