Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: 8.10 Help installing an application

  1. #1
    Join Date
    Mar 2009
    Location
    USA
    Beans
    307
    Distro
    Xubuntu 12.04 Precise Pangolin

    8.10 Help installing an application

    Trying to install an application using 2 different sources of instruction.

    First instruction(s) from package README:

    Listen depends on the Python runtime and associated libraries.
    Python (>= 2.4) : http://www.python.org
    PyGTK (>= 2.8) + header : http://www.pygtk.org
    PyGSt (>= 0.10) : http://gstreamer.freedesktop.org/
    pyinotify : http://pyinotify.sourceforge.net/
    python-webkitgtk : http://code.google.com/p/pywebkitgtk/
    or python-gtkmozembed : http://www.pygtk.org
    python-xlib : http://python-xlib.sourceforge.net
    or python-eggtrayicon : http://www.pygtk.org

    Optional depends:
    python-musicbrainz2 : http://www.musicbrainz.org
    libtunepimp : http://www.musicbrainz.org
    python-daap : http://jerakeen.org/code/PythonDaap/
    pygpod and libgpod0 >= 0.3.2 : http://gtkpod.org/ (ipod support)
    python-sexy : http://www.chipx86.com/wiki/Libsexy
    gnome-python : http://www.pygtk.org

    To compile use:
    make clean
    make

    To install
    make install
    or
    PREFIX=/usr/local make install

    For generate translation source file
    make po-gen

    Build translation
    make po-data


    Second instruction(s):
    CheckInstall keeps track of all files installed by a "make install" or
    equivalent, creates a Slackware, RPM, or Debian package with those
    files, and adds it to the installed packages database, allowing for
    easy package removal or distribution.
    Use CheckInstall instead of just running "sudo make install"
    -------
    Instead of
    sudo make installyou will use
    sudo checkinstall
    --------------

    So, starting with first instructions:

    owner@ubuntu:~/Desktop/SRC/listen-0.6rc2$ sudo make clean
    [sudo] password for owner:
    rm -rf data/*.h
    rm -rf misc/*.h
    rm -rf po/*.mo
    rm -rf build
    rm -f tags
    rm -f misc/listen.1 listen.1.gz listen.desktop
    rm -rf dists/
    rm -f listen org.gnome.Listen.service
    find . -type f -name '*.pyc' -print | xargs rm -rf
    find . -type f -name '*.pyo' -print | xargs rm -rf
    rm -f src/*.so
    make -C mmkeys clean
    make[1]: Entering directory `/home/owner/Desktop/SRC/listen-0.6rc2/mmkeys'
    rm -f mmkeys.so *.o mmkeyspy.c
    rm -rf build dist
    make[1]: Leaving directory `/home/owner/Desktop/SRC/listen-0.6rc2/mmkeys'

    owner@ubuntu:~/Desktop/SRC/listen-0.6rc2$ sudo make
    Checking for Python... /usr/bin/python
    Checking Python version: 2.5
    Checking for PyGTK >= 2.6: found
    Checking for pyGTK-devel >= 2.6:
    not found
    Listen requires pyGTK-devel
    make: *** [check] Error 1
    owner@ubuntu:~/Desktop/SRC/listen-0.6rc2$
    --------------
    Looks like some kind of problem with 'make'. Do not want to proceed without clarification.

    Of course if everything is OK, will proceed .. substituting Second Instructions in First Instructions as appropriate.

    Comments are appreciated.

  2. #2
    Join Date
    Apr 2006
    Location
    Dallas, TX
    Beans
    1,359
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: 8.10 Help installing an application

    Sorry this doesn't help with your specific problem or seems obvious, but there's a package in universe called listen, is this the same thing that you are wanting to install? If so, it would be a lot easier to just do
    Code:
    sudo apt-get install listen
    rather than compiling from source.

  3. #3
    Join Date
    Mar 2009
    Location
    USA
    Beans
    307
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: 8.10 Help installing an application

    Thank you for your suggestion. I am very new at this, but from what I understand your suggestion would result in ver 0.5 which was already installed. I am trying to install 0.6rc2 which is not provided in Package Manager or otherwise. Have to 'roll my own'.

    Checkinstall is supposed to hook 0.6rc2 to the GUI as far as putting the product on Menus etc. I have uninstalled 0.5. Like I say, I'm new at this, but that is what I think I am doing, anyway.

  4. #4
    Join Date
    Mar 2009
    Location
    USA
    Beans
    307
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: 8.10 Help installing an application

    I have a little more information. Found some MORE instructions at:

    https://help.ubuntu.com/community/CompilingEasyHowTo

    ------------
    Step 1: Prep your system for building packages

    By default, Ubuntu does not come with the tools required. You need to install the package build-essential for making the package and checkinstall for putting it into your package manager. These can be found on the install CD or in the repositories, searching in Synaptic Package Manager or the command-line apt-get:

    sudo apt-get install build-essential checkinstall

    And since you may want to get code from some projects with no released version, you should install appropriate version management software.

    sudo apt-get install cvs subversion git-core hg
    ------------------------

    Got checkinstall, .. no problem BUT:

    sudo apt-get install cvs subversion git-core hg
    [sudo] password for owner:
    E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
    E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

    Anyone help, .. Please?

  5. #5
    Join Date
    May 2008
    Beans
    Hidden!

    Re: 8.10 Help installing an application

    Quote Originally Posted by jfbooth View Post
    sudo apt-get install cvs subversion git-core hg
    [sudo] password for owner:
    E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
    E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

    Anyone help, .. Please?
    You get that if you run any two package management programs at once. But if you know you aren't running any others, remove the lock file manually:

    Code:
    sudo rm /var/lib/dpkg/lock

  6. #6
    Join Date
    Mar 2009
    Location
    USA
    Beans
    307
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: 8.10 Help installing an application

    thank you very much for the tip. To my knowledge, there are no other mamnagers running. I will try to verify and try your suggestion. Thank you again.

  7. #7
    Join Date
    Mar 2009
    Location
    USA
    Beans
    307
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: 8.10 Help installing an application

    yep, had synaptics manager open. I closed it and now I get:
    sudo apt-get install cvs subversion git-core hg
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Couldn't find package hg

  8. #8
    Join Date
    Apr 2006
    Beans
    27
    Distro
    Ubuntu Karmic Koala (testing)

    Re: 8.10 Help installing an application

    You can try: sudo apt-get install mercurial, which will give you hg command (mercurial or hg is a distributed version control system).

  9. #9
    Join Date
    Mar 2009
    Location
    USA
    Beans
    307
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: 8.10 Help installing an application

    Thank you. I don't think it worked. Looks like about 5MB of something installed .. not sure this is all worth it just to update a lousy music manager, .. but it is a learning experience. Here are the results:

    sudo apt-get install mercurial
    [sudo] password for owner:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following extra packages will be installed:
    mercurial-common python-beaker python-sqlalchemy rcs
    Suggested packages:
    qct tk8.4 wish vim emacs python-mysqldb python-pygments python-elementtree
    python-subversion python-kinterbasdb python-psycopg2 python-sqlalchemy-doc
    The following NEW packages will be installed:
    mercurial mercurial-common python-beaker python-sqlalchemy rcs
    0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
    Need to get 1265kB of archives.
    After this operation, 5612kB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    Get:1 http://us.archive.ubuntu.com intrepid/universe mercurial-common 1.0.1-5.1 [476kB]
    Get:2 http://us.archive.ubuntu.com intrepid/universe mercurial 1.0.1-5.1 [73.7kB]
    Get:3 http://us.archive.ubuntu.com intrepid/universe python-beaker 0.9.5-1 [28.4kB]
    Get:4 http://us.archive.ubuntu.com intrepid/universe python-sqlalchemy 0.4.6-1 [345kB]
    Get:5 http://us.archive.ubuntu.com intrepid/universe rcs 5.7-23 [342kB]
    Fetched 1265kB in 3s (333kB/s)
    Selecting previously deselected package mercurial-common.
    (Reading database ... 108454 files and directories currently installed.)
    Unpacking mercurial-common (from .../mercurial-common_1.0.1-5.1_all.deb) ...
    Selecting previously deselected package mercurial.
    Unpacking mercurial (from .../mercurial_1.0.1-5.1_i386.deb) ...
    Selecting previously deselected package python-beaker.
    Unpacking python-beaker (from .../python-beaker_0.9.5-1_all.deb) ...
    Selecting previously deselected package python-sqlalchemy.
    Unpacking python-sqlalchemy (from .../python-sqlalchemy_0.4.6-1_all.deb) ...
    Selecting previously deselected package rcs.
    Unpacking rcs (from .../archives/rcs_5.7-23_i386.deb) ...
    Processing triggers for man-db ...
    Setting up mercurial-common (1.0.1-5.1) ...

    Setting up mercurial (1.0.1-5.1) ...
    Disabling hgk extension (no 'wish' script found [can be found in 'tk8.4' package])
    Disabling highlight extension (package 'python-pygments' is not installed)
    Enabling inotify extension

    Creating config file /etc/mercurial/hgrc.d/hgext.rc with new version

    Setting up python-beaker (0.9.5-1) ...

    Setting up python-sqlalchemy (0.4.6-1) ...

    Setting up rcs (5.7-23) ...
    Processing triggers for python-support ...
    owner@ubuntu:~$ sudo apt-get install cvs subversion git-core hg
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Couldn't find package hg

  10. #10
    Join Date
    Mar 2009
    Location
    USA
    Beans
    307
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: 8.10 Help installing an application

    Actually, now I'm completely lost. Trying to combine 2-3 sets of instructions at 2-3 different websites and installing huge stuff on a limited space HD and so on compels me to remove Xubuntu and reinstall new. Had no idea upgrading an app could be so involved and confusing. I guess this is why Linux is free. Thanks everyone for your help.

    owner@ubuntu:~$ sudo apt-get install cvs subversion git-core mercurial
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    mercurial is already the newest version.
    The following extra packages will be installed:
    libapr1 libaprutil1 libdigest-sha1-perl liberror-perl libneon27-gnutls
    libsvn1
    Suggested packages:
    git-doc git-arch git-cvs git-svn git-email git-daemon-run git-gui gitk
    gitweb subversion-tools db4.6-util
    The following NEW packages will be installed:
    cvs git-core libapr1 libaprutil1 libdigest-sha1-perl liberror-perl
    libneon27-gnutls libsvn1 subversion
    0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
    Need to get 6264kB of archives.
    After this operation, 17.3MB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    Get:1 http://us.archive.ubuntu.com intrepid/main cvs 1:1.12.13-11 [1680kB]
    Get:2 http://us.archive.ubuntu.com intrepid/main liberror-perl 0.17-1 [23.8kB]
    Get:3 http://us.archive.ubuntu.com intrepid/main libdigest-sha1-perl 2.11-2build2 [25.4kB]
    Get:4 http://us.archive.ubuntu.com intrepid-updates/main git-core 1:1.5.6.3-1.1ubuntu2.1 [3162kB]
    Get:5 http://us.archive.ubuntu.com intrepid/main libapr1 1.2.12-4 [109kB]
    Get:6 http://us.archive.ubuntu.com intrepid/main libaprutil1 1.2.12+dfsg-7 [75.7kB]
    Get:7 http://us.archive.ubuntu.com intrepid/main libneon27-gnutls 0.28.2-2build1 [114kB]
    Get:8 http://us.archive.ubuntu.com intrepid/main libsvn1 1.5.1dfsg1-1ubuntu2 [734kB]
    Get:9 http://us.archive.ubuntu.com intrepid/main subversion 1.5.1dfsg1-1ubuntu2 [340kB]
    Fetched 6264kB in 20s (304kB/s)
    Preconfiguring packages ...
    Selecting previously deselected package cvs.
    (Reading database ... 108875 files and directories currently installed.)
    Unpacking cvs (from .../cvs_1%3a1.12.13-11_i386.deb) ...
    Selecting previously deselected package liberror-perl.
    Unpacking liberror-perl (from .../liberror-perl_0.17-1_all.deb) ...
    Selecting previously deselected package libdigest-sha1-perl.
    Unpacking libdigest-sha1-perl (from .../libdigest-sha1-perl_2.11-2build2_i386.deb) ...
    Selecting previously deselected package git-core.
    Unpacking git-core (from .../git-core_1%3a1.5.6.3-1.1ubuntu2.1_i386.deb) ...
    Selecting previously deselected package libapr1.
    Unpacking libapr1 (from .../libapr1_1.2.12-4_i386.deb) ...
    Selecting previously deselected package libaprutil1.
    Unpacking libaprutil1 (from .../libaprutil1_1.2.12+dfsg-7_i386.deb) ...
    Selecting previously deselected package libneon27-gnutls.
    Unpacking libneon27-gnutls (from .../libneon27-gnutls_0.28.2-2build1_i386.deb) ...
    Selecting previously deselected package libsvn1.
    Unpacking libsvn1 (from .../libsvn1_1.5.1dfsg1-1ubuntu2_i386.deb) ...
    Selecting previously deselected package subversion.
    Unpacking subversion (from .../subversion_1.5.1dfsg1-1ubuntu2_i386.deb) ...
    Processing triggers for man-db ...
    Processing triggers for doc-base ...
    Processing 2 added doc-base file(s)...
    Registering documents with scrollkeeper...
    Setting up cvs (1:1.12.13-11) ...

    Setting up liberror-perl (0.17-1) ...
    Setting up libdigest-sha1-perl (2.11-2build2) ...
    Setting up git-core (1:1.5.6.3-1.1ubuntu2.1) ...
    Setting up libapr1 (1.2.12-4) ...

    Setting up libaprutil1 (1.2.12+dfsg-7) ...

    Setting up libneon27-gnutls (0.28.2-2build1) ...

    Setting up libsvn1 (1.5.1dfsg1-1ubuntu2) ...

    Setting up subversion (1.5.1dfsg1-1ubuntu2) ...
    Processing triggers for libc6 ...
    ldconfig deferred processing now taking place
    owner@ubuntu:~$
    Last edited by jfbooth; March 30th, 2009 at 07:20 AM.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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