LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   slackpkg doesn't works (problems with awk) (http://www.linuxquestions.org/questions/slackware-14/slackpkg-doesnt-works-problems-with-awk-538811/)

sparc86 03-19-2007 03:59 PM

slackpkg doesn't works (problems with awk)
 
Hello,

I'm under a weird problem. Slackpkg tells me that it just works with awk installed, but I DO HAVE AWK already.

Ok, then I have reinstalled it, hoping it would solve my problem:

Quote:

bash-3.2# installpkg gawk-3.1.5-i486-3.tgz
Installing package gawk-3.1.5-i486-3...
PACKAGE DESCRIPTION:
gawk: gawk (pattern scanning and processing language)
gawk:
gawk: Gawk is the GNU Project's implementation of the AWK programming
gawk: language. It conforms to the definition of the language in the POSIX
gawk: 1003.2 Command Language And Utilities Standard. This version in turn
gawk: is based on the description in The AWK Programming Language, by Aho,
gawk: Kernighan, and Weinberger, with the additional features found in the
gawk: System V Release 4 version of UNIX awk. Gawk also provides more
gawk: recent Bell Labs awk extensions, and some GNU-specific extensions.
gawk:
Executing install script for gawk-3.1.5-i486-3...

bash-3.2# ldconfig
bash-3.2# slackpkg update

No awk found! Please, install awk before you run slackpkg.
Without awk, slackpkg doesn't work in any way.


bash-3.2#

Any suggestion? :Pengy:

Thanks in advance!

pdw_hu 03-19-2007 04:25 PM

Install (manually) the (now became) split program 'which'. I had the same problem :)

sparc86 03-20-2007 02:06 AM

Quote:

Originally Posted by pdw_hu
Install (manually) the (now became) split program 'which'. I had the same problem :)


Thanks dude, it worked! :D

simonb1975uk 03-26-2007 08:55 AM

HI I have the same problem but don't understand what you mean regarding the above. It's a little bit too cryptic for me I'm afraid. :D

Regards,
Simon Bach

simonb1975uk 03-26-2007 08:57 AM

Quote:

Originally Posted by pdw_hu
Install (manually) the (now became) split program 'which'. I had the same problem :)

Hi I have the same problem but don't understand what you mean. It's a little bit too cryptic for me I'm afraid. :D

simonb1975uk 03-26-2007 09:28 AM

Quote:

Originally Posted by simonb1975uk
Hi I have the same problem but don't understand what you mean. It's a little bit too cryptic for me I'm afraid. :D


Sorry to waste all your times but I've sorted it. I had to install the 'which' package.

Regards,
Simon

pdw_hu 03-26-2007 03:51 PM

Yes, that was what you had to do :)

Decryption for future reference:

install manually -> with 'installpkg pkgname.tgz'(and not with a pkg manager)
now split -> previously 'which' was part of the binutils (or coreutils, i'm not sure) pkg.


Edit: and if for some reason installpkg doesn't work you can just copy the contents of the .tgz to the appropriate directories.

MannyNix 04-03-2007 11:02 PM

aye :)
Thanks all

kikino@tiscali.it 04-11-2007 12:08 PM

Quote:

Originally Posted by pdw_hu
Yes, that was what you had to do :)

Decryption for future reference:

install manually -> with 'installpkg pkgname.tgz'(and not with a pkg manager)
now split -> previously 'which' was part of the binutils (or coreutils, i'm not sure) pkg.


Edit: and if for some reason installpkg doesn't work you can just copy the contents of the .tgz to the appropriate directories.

:D Thank you very much

It works with a Sym-Link

--KIKINO


All times are GMT -5. The time now is 03:58 AM.