玄箱メモ つづき
昨日のつづき
- 必要そうなモジュールを片っ端から入れてみる
apt-get install sqlite3
apt-get install libmagic1
apt-get install libmozjs0d
apt-get install sqlite
apt-get install libsqlite3-dev
- 少し前進、でも次はこれ
checking for /usr/local/include/expat.h... no
configure: error: unable to configure expat support
- インストール
apt-get install expat
- でもだめ。 expat-2.0.1.tar.gz をゲットしてソースからインスト
/usr/local/src/expat-2.0.1# ./configure
/usr/local/src/expat-2.0.1# make install
- やっと configure 完了。
CONFIGURATION SUMMARY ----
sqlite3 : yes
mysql : missing
libjs : missing
libmagic : missing
inotify : yes
libexif : missing
expat : yes
id3lib : missing
taglib : missing
ffmpeg : missing
external transcoding : yes
libextractor : disabled
- なんか missing 多いけど、 make ; make install で出来上がり (^^)/
KURO-BOX:/usr/local/src/mediatomb-0.11.0# mediatomb -h
Usage: mediatomb [options]
Supported options:
--ip or -i ip address to bind to
--interface or -e network interface to bind to
--port or -p server port (the SDK only permits values => 49152)
--config or -c configuration file to use
--daemon or -d run server in background
--home or -m define the home directory
--cfgdir or -f name of the directory that is holding the configuration
--pidfile or -P file to hold the process id
--user or -u run server under specified username
--group or -g run server under specified group
--add or -a add the given file/directory
--logfile or -l log to specified file
--help or -h this help messageFor more information visit http://mediatomb.cc/
- 次は設定
下記を参考にさせてもらいました。参考にしたサイト
- しかし上手く起動できず・・・・
$ mediatomb
MediaTomb UPnP Server version 0.11.0 - http://mediatomb.cc/
===============================================================================
Copyright 2005-2008 Gena Batsyan, Sergey Bostandzhyan, Leonhard Wimmer.
MediaTomb is free software, covered by the GNU General Public License version 22009-05-24 14:40:40 INFO: Loading configuration from: /home/tmp-kun/.mediatomb/config.xml
2009-05-24 14:40:40 INFO: Checking configuration...
2009-05-24 14:40:40 INFO: Setting filesystem import charset to no
2009-05-24 14:40:40 INFO: Setting metadata import charset to no
2009-05-24 14:40:40 INFO: Setting playlist charset to no
2009-05-24 14:40:40 INFO: Configuration check succeeded.
2009-05-24 14:40:40 WARNING: Sqlite3 database seems to be corrupt or doesn't exist yet.
2009-05-24 14:40:40 ERROR: database doesn't seem to exist yet and autocreation wasn't compiled in
- .mediatomb/mediatomb.db ファイルサイズが0なのがあやしい。 なので mediatomb.db 再作成
rm mediatomb.db
sqlite3 mediatomb.db < /usr/local/src/mediatomb-0.11.0/config/sqlite3.sql
- ようやく起動できました。
$ mediatomb
MediaTomb UPnP Server version 0.11.0 - http://mediatomb.cc/
===============================================================================
Copyright 2005-2008 Gena Batsyan, Sergey Bostandzhyan, Leonhard Wimmer.
MediaTomb is free software, covered by the GNU General Public License version 22009-05-24 14:50:44 INFO: Loading configuration from: /home/tmp-kun/.mediatomb/config.xml
2009-05-24 14:50:44 INFO: Checking configuration...
2009-05-24 14:50:44 INFO: Setting filesystem import charset to no
2009-05-24 14:50:44 INFO: Setting metadata import charset to no
2009-05-24 14:50:44 INFO: Setting playlist charset to no
2009-05-24 14:50:44 INFO: Configuration check succeeded.
2009-05-24 14:50:44 INFO: Initialized port: 49152
2009-05-24 14:50:44 INFO: Server bound to: 192.168.0.100
2009-05-24 14:50:45 INFO: MediaTomb Web UI can be reached by following this link:
2009-05-24 14:50:45 INFO: http://192.168.0.100:49152/
- http://192.168.0.100:49152/ にアクセスしたら画面でました。
- REGZA からアクセスしてみる。。。 Samba のときとあんまり変わらない気がす・・・
まだまだ、先は長そうです。