Xubuntu 10.04 > Subtitleeditor telepítése [HIBA]

Ha a szinaptikus csomagkezelőből válogatunk subtitleeditort, egy bugosat kapunk.
Nézzük csak a verziót! 0.30-as. A legújabb meg 0.37-es. Biztos javították a hibát. Essünk neki!

$ wget http://download.gna.org/subtitleeditor/0.35/subtitleeditor-0.35.1.tar.gz
$ tar xzvf subtitleeditor-0.35.1.tar.gz
$ cd subtitleeditor-0.37.1
$ ./configure

Na, itt jön be a függőség POKOL!.
Aszongya hiányzik neki a: gtkmm, a glibmm, az enchant, libxml, gstreamer 0.10, gstreamer0.10-plugins-good! Természetesen ezekből a -dev-re végződőek kellenek neki.
És itt vége a tudománynak...
[code]
checking for GStreamer-0.10 element level (gstreamer0.10-plugins-good)... ./configure: line 17480: /usr/bin/gst-inspect-0.10: No such file or directory
no
configure: error:
GStreamer-0.10 plugin 'level' not found. This plugins is
absolutely required. Please install it.

The name of the package you need to install varies among
distros/systems. Debian and Ubuntu users will need to
install the gstreamer0.10-plugins-good package.

[/code]
Csomagkezelőből nem tudom felrakni neki...

Hátha...
$ sudo apt-get install gst-inspect
The program 'gst-inspect' is currently not installed. You can install it by typing:
sudo apt-get install gstreamer-tools
$ sudo apt-get install gstreamer-tools

Na, mikor jön már a Minotaurusz?

És igen! Jöhet a make.


configure:

subtitleeditor 0.37.1

prefix ............................... : /usr/local
gcc version .......................... : 4.4.3
gtk+ version ......................... : 2.20.1
gtkmm version ........................ : 2.20.3
gstreamer version .................... : 0.10.28
gstreamermm version .................. : 0.10.6

default video output ................. : xvimagesink
default audio output ................. : autoaudiosink

have iso-codes 639, 3166 and 15924 ... : yes, yes, yes
OpenGL waveform renderer ............. : no
OSX support .......................... : no
debug support ........................ : yes
ccache support ....................... : no


Configuration complete. now run make

$ make
$ sudo make install

subtitleeditor: error while loading shared libraries: libsubtitleeditor.so.0: cannot open shared object file: No such file or directory

F*CK

Visszamentem a szinpatikus csomagkezelőbe és felraktam onnan a libsubtitleeditor0-t. Hadd örüljön...
Ezzel legalább fut.

Ha valakit pont ez izgatna, itt van a ./configure --help-je:


`configure' configures subtitleeditor 0.37.1 to adapt to many kinds of systems.

Usage: ./configure [OPTION]... [VAR=VALUE]...

To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE.  See below for descriptions of some of the useful variables.

Defaults for the options are specified in brackets.

Configuration:
  -h, --help              display this help and exit
      --help=short        display options specific to this package
      --help=recursive    display the short help of all the included packages
  -V, --version           display version information and exit
  -q, --quiet, --silent   do not print `checking...' messages
      --cache-file=FILE   cache test results in FILE [disabled]
  -C, --config-cache      alias for `--cache-file=config.cache'
  -n, --no-create         do not create output files
      --srcdir=DIR        find the sources in DIR [configure dir or `..']

Installation directories:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [/usr/local]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [PREFIX]

By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc.  You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.

For better control, use the options below.

Fine tuning of the installation directories:
  --bindir=DIR            user executables [EPREFIX/bin]
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
  --libexecdir=DIR        program executables [EPREFIX/libexec]
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  --libdir=DIR            object code libraries [EPREFIX/lib]
  --includedir=DIR        C header files [PREFIX/include]
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  --infodir=DIR           info documentation [DATAROOTDIR/info]
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  --mandir=DIR            man documentation [DATAROOTDIR/man]
  --docdir=DIR            documentation root [DATAROOTDIR/doc/subtitleeditor]
  --htmldir=DIR           html documentation [DOCDIR]
  --dvidir=DIR            dvi documentation [DOCDIR]
  --pdfdir=DIR            pdf documentation [DOCDIR]
  --psdir=DIR             ps documentation [DOCDIR]

Program names:
  --program-prefix=PREFIX            prepend PREFIX to installed program names
  --program-suffix=SUFFIX            append SUFFIX to installed program names
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names

X features:
  --x-includes=DIR    X include files are in DIR
  --x-libraries=DIR   X library files are in DIR

System types:
  --build=BUILD     configure for building on BUILD [guessed]
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]

Optional Features:
  --disable-option-checking  ignore unrecognized --enable/--with options
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --disable-dependency-tracking  speeds up one-time build
  --enable-dependency-tracking   do not reject slow dependency extractors
  --enable-static[=PKGS]  build static libraries [default=no]
  --enable-shared[=PKGS]  build shared libraries [default=yes]
  --enable-fast-install[=PKGS]
                          optimize for fast installation [default=yes]
  --disable-libtool-lock  avoid locking (might break parallel builds)

  --disable-nls           do not use Native Language Support
  --enable-gl             OpenGL waveform renderer [default=no]
  --enable-osx            enable OSX support [default=no]
  --enable-debug          turn on debugging [default=yes]
  --enable-profile        turn on profiling [default=no]
  --enable-ccache         enable ccache support for fast recompilation

Optional Packages:
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --with-pic              try to use only PIC/non-PIC objects [default=use
                          both]
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  --with-x                use the X Window System
  --with-default-video-sink=[autovideosink/xvimagesink/ximagesink/sdlvideosink/gconfvideosink/glimagesink/osxvideosink]
                          change default video output preference
  --with-default-audio-sink=[autoaudiosink/pulsesink/alsasink/esdsink/osssink/sdlaudiosink/gconfaudiosink/osxaudiosink]
                          change default audio output preference
  --with-ccache-prefix=PREFIX
                          prefix where ccache is installed

Some influential environment variables:
  CC          C compiler command
  CFLAGS      C compiler flags
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
              nonstandard directory <lib dir>
  LIBS        libraries to pass to the linker, e.g. -l<library>
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
              you have headers in a nonstandard directory <include dir>
  CPP         C preprocessor
  CXX         C++ compiler command
  CXXFLAGS    C++ compiler flags
  CXXCPP      C++ preprocessor
  PKG_CONFIG  path to pkg-config utility
  GTKMM_CFLAGS
              C compiler flags for GTKMM, overriding pkg-config
  GTKMM_LIBS  linker flags for GTKMM, overriding pkg-config
  ENCHANT_CFLAGS
              C compiler flags for ENCHANT, overriding pkg-config
  ENCHANT_LIBS
              linker flags for ENCHANT, overriding pkg-config
  LIBXML_CFLAGS
              C compiler flags for LIBXML, overriding pkg-config
  LIBXML_LIBS linker flags for LIBXML, overriding pkg-config
  GSTREAMER_CFLAGS
              C compiler flags for GSTREAMER, overriding pkg-config
  GSTREAMER_LIBS
              linker flags for GSTREAMER, overriding pkg-config
  GSTREAMERMM_CFLAGS
              C compiler flags for GSTREAMERMM, overriding pkg-config
  GSTREAMERMM_LIBS
              linker flags for GSTREAMERMM, overriding pkg-config
  XMKMF       Path to xmkmf, Makefile generator for X Window System
  GTKGLEXT_CFLAGS
              C compiler flags for GTKGLEXT, overriding pkg-config
  GTKGLEXT_LIBS
              linker flags for GTKGLEXT, overriding pkg-config

Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.

Report bugs to the package provider.

Hozzászólások

Én is subtitleeditorral fordítok lucid alatt, eddig semmi bajom nem volt vele.
Előtte gaupol-lal próbáltam, azon viszont szar volt a karakterszámláló
-------------------------------------------
Suddenly the Dungeon collapses!! - You die...

subtitleeditor: error while loading shared libraries: libsubtitleeditor.so.0: cannot open shared object file: No such file or directory

F*CK

Visszamentem a szinpatikus csomagkezelőbe és felraktam onnan a libsubtitleeditor0-t. Hadd örüljön...
Ezzel legalább fut.

Yuyy... azt ugye tudod, hogy az utolso lepessel telepitetted a kis privat taposoaknat a gepedre?
Ha ilyen lib fuggese van neki, ketto dolgot kell megnezni:

- a make install felrakta-e ezt a libet?
- Ha igen, akkor a LD_LIBRARY_PATH okszeru beallitasa
- Ha nem, okszeruen megkeresni azt a compilation flaget, ami engedelyezi

Olyant SOHA nem csinalunk, hogy egy adott progibol felrakunk X.Y+N-es binarist, es X.Y-os libet. Meg veletlenul se, mert instant taposoakna, csak egyszer kell ralepni, garantaltan mukodik. A mukodesenek metodusa pedig undefined, a macskak megevesetol kezdve az adatok leformazasaig barmire kepes lehet.

PS: a francba, megint Markdown-ba formaztam meg a kommentet... :-)
--


Ki oda vagyik, hol szall a galamb, elszalasztja a kincset itt alant.

hat nekem eleg volt egy apt-get build-dep subtitleeditor, meg egy apt-get install libgstreamermm-0.10-dev, es siman fordul, sot!


tar xfz subtitleeditor-0.35.1.tar.gz
zcat subtitleeditor_0.30.0-1ubuntu1.diff.gz |patch -C subtitleeditor-0.35.1 -p1
cd subtitleeditor-0.35.1
dch -v 0.35.1-1 "New upstream"
#nincs szukseg a patchekre, belekerult az upstreambe
rm debian/patches/*
dpkg-buildpackage -us -uc -b

Es ez megcsinalja a csomagokat, amit aztan dpkg-vel fel lehet rakni.

--
A vegtelen ciklus is vegeter egyszer, csak kelloen eros hardver kell hozza!