1. 编译需要提前安装libmysql++-dev
2. 需要提前安装openbabel，最好安装在系统默认的文件夹，否则会遭遇pkg-config问题
3. make的时候报错，提示和libmysql相关的问题，但是能够在安装文件夹的src/programs/路径发现，tpprenum已经编译好了，但是tppmktop无法通过编译。
解决方案: 将下列g++参数中，-lmysqlpp选项挪到最后即可通过编译。这样就能得到能够运行的 tpprenumtppmktop

原因:

Move the -l flags and mysql_config commands to the end of the command line. POSIX linkers look at the command line right-to-left: the rightmost object should depend on nothing else, the next to rightmost should depend on either nothing, or only on what is in the rightmost object, etc. The leftmost objects should be those that depend on everything to the right. Since there’s nothing to the right of your program modules, the linker doesn’t see anything it can link AWIWorldServer to. (Except for default libraries like libc, that is, which is always to the right of everything else.)
Your library order is otherwise correct: least generic on the left, most generic on the right.