problem with pkg install
This may come across as being really stupid to you, but I'm trying to install lua and I get the following error: (yes, i am root)
Code:
bash-3.1# ./lua.SlackBuild |
It looks like you don't have the lua source in the proper place. It should be located in /home/fluxnuk3r/Downloads/lua/. Also make sure it's the right version (5.1.3) -- if it's not, you can either revert to an older version (5.1.3) or change the version number in the SlackBuild script (although there is no guarantee that this will work -- it's assuming that they haven't changed much in the newer version).
|
Thanks! That was it...
|
So what is up with this?
Code:
bash-3.1# ./openoffice.org.SlackBuild |
Make the slackbuild executable:
chmod +x openoffice.org.SlackBuild HTH |
Ok...now I get the following error:
Code:
bash-3.1# ./openoffice.org.SlackBuild |
Quote:
Your error would seem indicate that you are missing a depends for rpm2cpio. Could you post the output of Code:
$ ldd /usr/bin/rpm2cpio Code:
steve@moon:~$ ldd /usr/bin/rpm2cpio |
Here's mine:
Code:
bash-3.1$ ldd /usr/bin/rpm2cpio |
Well, I guess the next question is "why does your's have a dependency that mine does not?"
If you are running Slackware 12 (as I am), you may have made some changes to the stock install. Did you replace the original rpm package for some reason? Did you do an upgrade or a fresh install when you loaded Slackware-12? Try reinstalling the original rpm package for slackware-12, rpm-4.2.1-i486-3 in slackware/ap, using upgradepkg. (note: Only you would know if this would break something else on your box. Perhaps you made these changes for a reason.) |
Here's what I do when running scripts from slackbuilds, I'll use OpenOffice.org as an example:
1. Download the script and the source to the desktop. 2. copy the script to my home folder, right click -> extract here (in KDE) 3. then I move the original compressed file into the folder that was just created by the proir extraction (~/openoffice.org) This is optional, but I like to keep everything together. 4. copy the source from the desktop to the new directoy (~/openoffice.org) This is not optional. 5. go to a terminal window and do the following: Code:
cd /home/<your user name>/openoffice.org copy the filename from the line: Moving: openoffice.org<version stuff etc.> to /tmp then: Code:
installpkg /tmp/<paste shift-insert> The readme file included in the slackbuilds download will alert you to any dependencies that have to be fully installed before you can compile the software that you are looking for. Hope that helps |
I get the same as Franklin for:
Code:
$ ldd /usr/bin/rpm2cpio Code:
linux-gate.so.1 => (0xffffe000) |
Yah, I did a full install. I didn't see any reason to do anything otherwise given this is the first time I've used Slackware.
|
Quote:
Your build is failing because you need rpm2cpio to build the slackware package from the rpms in the OpenOffice tarball. rpm2cpio will not run because you are missing a library that is not a dependency of rpm2cpio on my slackware-12 box. Could you please post the output of the following (no need to be root): $ ls -l /var/log/packages | grep rpm $ uname -a $ cat /etc/slackware-version Thanks. |
OK, here you are:
Code:
bash-3.1$ ls -l /var/log/packages | grep rpm Code:
bash-3.1$ uname -a Code:
bash-3.1$ cat /etc/slackware-version |
Thanks - sorry for the "Is the computer plugged in?" question. ;)
If you haven't tried reinstalling the official slackware rpm package, I would try that and see if you don't get better results (even though it seems to be there). Normally, I would tell you to install the package or library that is missing, in this case libdb.so.2 as seen from the ldd output. Unfortunately, the output of ldd makes it seem as though youn are running a different version of rpm package or perhaps one that was built on a diffrent system creating a different set of dependencies. I don't know why that would happen unless you installed something that overwrote the slackware version. I don't know what changes you've made to the system. Sorry to not be of much help here. |
All times are GMT -5. The time now is 08:31 AM. |