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.
Similar Messages
-
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 helpHello,
/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. -
Passwd : command not found
I have created a whole-root zone on solaris 10 update 3. I installed it and try to create new user to it. However i am unable to create the passwd as passwd commant not found.
bash-3.00# useradd -d /export/home/ariffs -m -s /bin/sh -c "Ariffudeen" ariffs
bash-3.00# passwd
bash: passwd: command not found
bash-3.00# passwd ariffs
bash: passwd: command not foundNo passwd found in my /usr/bin:
bash-3.00# pwd
/usr/bin
bash-3.00# ls -l pa*
-r-xr-xr-x 1 root bin 18492 Jan 25 2007 pack
lrwxrwxrwx 1 root root 16 Mar 27 11:01 packtocomp -> ./wansungtojohap
-r-xr-xr-x 2 root bin 35236 Jan 23 2005 page
-r-xr-xr-x 1 root bin 9996 Jan 23 2005 pagesize
-rwxr-xr-x 1 root other 12172 Sep 28 2006 pal2rgb
-rwxr-xr-x 1 root other 282712 Sep 1 2007 panel-test-applets
-rwxr-xr-x 1 root other 10204 Jan 21 2006 pango-querymodules
-r-xr-xr-x 63 root bin 10044 Jan 23 2005 pargs
lrwxrwxrwx 1 root root 16 Mar 27 11:01 passmgmt -> ../sbin/passmgmt
-r-xr-xr-x 1 root bin 10148 Jan 23 2005 paste
-r-xr-xr-x 1 root bin 39204 Jan 23 2005 patch
-r-xr-xr-x 1 root bin 10448 Jan 23 2005 pathchk
-r-xr-xr-x 1 root bin 152952 Jul 1 2006 pax -
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 -
[SOLVED] /etc/rc.sysinit mountpoint command not found
Hello,
I have update at now. But I get error:
/etc/rc.sysinit mountpoint: command not found
Why? How can I patch the /etc/rc.sysinit? OR where can i found mountpoint command?
I wait for your fast answer.
Last edited by gyurman (2011-10-23 14:20:50)$ whereis mountpoint
mountpoint: /bin/mountpoint /usr/share/man/man1/mountpoint.1.gz
tomas@lappy: ~ $ grep mountpoint /etc/rc.sysinit
mountpoint -q /proc || mount -n -t proc proc /proc -o nosuid,noexec,nodev
mountpoint -q /sys || mount -n -t sysfs sys /sys -o nosuid,noexec,nodev
mountpoint -q /run || mount -n -t tmpfs run /run -o mode=0755,size=10M,nosuid,nodev
mountpoint -q /dev || mount -n -t devtmpfs udev /dev -o mode=0755,size=10M,nosuid \
mountpoint -q /dev/pts || mount -n /dev/pts &>/dev/null \
mountpoint -q /dev/shm || mount -n /dev/shm &>/dev/null \
tomas@lappy: ~ $ pacman -Qo mountpoint
/bin/mountpoint is owned by util-linux 2.20.1-1
tomas@lappy: ~ $
there you have some info to poke around your system;
is /bin hosted in your root partition?
do you have util-linux installed? -
Command not found (Solved)
Is there a fix in arch for the message ....command not found?
Last edited by lilsirecho (2010-03-05 22:22:42)Tomk: This is the pkgbuild...... Just now got Brisbin post...Line 40 is the present problem..expect more so I am not surprised!
# $Id: PKGBUILD 70793 2010-03-01 11:33:16Z giovanni $
# Maintainer: Giovanni Scafora <[email protected]>
# Contributor: Sarah Hay <[email protected]>
pkgbase=vlc
pkgname=('vlc'
'vlc-plugin')
pkgver=1.0.5
pkgrel=4
arch=('i686' 'x86_64')
url="http://www.videolan.org/vlc/"
license=('GPL')
makedepends=('a52dec' 'fluidsynth' 'libmtp' 'libdvbpsi' 'lirc-utils'
'libdca' 'qt' 'libproxy' 'sdl_image' 'libdvdnav' 'mesa'
'lua' 'libv4l' 'libcddb' 'smbclient' 'libmatroska' 'zvbi'
'taglib' 'sysfsutils' 'libmpcdec' 'hal' 'ffmpeg'
'libshout' 'libmad' 'fribidi' 'libmpeg2' 'libmodplug'
'avahi' 'ttf-freefont' 'libxv' 'libass' 'xdg-utils' 'libxpm'
'xulrunner>=1.9.2' 'pkgconfig' 'live-media' 'libnotify' 'libcdio')
source=(http://download.videolan.org/pub/videolan/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.bz2
libpng-1.4.patch
vlc-1.0.4-new-xulrunner.patch)
md5sums=('d3d99e489ba1ae996af7e1065c0ef313'
'b1961688a9be282a126bfa1cad4b28fa'
'b1fc5e2527ecc863b3665238d82ac2db')
build() {
cd "${srcdir}/${pkgbase}-${pkgver}"
patch -Np1 -i ${srcdir}/libpng-1.4.patch || return 1
#http://trac.videolan.org/vlc/ticket/3185
patch -Np1 -i ${srcdir}/vlc-1.0.4-new-xulrunner.patch || return 1
sed -i -e 's:truetype/freefont:TTF:g' modules/misc/freetype.c
[ "${CARCH}" = "i686" ] && EXTRAFEATURES="--enable-loader --enable-live555 --with-live555-tree=/usr/lib/live"
[ "${CARCH}" = "x86_64" ] && EXTRAFEATURES="--enable-fast-install --enable-live555 --with-live555-tree=/usr/lib/live"
./configure --prefix=/usr \
--enable-run-as-root
--enable-libass \
--enable-dvdread \
--enable-jack \
--enable-dvdnav \
--disable-rpath \
--enable-zvbi \
--enable-qt4 \
--enable-faad \
--enable-alsa \
--enable-skins2 \
--enable-dvb \
--enable-v4l \
--enable-theora \
--enable-flac \
--enable-snapshot \
--enable-hal \
--enable-dbus \
--enable-ogg \
--enable-dbus-control \
--enable-shared \
--enable-nls \
--enable-lirc \
--enable-shout \
--enable-pvr \
--enable-ncurses \
--enable-mozilla \
--enable-release \
--program-suffix= \
--enable-realrtsp ${EXTRAFEATURES} || return 1
CFLAGS="-fPIC"
make || return 1
package_vlc() {
pkgdesc="A multi-platform MPEG, VCD/DVD, and DivX player"
depends=('a52dec' 'fluidsynth' 'libmtp' 'libdvbpsi' 'libcdio'
'libdca' 'qt' 'libproxy' 'sdl_image' 'libdvdnav' 'mesa'
'lua' 'libv4l' 'libcddb' 'smbclient' 'libmatroska' 'zvbi'
'taglib' 'sysfsutils' 'libmpcdec' 'hal' 'ffmpeg'
'libshout' 'libmad' 'fribidi' 'libmpeg2' 'libmodplug'
'avahi' 'ttf-freefont' 'libxv' 'libass' 'xdg-utils')
optdepends=('libnotify: for notification plugin'
'ncurses: for ncurses interface support'
'libdvdcss: for decoding encrypted DVDs'
'lirc-utils: for lirc plugin')
options=('!libtool')
install=vlc.install
cd "${srcdir}/${pkgbase}-${pkgver}"
make DESTDIR=${pkgdir}/ install || return 1
for res in 16 32 48 128; do
install -D -m644 ${srcdir}/vlc-${pkgver}/share/vlc${res}x${res}.png \
${pkgdir}/usr/share/icons/hicolor/${res}x${res}/apps/vlc.png || return 1
done
rm -rf ${pkgdir}/usr/lib/mozilla
package_vlc-plugin() {
pkgdesc="VLC mozilla browser plugin"
depends=("${pkgbase}=${pkgver}" 'nspr')
cd "${srcdir}/${pkgbase}-${pkgver}"
install -Dm755 projects/mozilla/.libs/libvlcplugin.so ${pkgdir}/usr/lib/mozilla/plugins/libvlcplugin.so || return 1 -
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. -
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. -
i am trying to install oracle 11g xe on ubuntu aws instance when i execute sudo /etc/init.d/oracle-xe configure command iam getting this error: sudo: /etc/init.d/oracle-xe : command not found.
"command not found" means ... there is no such thing.
Has the .rpm been installed?
http://docs.oracle.com/cd/E17781_01/install.112/e18802/toc.htm#XEINL122 -
Command not found error in Linux
Hi all,
While login into Linux server using terminal i am getting following error.
-bash: /usr/bin/id: No such file or directory
-bash: [: =: unary operator expected
While execute these commands getting following errors
# clear
-bash: clear: command not found
# du -sh *
-bash: du: command not found
Help on these issues.
Linux 32bit OS.
Red Hat Enterprise Linux Server release 4.0 (Tikanga)Likely a flaky environment.
What is the contents of .bash_profile in your $HOME?
Any btw, why RHEL4? It is ancient. -
Command not found error while executing shell programs in terminal
I have written one sample shell program.
while executing shell program in terminal,it shows COMMAND NOT FOUND error.
How to slove this.Post the "Actual" error. It says more than command not found.
Post your script.
Post the output from:
echo $PATH
Post the output from:
which name_of_command_not_found -
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) -
Oracle apps 12i pre install checks fails in cl; command not found
Hi guyz,
Im trying to install 12i on external hard drive (windows xp), I followed the steps from http://forums.oracle.com/forums/thread.jspa?threadID=447193&tstart=60&start=0
The installation fails in
command: cmd.exe /c D:\stage12\startCD\Disk1\rapidwiz\bin\adchkutl.cmd d:\Tools\MKS\mksnt\bin d:\Tools\MSVC\V98
D:\stage12\startCD\Disk1\rapidwiz>echo off
/cygdrive/c/WINDOWS/system32/cmd
'which' command is available.
/cygdrive/d/Tools/MKS/mksnt/bin/gnumake
'gnumake' is available.
'cl' is not available.
ERRORCODE = 1 ERRORCODE_ENDThe system cannot find the path specified.
cl: Command not found.
RW-50011: Error: - System Utilities Availability test has returned an error: 1
There are no spaces in MKS tool kit and Visualstudio2005 install dir but still the installation fails.
I tried many combinations installing MKS and VS on c:, installing MKS and VS on d:, installing VC++ express edition but nothing worked. Also i have set the enviromental variable PATH each time i made a change. Still i get the same issue.
Im doing this for a week now, had no luck.
I had a successful installation of 11.5.10 from e delivery but it didn't had the financials modules needed. There is an update for 11.5.10 on edelivery but i was not sure if they had the financials modules in it, so i decided to go for 12i
Can anybody help me with 12i installation or provide me steps how to apply the updates on 11.5.10 if updates have financials in it.
I appreciate any help.Oracle E-Business Suite R12 Installation on Windows 2003
Re: Oracle E-Business Suite R12 Installation on Windows 2003
If you have a VC98, you are using Visual Studio 6. You need to be using Visual Studio 8, and set the Visual Studio directory in Rapidwiz to d:\Tools\MSVS\VC.
The Vision installation of Oracle Applications has had Oracle Financials implemented for the fictitious company Vision Corporation from the beginning, 10.7 I believe, but definitely every 11i release has financials plus every other product licensed. Not all the newest products are fully implemented, but they are licensed. -
ORACLE_HOME disappeared, SQLPLUS - bash: sqlplus: command not found
OK, I am a newbie but am having real difficulty with my 10G DB which I had set up on Unix Solaris box but someone was messing around with it and now I can't see ORACLE_HOME, ORACLE_BASE and ORACLE_SID, they all return blank when I try to "echo" each.
I realise I should have originally set it in Bash_profile, but is now too late.
So how do I set them back up, I cannot get SQLPLUS / AS SYSDBA.........bash: sqlplus: command not found
I have tried to reset and export but still doesn't work.
I got the ORACLE_BASE as:
training:/export/home/training/product/10.2.0/Db_1:N
but can't seem to set the three variables to run SQLPLUS, any ideas what I am doing wrong?
Tried messing around to reset but nothing works, this is the present state of affairs:
env
SSH_TTY=/dev/pts/3
USER=training
ORACLE_SID=training
ORACLE_BASE=/oracle/app
PATH=/usr/sbin:/usr/bin
PWD=/export/home/training/product/10.2.0/Db_1/bin
TZ=Eire
PS1=\e[33m\h\e[31m-\u-\e[33m\W/\e[31m-$\e[32m
SHLVL=3
HOME=/export/home/training
LOGNAME=training
ORACLE_HOME=/oracle/app/product/10.2.0
Can someone help me, really need a step by step guide to set these back up properly.
Thanksjust retyped the last one correctly:
find / -name sqlplus -ls
find: cannot read dir /var/lib/gdm: Permission denied
find: cannot read dir /var/lib/log/gdm: Permission denied
find: cannot read dir /var/mysql: Permission denied
find: cannot read dir /var/dt/sdtlogin: Permission denied
find: cannot read dir /var/core: Permission denied
find: cannot read dir /var/run/smc898: Permission denied
find: cannot read dir /var/spool/clientmqueue: Permission denied
find: cannot read dir /var/spool/mqueue: Permission denied
find: cannot read dir /var/fm/fmd/rsrc: Permission denied
find: cannot read dir /var/fm/fmd/ckpt: Permission denied
find: cannot read dir /var/fm/fmd/xprt: Permission denied
find: cannot read dir /var/postgres/8.2/data: Permission denied
find: cannot read dir /var/postgres/8.2/backups: Permission denied
find: cannot read dir /var/sma_snmp: Permission denied
find: cannot read dir /var/tmp/gconfd-root: Permission denied
find: cannot read dir /var/tmp/orbit-root: Permission denied
find: cannot read dir /var/krb5/rcache/root: Permission denied
find: cannot read dir /var/opt/SUNWjass/run/20091012152456: Permission denied
find: cannot read dir /.gconf: Permission denied
find: cannot read dir /opt/SUNWlwact/misc/: Permission denied
find: cannot read dir /opt/SUNWlwact/sdk/: Permission denied
find: cannot read dir /opt/SUNWlwact/xsl/: Permission denied
find: cannot read dir /opt/SUNWlwact/svc/: Permission denied
find: cannot read dir /opt/SUNWlwact/man/: Permission denied
find: cannot read dir /.sunw: Permission denied
199411 1 -rw-r--r-- 1 training other 0 Jan 14 23:12 /export/home/training/sqlplus
172460 2 drwxr-x--- 9 training other 9 Oct 27 17:58 /export/home/training/product/10.2.0/Db_1/sqlplus
188055 10 -rwxr-x--x 1 training other 8776 Oct 27 18:00 /export/home/training/product/10.2.0/Db_1/bin/sqlplus
184787 2 drwxr-x--- 3 training other 3 Oct 27 17:58 /export/home/training/product/10.2.0/Db_1/inventory/Templates/sqlplus
184842 2 drwxr-x--- 3 training other 3 Oct 27 17:58 /export/home/training/product/10.2.0/Db_1/oc4j/j2ee/oc4j_applications/applications/isqlplus/isqlplus/WEB-INF/classes/oracle/sqlplus
find: cannot read dir /root: Permission denied
find: cannot read dir /proc/227: Permission denied
find: cannot read dir /proc/832: Permission denied
find: cannot read dir /proc/835: Permission denied
find: cannot read dir /proc/458: Permission denied
find: cannot read dir /proc/381: Permission denied
find: cannot read dir /proc/624: Permission denied
find: cannot read dir /proc/818: Permission denied
find: cannot read dir /proc/2221: Permission denied
find: cannot read dir /proc/290: Permission denied
find: cannot read dir /proc/1166: Permission denied
find: cannot read dir /proc/273: Permission denied
find: cannot read dir /proc/229: Permission denied
find: cannot read dir /proc/225: Permission denied
find: cannot read dir /proc/478: Permission denied
find: cannot read dir /proc/445: Permission denied
find: cannot read dir /proc/815: Permission denied
find: cannot read dir /proc/410: Permission denied
find: cannot read dir /proc/432: Permission denied
find: cannot read dir /proc/440: Permission denied
find: cannot read dir /proc/427: Permission denied
find: cannot read dir /proc/352: Permission denied
find: cannot read dir /proc/443: Permission denied
find: cannot read dir /proc/1352: Permission denied
find: cannot read dir /proc/406: Permission denied
find: cannot read dir /proc/2353: Permission denied
find: cannot read dir /proc/670: Permission denied
find: cannot read dir /proc/667: Permission denied
find: cannot read dir /proc/405: Permission denied
find: cannot read dir /proc/213: Permission denied
find: cannot read dir /proc/16953: Permission denied
find: cannot read dir /proc/1146: Permission denied
find: cannot read dir /proc/2580: Permission denied
find: cannot read dir /proc/27831: Permission denied
find: cannot read dir /proc/444: Permission denied
find: cannot read dir /proc/1338: Permission denied
find: cannot read dir /proc/1350: Permission denied
find: cannot read dir /usr/lib/cc-cfw: Permission denied
find: cannot read dir /usr/aset: Permission denied
find: cannot read dir /.gconfd: Permission denied
find: cannot read dir /etc/flash/precreation: Permission denied
find: cannot read dir /etc/flash/preexit: Permission denied
find: cannot read dir /etc/flash/postcreation: Permission denied
find: cannot read dir /etc/inet/secret: Permission denied
find: cannot read dir /etc/apache/ssl.key: Permission denied
find: cannot read dir /etc/sfw/openssl/private: Permission denied
find: cannot read dir /etc/sfw/private: Permission denied
find: cannot read dir /etc/webmin: Permission denied
Looks a bit better:
199411 1 -rw-r--r-- 1 training other 0 Jan 14 23:12 /export/home/training/sqlplus
172460 2 drwxr-x--- 9 training other 9 Oct 27 17:58 /export/home/training/product/10.2.0/Db_1/sqlplus
188055 10 -rwxr-x--x 1 training other 8776 Oct 27 18:00 /export/home/training/product/10.2.0/Db_1/bin/sqlplus
184787 2 drwxr-x--- 3 training other 3 Oct 27 17:58 /export/home/training/product/10.2.0/Db_1/inventory/Templates/sqlplus
184842 2 drwxr-x--- 3 training other 3 Oct 27 17:58 /export/home/training/product/10.2.0/Db_1/oc4j/j2ee/oc4j_applications/applications/isqlplus
How to I run the sqlplus? -
Hi All,
OS : Solaris
Oracle Version : 10.1.0.2.0
When i am trying to connect to database by typing sqlplus
i am getting error
-bash: sqlplus: command not found
previously when i connect like that i am able to connect to database
when i check space
I have 32 GB Drive and free space is 288M.
Can anyone tell me is this the space issue or any other issue.
I logged in with Oracle UserVikas Kohli wrote:
Hi All,
OS : Solaris
Oracle Version : 10.1.0.2.0
When i am trying to connect to database by typing sqlplus
i am getting error
-bash: sqlplus: command not found
previously when i connect like that i am able to connect to database
when i check space
I have 32 GB Drive and free space is 288M.
Can anyone tell me is this the space issue or any other issue.
I logged in with Oracle UserSet the environment variable PATH correclty and make sure you've added $ORACLE_HOME/bin folder to it
export PATH=$ORACLE_HOME/bin:$PATH
sqlplus / as sysdbaKamran Agayev A.
Oracle ACE
My Oracle Video Tutorials - http://kamranagayev.wordpress.com/oracle-video-tutorials/
Maybe you are looking for
-
Networked library for multiple users
Hi there. I'd like to use networked drive (a Snap server) to store all iTunes media for 2 or more users, accessing this drive from multiple computers (both Windows and Mac). What's an appropriate solution and are there significant limitations to doin
-
Is there airport card available for G4 10.3.9
Is there a airport card I can install in my older G4 so I can use the wireless internet and printers? Thanks for your help. Lisa
-
Reading Attributes using ABAP DOm
Dear Collegues, I have source message given below PO --- element Header --- element ID --- element SchemaID --- Attribute SchemaAgencyID--- attribute Can any one provide code snippets using ABAp DOm fo
-
From Updating A Site To A FULL Rebuild!!!
Hey Guys, I have a couple of years experience building websites from a self taught, artistic point of view so I'm not completely green. But I don't know code. I have recently been asked to "UPDATE" a companies website which to be honest is currently
-
MacBook Pro will not play or recognize dvd
MacBook Pro will not play or recognize dvd