compile issue with gmediafinder-0.9.7 - Fedora Support Forums and Community
Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2008

    compile issue with gmediafinder-0.9.7


    I was trying to build gmediafinder-0.9.7 vom source

    git clone git:// && tar cjf gmediafinder-0.9.7.tar.bz2 gmediafinder/

    Name:           gmediafinder
    Version:        0.9.7
    Release:        1%{?dist}
    Summary:        stream an/or download files
    License:        GPLv2
    Group:          Applications/Internet
    BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
    BuildArch:      noarch
    Requires:       python-BeautifulSoup python-html5lib gstreamer-python gstreamer-plugins-base python-gdata
    Requires:       python-distutils-extra pygtk2 python-mechanize python-virtkey
    #no alias for aviutils
    Requires:       ffmpeg-libs
    Requires:       libvisual-plugins python-configobj pygtk2-libglade
    BuildRequires:  hicolor-icon-theme python-mechanize python-setuptools python-distutils-extra
    Gmediafinder is a software to search stream an/or download files form youtube without flash,
    google and some mp3 searchengines (you know the rules...)
    its support fullscreen mode, visualisation and use the gstreamer engine
    for youtube you can select you prefered resolution and give priority to
    mp4 format for video seeking! (and lower cpu usage than flv...).
    #Obtaining source
    #git clone git:// && tar cjf gmediafinder-%{version}.tar.bz2 gmediafinder/ && rm -rf gmediafinder
    %setup -q -n %{name}
    python build
    rm -rf $RPM_BUILD_ROOT
    python install --root=$RPM_BUILD_ROOT
    cp -R data/img/throbber.png $RPM_BUILD_ROOT%{_datadir}/%{name}/
    %{__chmod} 755 ${RPM_BUILD_ROOT}%{_bindir}/%{name}
    update-desktop-database -q %{_datadir}/applications
    if [ -x /usr/bin/gtk-update-icon-cache ]; then
            /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
    update-desktop-database -q %{_datadir}/applications
    if [ -x /usr/bin/gtk-update-icon-cache ]; then
            /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
    rm -rf $RPM_BUILD_ROOT
    %doc CHANGELOG gpl-2.0.txt README VERSION
    but this fails with the error message:

    Copying gmediafinder.egg-info to /usr/src/redhat/BUILDROOT/gmediafinder-0.9.7-1.fc15.i386/usr/lib/python2.7/site-packages/gmediafinder-0.9.7-py2.7.egg-info
    *** Icon cache not updated. After install, run this:
    ***     gtk-update-icon-cache -f -t /usr/share/icons/hicolor
    + cp -R data/img/throbber.png /usr/src/redhat/BUILDROOT/gmediafinder-0.9.7-1.fc15.i386/usr/share/gmediafinder/
    + /bin/chmod 755 /usr/src/redhat/BUILDROOT/gmediafinder-0.9.7-1.fc15.i386/usr/bin/gmediafinder
    + /usr/lib/rpm/check-buildroot
    + /usr/lib/rpm/redhat/brp-compress
    + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip
    + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
    + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
    + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
    Bytecompiling .py files below /usr/src/redhat/BUILDROOT/gmediafinder-0.9.7-1.fc15.i386/usr/lib/python2.7/ using /usr/bin/python2.7
    + /usr/lib/rpm/redhat/brp-python-hardlink
    + /usr/lib/rpm/redhat/brp-java-repack-jars
    Processing files: gmediafinder-0.9.7-1.fc15.noarch
    error: File must begin with "/": %{py_sitedir}/*/*
    Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Q7xwGs
    + umask 022
    + cd /usr/src/redhat/BUILD
    + cd gmediafinder
    + DOCDIR=/usr/src/redhat/BUILDROOT/gmediafinder-0.9.7-1.fc15.i386/usr/share/doc/gmediafinder-0.9.7
    + export DOCDIR
    + rm -rf /usr/src/redhat/BUILDROOT/gmediafinder-0.9.7-1.fc15.i386/usr/share/doc/gmediafinder-0.9.7
    + /bin/mkdir -p /usr/src/redhat/BUILDROOT/gmediafinder-0.9.7-1.fc15.i386/usr/share/doc/gmediafinder-0.9.7
    + cp -pr CHANGELOG gpl-2.0.txt README VERSION /usr/src/redhat/BUILDROOT/gmediafinder-0.9.7-1.fc15.i386/usr/share/doc/gmediafinder-0.9.7
    + exit 0
    RPM build errors:
        File must begin with "/": %{py_sitedir}/*/*
    any hints ?

  2. #2
    leigh123linux Guest

    Re: compile issue with gmediafinder-0.9.7

    Change this




  3. #3
    Join Date
    Mar 2008

    Re: compile issue with gmediafinder-0.9.7

    Thanks leigh123linux that works.

    But when i start gmediafinder as normal user i get this error message:

    [martin@fc15 ~]$ gmediafinder 
    ** Message: pygobject_register_sinkfunc is deprecated (GstObject)
    Traceback (most recent call last):
      File "/usr/bin/gmediafinder", line 25, in <module>
        from GmediaFinder import gmediafinder
      File "/usr/lib/python2.7/site-packages/GmediaFinder/", line 34, in <module>
        from GmediaFinder.config import *
      File "/usr/lib/python2.7/site-packages/GmediaFinder/", line 75, in <module>
        f = open(history_file,'w')
    IOError: [Errno 2] No such file or directory: '/home/martin/.config/gmediafinder/history'
    a workaround is to create the missing directory gmediafinder
    mkdir /home/martin/.config/gmediafinder
    Is it possible to create this directory in the rpm spec file ?

    Problem is solved with the current git clone git://
    Last edited by TheBigRed; 10th July 2011 at 02:27 PM. Reason: solution

Similar Threads

  1. compile issue with guayadeque-0.2.9
    By TheBigRed in forum Programming & Packaging
    Replies: 2
    Last Post: 2nd March 2011, 06:26 PM
  2. compile issue with gejengel-0.1.4-svn566
    By TheBigRed in forum Programming & Packaging
    Replies: 7
    Last Post: 7th December 2010, 02:22 PM
  3. compile issue with guayadeque-0.2.7
    By TheBigRed in forum Programming & Packaging
    Replies: 2
    Last Post: 9th October 2010, 03:26 PM
  4. Qt issue during compile
    By eGrim in forum Using Fedora
    Replies: 3
    Last Post: 9th February 2007, 03:09 PM
  5. Compile program issue
    By GreyWizzard in forum Using Fedora
    Replies: 5
    Last Post: 14th April 2006, 12:37 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts