Jump to content

install openpkg problem


Guest sebastien Dolbec
 Share

Recommended Posts

Guest sebastien Dolbec

Hello every one, I'm another newbie in the world of Linux and like all newbies, I have some problems...

 

I'm trying to install OpenPKG. I've follow the install procedure and I run the shell script and I did'nt errors I know that the script has run because a lot of commands appeared to me. But after, not more happen and when I try to install another RPM, KPackage say to me that I need OpenPkg >= 1.2.0. I try to install the RPM of OpenPKG but the problem still.

 

I tried to install this openpkg-1.2.0-1.2.0.src.sh

openpkg-1.2.0-1.2.0.src.rpm

openpkg-1.2.0-1.2.0.ix86-linux2.4-cw.sh

openpkg-1.2.0-1.2.0.ix86-linux2.4-cw.rpm

 

when I try to install the first RPM nothing happen and the second say to me that is not set for my system. (The only version that I've found is a debian version)

 

Do someone else having problems to install openpkg? The reason I want to instal openpkg is because another RPM seems to need it. It's openssl-0.9.7-1.2.3.src.rpm

 

any Ideas?

 

Thank for your help!

 

Sébastien

Link to comment
Share on other sites

first thing, for your .src.rpm, you need to open a console and type

 

liquidzoo@localhost liquidzoo $su

(enter root password)

root@localhost liquidzoo #rpm --rebuild openpkg-1.2.0-1.2.0.src.rpm

 

If all goes well, and it builds without error, cd to where it was created (it will say, usually /usr/scr/RPM/RPMS/i586, that's for my system, yours may be different and type, still as root

 

# rpm -ivh openpkg-1.2.0-1.2.0.i586.rpm

 

replace the i586 with your architecture, alternatively, just put in the first couple of letters and hit the tab key and it will complete for you. After that, you should be alright and everything should install.

Link to comment
Share on other sites

Guest sebastien Dolbec

Thank for the reply,

 

but I have this error at the end

 

+ ./configure --cache-file=./config.cache '--prefix=%{l_prefix}' --without-curses --without-gnu-malloc --disable-nls

configure: error: expected an absolute path for --prefix: %{l_prefix}

+ /usr/src/RPM/BUILD/openpkg-1.2.0/make-3.80/make

make: *** No targets specified and no makefile found. Stop.

+ exit 2

+ exit 2

error: Bad exit status from /var/tmp/rpm-tmp.91756 (%build)

 

 

RPM build errors:

Bad exit status from /var/tmp/rpm-tmp.91756 (%build)

 

Do you have any Idea?

 

Sébastien Dolbec

Link to comment
Share on other sites

looks like the file is looking at a pointer that doesn't exist. Strange. I'm not sure what that means, but something isn't where it should be. This is a job for someone who is more versed at the config files than I am. I will do some checking when I get home, though and see what I can find out for you.

 

Here's something to try, though: Instead of opening Kpackage, go into Install Software (for graphical, Kmenu -> Configuration -> packaging) and, after putting in your root password, type in openssl and try to install it from there. See if that works for you. If you want to do the same thing in a console, type this:

 

liquidzoo@localhost liquidzoo $su

[enter root password]

root@localhost liquidzoo #urpmi openssl

 

either way should install all dependencies for you. Give it a try and tell me how it goes.

Link to comment
Share on other sites

It does sound like prefix=/usr, or $PREFIX=/usr (I'm guessing /usr) is missing in the Makefile....or something. :roll:

 

First, try;

rpmbuild --rebuild

instead of

rpm --rebuild

 

It's an entire diff pkg called rpm-build. It's replacing rpm --rebuild and there have been issues with using the old 'rpm --rebuild'.

 

Your source tree is now ditry. If other commads are missing from the pkg it may not get cleaned properly which will continue to cause probs. Go through;

/usr/src/RPM/ and all sub DIRS and delete all

 

openpkg-1.2.0

 

dirs.

 

and try again with rpmbuild.

 

 

 

 

Oh....and try a diff .src.rpm (if possible) :wink:

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...