Open nanamomo opened 8 years ago
我的系统是centos7
ubuntu15 下直接 sudo apt-get install htmlcxx 就可以解决了。。。 但是因为机器环境受限。。需要用到centos7.....
求高手 指点。。。 htmlcxx包应该怎么搞。。。。。 谢谢!
[root@localhost ~]# find / -name htmlcxx /usr/local/bin/htmlcxx /usr/local/include/htmlcxx /usr/local/share/htmlcxx
checking for main in -lre2... yes checking for curl_easy_init in -lcurl... yes checking for jpeg_stdio_src in -ljpeg... yes checking for SHA1 in -lcrypto... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for DEPENDENCIES... no configure: error: Package requirements (glib-2.0 htmlcxx) were not met:
No package 'htmlcxx' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.
Alternatively, you may set the environment variables DEPENDENCIES_CFLAGS and DEPENDENCIES_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. [root@localhost vjudge-v2]#
自己从 http://htmlcxx.sourceforge.net/ 下载了 源码包。。。 htmlcxx-0.86.tar.gz make make install 之后 再在vjudge-v2下configure 还是一样找不到htmlcxx包。。。