码迷,mamicode.com
首页 >  
搜索关键字:local yum repository    ( 50663个结果
异常/usr/bin/install: cannot create regular file `/usr/local/jpeg6/include/jconfig.h'
出现下列异常:  /usr/bin/install -c -m 644 jconfig.h /usr/local/jpeg6/include/jconfig.h /usr/bin/install: cannot create regular file `/usr/local/jpeg6/include/jconfig.h': No such file or directory ...
分类:其他好文   时间:2014-07-22 22:59:55    阅读次数:893
Lua进阶(一)——函数闭包、元表
函数闭包 function createCountdownTimer(second) local ms=second * 1000; local function countDown() ms = ms - 1; return ms; end return countDown; end timer1 = createCountdownTimer(1); for...
分类:其他好文   时间:2014-07-22 22:59:53    阅读次数:307
编译打包Apache源码
如果要编写定制的Apache模块,最总需要编译成Apache包。 命令如下: % ./buildconf % ./configure --prefix=/usr/local/apache > --with-layout=Apache --enable-modules=most --enable-mods-shared=all > --with-mpm=prefork % make #mak...
分类:其他好文   时间:2014-07-22 22:59:34    阅读次数:243
Lnmmp动静分离简易架构
拓扑如下图所示;本次环境全部为:Centos6.5-64位;一、先安装Mariadb数据库(编译安装与mysql的安装方法一样,此处不做详解);通用二进制格式安装;#mkdir-pv/mydata/data/ #chown-Rmysql:mysq/mydata/data/ #tarxfmariadb-10.0.10-linux-x86_64.tar.gz-C/usr/local/ #ln-svmar..
分类:其他好文   时间:2014-05-03 00:44:35    阅读次数:473
/usr/local/lib/libz.a: could not read symbols: Bad value
64位系统中,安装freetype时,出现这个问题。后来发现,此问题进出现在64位系统中。       修复方法: cd zlib-1.2.3 //进入zlib目录 CFLAGS="-O3 -fPIC" ./configure //使用64位元的方法进行编译 make make install        然后,进入freetyp...
分类:其他好文   时间:2014-05-02 23:50:23    阅读次数:397
[转]Installing python 2.7 on centos 6.3. Follow this sequence exactly for centos machine only
Okay for centos 6.4 also On apu.0xdata.loc, after this install was done$ which python /usr/local/bin/python$ python -VPython 2.7.3$ ls -ltr /usr/local...
分类:编程语言   时间:2014-05-02 12:53:59    阅读次数:609
错误gcc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_LINUX -c -o lua.o lua.clua.c:67:31: error:
编译Lua时,出现这样的错误: gcc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_LINUX -c -o lua.o lua.clua.c:67:31: error:       查阅了一下,centOS上需要安装readline-devel ncurses-devel yum install readline-devel ncurses-devel  ...
分类:系统相关   时间:2014-05-02 07:03:00    阅读次数:455
yum提示another app is currently holding the yum lock;waiting for it to exit
强制关掉yum进程:#rm-f/var/run/yum.pid然后就可以使用yum了。
分类:移动开发   时间:2014-05-02 04:18:15    阅读次数:371
linux下安装htk工具箱并运行demo[centos6.5]
一直没有静下心来好好研究研究htk。最近听了豆豆童鞋的建议,决定从头看一遍htk。就从安装开始吧。顺便做个整理。 我的环境是centos 6.5 32bit 在vmware虚拟机中运行。 一、首先要安装依赖。yum的用法就不做记录了,需要安装的是gcc和libx11,命令分别是: sudo yum install gcc* sudo yum install libx11* 【因为我没有使...
分类:系统相关   时间:2014-05-01 18:32:34    阅读次数:604
Lua chapter 1
1. 调用其他的.lua文件   dofile("xx.lua");   2. 避免用 "_VERSION"这类的标识符,Lua将这类标识符用作特殊用途,通常保留"_"作为”哑变量“ 3. Lua的一些保留字:    do in local nil until 等     4. 注释:-- 表示行注释   --[[ ... ]] 表示块注释 一般的块注释这样写: --[[ ...
分类:其他好文   时间:2014-04-30 22:34:38    阅读次数:270
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!