LinuxQuestions.org
Review your favorite Linux distribution.
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 07-03-2010, 08:35 AM   #16
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612

Do you have tar-1.13? I forgot to mention that you need tar-1.13 for pkgtools(installpkg) to work correctly. Not having it may cause improper installation of packages.
 
Old 07-03-2010, 08:46 AM   #17
charlie_lab
Member
 
Registered: Nov 2006
Posts: 255

Original Poster
Rep: Reputation: 30
Hello gnashley,

No, I have tar 1.20 installed on my system.

I have to look where tar-1.13 can be found.

Roelof
 
Old 07-03-2010, 08:52 AM   #18
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
You can just plug it out from a Slackware 'tar' package,

and copy the executable 'tar-1.13' to /bin/

..

Last edited by knudfl; 07-03-2010 at 10:18 AM.
 
Old 07-03-2010, 08:54 AM   #19
charlie_lab
Member
 
Registered: Nov 2006
Posts: 255

Original Poster
Rep: Reputation: 30
Oke,

So I can have both tar-1.13 and tar 1.20

Roelof
 
Old 07-03-2010, 10:12 AM   #20
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Yes , that's how it works in Slackware.

The tar command will use 'tar' (version 1.2x)
Pkgtool, src2pkg etc. will use "/bin/tar-1.13"

..
EDIT : Sorry, it's /bin/tar-1.13
..

Last edited by knudfl; 07-03-2010 at 10:18 AM.
 
Old 07-03-2010, 10:23 AM   #21
charlie_lab
Member
 
Registered: Nov 2006
Posts: 255

Original Poster
Rep: Reputation: 30
Oke,

No problem.
I installed tar-1.13 and named it so.
But still the same problems.

Can it be the problem that libsentry is not installed.
And where can I find the right one.
I found one but it won't install because of readline problems.

Roelof
 
Old 07-03-2010, 01:49 PM   #22
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
The first thing happening, when you install src2pkg,
is this message : creating libsentry.
( Later comes : Creating tar-1.13.)

So actually, I don't know, what's going on.
I use src2pkg everywhere. CentOS, Fedora etc.
Always works.
..

Last edited by knudfl; 07-03-2010 at 01:51 PM.
 
Old 07-03-2010, 02:44 PM   #23
charlie_lab
Member
 
Registered: Nov 2006
Posts: 255

Original Poster
Rep: Reputation: 30
Oke,

And before it crearing libsentry I got this error message

Hopefully gnuashely knows what went wrong.

Roelof
 
Old 07-04-2010, 11:52 PM   #24
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
What is the exact error message you are getting? And when do you see it?(when you first run 'src2pkg --setup'??)
 
Old 07-05-2010, 12:34 AM   #25
charlie_lab
Member
 
Registered: Nov 2006
Posts: 255

Original Poster
Rep: Reputation: 30
Hoi,

Error message:
Code:
root:/# src2pkg --setup
  Notice - Creating src2pkg-helpers:
  src2pkg uses a shared library and a few programs
  when creating packages. These binaries will be
  compiled on your system for best compatibility,
  and installed. When done, src2pkg is ready for use.

  TEMP_DIR=/usr/src/src2pkg/builds/src2pkg-helpers
  Starting build in 5 seconds
/usr/src/src2pkg/src2pkg-helpers/src2pkg.setup: line 580: -p: command not found
/usr/src/src2pkg/src2pkg-helpers/src2pkg.setup: line 98: cd: /usr/src/src2pkg/builds/src2pkg-helpers: No such file or directory
Unpacking sources - OK
/usr/src/src2pkg/src2pkg-helpers/src2pkg.setup: line 585: cd: /usr/src/src2pkg/builds/src2pkg-helpers/src2pkg-helpers-1.1: No such file or directory
/usr/src/src2pkg/src2pkg-helpers/src2pkg.setup: line 586: cd: libsentry-0.6.9: No such file or directory
Creating libsentry - Ooops! Can't live without it...
I see this after i did installpkg src2pkg-2.2-noarch-3.tgz and then src2pkg --setup.

Roelof

Last edited by charlie_lab; 07-05-2010 at 01:56 AM.
 
Old 07-05-2010, 02:17 AM   #26
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by charlie_lab View Post
Hoi,

Error message:
Code:
root:/# src2pkg --setup
  Notice - Creating src2pkg-helpers:
  src2pkg uses a shared library and a few programs
  when creating packages. These binaries will be
  compiled on your system for best compatibility,
  and installed. When done, src2pkg is ready for use.

  TEMP_DIR=/usr/src/src2pkg/builds/src2pkg-helpers
  Starting build in 5 seconds
/usr/src/src2pkg/src2pkg-helpers/src2pkg.setup: line 580: -p: command not found
/usr/src/src2pkg/src2pkg-helpers/src2pkg.setup: line 98: cd: /usr/src/src2pkg/builds/src2pkg-helpers: No such file or directory
Unpacking sources - OK
/usr/src/src2pkg/src2pkg-helpers/src2pkg.setup: line 585: cd: /usr/src/src2pkg/builds/src2pkg-helpers/src2pkg-helpers-1.1: No such file or directory
/usr/src/src2pkg/src2pkg-helpers/src2pkg.setup: line 586: cd: libsentry-0.6.9: No such file or directory
Creating libsentry - Ooops! Can't live without it...
I see this after i did installpkg src2pkg-2.2-noarch-3.tgz and then src2pkg --setup.

Roelof
Well, the error on line 580 meant that the system couldn't find the mkdir program in any of:
  1. /bin
  2. /usr/bin
  3. /usr/local/bin
  4. /usr/libexec/src2pkg/bin

What do you get when you run the command "type mkdir" on your system?
 
Old 07-05-2010, 03:08 AM   #27
charlie_lab
Member
 
Registered: Nov 2006
Posts: 255

Original Poster
Rep: Reputation: 30
Hello,

type mkdir

mkdir is /tools/bin/mkdir

And my path is this :
/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin


So mkdir can be found within the path.

Roelof
 
Old 07-05-2010, 08:58 AM   #28
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
/tools/bin is a non-standard path which is not searched for. The routine in question ignores the PATH -there is a godd reason for that.

I'm sure that mkdir is supposed to be in /bin or /usr/bin on a POSIX system, so copying your version from /tools/bin to /bin and then linking it in /usr/bin should fix the problem.

You might do well to keep notes about what your are doing to finish your basic development and runtime installation for future use -you may still be missing some basic stuff since you've built from scratch.
 
Old 07-05-2010, 10:49 AM   #29
charlie_lab
Member
 
Registered: Nov 2006
Posts: 255

Original Poster
Rep: Reputation: 30
Oke,

Dit werkt nu alleen kan src2pkg --setup nog steeds libsentry niet vinden terwijl die gewoon in de temp dir te vinden is.

Roelof
 
Old 07-05-2010, 02:31 PM   #30
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Hmmm, My Dutch is not too great, but you seem to be saying that some directory is not being found.After installing the src2pkg package, do you have the directory /usr/src/src2pkg/src2pkg-helpers ?
If so, you should be able to build src2pkg-helpers by opening a terminal and running the command 'src2pkg --setup' as root.

Last edited by gnashley; 07-05-2010 at 02:34 PM.
 
  


Reply



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
Src2pkg install issue with helpers rpedrica Slackware 9 03-13-2010 03:26 PM
src2pkg install error wit Slackware64 Daedra Slackware 1 05-21-2009 11:29 PM
src2pkg and post install options rpedrica Slackware 6 11-12-2008 01:35 PM
New src2pkg release available for download -Introducing the src2pkg WIKI gnashley Slackware 11 05-06-2008 11:09 AM
New problem with src2pkg browser Slackware 67 02-09-2008 07:31 PM

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

All times are GMT -5. The time now is 01:02 AM.

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