Mar 232006
 

Solaris上でのMP3のタグ編集用にEasyTagを入れてみました。EasyTAGのバージョンはstableの1.1です。結論を先に言いますと、まともに動いてませんので悪しからず。

まずgtkとid3libをCSWパッケージで入れます。oggやflacのサポートはとりあえず不要なので省略。
コンパイラもCSW版gccのほうが都合がよいので入れます(/usr/sfw版だと/opt/cswを探させるのが面倒)。

# pkg-get -i gtk
# pkg-get -i id3lib
# pkg-get -i gcc3

ソースアーカイブをダウンロード、展開してconfigure実行。

# /usr/sfw/bin/gtar xjvf easytag-1.1.tar.bz2; cd easytag-1.1
# CC=/opt/csw/gcc3/bin/gcc ./configure --prefix=/opt/easytag
:
Configuration for easytag 1.1 :
--------------------------------

 Source code location ....: .
 Host System Type ........: sparc-sun-solaris2.10
 Preprocessor ............: /opt/csw/gcc3/bin/gcc
 Compiler ................: /opt/csw/gcc3/bin/gcc -g -O2 -Wall
 Linker ..................: /opt/csw/gcc3/bin/gcc  -lz -lstdc++ -lid3 -lm -lvorbisfile -lvorbis -logg -lm  -liconv
 GTK+ version ............: 1.2.10
 Id3lib version ..........: 3.8.3
 NLS/gettext .............: yes
 Ogg Vorbis file support .: yes
 FLAC file support .......: no
 Install path ............: /opt/easytag

 Now type 'make' to build easytag 1.1,
 and then 'make install' for installation.

#

あとはmake、make installしておしまい…のはずでしたがエラー。

:
ld: warning: file /opt/csw/lib/libgmodule.so: attempted multiple inclusion of file
ld: warning: file /opt/csw/lib/libglib.so: attempted multiple inclusion of file
Undefined                       first referenced
 symbol                             in file
libintl_gettext                     about.o
libintl_textdomain                  easytag.o
libintl_bindtextdomain              easytag.o
ld: fatal: Symbol referencing errors. No output written to easytag
collect2: ld returned 1 exit status
:

ま、こんなのでへこたれたらSolarisユーザやってられません。
とりあえず国際化しなければうまくいくかな、と思い--disable-nls指定でconfigureから再実行。
無事ビルドできて、CygwinのXサーバを利用しての起動もOK。ところが…

$ /opt/easytag/bin/easytag
Starting EasyTAG 1.1 (PId: 9668) ...
Currently using id3lib version 3.8.3 ...
Loading default 'Fill Tag' masks...
Loading default 'Rename File' masks...
EasyTAG: Abnormal exit!.
Received signal SIGSEGV (11)
You have probably found a bug in EasyTAG. Please, send a bug report with a gdb backtrace ('gdb easytag core' then 'bt') to j.couderc@ifrance.com
Segmentation Fault (core dumped)

ありゃりゃ。今度はどこが悪いんでしょーか 😕
結局id3libパッケージに含まれているキャラクタベースのid3tagコマンドで編集しちゃいました。

Sorry, the comment form is closed at this time.