hns - 日記自動生成システム - Version 2.19.9

先月 2011年01月 来月
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2011年01月06日(木) 旧暦 [n年日記] [更新:"2011/01/14 15:36:32"]

#1 [pkgsrc] (vlc -> ffmpeg -> x264-devel) ERROR: libx264 not found

I'm trying to package vlc-1.1.5 and then required x264-devel (build 84) installed.
And then back to ffmpeg-0.6.1..
I'm getting
ERROR: libx264 not found
If browse config.err,
heck_ld
check_cc
BEGIN /export/pkgsrc/multimedia/ffmpeg/work/ffmpeg-0.6.1/tmp/ffconf.006186aa.c
    1   extern int x264_encoder_encode();
    2   int main(void){ x264_encoder_encode(); }
END /export/pkgsrc/multimedia/ffmpeg/work/ffmpeg-0.6.1/tmp/ffconf.006186aa.c

cc -I/usr/pkg/include -I/usr/include -D_ISOC99_SOURCE
-D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_XOPEN_SOURCE=600 -DPIC -O2
-I/usr/pkg/include -I/usr/include -std=c99
-fomit-frame-pointer -fPIC -pthread -c -o
/export/pkgsrc/multimedia/ffmpeg/work/ffmpeg-0.6.1/tmp/ffconf.010554aa.o
/export/pkgsrc/multimedia/ffmpeg/work/ffmpeg-0.6.1/tmp/ffconf.006186aa.c

cc -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib
-o
/export/pkgsrc/multimedia/ffmpeg/work/ffmpeg-0.6.1/tmp/ffconf.002727aa
/export/pkgsrc/multimedia/ffmpeg/work/ffmpeg-0.6.1/tmp/ffconf.010554aa.o
-lz -lbz2 -pthread -lm -lmp3lame -lm -ltheoraenc -ltheoradec
-logg -lvorbisenc -lvorbis -logg -lx264 -lm

ld: cannot find -lx264
ERROR: libx264 not found
--enable-shared is required at x264-devel

The patches for x264-devel and ffmpeg:

patches:
x264-devel (20100201) build 84
ffmpeg-0.6.1
util/input_slider.cpp: In member function 'virtual void SoundSlider::wheelEvent(QWheelEvent*)':
util/input_slider.cpp:234: warning: converting to 'int' from 'float'
  CXX    util/libqt4_plugin_la-customwidgets.lo
util/customwidgets.cpp:398:3: error: #error FIXME
util/customwidgets.cpp: In function 'int qtEventToVLCKey(QKeyEvent*)':
util/customwidgets.cpp:400: error: expected primary-expression before 'else'
util/customwidgets.cpp:400: error: expected `;' before 'else'
gmake[6]: *** [util/libqt4_plugin_la-customwidgets.lo] Error 1
gmake[6]: Leaving directory `/export/pkgsrc/multimedia/vlc/work/vlc-1.1.5/modules/gui/qt4'
cat -n vlc-1.1.5/modules/gui/qt4/util/customwidgets.cpp | sed -n 388,399p
   388  int qtEventToVLCKey( QKeyEvent *e )
   389  {
   390      int qtk = e->key();
   391      uint32_t i_vlck = 0;
   392
   393      if( qtk <= 0xff )
   394          /* VLC and X11 use lowercase whereas Qt uses uppercase */
   395  #if defined( __STDC_ISO_10646__ ) || defined( _WIN32 )
   396          i_vlck = towlower( qtk );
   397  #else
   398  # error FIXME
   399  #endif
just delete these '#if else endif' block



最近の日記
2024年05月06日
py-setuptools (python 3.11.1)
make release took 1 hours and 10 min
qemu invocation for 10.99.10
2024年05月05日
Windows 10 version
serial connection
bc bench
2024年05月04日
Trial on 10.99.10
another version (later trial) to succeed
2024年04月29日
dkim
2024年03月10日
停電 (瞬電)
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)