1. 执行configure。
mingw32-configure --without-sasl --with-gtk=2.0 --with-audio=gstreamer --without-python --enable-usbredir=yes --enable-smartcard=no
刚开是报依赖的动态库找不到,原因是mingw32搜索动态库采用是i686-pc-mingw32-pkg-config,搜索路径是/usr/i686-pc-mingw32/sys-root/mingw/lib/pkgconfig/, 把相关的依赖包从/usr/lib64/pkgconfig/目录下拷贝到该目录即解决。
但是,有一个动态库的检测始终通不过,configure报如下错误:
checking for jpeg_destroy_decompress in -ljpeg... no
configure: error: libjpeg not found
尝试各种方法都不行(已安装libjpeg-turbo-1.2.1-3.el6_5.x86_64,libjpeg-turbo-devel-1.2.1-3.el6_5.x86_64,libjpeg-turbo-static-1.2.1-3.el6_5.x86_64)。
1. 执行 configure
/configure --prefix=/usr/i586-mingw32msvc --enable-maintainer-mode --with-audio=gstreamer --host=i586-mingw32msvc --build=x86_64-linux --enable-smartcard=yes --enable-usbredir=yes --enable-gtk-doc --with-gtk=3.0
遇到同样的错误:checking for jpeg_destroy_decompress in -ljpeg... no
configure: error: libjpeg not found (已安装libjpeg-dev包)