Command not found on running binary files.

I have a very strange problem with my new arch installation, which I never faced on other linux installations/distros.
I'm trying to execute binary files from android-sdk, which I have them from other distros and always worked, and I get always "command not found" message. For e.g I tried to run adb(5 different files from different places), from terminal and from the folder in which is each and all times I get "command not found" message.
Some other work though, as eclipse binary. All files I've tried worked fine, and also work fine if I run them from Ubuntu installation.
I had this problem and for some newly isntalled packages too, as packagkit, and rutorrent. Packagekit worked after a reboot, but rutorrent gives same message.
Any help?

user-arch@archusrpc /home/@solushome/user-solus/QtADB-cwm_edition $ QtADB
bash: QtADB: command not found
user-arch@archusrpc /home/@solushome/user-solus/QtADB-cwm_edition $ ./QtADBbash: ./QtADB: No such file or directory
user-arch@archusrpc /home/@solushome/user-solus/QtADB-cwm_edition $ sh ./QtADB
./QtADB: ./QtADB: cannot execute binary file
user-arch@archusrpc /home/@solushome/user-solus/QtADB-cwm_edition $ sh QtADB
QtADB: QtADB: cannot execute binary file
user-arch@archusrxpc /home/@solushome/user-solus/QtADB-cwm_edition $ ls -l
σύνολο 2940
-rw-rw-r-- 1 user-arch 1000    5259 Απρ  13  2012 Changes.txt
-rw-rw-r-- 1 user-arch 1000   25330 Ιούν 26  2012 debug.log
-rwxrwxr-x 1 user-arch 1000 2970612 Απρ  13  2012 QtADB
drwxr-xr-x 1 user-arch 1000       0 Ιούν 26  2012 tmp
drwxrwxr-x 1 user-arch 1000     366 Μάρ  13  2012 tools
user-arch@archusrpc /home/@solushome/user-solus/QtADB-cwm_edition $
Last edited by dancer69 (2013-01-17 18:30:23)

Similar Messages

  • 'java_wrapper: command not found'  when running license script

    Hello, am trying to run a third party application licensing script which needs JRE to run. This script is failing with the following error. 'java_wrapper: command not found' ...
    Can anyone assist with ideas of resolution?! Does a path need to be set? Does JRE (1.4.1_x) need to live in a specific part of the unix filesystem (solaris 8)?!
    Thanks!!

    This is not a TNS names issue if you can connect to database. It could be a network problem, but more likely it's a problem with the installation of the app server. When you install the app server, it should use the name assigned to the server. I don't believe you can just make up a name for an app server unless it is known to the network.

  • Sha one sum - command not found

    Question: how to extract the key from a sha 1.
    I have been trying to work with sha 1 sum in lower case, and upper case and the replay i receive back is the command not found.
    <code>
    $ sha1sum /file/path
    -bash: sha1sum: command not found
    SHA1SUM /file/path
    SHA1SUM: command not found
    $ SHA1 /file/path
    SHA1: command not found
    $ sha1 file/path
    sha1: command not found
    </code>
    I did some search and there was the suggestion to use:::
    openssl sha1 <path/filename.ext>,
    and that worked to some degree with the options.
    Yet i still cannot get a key from the digest or file to play, match keys.
    any suggestions ?.
    Thank you

    Do you just want the sha1 digest value?
    openssl sha1 tmp.tmp
    SHA1(tmp.tmp)= 154848670fbf9c7b81ee88dc22c33fb2a28ad8c7
    for example:
    digest=$(openssl sha1 tmp.tmp)
    digest=${digest/*= /}
    echo $digest
    154848670fbf9c7b81ee88dc22c33fb2a28ad8c7
    You can use "man openssl" to find out more about the command, however, you might find more information via a google search on sha1 digests.
    PS. To enter code in the forums, you use a pair of idential tags:
    ... your code here ...
    {code}
    Message was edited by: BobHarris

  • Shell Commands not found error when running application

    Hello,
    Im using MonoDevelop IDE in my Mac, before it used to work fine but after few days, now when I'm opening the application nothing happens., i checked the Console  for the log and it says this
    May  9 21:29:39 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x52052].com.ximian.monodevelop[1510]: /Applications/MonoDevelop.app/Contents/MacOS/monodevelop: line 17: dirname: command not found 
    May  9 21:29:39 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x52052].com.ximian.monodevelop[1510]: /Applications/MonoDevelop.app/Contents/MacOS/monodevelop: line 31: //mono-version-check: No such file or directory
    May  9 21:29:39 Sri-Vishnu-Totakuras-MacBook-Pro com.apple.launchd.peruser.501[599] ([0x0-0x52052].com.ximian.monodevelop[1510]): Exited with code: 1
    I thought may be some error with the "dirname" command, so i commented it in the code and gave the path of directory myself and then the console shows up like this.
    May  9 21:34:12 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x56056].com.ximian.monodevelop[1532]: /Applications/MonoDevelop.app/Contents/MacOS//mono-version-check: line 19: grep: command not found 
    May  9 21:34:12 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x56056].com.ximian.monodevelop[1532]: /Applications/MonoDevelop.app/Contents/MacOS//mono-version-check: line 19: cut: command not found
    May  9 21:34:12 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x56056].com.ximian.monodevelop[1532]: /Applications/MonoDevelop.app/Contents/MacOS//mono-version-check: line 20: cut: command not found
    May  9 21:34:12 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x56056].com.ximian.monodevelop[1532]: /Applications/MonoDevelop.app/Contents/MacOS//mono-version-check: line 21: cut: command not found
    May  9 21:34:12 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x56056].com.ximian.monodevelop[1532]: /Applications/MonoDevelop.app/Contents/MacOS//mono-version-check: line 22: cut: command not found
    May  9 21:34:12 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x56056].com.ximian.monodevelop[1532]: /Applications/MonoDevelop.app/Contents/MacOS//mono-version-check: line 31: osascript: command not found
    May  9 21:34:12 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x56056].com.ximian.monodevelop[1532]: Cannot launch MonoDevelop
    May  9 21:34:12 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x56056].com.ximian.monodevelop[1532]: MonoDevelop requires the Mono Framework version 2.10.4 or later.
    May  9 21:34:12 Sri-Vishnu-Totakuras-MacBook-Pro com.apple.launchd.peruser.501[599] ([0x0-0x56056].com.ximian.monodevelop[1532]): Exited with code: 1
    I opened the contents of the application and run the shell script for opening aplication there it worked very fine and application started working.. But if i open application directly through launchpad or finder it doesnt show up and console
    I tried running those commands in the terminal directly there they work.. But dunno whats wrong in here. and even if try to open the application through the terminal it all opens fine.. what could be the possible problem, is it with my mac..?

    i finally figured out the problem.. it is with the environmental variables.  the path for all those commands like "grep" is not being set for the GUI applications.  that is why i got that error. 
    for those GUI applications which require path, we have to set path in the file /etc/launchd.conf  the environmental variables set in here are used by the gui applications and those which are launched through spotlight.
    that file may bot be present in most of the macs. No problem even if not present,we can create one and use.
    so  type in terminal
              $ sudo vi /etc/launchd.conf     
    and in the editor add these lines
              setenv PATH = /new/path
    and save.  Note: replace /new/path with the path which you need to have for the commands used in the script.
    remeber that you need to restart your mac for applications to use these environmental variables.

  • Recover Accidentally Deleted Files in OS X via Terminal, "command not found"

    Hi!
    I am trying to recover a folder from the trash. It was deleted 30 min ago. The command I am trying to use is;
    Mys-MacBook-Pro:~ storedisk$ com.apple.Finder AppleShowAllFiles true
    And the response is;
    -bash: com.apple.Finder: command not found
    When I open any Terminal window I get this message, I don't know if this is relevant;
    Last login: Wed Nov 13 08:27:40 on ttys001
    I have found some similar replies on the forum but they do not seem to work in my case. I'm new to Terminal so I would really appreciate the help to find the cause and to resolve my problem.
    Thanks a lot!

    Thank you so much. This is the reply that I got;
    Mys-MacBook-Pro:~ storedisk$ ls -a .Trash
    .                                        Cherry Blossoms
    ..                                        FLiCKS
    .DS_Store                              Nicholas Nickleby (1977)
    13 Tzameti                              Robin Hood (2010)
    Catch-22 [1970]                              We Live in Public 2009
    Mys-MacBook-Pro:~ storedisk$ mv .Trash/FLiCKS .
    Mys-MacBook-Pro:~ storedisk$
    Mys-MacBook-Pro:~ storedisk$ mv .Trash/FLiCKS
    usage: mv [-f | -i | -n] [-v] source target
           mv [-f | -i | -n] [-v] source ... directory
    It is the FLiCKS folder that I am trying to retreive. Does this mean that I can retreive it? And if so, when I use the command mv .Trash/filename, where should it appear? Sorry for not fully understanding the instructions.
    I also tend to empty the trash cumpulsively, which is how this happened in the first place. Trying to empty the files already in the trash but accidentally having had this folder selected I emptied that and kept the files that I didn't want.
    The trash folder still has the size as if the folder FLiCKS is still in there though, if that makes any difference?
    Thank you for all of your help.

  • Command not found error while executing a shell script

    Hello,
    I am a newbie to linux.I am attaching the code which gives me following errors..
    error list:
    1. no such file or directory enviornemnt
    2. command not found
    3. ambiguous redirectline
    Script
    cd $HOME/wkdir
    rm /tmp/*.log
    # source environment
    . ./env
    # Run the install script to setup the database
    # Configure SH account
    sqlplus "/ as sysdba" <<! > /tmp/perflab_install.log 2>&1
    grant connect, resource, dba to SH;
    alter user sh account unlock;
    # create the fetch_n_rows procedure
    sqlplus "$PERFLAB_USER" <<! >> /tmp/perflab_install.log 2>&1
    drop index sales_time_bix;
    drop index sales_time_idx;
    create index sales_time_idx on sales(time_id) compute statistics;
    -- fetch_n_rows: fetches 'n' rows from the specified statement --
    CREATE OR REPLACE PROCEDURE fetch_n_rows(
    stmt VARCHAR,
    name VARCHAR,
    nexec NUMBER := 1,
    nrows NUMBER := 0,
    debug BOOLEAN := FALSE)
    IS
    -- Local variables
    curs INTEGER := null;
    rc INTEGER;
    nexec_it INTEGER := 0;
    nrows_it INTEGER;
    BEGIN
    dbms_application_info.set_module('DEMO', name);
    WHILE (nexec_it < nexec)
    LOOP
    curs := DBMS_SQL.OPEN_CURSOR;
    DBMS_SQL.PARSE(curs, stmt, DBMS_SQL.NATIVE);
    rc := DBMS_SQL.EXECUTE(curs);
    nrows_it := 0;
    LOOP
    IF (dbms_sql.fetch_rows(curs) <= 0 OR (nrows <> 0 AND nrows_it = nrows
    THEN
    EXIT;
    ELSE IF (debug = TRUE)
    THEN
    DBMS_OUTPUT.PUT_LINE(nrows_it);
    END IF;
    END IF;
    nrows_it := nrows_it + 1;
    END LOOP;
    DBMS_SQL.CLOSE_CURSOR(curs);
    nexec_it := nexec_it + 1;
    END LOOP;
    dbms_application_info.set_module(null, null);
    END fetch_n_rows;
    show errors
    # Start the workload
    . ./start_workload.sh > /tmp/setup_perflab.log 2>&1
    # Wait two minutes for workload to get going
    sleep 120
    # Modify snapshot interval
    sqlplus -s /NOLOG <<EOF >> /tmp/setup_perflab.log 2>&1
    connect / as sysdba
    set head on
    set feedback on;
    set pagesize 40
    rem -- event to allow setting very short Flushing interval
    alter session set events '13508 trace name context forever, level 1';
    rem -- change INTERVAL setting to 2 minutes
    rem -- change RETENTION setting to 6 hours (total of 180 snapshots)
    execute dbms_workload_repository.modify_snapshot_settings(interval => 2,-
    retention => 360);
    EOF
    Note : start_workload.sh is also in the same directory..
    Any help would be greatly appreciated.

    Please put your script between "code" format delimiters.
    http://wiki.oracle.com/page/Oracle+Discussion+Forums+FAQ
    You can add the line "set -x" at the beginning of your script to see at which line it fails? I suspect the . ./env line.

  • Executing CR HOST script, encountering command not found

    Hi All,
    I new to writing Host scripts, especially for use within the Applications.
    I need to go out to an FTP site and grab a file.
    The FTP portion of the script works fine.
    The problem I'm encountering is with the execution of regular commands like 'cd' or 'mv'.
    The error comes back, ...line xx: cd: command not found
    When I have an actual directory path with the cd command - I always get, No such file or directory...
    (I have verified the directory paths I'm attempting to change to exist and available.)
    The FTP portion executes, but the received file goes into some obscure server directory. Can't even perform a move of the file.
    The echo command works fine.
    I have created just a dummy script to do a cd /u32/... command and still the same Error.
    Any suggestions will be very helpful.
    Thanks,
    Bradley

    Here is a main code script....
    #$HEADER: XX_BANK_STMTS_IMPORT
    # PROGRAM NAME: XX_BANK_STMTS_IMPORT
    # PURPOSE:
    # Load XXXX Bank Statements
    # XX Bank Statements Import Concurrent Program
    # This script requires to run as Concurrent Request
    P_LOGIN="$1"
    P_USER_ID="$3"
    P_REQUEST_ID="$4"
    REMOTE_USER=ftpuser
    REMOTE_PASSWD=ftpuser
    FTP_DIR=u32/oracle/DBCTEST/apps/apps_st/xxcust/12.0.0/ftp/inbound
    REMOTE_PATH=public/dbco_cng/reporting
    REMOTE_FILE=*.PGP
    echo "USER = "${USER}
    echo "HOST = "${HOSTNAME}
    echo "Directory = "${PWD}
    cd /u32/oracle/XXXTEST/apps/apps_st/appl/xxcust/12.0.0/ftp/inbound
    echo "Directory = "${PWD}
    echo " Transferring File"
    ftp -n -i -v <<-EOF
    open XX.XX.XXX.XXX
    user $REMOTE_USER $REMOTE_PASSWD
    ##lcd $FTP_DIR
    cd $REMOTE_PATH
    mget $REMOTE_FILE
    EOF
    I get errors like
    /u32/oracle/XXXTEST/apps/apps_st/appl/xxcust/12.0.0/bin/XX_BANKFILE_LOAD.prog: line 108: cd: /u32/oracle/XXXTEST/apps/apps_st/appl/xxcust/12.0.0/ftp/inbound
    : No such file or directory
    or if I just put the cd command:
    cd: commad not found
    The commented out lcd was from previous tries at doing it that way... No luck.
    Thanks.

  • SPident command not found SLES 11

    I have a SLES 11 server running ZLM 7.3 and with SLES10sp1 & 2 I could run SPident -vv to verify my system was up-to-date. When I type SPident -vv in SLES 11 I get the following:
    # SPident -vv
    If 'SPident' is not a typo you can run the following command to lookup the package that contains the binary:
    command-not-found SPident
    -bash: SPident: command not found
    I tried Googling around to see if this command was replaced but came up empty handed. Is there a new command to use? I tried to see if I could add it from Yast but nothing should up there either. Is there a new way to see if you system is up-to-date?

    I saw in the changelog for sles 11 that SPident was replaced by the command "sam".
    That is part of the suse-sam package if you not already have installed it.
    Try that.
    Rainer

  • 8.0.5 install fails ..." make: command not found ..."

    Hi there,
    I hope anyone can solve my installation problem.
    When running the installer to install Oracle 8.0.5 RDBMS the
    installer reports on "O/S error"
    Error during action 'creating rdms/lib/psoliblist'.
    Command: make -f ins_rdbms.mkb
    /oracle/oracle805/rdbms/lib/psoliblist
    sh: make: command not found
    I haven't been able to find an "make" command/file on my redhat
    6.0
    Is there on anyone else's redhat 6.0?
    Thanx 4 any replies.
    null

    I had this same thought and had made sure the make-7.77-6 was
    installed. I restarted linux (just incase) and attempted to
    install oracle once again. I am installing Oracle 8051 EE on RH
    60. Linux is running on a PII 300 with 128M. The error i
    recieve is listed below.
    I continue to recieve the same error as OTN usere "truncate1".
    Though i get a bit more text with the error this time around.
    <><><><><><><><><><><><><><><><><><><><><>
    error: make -f
    /oracle/oracle8051/network/lib/ins_network.mkntcontab.o
    (if [ "compile" = "compile" ] ;then \
    /oracle/oracle8051/bin/gennttab > ntcontab.c ;\
    cc -c ntcontab.c ;\
    rm -f /oracle/oracle8051/lib/ntcontab.o ;\
    mv ntcontab.o /oracle/oracle/lib ;fi)
    /bin/sh: cc: command not found
    mv: ntcontab.o No such file or directory
    make: ***[ntacontab.o] Error 1
    <><>><><><><><><><><><><><><><><><><><>
    Any thoughts?
    Thanks,
    dennis anthony.
    [email protected]
    Jan Gr0nlien (guest) wrote:
    : truncate1 (guest) wrote:
    : Hi,
    : my RH 6.0 has make installed in RPM "make-3.77-6".
    : That should do it for you to.
    : Regards Jan
    : : Hi there,
    : : I hope anyone can solve my installation problem.
    : : When running the installer to install Oracle 8.0.5 RDBMS the
    : : installer reports on "O/S error"
    : : Error during action 'creating rdms/lib/psoliblist'.
    : : Command: make -f ins_rdbms.mkb
    : : /oracle/oracle805/rdbms/lib/psoliblist
    : : sh: make: command not found
    : : I haven't been able to find an "make" command/file on my
    redhat
    : : 6.0
    : : Is there on anyone else's redhat 6.0?
    : : Thanx 4 any replies.
    null

  • Xorg: module "glx" and commands not found???

    Hello, all.
    I'm fairly new to Linux but I'm not a total noob. I have FC6 on my laptop and am currently trying to get a GUI working for Arch on my desktop.
    I pacman-ed hwd, and ran it to create a Xorg.conf, and upon running it I get the following errors:
    (EE) Failed to load module "glx" (module does not exist, 0)
    /etc/X11/xinit/xinitrc: line 28: twm: command not found
    /etc/X11/xinit/xinitrc: line 29: xclock: command not found
    /etc/X11/xinit/xinitrc: line 30: xterm: command not found
    /etc/X11/xinit/xinitrc: line 31: xterm: command not found
    /etc/X11/xinit/xinitrc: line 32: exec: xterm: not found
    waiting for X server to shut down FreeFontPath: FPE "/usr/share/fonts/misc:unscaled" refcount is 2, should be 1; fixing.
    The last comment it makes I know isn't critical, so I'm not worried about that. But I need help with the "glx" part and the commands not found.
    Thanks in advance.

    Did you installed libgl-dri? If not install it, and it will fix glx problems.
    For the command not found, you need to create a ~/.xinitrc file. Before, you'll need to install the WM/DE that you want to use.
    There is a sample file in the wiki: http://wiki.archlinux.org/index.php/Sta … ents_HOWTO

  • Mkinitcpio err: command not found [solved]

    I rebuilt fbsplash yesterday and get this error when running 'mkinitcpio -p kernel26'
    -> Parsing hook: [fbsplash]
    /lib/initcpio/install/fbsplash: line 90: err: command not found
    Line 90 reads
    err "Theme invalid or not found: '$theme'"
    The maintainer of fbsplash reported that 'err' is a function in /lib/initcpio/init_functions which is part of the package mkinitcpio.
    However looking through the other scripts in /lib/initcpio/install/ this is the only one which uses this command and thus the only one producing the error.
    Is it not valid?
    Last edited by subatomic (2011-07-13 08:51:42)

    falconindy wrote:
    Mr.Elendig wrote:Maybe he haven't updated it for the latest release of mkinitcpio
    This. The 'err' function no longer exists.
    http://projects.archlinux.org/mkinitcpi … 88108eb385
    Yes, I have updated to the latest release of mkinitcpio in [core]. It's 0.7.2-1. And the function 'err' is still in /lib/initcpio/init_functions which is part of mkinitcpio 0.7.2-1 and used by the file /lib/initcpio/init, the hook 'net' which is also included in mkinitcpio 0.7.2-1 and by the hook 'encrypt' which is part of cryptsetup 1.3.1-2.
    Just run:
    grep -Rw err /lib/initcpio
    And I didn't get the 'command not found' error. Nevertheless I have replaced the 'err' calls by 'error' calls in the fbsplash hook.
    Btw., is there a documentation about the mkinitcpio API?

  • Virtualbox problem: modprobed_db: command not found[SOLVED]

    I'm running arch in virtualbox.
    and when I run # virtualbox, error:
    "VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/usr/lib/virtualbox/VirtualBox.so",) failed: libQtCore.so.4: cannot open shared object file: No such file or directory"
    wiki write: "Note: You may need to update the kernel modules db in order to avoid 'no such file or directory' error when loading vboxdrv. Run: modprobed_db."
    but result:
    "# modprobed_db
    bash: modprobed_db: command not found
    Last edited by lqs (2012-07-27 09:00:44)

    modprobed_db can be found in the AUR. It collects all modules which have ever been loaded on your system. It's very practical if you compile a custom kernel and only want to include the modules you need.
    I think this doesn't solve your problem. Your system is missing the file /usr/lib/libQtCore.so.4 Do you have [testing] enabled? If so, do you also have [community-testing] enabled? I'll need more input to be able to help properly.

  • Opmnctl status: "bash: opmnctl: command not found"

    Hi All,
    I am working to setup an OBI 11g VM image to my local system. The VM is a linux OS and my local m/c is Windows7. I am able to login to the VM using oracle/oracle. But the thing is, I am not able to start up my BI server over the VM.
    I checked the status of opmnctl file present at: /home/oracle/obiee/instances/instance1/bin. But getting the message as "bash: opmnctl: command not found".
    I did reboot the VM a few times as well. But, i am not sure can this be a problem? Please suggest what I did wrong and how can I resolve it.
    Thanks.

    Is opmn running?
    try using a different shell e.g ksh.
    l

  • [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)

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

Maybe you are looking for