
| Find the DVD containing those files with VVV |
| 摘自: linux.com 被阅读次数: 132 |
由 yangyi 于 2008-12-29 21:41:50 提供 |
The Virtual Volumes View (VVV) project lets you index your data DVDs and perform searches to figure out whether a given file is backed up and what disc contains it. If you routinely back up a large amount of data onto DVDs, you can simply number your discs and keep them in numerically sorted order. When it comes time to find an image or digital video you burned to DVD, just use VVV to figure out the disc number and quickly locate the right disc in the pile. There are no VVV packages in the Ubuntu, openSUSE, or Fedora repositories. For this article I'll build the application from source on a 64-bit Fedora 9 machine. The build instructions cover the dependencies for VVV and how to build it with KDevelop. The dependencies are wxWidgets and wxGTK for the GUI, the Firebird relational database to store your DVD index, and id3lib to extract and index ID3 information. The source distribution contains a copy of id3lib 3.8.3 that includes a bug fix for VVV, so I'll link against that id3lib in the build. The build instructions also mention options to build a statically linked executable that is less reliant on other libraries on the system. Building such an executable might be handy if you plan to store the application on a USB flash key that you might use on many systems. As wxGTK is dependent on wxWidgets, you can use your distribution's dependency tracker to install both at once. wxGTK is available for Ubuntu Hardy, as a 1-Click for openSUSE 11, and in the standard Fedora 9 repositories. You will need to get version 2.0.x of Firebird in its Classic build, which is designed to allow applications to directly open the relational database, so no separate database server is required. Firebird is packaged for Ubuntu Hardy and as a 1-Click install for openSUSE 11, but not in the Fedora 9 repositories. I'll use the 64-bit build of Firebird version 2.0.4. Version 2.0.4 of Firebird uses the standard C++ shared library, and you must have the correct version installed. Fedora 9 has moved to version /usr/lib64/libstdc++.so.6, but Firebird needs libstdc++.so.5. On Fedora 9 the older version of the standard C++ library is contained in the compat-libstdc++ package. Installation (as well as the error message you see if you do not have the correct stdc++ library version) is shown below:
The simplest way to use VVV with Firebird is to set up Firebird to be used in embedded mode. This means that Firebird does not run as a separate database server -- instead, VVV accesses the database using the shared libraries of Firebird. This way you don't have to deal with relational database users and permissions or have the server running somewhere. Unfortunately the configuration files to run Firebird in this way are not part of the source distribution. The simplest way to get going is to download VVV's binary distribution and copy the database configuration files from it together with the shared libraries of Firebird from your local installation, as shown below: ...... Please access the below link to view the full content. Original link: http://www.linux.com/feature/144... |