You are not logged in.

#1 2010-03-05 16:20:48

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

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)


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#2 2010-03-05 16:55:12

Julius2
Member
From: Canada
Registered: 2009-05-13
Posts: 68
Website

Re: Command not found (Solved)

What is the command that it can't find?


Blog .:. AUR .:. Wiki Contributions
Registered Linux User #506070.

Offline

#3 2010-03-05 17:51:19

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Command not found (Solved)

mdadm


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#4 2010-03-05 17:57:36

panuh
Member
From: X :ɯoɹℲ
Registered: 2009-11-24
Posts: 144

Re: Command not found (Solved)

pacman -S mdadm maybe?

EDIT: for me it's in /sbin/mdadm try to enter the path directly and check your $PATH if it's installed properly

Last edited by panuh (2010-03-05 17:58:52)

Offline

#5 2010-03-05 17:59:54

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Command not found (Solved)

The fix for that message is to install the package that provides the required command.

Offline

#6 2010-03-05 18:14:20

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Command not found (Solved)

Tomk;

Googling shows that this message (error?) is common to all linux OS.

Some have corrective actions which are OS specific.

Therefore I require some info on how to repair in archlinux.

I cannot complete an abs PKGBUILD for the same error problem but for a different command.( an enable command I cannot recall).EDIT:  --enable-libass............

The mdadm error does not prevent my use of mdadm in controlling my raid arrays.

There is a general problem with this error in linux.

What is the fix in archlinux?

It came up with the latest syu in my system.

Upgrade libtool and mdadm occured...EDIT

Last edited by lilsirecho (2010-03-05 18:33:41)


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#7 2010-03-05 18:34:47

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Command not found (Solved)

Tried again to run the PKGBUILD with same result...command not found...--enable-libass.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#8 2010-03-05 19:15:12

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: Command not found (Solved)

Arch is aimed at people who either know how to use linux already or are willing to learn. This is incredibly basic stuff that should be no difficulty at all.

Try looking at http://linuxcommand.org as it has some articles on learning how to use the shell which can be helpful

Offline

#9 2010-03-05 19:37:29

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: Command not found (Solved)

you've got a typo in your pkgbuild if your shell is trying to run '--enable-libass' as a command (vs passing it as a flag to ./configure).

your post count is so high... /me is confused.

Offline

#10 2010-03-05 19:42:14

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Command not found (Solved)

Daenyth:

Need some advice........Been here for seven years...

Problem occured due to upgrade...thst means something is amiss that shouldn't be.....

I am retarded as I have stated before...because I do not know everything there is to know.

An expert is one who encounters a change in the system...so now he is a noob!

The forum is for discussion of solutions to newly encountered problems..

I suspect that libtool has introduced a twist in the response of the system.  How to properly correct that is my post...not a work-around or a patch..a proper corrective action.

The problem wasn't there last month nor anytime in the last six years.

I am 84 and still am learning....

If you know the fix for this problem..state it!

Need no lecture.........


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#11 2010-03-05 21:41:31

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Command not found (Solved)

brisbin33 has already given you the cause of your problem, and if you had included the information in post #7 in your first post, you would have got there a lot sooner.

You need to fix the PKGBUILD that you are trying to process. If you need help with that, post the PKGBUILD here.

Offline

#12 2010-03-05 21:48:15

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Command not found (Solved)

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 <giovanni@archlinux.org>
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>

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
}

Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#13 2010-03-05 21:52:26

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Command not found (Solved)

I see the problem in the previous statement...missed the backslash...was certain it was loaded.

Thanks for the suggestion and will go back and fix it.

Have a good day!!!


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#14 2010-03-05 23:12:31

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Command not found (Solved)

OK, glad you got it sorted.

Here's a tip - in future, please post PKGBUILDs etc in forum code tags. I've fixed this one for you.

Offline

#15 2010-03-05 23:23:05

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Command not found (Solved)

Merci ...forgetful in my oldness!!!!


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#16 2010-03-06 00:28:41

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: Command not found (Solved)

I think this comes from Ubuntu (and some other distro I saw???).  They have a program tied to the shell(?) that if you type a command and it's not found, it gives suggestions of commands you might have intended.  Think it might even give possible packages to install related to errant commands.

Last edited by Gen2ly (2010-03-06 00:29:15)


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#17 2010-03-06 01:10:00

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Command not found (Solved)

Gen2ly;

Thanks for your interesting reply.

In my case, the error message appearing during the PKGBUILD was a valid error statement for the condition that I created by making a bad typo entry.

Many times the error staement is far-out compared to the true error.

I make many typos every time I type and have to redo things often.

The mdadm condition doesn't cause a burp in performance as yet.  I am able to generate a raid array with that program.

Many thanks for your comments.  Now, what we need here in the USA is a quicker recovery like I just had with this problem!!!!!!

EDIT:  Operating in RAM in ArchBang x86_64RC1.....

Last edited by lilsirecho (2010-03-06 01:13:15)


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#18 2010-03-06 01:29:00

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: Command not found (Solved)

Guess I should have read more, just op tldr.


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

Board footer

Powered by FluxBB