src2pkg install problem
Hello,
I have a little problem installing src2pkg on my linux from stratch system. I downloaded the package and saved it on / After that I did cd /usr/libexec/src2pkg/src2pkg-helpers There I did a sh src2pkg.setup But now I'm getting this error message : /usr/libexec/src2pkg/13-make-description: line 438: 'read_pkg_info_desc : not a valid identifier. Do anyone have any idea what went wrong ? Regards, Roelof |
Why have downloaded packages in / ?
Default is e.g. /home/<name>/Downloads/ But anyway, the install procedure is 1) su 2) installpkg src2pkg-2.2-noarch-3.tgz 3) src2pkg --setup .. |
Hello,
I did it now your way but now I get this message : installpkg src2pkg-2.2-noarch-3.tgz WARNING: pkgtools are unstable with tar > 1.13. You should provide a "tar-1.13" in your $PATH. /sbin/installpkg: line 59: rev: command not found /sbin/installpkg: line 59: rev: command not found /sbin/installpkg: line 59: rev: command not found /sbin/installpkg: line 59: rev: command not found Cannot install src2pkg-2.2-noarch-3.tgz: file does not end in .tgz, .tbz, .tlz, or .txz Roelof |
Did you rerun src2pkg --setup?
|
Hello,
Nope I'm now trying to re-install src2pkg. The setup will be the next step. Roelof |
Quote:
Looks like you need to install util-linux-ng package. |
Yes, rev is missing. I'm wondering also what 'installpkg' you are using -is that the Slackware version or what?
|
I believe the original poster is building Linux from Scratch using pkgtools with the intent of using src2pkg to make the LFS packages.
|
Yeah. charlie_lab, you need to have some basic things installed and working in order to use src2pkg. In short, you need a working development environment with kernel/glibc headers, gcc, autoconf/automake/libtool/m4/perl, pkgconfig, make, binutils. You also need basic command-line tools found in the linux-util(or linux-util-ng) and coreutils software sets. I guess you need what, for LFS, would be a full, running native environment(what you have after pass-2 or pass-3). Only then can you begin to create packages using src2pkg -you can start by packaging all the above-named stuff if you like, or with whatever extra packages you want.
|
Hello gnashley,
I have that. But when I do src2pkg --setup I see this messages : Code:
src2pkg --setup Roelof |
You need 'mktemp', which I think is part of the 'bin' package for Slackware -a collection of various programs needed for Slackware. What is happening is that src2pkg assumes you want to setup using Slackware-type packages so it calls makepkg. makepkg is calling mktemp which you are missing.
Go to a mirror like this one: ftp://ftp.slackware.at/slackware-current/source/a/bin/ and download the various sources there and build and install them -the debianutils is what contains mktemp. In view of this problem I may change the way src2pkg builds the slackware-type package for src2pkg-helpers when you run 'src2pkg --setup', but meanwhile you'll find it easiest to build and install the 'bin' package. |
Hello gnashley,
I downloaded mktemp from the mktemp site and I get now these errors : Code:
src2pkg --setup Roelof |
Now that you have installed all the missing commands
etc. suggested by @ gnashley : Then may be reinstall src2pkg : # installpkg src2pkg-2.2-noarch-3.tgz .. to provide the missing 'src2pkg-helpers' files. .. |
Hello,
I did reinstall src2pkg and the same error messages appear. I begin to think this is a dead end road. Roelof |
Hello,
Nobody who knows the answer ?? Roelof |
All times are GMT -5. The time now is 08:21 PM. |