Libraries
Scientific-linux 6.1下如何安裝DivFix++?
我安裝了 DivFix++
http://sourceforge.net/projects/divfixpp/files/DivFix%2B%2B/v0.34/
DivFix++-0.34-2.1.x86_64.rpm
$ env LC_MESSAGES=C DivFix++ Fatal Error: Mismatch between the program and library build versions detected. The library used 2.8 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.4,compatible with 2.6), and your program used 2.8 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.6). Abgebrochen $ uname -a Linux a 2.6.32-220.13.1.el6.x86_64 #1 SMP Tue Apr 17 15:16:22 CDT 2012 x86_64 x86_64 x86_64 GNU/Linux $ rpm -qa | grep -i divfix DivFix++-0.34-2.1.x86_64 $
問題:我怎樣才能讓 DivFix++ 在 Scientific-Linux 6.1 下工作?
UPDATE#1(我嘗試從原始碼安裝)
[USERNAME@MACHINE ~/Desktop/D/DivFix++_v0.34] ls contrib debian DivFix++.cbp DivFix++.fbp docs locale makefile resources src wx_pch.h [USERNAME@MACHINE ~/Desktop/D/DivFix++_v0.34] make `wx-config --cxx` `wx-config --cxxflags` -c src/DivFix++App.cpp -o src/DivFix++App.o `wx-config --cxx` `wx-config --cxxflags` -c src/DivFix++.cpp -o src/DivFix++.o `wx-config --cxx` `wx-config --cxxflags` -c src/DivFix++Core.cpp -o src/DivFix++Core.o `wx-config --cxx` `wx-config --cxxflags` -c src/DivFix++Gui.cpp -o src/DivFix++Gui.o `wx-config --cxx` src/DivFix++App.o src/DivFix++.o src/DivFix++Core.o src/DivFix++Gui.o `wx-config --libs` -o DivFix++ [USERNAME@MACHINE ~/Desktop/D/DivFix++_v0.34] DivFix++ Fatal Error: Mismatch between the program and library build versions detected. The library used 2.8 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.4,compatible with 2.6), and your program used 2.8 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.6). Abgebrochen [USERNAME@MACHINE ~/Desktop/D/DivFix++_v0.34]
搜尋 wxwidgets:
[USERNAME@MACHINE ~]# rpm -qa | grep -i wx wxGTK-2.8.12-1.el6.rf.x86_64 wxGTK-devel-2.8.12-1.el6.rf.x86_64 [USERNAME@MACHINE ~]#
通過葡萄酒安裝,工作:)
看起來這個 RPM 是為另一個發行版建構的。您可以從原始碼編譯程序,這應該可以解決這個問題。