⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.linux

📁 用c++编写http server的源码库,对socket等网络处理的代码可迅速转为己用.
💻 LINUX
字号:
Linux Build Instructions========================Building Boost with ASIO:-------------------------Please see the README.boost file for instructions.If you have an older version of Boost installed (CentOS/Redhat 4), you likely will need to first uninstall it so that gcc and libtool do not get confused:rpm -e boost boost-develInstalling zlib & openssl:--------------------------ASIO requires zlib and openssl for compression and SSL/TLS encryptionsupport, respectively.  These libraries are normally pre-installed onLinux. However, you may instead choose to download and install thelatest versions from the following sites:http://www.zlib.nethttp://www.openssl.orgLogging frameworks:-------------------Note that the use of a logging framework is entirely optional, so you mayskip this step if you like.The easiest logging framework to use for Linux is probably log4cpp sincepre-built packages are included in the DAG repository.  If you're systemis already configured to use the DAG repository, you can just run "yuminstall log4cpp-devel" or "up2date log4cpp-devel".  If not, you can justmanually download and install the appropriate log4cpp and log4cpp-develRPM packages for your system from:http://dag.wieers.com/rpm/packages/log4cpp/If you prefer instead to compile the logging framework from source, youcan download the tarballs from the following sites:http://logging.apache.org/log4cxxhttp://log4cpp.sourceforge.nethttp://log4cplus.sourceforge.netBuilding and installing libpion:--------------------------------Now you should be able to build and install libpion:tar xvfz libpion-VERSION.tar.gzcd libpion-VERSION./configure --with-boost=/usr/local [--with-openssl] [--with-log4cpp]make ; sudo make installKnown Problems--------------The "tests" executables may complain about loading shared libraries if theBoost and/or logging libraries are not in your search path.  Try this:export LD_LIBRARY_PATH=/usr/local/lib

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -