玄箱メモ つづき

昨日のつづき

  • 必要そうなモジュールを片っ端から入れてみる

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 message

For 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 2

2009-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 2

2009-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/

  • REGZA からアクセスしてみる。。。 Samba のときとあんまり変わらない気がす・・・

まだまだ、先は長そうです。

玄箱メモ

玄箱 メディアサーバ化(メモ)

注意:
 個人で試したメモ書きです。他人が読んでも参考にならないと思いますし、上手く行かないこともあるとおもいます。

目的

Regza から映像を見られるようにしたい -> (Mediatomb)
iTune のライブラリをまとめたい -> (??)

  • Mediatomb を入れるときは、Debian化している方がよいらしいので、

まずは 玄箱Debian

  • 下記のHPを参考にしてやってみた。

http://www.revulo.com/kuro-box/Debian/Install.html title=参考にしたサイト

掲示板:409を元にした。但しディスクは自分でマウント
/dev/hda1 /mnt
/dev/hda3 /mnt2

  • samba のインストール

いくつか違う点もあったがなんとか完了。
http://www123.ddo.jp/pukiwiki/pukiwiki.php?%B8%BC%C8%A2%2Fdebian%B2%BD%2Fsamba%C0%DF%C4%EA title=参考サイト

  • 静音化(HDDの停止)

http://www123.ddo.jp/pukiwiki/pukiwiki.php?%B8%BC%C8%A2%2Fdebian%B2%BD%2F%A5%A2%A5%A4%A5%C9%A5%EB%BB%FE%A4%CEHDD%B2%F3%C5%BE%C4%E4%BB%DF title=参考にしたサイト

/etc/init.d/hdparm の中身を変更 241 -> 120

  • ログ等でディスクへの書き込みが行なわれると、復帰するので一朝一夕にはできないらしい。
  • 次は Mediatomb
    • ソースから入れる

http://downloads.sourceforge.net/mediatomb/mediatomb-0.11.0.tar.gz
/usr/local/src に展開
./configure でこける

checking for C++ compiler default output file name...
configure: error: C++ compiler cannot create executables
See `config.log' for more details.

  • いろいろ巡って見つけた解決法

KURO-BOX:/usr/local/src/mediatomb-0.11.0# apt-get install build-essential

  • しかしまたエラー(;;)

||
checking for mysql_config... no
checking for mysql_config... no
mysql_config script not found
configure: error: Support of at least one of mysql or sqlite3 must be configured

今日はあきらめる

KURO-BOX

随分前に購入してそのまま使わずに眠っていた、玄箱
今日は Debian 化してみた。 狙いは、iTunes + DNLA サーバ。

でも、Webminインストールからでつまづき、MediaTomb もだめ、mt-daapd もだめ、あきらめました。。。

http://tabi.homeip.net/kuro/
PS3 wiki(PlayStation3 まとめwiki)

aptitude や apt-get コマンドでラクしようとしていたのですが、どうも玄箱で使えるバイナリがサーバに無いらしく上手く行かないみたいです。

外付け HDD

今日アキバをうろついて、BUFFALO 1TB USB接続のHDDを買いました。
外付けに、Bootcamp で 7 をインストールしてやろうと思っていたのに、Bootcamp は外付け未対応でした。(/□≦、)!!
OSXを外付けに入れて、内蔵を7にするってのもありかな???

macでbootcampをインストールし、外付けのHDD(USB or IEEE)にWindowsX... - Yahoo!知恵袋

Windows7 RC

yanoyasu2009-05-07

今 ダウンロード しています。

VirtualBox (for MacOSX) では 64bit版は無理そうなので、32bit版をダウンロード。

ところが、100%までいったのに、isoファイルが出来上がってない状況。

再度ダウンロードページから、ダウンロードしてみても既に100%の状況から変わらないため、一度ブラウザを終了してから、再ダウンロード中。

なんどもリトライしているうちに、プロダクトキーが何回も発行されたんですが、どれ使ってもいいのかな?

追記::

案外簡単に動きました。 しかしネットワークの接続が上手く行っていない模様。

さらに追記::

ちゃんと設定をしたらネットワーク接続もできました(^^)

参考にさせていただいたサイト
図解:Windows7 beta を VirtualBox for Mac OS X にインストールする手順(ベータに付き全部無料) | Creazy!

はてなの方::復活!? ー試行錯誤中ー

3年ぶり!?
mixiメインで日記してますが、技術系のことをこっちに書こうかな。

今の悩みごと(深く悩んでるわけではないのでw)
レグザ(Z7000)の録画環境
 USB-HDDは同時に2台以上つなげられない。
 メディアへの書き出しはどうする。

  • 気になるキーワード

コンテンツ管理

  • どうでもいい気になること

パソコンの待ち受け画面って一般的なの?