[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.

Similar Messages

  • 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

  • /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

  • 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.

  • [SOLVED] /usr/bin/env: No such file or directory

    Hi,
    I've tried to install a couple packages from the AUR, but when I run "makepkg -s", I get this error:
    /usr/bin/env: No such file or directory
    make: *** [install] Error 127
    ==> ERROR: A failure occurred in package().
        Aborting...
    I'm sorry if this is something terribly simple, but I can't find any mention of /usr/bin/env anywhere.
    I have coreutils installed, which I believe env is part of.
    Thank you for any help!
    Last edited by dluco (2013-09-24 01:37:11)

    The /usr/bin/env is provided by the coreutils package. 
    You didn't run into issues when there was the move from /bin, /sbin, /usr/sbin → /usr/bin ?  This happened back in the beginning of June!  You need to read the front page news.
    If this is the case, I am venturing to guess that your system is probably not actually up to date, and even that you might have been doing partial updates for some time now…
    Edit: Check /bin, /sbin, and /usr/sbin and see if they are symlinks pointing to /usr/bin.  If they are, you apparently made it through that update unscathed.  If they are not, well…
    Last edited by WonderWoofy (2013-09-23 16:25:19)

  • [SOLVED] /usr/bin/echo from systemd .service

    I use systemd to execute a shell script to change the status of an LED after boot when I reach multi-user state.  It is working fine, but I wanted to execute the shell script lines from within my systemd .service file instead of the systemd .service file executing the shell script.  Below is the systemd .service file but it’s not working.  The systemctl status shows no issues, but I have a gut feeling my problem might be related to me redirecting the /usr/bin/echo to a device. Could someone lend a suggestion?
    Description=Set Green LED
    After=multi-user.target
    [Service]
    Type=oneshot
    ExecStart=/usr/bin/echo none > /sys/class/leds/status\:blue\:health/trigger
    ExecStart=/usr/bin/sleep 1
    ExecStart=/usr/bin/echo default-on > /sys/class/leds/status\:green\:health/trigger
    [Install]
    WantedBy=multi-user.target
    Here is my systemctl status output:
    setgreenled.service - Set Green LED
       Loaded: loaded (/etc/systemd/system/setgreenled.service; enabled)
       Active: inactive (dead) since Tue 2013-06-04 14:12:52 PDT; 3s ago
      Process: 273 ExecStart=/usr/bin/echo default-on > /sys/class/leds/status\:green\:health/trigger (code=exited, status=0/SUCCESS)
      Process: 270 ExecStart=/usr/bin/sleep 1 (code=exited, status=0/SUCCESS)
      Process: 268 ExecStart=/usr/bin/echo none > /sys/class/leds/status\:blue\:health/trigger (code=exited, status=0/SUCCESS)
    Jun 04 14:12:51 pogoplug systemd[1]: Starting Set Green LED...
    Jun 04 14:12:52 pogoplug echo[273]: default-on > /sys/class/leds/status\:green\:health/trigger
    Jun 04 14:12:52 pogoplug systemd[1]: Started Set Green LED.
    If I execute the lines below from the command-line it works fine.
    /usr/bin/echo none > /sys/class/leds/status\:blue\:health/trigger
    /usr/bin/echo default-on > /sys/class/leds/status\:green\:health/trigger
    If I put the commands into a shell script and use systemd .service to execute the shell script, it works fine.  Here is that .service script
    [Unit]
    Description=Set Green LED
    After=multi-user.target
    [Service]
    Type=simple
    ExecStart=/usr/bin/sh /home/public/setgreenled.sh
    [Install]
    WantedBy=multi-user.target
    Last edited by calzon65 (2013-06-05 00:55:37)

    Systemd services are not shells.  So redirects will not work in that way.  You can use "bash -c '<command here>'" to accomplish this as that will create a shell for the command to run.  But I think that berbae is right that there are better alternatives for this.
    You can use tmpfiles (man tmpfiles.d) which you can use to simply write a value to the given path, or you can use a udev rule to run a command when that particular path is detected.  Beware though that for some things, the tmpfiles way will sometimes try to run itself before the actual creation of the directory.  So you may run into some pace conditions with that method.  For some things, it is totally reliable though... so you'll just have to test and see.
    A tmpfiles.d configuration is way easier to write than a udev rule.  But what you are trying to do would be a pretty basic udev rule, so it would probably not take you very long to learn how to do it.  It simply involves learning how to use the udevadm command really.

  • [SOLVED]/usr/bin/X -nolisten tcp

    What is /usr/bin/X -nolisten tcp and what does it do? (accept eating cpu and ram)
    Is there a way to get rid of it?
    Thanks in advance
    Last edited by Roline (2010-01-06 14:49:27)

    Roline wrote:
    What is /usr/bin/X -nolisten tcp and what does it do? (accept eating cpu and ram)
    Is there a way to get rid of it?
    Thanks in advance
    That is your X server.  You kinda need that.  Sometimes you will see it using/ taking up some cpu.. that is normal.

  • No X /usr/bin/xinit: No such file or directory

    Yesterday I have updated my system with pacman -Syu, now I get this on startx
    /usr/bin/startx: line 196: /usr/bin/xinit: No such file or directory. Of course, the requested file is there.
    I already reinstalled nvidia (256.44-1), xorg (1.8.1.902) and kernel26 (2.6.34.3-1), but the problem still remain.
    Any idea?

    xinit is provided by the xorg-xinit package, try reinstalling that one too. Is startx supposed to call xinit? Does straight xinit work?
    If /usr/bin/xinit exists, the only thing I can think of is that there are no execute permissions. Post the output of "ls -al /usr/bin/xinit" Mine gives "-rwxr-xr-x 1 root root 15224 Apr  4 08:09 /usr/bin/xinit*"

  • /usr/bin/java Permission denied after installing JDK on linux

    Hi Guys,
    I installed jdk-6u1-linux-i586-rpm.bin and I am getting strange errors like this:
    1 When I simply run "java" in shell I get this:
    /usr/bin/java: line 67: /tmp/javaf10273: Permission denied
    /usr/bin/java: line 67: /tmp/javaf10273: Success
    2. When I try to run an sh file I get this:
    Warning: -ms128m not understood. Ignoring.
    Warning: -mx128m not understood. Ignoring.
    /usr/bin/java: line 67: /tmp/javae10796: Permission denied
    /usr/bin/java: line 67: /tmp/javae10796: Success
    I searched around and as I understand the linux package may have contained some older java version, and the comp is still trying to use that.
    But these notes did not say how to uninstall that older version, orr what to do.
    Can you please maybe point me somewhere?
    Thanks,
    Gyuri

    The RPM installer for the Sun JDK installs Java in /usr/java/jdk1.6.0_01. Just add /usr/java/jdk1.6.0_01/bin to your path before /usr/bin and it should be fine.
    Additionally, there are no -ms and -mx parameters, those should be -Xms and -Xmx.

  • What does this error message mean and how do I solve it? "Sorry, one or more of the following command-line tools was not found:  /usr/bin/lsbom, /bin/pax, /bin/mkdir, /bin/chmod, or /usr/bin/update_prebinding."

    When I try to open up this program, Pacifist, I receive this error message. Here's a screenshot. http://i.imgur.com/v717w.jpg What does this error message mean and how do I solve it?

    It sounds like some of the Unix Executable commands were removed (or the permissions to those were modified) out of the /usr/bin/ folder.  You can try opening disk utility and repairing permissions on Macintosh HD or you can reboot your computer and holding down option-r when it comes back up to reinstall Lion again.  This will not delete your personal information or applications you have installed but it would be best to back it up to Time Machine before you do.  The article on how to do this is here. (http://www.apple.com/macosx/recovery/)  I have had to do this before and it works like a charm.  It should fix your issue but grab a cup of coffee because its going to take about 35 - 40 minutes depending on how fast your computer is.

  • [SOLVED] Freezing while executing /usr/bin/openbox from Openbox menu

    I'm following the instructions in this webpage to create a dynamic menu. I have successfully achieved this on my laptop by installing the openbox-menu package and typing the following lines in menu.xml:
    <menu id="desktop-app-menu" label="Applications" execute="/usr/bin/openbox-menu lxde-applications.menu" />
    For some reason, the same doesn't work on my desktop PC. After editing and saving the menu.xml file, I restart Openbox and when I right click the desktop and hover the "Applications" menu item the desktop freezes. However, I can still move the mouse and switch to other ttys with Ctrl+Alt+Fx, therefore I believe it's reasonable to suggest that the problem lies in the permissions.
    What should I do about it?
    Last edited by Martificiam (2013-02-03 11:29:21)

    Umm, that's not "some random" webpage at all... It worked on all of my Arch Linux installations. The "lxde-applications.menu" is just an argument. But thanks for the link, I'll look into it.
    It's just that it's more of a workaround, not a solution, really... since it has ALWAYS worked for me.
    Furthermore, while setting up Arch on my laptop I remember experiencing similar problems (running a particular program from the openbox menu and resulting in a desktop freeze). This must have something to do with permissions.
    Edit: the xdg_menu worked perfectly, but I would still prefer to use the openbox-menu. I'm marking this as solved anyway.
    Last edited by Martificiam (2013-02-03 11:29:06)

  • Command Line Tools installs the latest version of clang (and others) in /Library/Developer/CommandLineTools/... but not in /usr/bin/

    I've upgraded Xcode to the latest 5.1 Installed Command Line Tools via xcode-select --install Homebrew tells me "A newer Command Line Tools release is available"
    brew --config:
    Xcode: 5.1 CLT: 5.1.0.0.1.1393561416 LLVM-GCC: build 2336 Clang: 3.1 build 318
    Checking my clang executable:
    $ /usr/bin/clang --version Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn)
    $ /Library/Developer/CommandLineTools/usr/bin/clang --version Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
    So it appears Command Line Tools didn't install clang (and perhaps other executables) into /usr/bin? I checked my other laptop (w/ Mavericks), and /usr/bin/clang is version 5.1.
    So I'm guessing this is the problem? I've tried to reinstall Command Line Tools as sudo, but now it won't let me install again (says software isn't currently available).
    Can anyone help me with this? I've spent hours on it now, but can't find a solution.
    Thanks

    BTW, I installed Xcode 5.1 from the Store, but have never run xcode-select --install.  Here is the verbose output from a clang.
    xew ~/$:clang -v -o hello main.c
    Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
    Target: x86_64-apple-darwin13.1.0
    Thread model: posix
    "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain /usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.9.0 -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name main.c -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 236.3 -v -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/ usr/bin/../lib/clang/5.1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/ SDKs/MacOSX10.9.sdk -fdebug-compilation-dir /Users/xew -ferror-limit 19 -fmessage-length 100 -stack-protector 1 -mstackrealign -fblocks -fobjc-runtime=macosx-10.9.0 -fencode-extended-block-signature -fdiagnostics-show-option -fcolor-diagnostics -vectorize-slp -o /var/folders/zf/d5vqmmtn5mq7h6766jtlkrvr0000gn/T/main-353995.o -x c main.c
    clang -cc1 version 5.1 based upon LLVM 3.4svn default target x86_64-apple-darwin13.1.0
    ignoring nonexistent directory "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer /SDKs/MacOSX10.9.sdk/usr/local/include"
    ignoring nonexistent directory "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer /SDKs/MacOSX10.9.sdk/Library/Frameworks"
    #include "..." search starts here:
    #include <...> search starts here:
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/ usr/bin/../lib/clang/5.1/include
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/ usr/include
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/ SDKs/MacOSX10.9.sdk/usr/include
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/ SDKs/MacOSX10.9.sdk/System/Library/Frameworks (framework directory)
    End of search list.
    "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain /usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.9.0 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/ SDKs/MacOSX10.9.sdk -o hello /var/folders/zf/d5vqmmtn5mq7h6766jtlkrvr0000gn/T/main-353995.o -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/ usr/bin/../lib/clang/5.1/lib/darwin/libclang_rt.osx.a
    xew ~/$:

  • [Solved] How to save a file in /usr/bin/local using gedit as an admin?

    In my attempt to run these two programs:
    https://github.com/kerchen/export_gr2evernote
    https://github.com/spiermar/bookmarks2evernote
    I noticed they assumed the default python is python 2. I have python 3.3.1 and 2.6.8. I'm following the instructions at: https://wiki.archlinux.org/index.php/Py … ld_scripts
    Created a file with this:
    #!/bin/bash
    script=`readlink -f -- "$1"`
    case "$script" in
    /home/Dropbox/export_gr2evernote-master1/*|/home/Dropbox/bookmarks2evernote2/*)
        exec python2 "$@"
    esac
    exec python3 "$@"
    I then, tried to save it as p2 under /usr/local/bin/ where the only thing that's there is meteor, node, and npm, and it throws me an error saying I don't have enough permissions.
    How do I save p2 as an admin in /usr/bin/local using gedit?
    I've searched on the forums 'create a file in /usr/' and I haven't found anything. Can someone please help me?
    Last edited by jjshinobi (2013-04-23 05:20:47)

    jjshinobi wrote:
    sidneyk wrote:
    jjshinobi wrote:
    I moved p2 to bin, edited my projects path with the username in front of home, saved it as python, made it executable (#sudo chmod +x /usr/local/bin/python), removed p2. Ran:
    #python evernote2enex.py -m 10
    It's still referencing python 3...
    "python3: can't open file 'evernote2enex.py': [Errno 2] No such file or directory"
    My python file contains this:
    #!/bin/bash
    script=`readlink -f -- "$1"`
    case "$script" in
    /home/<user>/Dropbox/export_gr2evernote-master1/*|/home/<user>/Dropbox/bookmarks2evernote2/*)
        exec python2 "$@"
    esac
    exec python3 "$@"
    I did everything exactly like the wiki said, what seems to be the problem?
    OK. Looking at the 2 scripts you quoted, neither one is using a shbang line to set a python version to call. Without that, the python intercept doesn't even come into play. The problem that I see is the way you are starting it:
    sudo nano /usr/local/bin/python
    Is root really necessary for these if they are in your /home/<user>/Dropbox/ directory. And it appears that you are assuming python3 when you start them that way. If you are going to use that method and they are indeed python2 scripts, then change your command to this:
    #python evernote2enex.py -m 10
    You might try it as your normal user too in case root isn't really required.
    I tested out the first ten with:
    #python2 export2enex.py -m 10
    it worked!
    then proceded with
    #python2 export2enex.py GStarred -n exported.enex
    The script is fully functional. Thanks man!
    Actually, you're not even using the script when starting your python scripts that way. You are explicitly calling either python3 (python) or python2 (python2) to run the indicated python script and not even touching the work around /usr/local/bin/python script. If your python script started with a line like either :
    #!/usr/bin/env python
    or:
    #!/usr/bin/python
    And was executable, such that you called it by it's name, i.e. "someprogram.py", then the python script in /usr/local/bin/ would take precedence and effectively intercept the python call and choose the appropriate version of python as long as the path to the directory where "someprogram.py" resides is specified in that /usr/local/bin/python script.
    Last edited by sidneyk (2013-04-25 15:40:19)

  • [SOLVED]pacman fails to upgrade... /usr/bin/vercmp: cannot execute bin

    Proceed with installation? [Y/n] y
    :: Retrieving packages from core...
    pacman-3.2.1-1-x86_64 491.3K 1850.7K/s 00:00:00 [########################################################################################################] 100%
    checking package integrity...
    (1/1) checking for file conflicts [########################################################################################################] 100%
    (1/1) upgrading pacman [########################################################################################################] 100%
    warning: /etc/pacman.d/mirrorlist installed as /etc/pacman.d/mirrorlist.pacnew
    /tmp/alpm_eT02H1/.INSTALL: line 5: /usr/bin/vercmp: cannot execute binary file
    /tmp/alpm_eT02H1/.INSTALL: line 5: [: : integer expression expected
    Here is more info on my system and the file vermcp is installed and permissions seem correct.
    http://rafb.net/p/MYk3pO21.html
    HELP?
    Last edited by rooloo (2008-09-09 00:07:09)

    Ok, this was my dumb mistake again. I was testing out powerpill on my server which is a 32 bit machine. I tried copying my 64 bit mirrorlist to my 32 bit server because I have it ranked and slimmed down to only the essential servers.

  • Make: execvp: /usr/bin: Permission denied[SOLVED]

    hey, I'm trying to install an app called jconv.
    I get this error:
    make: execvp: /usr/bin: Permission denied
    here is the make file..(don't have the first clue on making a PKGBUILD)
    #  Copyright (C) 2005-2007 Fons Adriaensen <[email protected]>
    #  This program is free software; you can redistribute it and/or modify
    #  it under the terms of the GNU General Public License as published by
    #  the Free Software Foundation; either version 2 of the License, or
    #  (at your option) any later version.
    #  This program is distributed in the hope that it will be useful,
    #  but WITHOUT ANY WARRANTY; without even the implied warranty of
    #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    #  GNU General Public License for more details.
    #  You should have received a copy of the GNU General Public License
    #  along with this program; if not, write to the Free Software
    #  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
    PREFIX = /usr
    SUFFIX := $(shell uname -m | sed -e 's/^unknown/$//' -e 's/^i.86/$//' -e 's/^x86_64/$/64/')
    LIBDIR = lib$(SUFFIX)
    DISTDIR = jconv-$(VERSION)
    VERSION = 0.2.0
    LDFLAGS += -L$(PREFIX)/$(LIBDIR)
    CPPFLAGS += -O3 -Wall -MMD -MP -DVERSION=\"$(VERSION)\"
    #CPPFLAGS += -march=i686 -mtune=pentium4 -msse -msse2 -m3dnow -O3 -ffast-math
    # Uncomment if you use a libsndfile version without support for setting/getting the Ambisonic flags.
    CPPFLAGS += -DNOAMBIS=1
    all:    jconv fconv mkwavex
    JCONV_O =    jconv.o config.o jconfig.o jclient.o
    jconv:    LDLIBS += -lzita-convolver -lfftw3f -lsndfile -lclthreads -ljack -lpthread -lrt
    jconv:    $(JCONV_O)
        g++ $(LDFLAGS) -o $@ $(JCONV_O) $(LDLIBS)
    $(JCONV_O):
    -include $(JCONV_O:%.o=%.d)
    FCONV_O =    fconv.o config.o fconfig.o
    fconv:    LDLIBS += -lzita-convolver -lfftw3f -lsndfile -lpthread -lrt
    fconv:    $(FCONV_O)
        g++ $(LDFLAGS) -o $@ $(FCONV_O) $(LDLIBS)
    $(FCONV_O):
    -include $(FCONV_O:%.o=%.d)
    MKWAVEX_O =    mkwavex.o impdata.o
    mkwavex : LDLIBS += -lsndfile -lrt
    mkwavex:    $(MKWAVEX_O)
        g++ $(LDFLAGS) -o $@ $(MKWAVEX_O) $(LDLIBS)
    install:    jconv fconv mkwavex
        /usr/bin/install -m 755 jconv $(PREFIX)/bin
        /usr/bin/install -m 755 fconv $(PREFIX)/bin
        /usr/bin/install -m 755 mkwavex $(PREFIX)/bin
    clean:
        /bin/rm -f *~ *.o *.a *.d *.so jconv fconv
    Last edited by funkmuscle (2008-10-23 21:51:15)

    Thanx Chok. I know that. That's why I'm posting this. This app was make for debian so it's something to do with:
    install:    jconv fconv mkwavex
        /usr/bin/install -m 755 jconv $(PREFIX)/bin
        /usr/bin/install -m 755 fconv $(PREFIX)/bin
        /usr/bin/install -m 755 mkwavex $(PREFIX)/bin
    solved...I removed [/usr/bin/install -m 755] and replaced with [install]
    so it looked like this:
    install $(PREFIX)/bin
    Last edited by funkmuscle (2008-10-23 21:50:26)

Maybe you are looking for

  • Error checking for OS X updates

    hi, im getting this message when checking for updates (App Store)   " an error has occurred Could not load data from Apple's software update server " bootcamp assistant is giving me this message too "Could not download the software due to a network p

  • Filling out PDF forms in Landscape Mode

    I have used Preview to fill out PDF forms in Portrait mode and it's very nice because I can save the modified file and email it to others, or just keep it for reference. Anyway, I downloaded a PDF form and tried to fill out the text. It highlights th

  • Why has my iphone disabled itself

    Put my phone on charge with Apple iPhone charger and it suddenly started playing a song, the screen started to shake. When I typed in my pass code to unlock it, a message came up iphone disabled Had phone since May bought it from O2 shop. Can anyone

  • WRT55AG A+G Wireless Router Trouble!

    Ok, so I've tried a few different options here but im still haveing a hard time getting my internet to find its way thru my router. My ISP is Bellsouth DSL and the router im using is the WRT55AG wireless a+g router. Im running on vista and im not sur

  • Application's main window is not repainted

    Hello everybody. The system I am using Product Version: NetBeans IDE 6.5 (Build 200811100001) Java: 1.6.0_12; Java HotSpot(TM) Client VM 11.2-b01 System: Windows Vista version 6.0 running on x86; Cp1251; ru_RU (nb)I created Java Desktop application (