07/06/07 08:20:09 zEr7O3CP
CentOS4.4でmfiler2のmakeが通りません。
./configure --with-ruby-header-path=/usr/lib/ruby/1.8/i386-linux-gnu --with-ruby-lib-path=/usr/lib --with-ruby-lib-name=ruby
として、その後のmakeで以下のようになります。
dirwnd_sort.cpp: In static member function `static int cDirWnd::sort_time(void*, void*)':
dirwnd_sort.cpp:257: error: `difftime' was not declared in this scope
dirwnd_sort.cpp:270: error: `difftime' was not declared in this scope
dirwnd_sort.cpp: In static member function `static int cDirWnd::sort_time_reverse(void*, void*)':
dirwnd_sort.cpp:296: error: `difftime' was not declared in this scope
dirwnd_sort.cpp:309: error: `difftime' was not declared in this scope
make: *** [bin/dirwnd_sort.o] エラー 1
関係ありそうなライブラリのyum list貼っておきます。
gcc.i386 3.4.6-8 installed
ncurses.i386 5.4-13 installed
ncurses-devel.i386 5.4-13 installed
ruby.i386 1.8.1-7.EL4.8 installed
ruby-devel.i386 1.8.1-7.EL4.8 installed
ruby-libs.i386 1.8.1-7.EL4.8 installed
ログ見るとCentOSで動いてる人もいるみたいなんだけど、ウチの環境がマズいんでしょうか。