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.
Similar Messages
-
Patch: command not found
While trying to build freetype2-lcd with makepkg -c, I keep getting the following error:
wiltell ~/build/freetype2-lcd $ makepkg -c
==> Making package: freetype2-lcd 2.3.5-3 (Mon Mar 24 17:02:26 CET 2008)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found freetype-2.3.5.tar.bz2 in build dir
-> Found bytecode.patch in build dir
-> Found freetype-2.3.0-enable-spr.patch in build dir
-> Found freetype-2.2.1-enable-valid.patch in build dir
-> Found freetype-2.2.1-memcpy-fix.patch in build dir
-> Found freetype-2.2.1-subpixel-disable-quantization.diff in build dir
==> Validating source files with md5sums...
freetype-2.3.5.tar.bz2 ... Passed
bytecode.patch ... Passed
freetype-2.3.0-enable-spr.patch ... Passed
freetype-2.2.1-enable-valid.patch ... Passed
freetype-2.2.1-memcpy-fix.patch ... Passed
freetype-2.2.1-subpixel-disable-quantization.diff ... Passed
==> Extracting Sources...
-> bsdtar -x -f freetype-2.3.5.tar.bz2
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
PKGBUILD: line 29: patch: command not found
==> ERROR: Build Failed.
Aborting...When building packages, ensure you have the entire base-devel group installed:
# pacman -S base-devel
In particular for this specific case, what you want is the 'patch' program:
# pacman -S patch
- but just install all of base-devel to prevent issues like this in the future. -
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.
/crobotThanks 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 -
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 failedHi!
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 -
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. -
(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) -
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) -
/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 -
./.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.
53what'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] Error uninstalling eclipse: "post-install: command not found"
When I try uninstalling eclipse , I get "error: command failed to execute correctly"
w0ng@e8500 ~
% sudo pacman -Rns eclipse
checking dependencies...
Targets (8): glib-networking-2.30.2-1 gsettings-desktop-schemas-3.2.0-1 gstreamer0.10-0.10.36-1
gstreamer0.10-base-0.10.36-1 libproxy-0.4.7-1 libsoup-2.36.1-1 libwebkit-1.6.3-1
eclipse-3.7.2-2
Total Removed Size: 243.84 MiB
Do you want to remove these packages? [Y/n] y
(1/8) removing eclipse [######################################] 100%
/tmp/alpm_eY6rVO/.INSTALL: line 10: post-install: command not found
error: command failed to execute correctly
(2/8) removing libwebkit [######################################] 100%
(3/8) removing libsoup [######################################] 100%
(4/8) removing glib-networking [######################################] 100%
(5/8) removing libproxy [######################################] 100%
(6/8) removing gsettings-desktop-schemas [######################################] 100%
No schema files found: removed existing output file.
(7/8) removing gstreamer0.10-base [######################################] 100%
(8/8) removing gstreamer0.10 [######################################] 100%
w0ng@e8500 ~
But all files appear to be removed successfully.
w0ng@e8500 ~
% sudo updatedb && locate eclipse
/usr/share/highlight/themes/edit-eclipse.theme
/usr/share/icons/Faenza/apps/16/eclipse.png
/usr/share/icons/Faenza/apps/22/eclipse.png
/usr/share/icons/Faenza/apps/24/eclipse.png
/usr/share/icons/Faenza/apps/32/eclipse.png
/usr/share/icons/Faenza/apps/48/eclipse.png
/usr/share/icons/Faenza/apps/64/eclipse.png
/usr/share/icons/Faenza/apps/96/eclipse.png
/usr/share/icons/Faenza/apps/scalable/eclipse.svg
/var/abs/community/eclipse-cdt
/var/abs/community/eclipse-cdt/PKGBUILD
/var/abs/core/licenses/eclipse-1.0.txt
/var/abs/extra/eclipse
/var/abs/extra/eclipse-ecj
/var/abs/extra/eclipse/PKGBUILD
/var/abs/extra/eclipse/eclipse.desktop
/var/abs/extra/eclipse/eclipse.install
/var/abs/extra/eclipse/eclipse.sh
/var/abs/extra/eclipse/eclipse.svg
/var/abs/extra/eclipse-ecj/PKGBUILD
/var/abs/extra/eclipse-ecj/ecj
w0ng@e8500 ~
Should I be concerned or is everything fine? Can anyone reproduce this?
Last edited by w0ng (2012-03-28 19:00:30)Check /var/abs/extra/eclipse/eclipse.install. Typo in post_remove: post-install should be post_install. You can run the post_install manually (and maybe report this in the bug tracker), but it just updates the gtk icon cache, so it's nothing to worry about.
-
Command not found(127) error for all commands
I'm basically having the same problem as the poster in this thread: http://discussions.apple.com/thread.jspa?threadID=1376825
Every time I try to run a program like Onyx, it gives me various errors basically indicating that it can't access any of the built-in unix commands like date or ls.
For example, one error I got was
"AppleScript Error
sh: line 1: date: command not found(127)"
Obviously, its not able to access any of the commands in the /usr/bin folder. However, when I execute date directly from the terminal, it works. My path is echoed as "/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/usr/local/ActivePerl-5.10 /bin:/usr/local/ActivePerl-5.10/site/bin:/usr/local/soylatte16-1.0.3/bin:/usr/lo cal/php5/bin//Library/Frameworks/Python.framework/Versions/2.6/bin:/bin:/sbin:/u sr/bin:/usr/sbin"
The second last entry is /usr/bin.
I even made the folder executable, but it didn't help. There's something seriously wrong with my Mac. A couple of days ago, I filled up the Startup Disk by mistake by torrenting too much. Could that be the source of the problem? Now, spotlight doesn't seem to have an index for the drive, programs are giving errors, and Onyx says the Volume Structure of the drive needs to be repaired.
I have been experimenting with developing, and did mess around with my path setting earlier, but have never faced this problem.Yes, in an ideal situation, a lot of my hard drive should have been free, but over the years, files build up. And I cannot actually foresee me wasting 15% of my hard disk by keeping it empty. The point of buying more space is that I should be able to use it.
Anyhow, I think 9.5 gb should be fine for basic functioning of the OS right? I don't see why 'date' should require 9.5 gb of free space to carry out its admittedly immense task of returning the current date! And the worst part is, its running correctly from the terminal, so I can't for the life of me figure out why applications can't access it correctly. -
[SOLVED] virtualbox-modules: dkms: command not found
$ makepkg -s
==> Making package: virtualbox-modules 4.2.6-4 (Tue Jan 29 15:42:01 EET 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Removing existing pkg/ directory...
==> Starting build()...
-> Host modules
/home/yuri/builds/virtualbox-modules/PKGBUILD: line 26: dkms: command not found
==> ERROR: A failure occurred in build().
Aborting...
$ which dkms
which: no dkms in (~/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/vendor_perl:/usr/bin/core_perl)
$ su - -c 'which dkms'
/usr/sbin/dkms
Since makepkg uses fakeroot (and should never be run as root), ...
https://wiki.archlinux.org/index.php/AUR
What is the proper way to make it work? Thank you.
Last edited by x-yuri (2013-01-29 19:33:44)It's not my PKGBUILD. It's PKGBUILD, downloaded by abs (community/virtualbox-modules):
# $Id: PKGBUILD 82593 2013-01-21 11:10:44Z tpowa $
# Maintainer: Ionut Biru <[email protected]>
# Maintainer: Sébastien Luttringer <[email protected]>
pkgbase=virtualbox-modules
pkgname=('virtualbox-host-modules' 'virtualbox-guest-modules')
pkgver=4.2.6
pkgrel=4
arch=('i686' 'x86_64')
url='http://virtualbox.org'
license=('GPL')
makedepends=('linux-headers'
"virtualbox-host-dkms>=$pkgver"
"virtualbox-guest-dkms>=$pkgver"
'expac'
'bc')
build() {
_kernver=$(expac -Q '%v' linux-headers)-ARCH
# dkms need modification to be run as user
cp -r /var/lib/dkms .
echo "dkms_tree='$srcdir/dkms'" > dkms.conf
# build host modules
msg2 'Host modules'
dkms --dkmsframework dkms.conf build "vboxhost/$pkgver" -k "$_kernver"
# build guest modules
msg2 'Guest modules'
dkms --dkmsframework dkms.conf build "vboxguest/$pkgver" -k "$_kernver"
package_virtualbox-host-modules(){
_kernver=$(expac -Q '%v' linux-headers)-ARCH
_extraver=extramodules-${_kernver%.*}-ARCH
pkgdesc='Host kernel modules for VirtualBox'
depends=("linux>=${_kernver%.*}" "linux<$(echo "${_kernver%.*}+0.1"|bc)")
replaces=('virtualbox-modules')
conflicts=('virtualbox-modules')
install=virtualbox-host-modules.install
install -dm755 "$pkgdir/usr/lib/modules/$_extraver"
cd "dkms/vboxhost/$pkgver/$_kernver/$CARCH/module"
install -m644 * "$pkgdir/usr/lib/modules/$_extraver"
find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
sed -ie "s/EXTRAMODULES='.*'/EXTRAMODULES='$_extraver'/" "$startdir/virtualbox-host-modules.install"
package_virtualbox-guest-modules(){
_kernver=$(expac -Q '%v' linux-headers)-ARCH
_extraver=extramodules-${_kernver%.*}-ARCH
pkgdesc='Guest kernel modules for VirtualBox'
license=('GPL')
depends=("linux>=${_kernver%.*}" "linux<$(echo "${_kernver%.*}+0.1"|bc)")
replaces=('virtualbox-archlinux-modules')
conflicts=('virtualbox-archlinux-modules')
install=virtualbox-guest-modules.install
install -dm755 "$pkgdir/usr/lib/modules/$_extraver"
cd "dkms/vboxguest/$pkgver/$_kernver/$CARCH/module"
install -m644 * "$pkgdir/usr/lib/modules/$_extraver"
find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
sed -ie "s/EXTRAMODULES='.*'/EXTRAMODULES='$_extraver'/" "$startdir/virtualbox-guest-modules.install"
# vim:set ts=2 sw=2 et:
Could it possibly be that this time makepkg must be run as root? -
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. -
Libxslt update errors [command not found]
keerthi ~ $ pacman -Syu
:: Synchronizing package databases...
[..edit..]
Targets: deluge-0.5.9.1-1 evolution-data-server-2.22.2-1 gtkhtml-3.18.2-1
libxslt-1.1.24-1 nautilus-actions-1.4.1-3
[..edit...]
(4/5) upgrading libxslt [#####################] 100%
/tmp/alpm_4raIJD/.INSTALL: line 25: y: command not found
(5/5) upgrading nautilus-actions [#####################] 100%
/tmp/alpm_Yzgkgr/.INSTALL: line 25: y: command not found
libxslt from today's set of updates errors out on upgrading. Anyone else having the issue?Same here... I got the same output during the update today:
checking package integrity...
(4/4) checking for file conflicts [#####################] 100%
(1/4) upgrading evolution-data-server [#####################] 100%
(2/4) upgrading gtkhtml [#####################] 100%
/tmp/alpm_JGRV9A/.INSTALL: line 25: y: command not found
(3/4) upgrading nautilus-actions [#####################] 100%
/tmp/alpm_Pqb8Aa/.INSTALL: line 25: y: command not found
(4/4) upgrading ntfs-3g [#####################] 100% -
Dear friends,
I am trying to get the list of active and inactive sessions for some users and created a script for this but getting some error message.
Could you please check why I am getting this error while running from the putty. The same sql command I run from sql developer and get the output with no errors.
Script:
set pagesize 0
set feedback off
set echo off
sqlplus '/as sysdba'
spool kill_session_list.sql;
select 'ALTER SYSTEM KILL SESSION '''||sid||','||serial#||''';'
from v$session
where type!='BACKGROUND'
and username in('RO_USER','KHALIED','INFAREP','DAC','DMUSER_PROD','LAND_PROD','STAGE_PROD','BIUSER_PROD','OLAPDW','DWRO');
spool off;
exit
Error msg:
./kill_session_generate.sql: line 5: spool: command not found
./kill_session_generate.sql: line 6: syntax error near unexpected token `||'
./kill_session_generate.sql: line 6: `select 'ALTER SYSTEM KILL SESSION '''||sid||','||serial#||''';''
Thanks.877938 wrote:
Dear friends,
I am trying to get the list of active and inactive sessions for some users and created a script for this but getting some error message.
./kill_session_generate.sql: line 5: spool: command not found
./kill_session_generate.sql: line 6: syntax error near unexpected token `||'
./kill_session_generate.sql: line 6: `select 'ALTER SYSTEM KILL SESSION '''||sid||','||serial#||''';''Odd.
Look at the script kill_session_generate.sql very carefully, especially the lines before and after the SPOOL command as well as the spool command itself. Consider deleting and retyping the line with the SPOOL command in case invisible special characters are causing problems
Good luck!
Maybe you are looking for
-
Wireless storage solution for mac and pc network?
I am trying to figure out a way for my pc's and power book to share files through a shared wireless hard drive. I need a new hard drive anyway, as mine is just about filled, but it seems silly to save all of my music to each computer instead of one l
-
Hi Experts, I have a question here. When ever we try to edit the business partner data in Customer/Prospect role in CRM. We are getting error message " please fill the sales office and sales group data in sales area xxx. We go to corresponding sales
-
Hello... It seems as though I am not alone when I describe the propensity for my WRT54G to reboot on its own. As the subject of this thread indicates, I do own both a v5 and a v6, both of which are up-to-date in their firmware. I have read a number
-
Processing SCHEMA_EXPORT/TABLE/INDEX/DOMAIN_INDEX/INDEX
I tried to import my 20GB data into my database but it is pending/hanging almost 1 day at this line, which is Processing SCHEMA_EXPORT/TABLE/INDEX/DOMAIN_INDEX/INDEX . My db version is :Version 11.1.0.7.0 What could be the reason? Why it is waiting s
-
How to make reader.ready() return false
reader.ready() method returned false for me when reading from when reader is obtained from databse. eg. Clob reader. So that can be acceptable that next call may block thats why ready() returned false. But i want to simulate situation when reader.rea