LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-19-2007, 02:59 PM   #1
sparc86
Member
 
Registered: Jul 2006
Location: Joinville, Brazil
Distribution: Debian, CentOS
Posts: 301

Rep: Reputation: 31
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?

Thanks in advance!
 
Old 03-19-2007, 03:25 PM   #2
pdw_hu
Member
 
Registered: Nov 2005
Location: Budapest, Hungary
Distribution: Slackware, Gentoo
Posts: 346

Rep: Reputation: Disabled
Install (manually) the (now became) split program 'which'. I had the same problem
 
Old 03-20-2007, 01:06 AM   #3
sparc86
Member
 
Registered: Jul 2006
Location: Joinville, Brazil
Distribution: Debian, CentOS
Posts: 301

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by pdw_hu
Install (manually) the (now became) split program 'which'. I had the same problem

Thanks dude, it worked!
 
Old 03-26-2007, 07:55 AM   #4
simonb1975uk
Member
 
Registered: Jan 2004
Location: In the county of Essex, UK
Posts: 72

Rep: Reputation: 15
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.

Regards,
Simon Bach
 
Old 03-26-2007, 07:57 AM   #5
simonb1975uk
Member
 
Registered: Jan 2004
Location: In the county of Essex, UK
Posts: 72

Rep: Reputation: 15
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.
 
Old 03-26-2007, 08:28 AM   #6
simonb1975uk
Member
 
Registered: Jan 2004
Location: In the county of Essex, UK
Posts: 72

Rep: Reputation: 15
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.

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

Regards,
Simon
 
Old 03-26-2007, 02:51 PM   #7
pdw_hu
Member
 
Registered: Nov 2005
Location: Budapest, Hungary
Distribution: Slackware, Gentoo
Posts: 346

Rep: Reputation: Disabled
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.

Last edited by pdw_hu; 03-26-2007 at 02:53 PM.
 
Old 04-03-2007, 10:02 PM   #8
MannyNix
Member
 
Registered: Dec 2005
Location: ~
Distribution: Slackware -current
Posts: 465

Rep: Reputation: 53
aye
Thanks all
 
Old 04-11-2007, 11:08 AM   #9
kikino@tiscali.it
LQ Newbie
 
Registered: Apr 2007
Posts: 1

Rep: Reputation: 0
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.
Thank you very much

It works with a Sym-Link

--KIKINO
 
  


Reply

Tags
awk, slackpkg



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Since new kernel, Ethernet *finally* works, but Slackpkg and Gaim can't connect.... GrapefruiTgirl Slackware 52 11-17-2007 08:56 PM
XAWTV works, videodog works, motion works but how to code my own? rylan76 Linux - Hardware 0 01-06-2006 06:30 AM
slackpkg problems dive Slackware 3 11-16-2005 04:08 PM
Strange USB problems - it works AND it works not Nightfrost Linux - Hardware 2 10-07-2004 06:07 PM
problems with newline in awk test Programming 6 05-02-2004 02:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration