libxml2

configure: error: xml2-config not found. Please check your libxml2 installation.

霸气de小男生 提交于 2019-11-30 07:05:58
yum install gcc bison bison-devel zlib-devel libmcrypt-devel mcrypt mhash-devel openssl-devel libxml2-devel libcurl-devel bzip2-devel readline-devel libedit-devel sqlite-devel jemalloc jemalloc-devel libpn libpng-devel libjpeg-devel freetype-devel -y wget http://cn2.php.net/distributions/php-5.6.30.tar.gz tar zvxf php-5.6.30.tar.gz cd php-5.6.30 ./configure make && make install php安装报错: 【 configure: error: xml2-config not found. Please check your libxml2 installation. 】 yum install libxml2 libxml2-devel -y 来源: https://www.cnblogs.com/cyanrose/p/11544466.html

LAMP架构mariadb/apache的安装及基本使用

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-30 05:44:22
11月12日任务 11.6 MariaDB安装 11.7/11.8/11.9 Apache安装 MariaDB安装(类似于mysql安装) https://downloads.mariadb.com/MariaDB/mariadb-10.2.6/bintar-linux-glibc_214-x86_64/mariadb-10.2.6-linux-glibc_214-x86_64.tar.gz 解压二进制已编译包 [root@localhost src]# tar zxf mariadb-10.2.6-linux-glibc_214-x86_64.tar.gz 移动至/usr/local/下 [root@localhost src]# mv mariadb-10.2.6-linux-glibc_214-x86_64 /usr/local/mariadb [root@localhost local]# cd mariadb/ 初始化脚本,指定basedir和datadir # 这里跟mysql安装不同的地方是需要额外指定basedir [root@localhost mariadb]# ./scripts/mysql_install_db --user=mysql --basedir=/usr/local/mariadb/ --datadir=/data/mariadb

Error - “gem install rails” - libxml2 is missing

久未见 提交于 2019-11-30 03:57:56
问题 I've been working through the Rails install instructions (http://railsapps.github.io/installrubyonrails-mac.html) and everything was okay up until I got to gem install rails part under New Rails Application . When I ran that I got libxml2 is missing. Here's the log: http://codecascade.com/sIjhQ/raw I had similar issues install nokogiri, and the only way I was able to get it resolved was with gem install nokogiri -- --use-system-libraries I'm on OS X 10.10.2. I also have RubyMine installed if

Mountain Lion - LibXML & Nokogiri

邮差的信 提交于 2019-11-30 00:01:56
I've just updated to OS X Mountain Lion and I'm getting the following when working with rails and terminal. WARNING: Nokogiri was built against LibXML version 2.8.0, but has dynamically loaded 2.7.8 I've had a look at other answers to a similar question, but they doesn't seem to stop the warning message from appearing. Putting gem 'nokogiri' above gem 'pg' in my Gemfile fixed this for me. My Gemfile didn't have nokogiri in it, but it was a dependency that was in Gemfile.lock, so I put it in my Gemfile explicitly. I was having similar issues installing nokogiri gem on ruby 1.9.2 Apparently

installed libtool but libtoolize not found

做~自己de王妃 提交于 2019-11-29 20:26:15
im trying to build libxml2 from source on my mac. so i have autoconf libtool and automake installed using mac ports autoconf and automake seem to be working fine as expected. i try running autogen.sh first. libtoolize --version unfortunately gives -bash: libtoolize: command not found i try running (again) sudo port install libtool ---> Cleaning libtool ---> Scanning binaries for linking errors: 100.0% ---> No broken files found. i try locate libtool and it seems to be installed fine /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/libtool /Applications

Linux+Apache+Mysql+Php源码安装

泄露秘密 提交于 2019-11-29 17:15:13
一. 安装环境: 系统: Centos6.5x64 Apache: httpd-2.4.10.tar.gz Mysql: mysql-5.6.20-linux-glibc2.5-x86_64.tar.gz Php: php-5.6.0.tar.gz Apr: apr-1.5.1.tar.gz Apr-util: apr-util-1.5.3.tar.gz Libxml2: libxml2-2.9.1.tar.gz 默认安装路径我们统一安装到 /usr/local 下 二.Apache 安装: 安装 Apache 之前先把所需要的开发包安装上,使用 yum –y install gcc gcc-c++ pcre pcre-devel python python-devel 安装 Apache2.4 所需要用到的 apr 版本要在 1.4 以上,而 Centos6.5 自带的 Apr 版本是 1.39 ,所以要自行到 apr.apache.net 网站上下载相应版本,我们这里下载的是最新的 1.5.1 版本, Apr-util 是 1.5.3 版本,还需要 libxml2 软件,因为 libxml2 是一个 C 语言的解析器,所以我们安装 Apache 的时候需要用到,源码安装的时候系统识别不了 Libxml2 的安装路径,所以我们可以自行安装 tar 包,我这里下载的是 2.9.1

组件化pod库制作之私有库制作

两盒软妹~` 提交于 2019-11-29 13:25:20
私有podspec制作步骤: 组件化方案一般都是采用私有podspec 1、创建私有Spec Repo Spec Repo 是所有公开的Pods 的podspec文件的一个git仓库,当使用Cocoapods后它会被clone到本地的~/.cocoapods/repos目录下,可以进入到这个目录看到master文件夹就是这个官方的Spec Repo了。因此我们需要创建一个类似于master的私有Spec Repo 。同理这个私有Spec Repo我们也要有一个远程端。那么我们需要创建一个 Git仓库,这个仓库你可以创建私有的也可以创建公开的。如果是私有的话,项目中其他同事,你要给他这个Git仓库的权限。组件化一般都是采用私有的。 在git管理的代码托管网站如github或者码云或则自己服务器上创建一个私有仓库: # pod repo add [Private Repo Name] [GitHub HTTPS clone URL] 如:$ pod repo add HFPodSpecs https://coding.net/xxxx/ HFPodSpecs .git 其中HFPodSpecs是私有 Spec Repo名称 此时如果成功的话进入到~/.cocoapods/repos目录下就可以看到WTSpecs这个目录了。至此第一步创建私有Spec Repo完成。 PS

iPhone libxml2 undefined symbols (with gdata, kissxml, touchxml, etc.)

匆匆过客 提交于 2019-11-29 09:11:17
I'm trying to use any one of the libxml based 3rd party XML parsers, but I can't because I think I have a libxml2 problem of some sort I set my other linker flags to -lxml2 and header search paths to /usr/include/libxml2 but I still get a ton of undefined symbols when I try to compile. The errors below are the result of trying to compile TouchXML. Undefined symbols: "_xmlDocDumpFormatMemory", referenced from: -[CXMLDocument description] in CXMLDocument.o "_xmlXPathNewContext", referenced from: -[CXMLNode nodesForXPath:error:] in CXMLNode.o -[CXMLNode(CXMLNode_NamespaceExtensions) nodesForXPath

组件化pod库制作

时光毁灭记忆、已成空白 提交于 2019-11-29 08:54:30
一)、组件化的目的: 1、解耦各模块和业务,便于开发维护 2、构建可复用模块,便于复用 3、由于开发人员很多时,合作开发代码很容易冲突等,沟通成本很高,让各模块做成组件,每个人只负责某一模块,让开发更有效率 4、提高工程编译速度,当工程很大时,编译是一个十分耗时的过程,各模块做成组件,前期做功能时,只需关注编译自己的模块工程,减少总的编译时间 5、便于模块化测试,可以单独测试各组件模块 二)、组件化的类型:公有和私有podspec 1、使用Cocoapods创建公有podspec 2、使用Cocoapods创建私有podspec 三)、公有podspec制作步骤: 当然你电脑安装了cocoaPods了, 1、注册trunk 查看自己是否注册过trunk $pod trunk me 注册trunk $ pod trunk register 邮箱 ‘你的名称’ —description=‘电脑机型描述’ 如:$ pod trunk register zhangsan @163.com ‘zhangsan’ —description=‘MacBook Pro’ 注册后,cocoapods官方会向你邮箱发送确认邮件,点击确认即可. 确认后,可以再使用 $pod trunk me 查看个人信息 2、创建项目工程,并上传到github上,获得项目代码地址 https://github.com

libxml2 error with namespaces and xpath

假如想象 提交于 2019-11-29 03:49:34
I am pasting some code here that compiles with no warning using gcc file.c -lxml2, assuming that libxml2 is installed in your system. #include <libxml/parser.h> #include <libxml/xpath.h> #include <assert.h> #include <libxml/tree.h> #include <libxml/xpathInternals.h> xmlDocPtr getdoc (char *docname) { xmlDocPtr doc; doc = xmlParseFile(docname); if (doc == NULL ) { fprintf(stderr,"Document not parsed successfully. \n"); return NULL; } return doc; } xmlXPathObjectPtr getnodeset (xmlDocPtr doc, xmlChar *xpath){ xmlXPathContextPtr context; xmlXPathObjectPtr result; context = xmlXPathNewContext(doc)