Find the answer to your Linux question:
Results 1 to 9 of 9
Hi folks, Gentoo_64 gnome-light On running # emerge -pv xnview Code: These are the packages that would be merged, in order: Calculating dependencies !!! All ebuilds that could satisfy "xnview" ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,788

    Problem on installing xnview


    Hi folks,

    Gentoo_64
    gnome-light

    On running
    # emerge -pv xnview
    Code:
    These are the packages that would be merged, in order:
    
    Calculating dependencies
    !!! All ebuilds that could satisfy "xnview" have been masked.
    !!! One of the following masked packages is required to complete your request:
    - x11-misc/xnview-1.70-r2 (masked by: missing keyword)
    - x11-misc/xnview-1.50-r1 (masked by: missing keyword)
    # echo "x11-misc/xnview ~x86" >> /etc/portage/package.keywords

    # emerge --noreplace xnview
    Code:
    Calculating dependencies
    !!! All ebuilds that could satisfy "xnview" have been masked.
    !!! One of the following masked packages is required to complete your request:
    - x11-misc/xnview-1.70-r2 (masked by: missing keyword)
    - x11-misc/xnview-1.50-r1 (masked by: missing keyword)
    # emerge --noreplace =x11-misc/xnview-1.70-r2
    Code:
    Calculating dependencies
    !!! All ebuilds that could satisfy "=x11-misc/xnview-1.70-r2" have been masked.
    !!! One of the following masked packages is required to complete your request:
    - x11-misc/xnview-1.70-r2 (masked by: missing keyword)
    Still can't proceed. Please advise.


    B.R.
    satimis

  2. #2
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,790
    it is hard masked, not masked by a keyword. to get around this

    Code:
    echo "x11-misc/xnview" >> /etc/portage/package.unmask
    Though unmasking hard masked packages can have bad effects on the system, though it may well work flawlessly.
    "I am not an alcoholic, alcoholics go to meetings"
    Registered Linux user = #372327

  3. #3
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,788
    Hi sdousley,

    Tks for your advice.

    It is hard masked, not masked by a keyword. to get around this

    Code:
    echo "x11-misc/xnview" >> /etc/portage/package.unmask
    # echo "x11-misc/xnview" >> /etc/portage/package.unmask

    localhost satimis # emerge --noreplace xnview
    Code:
    Calculating dependencies
    !!! All ebuilds that could satisfy "xnview" have been masked.
    !!! One of the following masked packages is required to complete your request:
    - x11-misc/xnview-1.70-r2 (masked by: missing keyword)
    - x11-misc/xnview-1.50-r1 (masked by: missing keyword)
    # emerge xnview
    Code:
    Calculating dependencies
    !!! All ebuilds that could satisfy "xnview" have been masked.
    !!! One of the following masked packages is required to complete your request:
    - x11-misc/xnview-1.70-r2 (masked by: missing keyword)
    - x11-misc/xnview-1.50-r1 (masked by: missing keyword)
    Still failed.

    Also tried;
    # cat /etc/portage/package.unmask
    Code:
    # x11-misc/xnview
    x11-misc/xnview ~x86
    without result.


    B.R.
    satimis

  4. #4
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,790
    I have just had a look at this on my laptop, and it seems as though the 1.70-r2 build isn't masked in any way on x86. Assuming you are on x86, try sync'ing portage first:

    Code:
    emerge --sync
    and then try emerging it again. I haven't got any unmasking for that in my /etc/portage/package.* and it will install happily enough on the laptop (if it could download the packages needed)
    "I am not an alcoholic, alcoholics go to meetings"
    Registered Linux user = #372327

  5. #5
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,788
    Hi sdousley,

    Assuming you are on x86, try sync'ing portage first:

    Code:
    emerge --sync
    and then try emerging it again
    I did it twice before without result.

    Did it again
    # emerge --sync

    It went throught w/o complaint.

    # emerge xnview
    Code:
    Calculating dependencies
    !!! All ebuilds that could satisfy "xnview" have been masked.
    !!! One of the following masked packages is required to complete your request:
    - x11-misc/xnview-1.70-r2 (masked by: missing keyword)
    - x11-misc/xnview-1.50-r1 (masked by: missing keyword)
    Still the same.

    This box has something strange. Just ran;
    # rtorrent ubuntu-6.06.1-server-amd64.iso.torrent

    server not found. Download the ISO image on Internet. md5sum can't match. I did it twice with the same result.

    Ran
    # wget htt//:.....

    connecting server failed.

    Finally I have to download the ISO image on FC5_64.

    Now I have "XnView-x86-unknown-linux2.x-static.tgz " download and haven't figured out on which directory to keep it and to decompress/install from there. Any suggestion. TIA


    B.R.
    satimis

  6. #6
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,790
    having manually downloaded it, put it in /usr/portage/distfiles that's where emerge downloads to. Though i doubt that will help, if it doesn't, can u paste the ebuild from /usr/portage/x11-misc/xnview/xnview-1.70-r2.ebuild
    "I am not an alcoholic, alcoholics go to meetings"
    Registered Linux user = #372327

  7. #7
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,788
    Hi sdousley,

    Tks for your advice.

    having manually downloaded it, put it in /usr/portage/distfiles that's where emerge downloads to.
    What I planned to do is to decompress the package manually on the directory and then install XnView manually on there.

    Would "/usr/portage/distfiles" be the appropriate directory?

    Anyway I made following test;

    # cp /path/to/XnView-x86-unknown-linux2.x-static.tgz /usr/portage/distfiles/

    # ls /usr/portage/distfiles/ | grep XnView
    XnView-x86-unknown-linux2.x-static.tgz

    # emerge xnview
    Code:
    Calculating dependencies
    !!! All ebuilds that could satisfy "xnview" have been masked.
    !!! One of the following masked packages is required to complete your request:
    - x11-misc/xnview-1.70-r2 (masked by: missing keyword)
    - x11-misc/xnview-1.50-r1 (masked by: missing keyword)
    can u paste the ebuild from /usr/portage/x11-misc/xnview/xnview-1.70-r2.ebuild
    # cat /usr/portage/x11-misc/xnview/xnview-1.70-r2.ebuild
    Code:
    # Copyright 1999-2006 Gentoo Foundation
    # Distributed under the terms of the GNU General Public License v2
    # $Header: /var/cvsroot/gentoo-x86/x11-misc/xnview/xnview-1.70-r2.ebuild,v 1.3 2006/07/16 17:28:52 nelchael Exp $
    
    DESCRIPTION="XnView image viewer/converter"
    HOMEPAGE="http://www.xnview.com/"
    SRC_URI="x86? ( http://download.xnview.com/XnView-x86-unknown-linux2.x-static-fc4.tgz )"
    
    SLOT="0"
    LICENSE="free-noncomm as-is"
    KEYWORDS="-* x86"
    IUSE=""
    
    RDEPEND="|| ( (
    		x11-libs/libXau
    		x11-libs/libX11
    		x11-libs/libXt
    		x11-libs/libXext
    		x11-libs/libXp
    		x11-libs/libXdmcp
    		media-fonts/font-bh-lucidatypewriter-100dpi
    		media-fonts/font-bh-lucidatypewriter-75dpi )
    	virtual/x11 )"
    DEPEND="${RDEPEND}
    		sys-libs/glibc"
    
    S="${WORKDIR}/XnView-1.70-x86-unknown-linux2.x-static-fc4"
    
    src_unpack() {
    
    	unpack "${A}"
    
    	einfo "Fixing RPATH"
    	cd "${S}"
    	sed -i -e 's#.:/usr/local/lib#/opt/XnView/lib\x00#g' bin/xnview
    	sed -i -e 's#.:/usr/local/lib#/opt/XnView/lib\x00#g' bin/nview
    	sed -i -e 's#.:/usr/local/lib#/opt/XnView/lib\x00#g' bin/nconvert
    
    }
    
    src_install() {
    
    	BASE_DIR=/opt/XnView
    
    	into /opt
    	dobin bin/{xnview,nview,nconvert}
    
    	cp app-defaults/XnView.ad app-defaults/XnView
    	insinto /usr/lib/X11/app-defaults/XnView
    	doins app-defaults/XnView
    	fperms 444 /usr/lib/X11/app-defaults/XnView
    
    	doman man/*.1
    
    	dodoc *.txt
    
    }
    B.R.
    satimis

  8. #8
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,790
    Looking at that, i seem to recall you being on amd64. xnview is only (by the looks of it) supported on x86 hardware in portage. I think you may well have to go install it manually if you wanted it installed on the computer. In which case, it doesn't really matter where u put the tarball, though u may wanna make it somewhere simple like /root/xnview so it's easy enough to get there.

    Why not look for alternatives to xnview, something like imagemagick, something that's in portage that's supported on your hardware in portage.
    "I am not an alcoholic, alcoholics go to meetings"
    Registered Linux user = #372327

  9. #9
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,788
    Hi sdousley,

    I think you may well have to go install it manually if you wanted it installed on the computer. In which case, it doesn't really matter where u put the tarball, though u may wanna make it somewhere simple like /root/xnview so it's easy enough to get there.
    I'll install XnView manually. Tks.

    Why not look for alternatives to xnview, something like imagemagick, something that's in portage that's supported on your hardware in portage.
    I have files in .wbz format download from their website. I doubt whether imagemagick supports those files. Just visited imagemagick site;

    http://www.imagemagick.org/script/index.php

    Can't find .wbz there.


    B.R.
    satimis

Posting Permissions

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