Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
pi1ot
/
webapplib
Public
Notifications
You must be signed in to change notification settings
Fork
58
Star
174
Code
Issues
0
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Files
Expand file tree
master
Breadcrumbs
webapplib
/
INSTALL
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
15 lines (12 loc) · 732 Bytes
master
Breadcrumbs
webapplib
/
INSTALL
Copy path
Top
File metadata and controls
Code
Blame
15 lines (12 loc) · 732 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
运行 “make; make install” 将安装库文件到 /usr/local/lib,
安装头文件到 /usr/local/include/webapplib,
若运行环境无 MySQL 相关头文件和库文件,或者不需要编译 MysqlClient 组件,
可以修改 Makefile 注释掉 MYSQL 变量,
在自己的程序中使用该库,Makefile 写法可参考 Makefile.example。
或者如果你的系统安装有 CMake 的话,可以:
创建并进入 build 子目录,运行 “cmake ..”,将使用 CMake 自动检测 MySQL 安装路径并生成 Makefile,
然后再运行 “make; make install”,若需要定制安装路径,
可以运行“cmake -DCMAKE_INSTALL_PREFIX=/path/up/to/you ..”
若安装后需要删除,可以查看生成的 install_manifest.txt 文件内容,并删除其中所列文件。
以上安装过程在 Linux(CentOS)、MacOSX 与 Cygwin 环境测试通过,
使用 CMake 方式编译应该可以支持更多系统平台。
You can’t perform that action at this time.