/usr/bin/fbsetbg: line 169: xmessage: command not (Solved)

I was trying to set my FluxBox background for some time and it did't work everytime..
i edit the .fluxbox/init file as said in the fluxbox dokumentation.. But nothing...
I tried to do it like this : fbsetbg night-elf-1280x.jpg
and the following message came out:
/usr/bin/fbsetbg: line 169: xmessage: command not found
That's not really normal... isn't it...
I googled a bit, but the only information i found was in chinese... so jeah...
Please help me.. What am I doing wrong
greetz
Flufinela

You need to install xorg-apps. xmessage is included with this package.
   pacman -S xorg-apps

Similar Messages

  • (Solved) fbsetbg: line 153: xmessage: command not found

    Hello,
    I'm trying to set background image for Fluxbox.
    After typing fbsetbg command in xterm I get following error:
    $ fbsetbg -f ~/.fluxbox/backgrounds/wallpaper.jpg
    /usr/bin/fbsetbg: line 153: xmessage: command not found
    The most common way to solve this (according to Internet) is to install xorg-apps, but there is no xmessage app under it.
    # pacman -S xorg-apps
    :: There are 37 members in group xorg-apps:
    :: Repository extra
    1) xorg-bdftopcf 2) xorg-iceauth 3) xorg-luit 4) xorg-mkfontdir
    5) xorg-mkfontscale 6) xorg-sessreg 7) xorg-setxkbmap 8) xorg-smproxy
    9) xorg-x11perf 10) xorg-xauth 11) xorg-xbacklight 12) xorg-xcmsdb
    13) xorg-xcursorgen 14) xorg-xdpyinfo 15) xorg-xdriinfo 16) xorg-xev
    17) xorg-xgamma 18) xorg-xhost 19) xorg-xinput 20) xorg-xkbcomp
    21) xorg-xkbevd 22) xorg-xkbutils 23) xorg-xkill 24) xorg-xlsatoms
    25) xorg-xlsclients 26) xorg-xmodmap 27) xorg-xpr 28) xorg-xprop
    29) xorg-xrandr 30) xorg-xrdb 31) xorg-xrefresh 32) xorg-xset
    33) xorg-xsetroot 34) xorg-xvinfo 35) xorg-xwd 36) xorg-xwininfo
    37) xorg-xwud
    Enter a selection (default=all):
    I installed them any way, but it didn't help. Nether the reboot.
    Is there a way to fix this?
    Last edited by iedopadzert (2012-06-02 11:41:23)

    $ pkgfile xmessage
    extra/xorg-xmessage
    /e:
    See also the optional dependency of fluxbox:
    $ pacman -Si fluxbox
    Repository : extra
    Name : fluxbox
    Version : 1.3.2-1
    Optional Deps : xorg-xmessage: for using the fbsetbg and fluxbox-generate_menu utilities
    Last edited by xduugu (2012-06-02 11:41:30)

  • SOLVED /usr/bin/makepkg: line 552: build: command not found

    I'm trying to build a custom kernel, but am receiving this error:
    /usr/bin/makepkg: line 552: build: command not found
    I've searched all over for a fix, but haven't had any luck, it doesn't seem to be a common error, or it's so incredibly easy to fix that noone has bothered 
    Thanks for any help.
    /crobot

    Thanks for your response, it has failed on two builds, i'll post both.
    Here's the first:
    # $Id: PKGBUILD,v 1.26 2004/10/06 18:21:54 judd Exp $
    # Maintainer: judd <[email protected]>
    pkgname=kernel26
    pkgver=2.6.8.1
    pkgrel=3
    pkgdesc="The Linux Kernel and modules (IDE support)"
    url="http://www.kernel.org"
    backup=('boot/kconfig26')
    depends=('module-init-tools')
    install=kernel26.install
    source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$pkgver.tar.bz2
    config cdburning.patch logo_linux_clut224.ppm
    bio_uncopy_user-mem-leak.patch bio_uncopy_user-mem-leak-fix.patch
    http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/release/26-stable-release/acpi-20040715-2.6.8.diff.bz2)
    md5sums=('9517ca999e822b898fbdc7e72796b1aa' '20ad5bea85099dfcced9a6b91064b04e'
    '66b87662e6dd54b6324f874739fa1b99' '5a62bcc7e96601052c7405459b483826'
    'd2329bc663089cd99b8dbfd25b6a7ebc' '15a9165ae02c4a3a3875fb7924a68cbf'
    'e00d08709581f215b15e321d162f782c')
    build() {
    cd $startdir/src/linux-$pkgver
    patch -Np1 -i ../bio_uncopy_user-mem-leak.patch || return 1
    patch -Np1 -i ../bio_uncopy_user-mem-leak-fix.patch || return 1
    patch -Np1 -i ../cdburning.patch || return 1
    #patch -Np1 -i ../acpi-20040715-2.6.8.diff || return 1
    # Arch logo!
    cp ../logo_linux_clut224.ppm drivers/video/logo/
    # get rid of the 'i' in i686
    carch=`echo $CARCH | sed 's|i||'`
    cat ../config | sed "s|#CARCH#|$carch|g" >./.config
    yes "" | make config
    make clean bzImage modules || return 1
    mkdir -p $startdir/pkg/{lib/modules,boot}
    make INSTALL_MOD_PATH=$startdir/pkg modules_install || return 1
    cp System.map $startdir/pkg/boot/System.map26
    cp arch/i386/boot/bzImage $startdir/pkg/boot/vmlinuz26
    install -D -m644 Makefile $startdir/pkg/usr/src/linux-$pkgver/Makefile
    install -D -m644 .config $startdir/pkg/usr/src/linux-$pkgver/.config
    install -D -m644 .config $startdir/pkg/boot/kconfig26
    mkdir -p $startdir/pkg/usr/src/linux-$pkgver/include
    mkdir -p $startdir/pkg/usr/src/linux-$pkgver/arch/i386/kernel
    for i in acpi asm-generic asm-i386 config linux math-emu net pcmcia scsi video; do
    cp -a include/$i $startdir/pkg/usr/src/linux-$pkgver/include/
    done
    # copy files necessary for later builds, like nvidia and vmware
    cp -a scripts $startdir/pkg/usr/src/linux-$pkgver/
    mkdir -p $startdir/pkg/usr/src/linux-$pkgver/.tmp_versions
    cp arch/i386/Makefile $startdir/pkg/usr/src/linux-$pkgver/arch/i386/
    cp arch/i386/kernel/asm-offsets.s $startdir/pkg/usr/src/linux-$pkgver/arch/i386/kernel/
    # copy in Kconfig files
    for i in `find . -name "Kconfig*"`; do
    mkdir -p $startdir/pkg/usr/src/linux-$pkgver/`echo $i | sed 's|/Kconfig.*||'`
    cp $i $startdir/pkg/usr/src/linux-$pkgver/$i
    done
    cd $startdir/pkg/usr/src/linux-$pkgver/include && ln -s asm-i386 asm
    chown -R root.root $startdir/pkg/usr/src/linux-$pkgver
    cd $startdir/pkg/lib/modules/$pkgver &&
    (rm -f source build; ln -sf /usr/src/linux-$pkgver build)
    Here's the second:
    ###### Give the kernel a unique name (for multiple builds - can be empty)
    _kerrev=crobot
    ###### Choose generic name, version, and release. updated later for $_kerrev
    pkgname=kernel26
    pkgver=2.6.8.1
    pkgrel=1
    pkgdesc="Custom Linux Kernel and modules"
    url="http://www.kernel.org"
    depends=('module-init-tools')
    ###### Add a default config file and any patches to be applied to source array
    source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$pkgver.tar.bz2)
    ###### Add md5 checksums here:
    #md5sum=()
    getvar() {
    old=$(cat Makefile | grep "^$1")
    echo $(echo ${old/"$1 ="/} | sed -e "s/[ ]*(.*)[ ]*/1/g")
    return 0
    build() {
    cd $startdir/src/linux-$pkgver
    ###### apply patches here
    # patch -p1 < ../patch1 #model
    #get rid of i in i686 in default config
    carch=`echo $CARCH | sed 's|i||'`
    cat ../config | sed "s|#CARCH#|$carch|g" >./.config
    ###### Choose one of the following configuration types
    ###### Use first option for config in source array
    #yes "" | make config
    #make oldconfig || return 1
    make menuconfig
    #make xconfig
    #make gconfig
    ##### No user changes below here
    # save the configuration with today's date
    cp ./.config ../../NEWCONFIG-$(date +%b%d)
    # set EXTRAVERSION to create unique /lib/modules/ subdirectories
    _ker_extraversion=$(getvar "EXTRAVERSION")
    # update EXTRAVERSION in the Makefile by adding our _kerrev
    _oldline=$(cat Makefile | grep "^EXTRAVERSION")
    if [ $_kerrev != "" ]; then
    _ker_extraversion="$_ker_extraversion-$_kerrev"
    cat Makefile | sed "s|$_oldline|EXTRAVERSION = $_ker_extraversion|" > tmpMake
    mv tmpMake Makefile
    fi
    _kerrev=$_ker_extraversion
    kerver=$(getvar "VERSION").$(getvar "PATCHLEVEL").$(getvar "SUBLEVEL")
    # update the package information from the kernel Makefile
    # (just in case the Makefile changed during a patch)
    pkgver=$kerver$(echo $_kerrev | sed -e 's/-/./g')
    pkgdesc="Custom Linux Kernel and modules version: $kerver revision: $_kerrev /
    package ver: $pkgver build: $pkgrel"
    # changing the package name
    # removing patches versions from the revision string
    _t=$(echo $_kerrev | sed -e "s/^..[0-9]*//g")
    # _t=$(echo $_t | sed -e "s/^-rc[0-9]?*//g")
    # _suf contains the suffix identifying the kernel (it has the versions removed from
    it)
    _suf=$(echo $_t | sed -e "s/[0-9]*-/-/g")
    pkgname=kernel26$_suf
    echo "Package name: $pkgname"
    echo "Package ver: $pkgver"
    echo "Package desc: $pkgdesc"
    sleep 5
    make clean bzImage modules || return 1
    mkdir -p $startdir/pkg/{lib/modules,boot}
    make INSTALL_MOD_PATH=$startdir/pkg modules_install || return 1
    # create unique names in /boot/
    cp System.map $startdir/pkg/boot/System.map26$_suf
    cp arch/i386/boot/bzImage $startdir/pkg/boot/vmlinuz26$_suf
    install -D -m644 Makefile $startdir/pkg/usr/src/linux-$kerver/Makefile
    install -D -m644 .config $startdir/pkg/usr/src/linux-$kerver/.config
    install -D -m644 .config $startdir/pkg/boot/kconfig26$_suf
    mkdir -p $startdir/pkg/usr/src/linux-$kerver/include
    mkdir -p $startdir/pkg/usr/src/linux-$kerver/arch/i386/kernel
    for i in acpi asm-generic asm-i386 config linux math-emu net pcmcia scsi video; do
    cp -a include/$i $startdir/pkg/usr/src/linux-$kerver/include/
    done
    # copy files necessary for later builds, like nvidia and vmware
    cp -a scripts $startdir/pkg/usr/src/linux-$kerver/
    mkdir -p $startdir/pkg/usr/src/linux-$kerver/.tmp_versions
    cp arch/i386/Makefile $startdir/pkg/usr/src/linux-$kerver/arch/i386/
    cp arch/i386/kernel/asm-offsets.s
    $startdir/pkg/usr/src/linux-$kerver/arch/i386/kernel/
    # copy in Kconfig files
    for i in `find . -name "Kconfig*"`; do
    mkdir -p $startdir/pkg/usr/src/linux-$kerver/`echo $i | sed 's|/Kconfig.*||'`
    cp $i $startdir/pkg/usr/src/linux-$kerver/$i
    done
    cd $startdir/pkg/usr/src/linux-$kerver/include && ln -s asm-i386 asm
    chown -R root.root $startdir/pkg/usr/src/linux-$kerver
    # create a unique subdirectory under /usr/src/
    cd $startdir/pkg/usr/src
    mv linux-$kerver linux-$kerver$_kerrev
    cd $startdir/pkg/lib/modules/$kerver$_kerrev &&
    (rm -f build; ln -sf /usr/src/linux-$kerver$_kerrev build)
    Thanks,
    /crobot

  • [SOLVED]/usr/lib/arch-tempfiles line 106: install:command not found

    Hi everyone!
    This is my boot.log
    http://pastebin.com/1gfynhSN
    It says"/usr/lib/initscripts/arch-tmpfiles:line 106: install:command not found".This is leading to problems such as dbus and network manager not being started(even manually),no shutdown option,not able to 'open' log files without sudo  etc.
    I think a possible reason for this is that I had messed up with symlinks.I had issued the command
    sudo ln -s /bin/install /usr/bin/install
    .Then I had used
    cd /bin/
    unlink install
    Now,I find that /bin/install and /usr/bin/install does not exist.(I have deleted them!) .How can I fix this up?Any help would be appreciated.
    Last edited by adwaita45 (2012-04-05 20:41:40)

    Reinstall coreutils (or manually extract install from the package and put it in /usr/bin).
    Last edited by Raynman (2012-04-05 18:14:10)

  • ./.profile: line 47: cat: command not found

    trying to fix this
    [oracle@ora-lab1 ~]$ ./.profile
    ./.profile: line 47: cat: command not found
    47 cat << EOF
    48 ***************************************************************
    49 Welcome to the Linux oracle lab:ora-lab1
    50
    51 Run one of the following executables listed below to correctly
    52 configure your UNIX environment.
    53

    what's wrong here?
    oracle@ora-lab1 ~]$ echo $ORACLE_HOME
    [oracle@ora-lab1 ~]$ ./.bash_profile
    ./.bash_profile: line 18: cat: command not found
    [oracle@ora-lab1 ~]$ cat .bash_profile
    #!/bin/bash
    set -u
    set -o vi
    umask 022
    export HOME=/home/oracle
    export EDITOR=vi
    export PS1=${LOGNAME}':'$(hostname)'$'
    export ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
    export ORACLE_SID=p02ibm
    export ADMIN=$HOME/admin
    # Platform Specific Variables - Uncomment proper $PATH based on Platform.
    # For LINUX
    export PATH=/usr/local/bin:/usr/bin:/usr/ccs/bin:/usr/ucb:/usr/sbin:/usr/ucblib:/usr/bin/X11:/etc:$HOME:$HOME/bin:$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:.
    cat <<EOF
    Welcome to the Linux oracle lab:ora-lab1
    Run one of the following executables listed below to correctly
    configure your UNIX environment.
    p02i . p02i
    EOF
    [                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • [SOLVED] /usr/bin/makepkg: line 337:

    I have a problem installing packages from AUR with yaourt:
    ==> Making package: virtualbox_bin 3.2.4-1 i686 (Tue Jun  8 15:01:07 EEST 2010)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    ==> ERROR: The download program wget is not installed.
        Aborting...
      -> Downloading VirtualBox-3.2.4-62431-Linux_x86.run...
    /usr/bin/makepkg: line 337: http://download.virtualbox.org/virtualb … ux_x86.run: No such file or directory
    ==> ERROR: Failure while downloading VirtualBox-3.2.4-62431-Linux_x86.run
        Aborting...
    ==> ERROR: Makepkg was unable to build virtualbox_bin.
    ==> Restart building virtualbox_bin ? [y/N]
    Last edited by Cosmin (2010-06-08 12:57:34)

    ber_t wrote:
    Cosmin wrote:
    I have a problem installing packages from AUR with yaourt:
    ==> Making package: virtualbox_bin 3.2.4-1 i686 (Tue Jun  8 15:01:07 EEST 2010)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    ==> ERROR: The download program wget is not installed.
        Aborting...
      -> Downloading VirtualBox-3.2.4-62431-Linux_x86.run...
    /usr/bin/makepkg: line 337: http://download.virtualbox.org/virtualb … ux_x86.run: No such file or directory
    ==> ERROR: Failure while downloading VirtualBox-3.2.4-62431-Linux_x86.run
        Aborting...
    ==> ERROR: Makepkg was unable to build virtualbox_bin.
    ==> Restart building virtualbox_bin ? [y/N]
    Seems like wget isn't installed.
    Thank you. That was the problem.

  • Cnetworkmanager -- 3G -- python error /usr/bin/cnetworkmanager", line

    Sprint sierra 250u usb
    already replaced rc.conf  network for networkmanager
    Testing version of cnetworkmanager, and tried the june 2010 version as well.
    using python from testing.
    As I only have internet via windows I'm sadly unable to be more comprehensive
    without jumping thru hoop so to speak.
    REALLY need a cure so that I can PERHAPS get a sprint 250U to connect via 3g.
    Not that optimistic. Big apology for having been unable to get online for a couple of days doing this from windows hence lack of detail.
    Here's the python error have tried both versions of cnetworkmanager. If I can get my arch updated will it fix it. Haven't updated for a few days.
    THANK YOU.
    kinda frustrated and that's saying something as it's usually all good fun when times not a problem as it is right now.
    Python testing as well, though from a few days ago. Hoping if I can go somewhere and update my arch boot via eth0 it'll make it possible to connect via 3g when I get back home.
    may as well ask, anyone know much about what details I need to connect a 3g modem  sprint 250u
    Traceback (most recent call last):
      File "/usr/bin/cnetworkmanager", line 110, in <module>
        nm = NetworkManager()
      File "/usr/lib/python2.7/site-packages/networkmanager/networkmanager.py", line 50, in __init__
        super(NetworkManager, self).__init__(dbus.SystemBus(), self.SERVICE, self.OPATH, default_interface=self.IFACE)
      File "/usr/lib/python2.7/site-packages/dbusclient/__init__.py", line 40, in __init__
        super(DBusMio, self).__init__(conn, bus_name, object_path, introspect, follow_name_owner_changes, **kwargs)
      File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 241, in __init__
        self._named_service = conn.activate_name_owner(bus_name)
      File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 183, in activate_name_owner
        self.start_service_by_name(bus_name)
      File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 281, in start_service_by_name
        'su', (bus_name, flags)))
      File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 630, in call_blocking
        message, timeout)
    dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
    Last edited by yvonney (2010-10-15 21:33:12)

    Good gravy, 3 GB of updates? I think you win an award for that or something.
    When something like this happens to me I usually only have, like, a couple of packages that I'm updating. I assume, for some reason, the new bash package is conflicting with your old bash package. So I would (temporarily) uninstall bash, then go ahead and reinstall install (only) bash.
    ...so, either this will help you, or someone smarter than me will respond almost instantly telling you that I'm giving you horrible advice and teach you what you SHOULD do to resolve the problem. Either way, you're welcome.

  • /etc/rc.conf: line 62: wlan0: command not found

    While Arch Linux starts up, I get this message repeatedly.
    /etc/rc.conf: line 62: wlan0: command not found
    Everything still ends up working alright (I'm using NetworkManager), but this message is really annoying -- how do I get rid of it?

    # /etc/rc.conf - Main Configuration for Arch Linux
    # LOCALIZATION
    # LOCALE: available languages can be listed with the 'locale -a' command
    # HARDWARECLOCK: set to "UTC" or "localtime"
    # TIMEZONE: timezones are found in /usr/share/zoneinfo
    # KEYMAP: keymaps are found in /usr/share/kbd/keymaps
    # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
    # CONSOLEMAP: found in /usr/share/kbd/consoletrans
    # USECOLOR: use ANSI color sequences in startup messages
    LOCALE="en_US.utf8"
    HARDWARECLOCK="localtime"
    TIMEZONE="US/Eastern"
    KEYMAP="us"
    CONSOLEFONT=
    CONSOLEMAP=
    USECOLOR="yes"
    # HARDWARE
    # Scan hardware and load required modules at bootup
    MOD_AUTOLOAD="yes"
    # Module Blacklist - modules in this list will never be loaded by udev
    MOD_BLACKLIST=()
    # Modules to load at boot-up (in this order)
    #   - prefix a module with a ! to blacklist it
    MODULES=(sky2 snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore acpi_cpufreq iwl4965)
    # Scan for LVM volume groups at startup, required if you use LVM
    USELVM="no"
    # NETWORKING
    HOSTNAME="elisrivers"
    # Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available
    # interfaces.
    # Interfaces to start at boot-up (in this order)
    # Declare each interface then list in INTERFACES
    #   - prefix an entry in INTERFACES with a ! to disable it
    #   - no hyphens in your interface names - Bash doesn't like it
    # Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
    lo="lo 127.0.0.1"
    eth0="dhcp"
    wlan0 ="dhcp"
    INTERFACES=(lo !eth0 !wlan0)
    # Routes to start at boot-up (in this order)
    # Declare each route then list in ROUTES
    #   - prefix an entry in ROUTES with a ! to disable it
    gateway="default gw 192.168.0.1"
    ROUTES=(!gateway)
    # Enable these network profiles at boot-up.  These are only useful
    # if you happen to need multiple network configurations (ie, laptop users)
    #   - set to 'menu' to present a menu during boot-up (dialog package required)
    #   - prefix an entry with a ! to disable it
    # Network profiles are found in /etc/network-profiles
    #NET_PROFILES=(main)
    # DAEMONS
    # Daemons to start at boot-up (in this order)
    #   - prefix a daemon with a ! to disable it
    #   - prefix a daemon with a @ to start it up in the background
    DAEMONS=(syslog-ng hal !network netfs crond alsa cpufreq dhcdbd networkmanager fam)
    # End of file

  • MAKEPKG -c error - PKGBUILD: line 32: patch: command not found

    Hello all,
    Well I am getting the above error when running the makepkg -c as user in my local abs tree i am using
    [devnull@myhell chromium]$ makepkg -c
    ==> Making package: chromium 0.9.12-6  (Sun Mar 30 01:43:39 EDT 2008)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
      -> Found chromium-src-0.9.12.tar.gz in build dir
      -> Found chromium-data-0.9.12.tar.gz in build dir
      -> Found 0.9.12-gcc3-gentoo.patch in build dir
      -> Found 0.9.12-freealut.patch in build dir
      -> Found 0.9.12-configure.patch in build dir
      -> Found 0.9.12-png.patch in build dir
      -> Found chromium.sh in build dir
      -> Found chromium.png in build dir
      -> Found chromium.desktop in build dir
    ==> Validating source files with md5sums...
        chromium-src-0.9.12.tar.gz ... Passed
        chromium-data-0.9.12.tar.gz ... Passed
        0.9.12-gcc3-gentoo.patch ... Passed
        0.9.12-freealut.patch ... Passed
        0.9.12-configure.patch ... Passed
        0.9.12-png.patch ... Passed
        chromium.sh ... Passed
        chromium.png ... Passed
        chromium.desktop ... Passed
    ==> Extracting Sources...
      -> bsdtar -x -f chromium-src-0.9.12.tar.gz
      -> bsdtar -x -f chromium-data-0.9.12.tar.gz
    ==> Removing existing pkg/ directory...
    ==> Entering fakeroot environment...
    ==> Starting build()...
    PKGBUILD: line 32: patch: command not found
    ==> ERROR: Build Failed.
        Aborting...
    Here is a cut from PKBUILD file line 32:
    build(){
      cd $startdir/src/Chromium-0.9
      patch -p0 -i ../0.9.12-gcc3-gentoo.patch || return 1   <--- This is line 32 from pkbuild file
      patch -p0 -i ../0.9.12-freealut.patch || return 1
      #patch -p0 -i ../0.9.12-configure.patch || return 1
      patch -p0 -i ../0.9.12-png.patch || return 1
    Thanks you in advance for all your help

    Hello,
    /devnull.nsb wrote:
    Hello all,
    *snip*
    PKGBUILD: line 32: patch: command not found
    ==> ERROR: Build Failed.
        Aborting...
    *snip*
    It looks like you might not have patch installed.  What happens when you type
    pacman -Q patch
    If you get an error that the patch package is not found, install base-devel.

  • Line 20: unrar: command not found

    I'm trying to get nwn-diamond going, and when I try to build binkplayer I get the error:: line 20: unrar: command not found
    So- I think I need to edit my .bashrc but like in this wiki https://wiki.archlinux.org/index.php/Core_Utilities
    but I dont really know how to go about doing that. I need a super simple step by step to get me started on something like this.

    Okay thank you for the first help, that took care of it, but a new issue is up, When it starts the build I get this error.
    I do have a NWN Diamond DVD and it is in the drive- how do I make the builder look to the drive?
    unzip:  cannot find or open /media/dvd/Data_Shared.zip, /media/dvd/Data_Shared.zip.zip or /media/dvd/Data_Shared.zip.ZIP.

  • HELP! Installer_Script_Springboard__: line 13: s: command not found ERROR

    got this error in the Installer log while using the upgrading option to Leopard. After that the installation just stalled and did not move. I have tried more than a few times. and same results. Can ANYONE PLEASE HELP ? Below is the error message
    Oct 27 05:48:23 localhost runner150: _Installer_Script_Springboard_163: /Volumes/Reddy`s HD/private/tmp/scripts.VaIV/_Installer_Script_Springboard_: line 13: s: command not found
    Oct 27 05:48:23 localhost runner150: _Installer_Script_Springboard_163:
    Oct 27 05:56:19 localhost Unknown67: 2007-10-27 05:56 Mac OS X Installer143 (CarbonCore.framework) FSEventStreamStart: ERROR: FSEvents_connect() => Unknown service name (1102)
    Oct 27 05:56:21 localhost OSInstaller143: installAutoFSMonitor: open failed

    Hi!
    After 6 hours of experimenting, disconnecting devices, formatting my hard drive (joy!) and getting nowhere, I found the problem: apparently, Leopard has trouble dealing with some characters in the volume name (in my case it was '). Rename the volume to something simple, short and with no weird characters and the Leopard will install.
    And, to Apple: I'm very disappointed with the quality of the Leopard install. If a character is valid in OS X, the setup should support it!
    Best regards,
    IYan

  • [SOLVED] Unable to build packages from AUR (build: command not found)

    I recently hosed the filesystem on my arch install of ~8 months. I reinstalled arch today and didn't have many problems since I had backups of many important config files. Anyways, I still need to get a few programs installed from AUR, but nothing I get from AUR will build.
    I download the tarball, extract into a folder in /home/myuser/builds and then go into that folder and run makepkg -s (as always)
    It checks the files and extracts/downloads them. Then I get the following error message:
    ==> Starting build()...
    /usr/bin/makepkg: line 741: build: command not found
    ==> ERROR: Build Failed.
    Aborting...
    I've run abs and I checked out the abs wiki page, I've also installed base-devel. I am not sure what else I need to do, the error message is not specific enough.
    The packages I have been trying to install are      ttf-ms-fonts 2.0-7,      keepass 2.14-2, and I also tried ttf-vista-fonts 1-3. I am fairly certain that it is not a problem with the PKGBUILD files.
    Any ideas? Thanks!
    Last edited by fatjake (2011-03-08 01:02:59)

    cyrus wrote:Have you tried Yaourt?
    Nope, haven't tried that, I think mainly because I wanted to learn how to use pacman and how to build using ABS. At this point I think I know how to use pacman/abs, as much as this thread might make it appear that I dont
    I'll give it a try, as I frequently install software from AUR. In the past I think I let software from the AUR get outdated, Yaourt (clumsy name) sounds like it would help that a bit. Thanks!
    Edit: BTW, I really love Arch. I tried it out on a flash drive about 8 months ago (maybe more), and after about 12 hours I was sold and installed it on the drive that Windows XP previously held. Even considering that I had many problems during the initial install, but they were all problems that caused me to learn and were easy to resolve. Seriously, I have lots of Windows tech experience, but only Arch forced me to learn Linux. I had tried Ubuntu previously but it was such a bore, and the problems tended to be hard to find solutions for. I try to convince my other Linux using friends to try arch, but they see it as too hands-on. I don't see it that way, it is very hands off after initial configuration, and the initial config only takes a week or less on the first try and a day and a half (or so) if you re-install. Having backups of your config files is of course a huge deal, and I am glad I had most of those.
    Really, I love Arch Linux, it has taught me so much.
    Last edited by fatjake (2011-03-08 04:25:15)

  • Command not found

    Hi everyone!
    Why would I get this error using "mv" in a do shell script?
    /bin/sh: line 1: mv: command not found (127)
    I should mention that I've only had this reported by one person to me...but any other users including myself never get this error. It's part of a Applescript Studio app...
    Thanks for the help,
    Reg

    Hi Reggie,
    For some reason, for this one user, the shell is unable to find the "mv" command on his machine (but I guess that's fairly obvious from the message he gets).
    The shell only looks for commands in specific directories that are listed in it's $PATH variable. Normally the mv command is found at /bin/mv and also normally the /bin directory is in the shell's $PATH. So...
    - this user's $PATH variable could be messed up or it could have been modified so that it no longer includes /bin. Typing in Terminal:
    <pre>
    echo $PATH
    </pre>
    will display the list of directories currently in the $PATH variable. This is what I get on my machine:
    /bin:/sbin:/usr/bin:/usr/sbin
    If /bin is not in the $PATH then the shell will not find /bin/mv.
    - it's possible that the mv command was somehow deleted from the user's machine. Typing
    <pre>
    which mv
    </pre>
    will tell you where the shell finds the mv command. Or if it's not found in any of the directories in $PATH then it will state that mv was not found and list the directories it looked in. For example:
    <pre>
    iMacHerman:~ steve$ which mv
    /bin/mv
    </pre>
    Or if I try with a command I know does not exist:
    <pre>
    iMacHerman:~ steve$ which mx
    no mx in /bin /sbin /usr/bin /usr/sbin
    </pre>
    Also: "ls -l /bin/mv" will tell you if mv is present in it's normal location. I get:
    <pre>
    iMacHerman:~ steve$ ls -l /bin/mv
    -r-xr-xr-x 1 root wheel 19060 Aug 17 00:22 /bin/mv
    </pre>
    - I suppose it's also possible that installing some open source or gnu libraries could have replaced the default "/bin/mv" command with a different version in a different location. But if so, this would be an indication that the new location has not been specified in the user's $PATH.
    Steve

  • /usr/bin/bash runs a new shell where PS1 is not set

    When I execute the command bash in my terminal, it opens a new shell which properly reads all bashrc contents. But when I run /usr/bin/bash, then it is as if  $PS1 is not set and those parts in my bashrc that are supposed to used only for interactive shells are not read at all.
    The weird part is running which bash gives /usr/bin/bash. So, I'm not able to figure out why running bash and /usr/bin/bash produce different results. Also, although it appears as if $PS1 is not being set (based on reading of my bashrc), the prompt is still being set.
    Can anyone explain why this variation is happening?
    PS: Not sure if this matters, but my bashrc is not in the default location. It is in ~/.config/bash and I've modified my /etc/bash.bashrc to source the local bashrc from the custom location.
    Last edited by hashken (2015-04-15 13:19:03)

    Does the behaviour persist if you move .bashrc back to the conventional location?
    Yeah, the behaviour persists even after moving back bashrc.
    The contents of my /etc/bash.bashrc file:
    # /etc/bash.bashrc
    # If not running interactively, don't do anything
    if [[ ! $- != *i* ]]; then
    PS1='[\u@\h \W]\$ '
    PS2='> '
    PS3='> '
    PS4='+ '
    case ${TERM} in
    xterm*|rxvt*|Eterm|aterm|kterm|gnome*)
    PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"'
    screen)
    PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033_%s@%s:%s\033\\" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"'
    esac
    [ -r /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion
    fi
    XDG_CONFIG_HOME=$HOME/.config
    XDG_CACHE_HOME=$HOME/.cache
    XDG_DATA_HOME=$HOME/.local/share
    if [ -f "$XDG_CONFIG_HOME/bash/bashrc" ] && [ "$0" = "bash" ]; then
    . "$XDG_CONFIG_HOME/bash/bashrc"
    fi
    if [ -f "$XDG_DATA_HOME/bash/history" ] && [ "$0" = "bash" ]; then
    HISTFILE="${XDG_DATA_HOME}/bash/history"
    fi
    The contents of my bashrc file:
    if [ -f $XDG_CONFIG_HOME/bash/xdg ]; then
    . $XDG_CONFIG_HOME/bash/xdg
    fi
    if [ -f $XDG_CONFIG_HOME/bash/private ]; then
    . $XDG_CONFIG_HOME/bash/private
    fi
    # If not running interactively, don't do anything else
    if [ -z "$PS1" ]; then
    PATH=$PATH:$HOME/bin/others
    return
    fi
    #test "$PS1" || return
    if [ -f $XDG_CONFIG_HOME/bash/colors ]; then
    . $XDG_CONFIG_HOME/bash/colors
    fi
    if [ -f $XDG_CONFIG_HOME/bash/general ]; then
    . $XDG_CONFIG_HOME/bash/general
    fi
    if [ -f $XDG_CONFIG_HOME/bash/aliases ]; then
    . $XDG_CONFIG_HOME/bash/aliases
    fi
    if [ -f $XDG_CONFIG_HOME/bash/functions ]; then
    . $XDG_CONFIG_HOME/bash/functions
    fi
    if [ -f $XDG_CONFIG_HOME/bash/completion ]; then
    . $XDG_CONFIG_HOME/bash/completion
    fi
    What makes you think $PS1 is not being set if the prompt is correct?
    Both bash/xdg and bash/private are getting sourced. But when I run /bin/bash, the other files (colors, general, aliases etc.) are not getting sourced. Since, I'm doing a $PS1 test before sourcing these files, I concluded that $PS1 is not being set.

  • Ldconfig: command not found

    I just did a pacman -Syu and something went terribly wrong.
    Whenever i try to install a new program i get something like this:
    $ pacman -S glibc
    warning: glibc-2.10.1-3 is up to date -- reinstalling
    resolving dependencies...
    looking for inter-conflicts...
    Targets (1): glibc-2.10.1-3
    Total Download Size: 0.00 MB
    Total Installed Size: 31.47 MB
    Proceed with installation? [Y/n]
    checking package integrity...
    (1/1) checking for file conflicts [##############################] 100%
    (1/1) upgrading glibc [##############################] 100%
    /tmp/alpm_ZLRuBH/.INSTALL: line 39: ldconfig: command not found
    /tmp/alpm_ZLRuBH/.INSTALL: line 40: init: command not found
    Generating locales...
    en_US.UTF-8... done
    en_US.ISO-8859-1... done
    Generation complete.
    sh: ldconfig: command not found
    error: command failed to execute correctly
    Checking the integrity of the local database in /var/lib/pacman/
    any ideas?

    Have all the users with GNOME started a root's Terminal window???
    I've noticed that using the Gnome's root terminal messes up the $PATH variable (as of today)... when i start archlinux (note: i don't use GDM) my path is:
    /bin:/usr/bin:/sbin:/usr/sbin....
    and many other items... but when a root terminal is started inside gnome, $PATH changes to:
    /usr/ucb:/bin:/usr/bin:/etc
    And ldconfig will fail... (and any other tool in /sbin) this change is restricted to this window only. If you exit the root terminal and go to a normal terminal, the path is what is expected.
    This happens on a clean reformatted machine, installed archlinux, doing a pacman -Syu, installing gnome and all extras (including system administrations tools) (as tested today).
    Maybe some config file is messed or is a bug from the Gnome guys...
    Anyways the only workaround i can think is to start a normal terminal (for the guys that use gnome or use GDM to start their machines) and in the terminal doing a "su -" to got root access (of course will ask for the password) and then update/install/whatever you want with pacman.
    And sorry about my english.
    J.
    Last edited by stargeizer (2009-09-24 14:35:10)

Maybe you are looking for