LINUX下开源库的编译有关问题
LINUX下开源库的编译问题。
configure:13325: error: Package requirements (glib-2.0 >= 2.24
gobject-2.0 >= 2.24
gio-2.0 >= 2.24
cairo >= 1.10.0
libarchive >= 2.8.0
freetype2) were not met:
No package 'glib-2.0' found
No package 'gobject-2.0' found
No package 'gio-2.0' found
No package 'cairo' found
No package 'libarchive' found
No package 'freetype2' 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 GXPS_CFLAGS
and GXPS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
我现在用mingw在msys中编译libgxps。
上面是执行./configure中的错误。
这几个库应该怎么添加进来?
我试过直接下载这几个包WIN下的编译好的包
解压到msys\1.0\bin中,
可仍然不行。
另外,linux下的开源库一般都怎么编译?
都是configure,make,make stall?
------解决方案--------------------
感觉是库的版本不够新,你的mingw是什么版本,还有手动搜索一下有没有glib的库
------解决方案--------------------
把报错确实否是存在还是连接出错
把需要的库都下载起来了,并且在编译的时候确保能链接成功!
ps:这个问题去Linux内核源问问
------解决方案--------------------
直接COPY是不行的,最好都重新安装一遍。
configure:13325: error: Package requirements (glib-2.0 >= 2.24
gobject-2.0 >= 2.24
gio-2.0 >= 2.24
cairo >= 1.10.0
libarchive >= 2.8.0
freetype2) were not met:
No package 'glib-2.0' found
No package 'gobject-2.0' found
No package 'gio-2.0' found
No package 'cairo' found
No package 'libarchive' found
No package 'freetype2' 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 GXPS_CFLAGS
and GXPS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
我现在用mingw在msys中编译libgxps。
上面是执行./configure中的错误。
这几个库应该怎么添加进来?
我试过直接下载这几个包WIN下的编译好的包
解压到msys\1.0\bin中,
可仍然不行。
另外,linux下的开源库一般都怎么编译?
都是configure,make,make stall?
------解决方案--------------------
感觉是库的版本不够新,你的mingw是什么版本,还有手动搜索一下有没有glib的库
------解决方案--------------------
把报错确实否是存在还是连接出错
把需要的库都下载起来了,并且在编译的时候确保能链接成功!
ps:这个问题去Linux内核源问问
------解决方案--------------------
直接COPY是不行的,最好都重新安装一遍。