Results 1 to 6 of 6
So the spec file I'm working with has a bunch of fields like:
BuildRequires: ....
Some of the dependencies are problematic to install on SLES so my question is if ...
- 04-06-2011 #1Just Joined!
- Join Date
- Mar 2011
- Posts
- 10
If I removed some dependencies from a src.rpm spec, would it work?
So the spec file I'm working with has a bunch of fields like:
Some of the dependencies are problematic to install on SLES so my question is if I remove them from the spec will:BuildRequires: ....
work?Code:rpmbuild -ba pkg.spec
And keep in mind this is a source rpm.
Any help is appreciated.
- 04-07-2011 #2
No, it won't.
The author of the spec file most probably placed the build requirements for a reason.
Usually (source) rpms of the distribution itself or at least from a compatible repository are chosen for that.
So my guess is, that you try to modify a specfile, that is not intended for suse?You must always face the curtain with a bow.
- 04-07-2011 #3Just Joined!
- Join Date
- Mar 2011
- Posts
- 10
Not exactly. The rpm is compatible with SUSE because I downloaded it from the opensuse package builder database. Or whatever it's called.
I made some modifications to it's source tar archive and want to package it back up into an rpm.
But in order to do so I have about 6 unmet dependencies(which have their own unmet dependencies). The SLES iso I'm working with has a rpm-dir repository that provided most of them, thank god, but quite a few of them I'm unable to find.
So I was wondering if I can get away with modifying the spec file.
I suppose rpmbuild itself needs to go through the build process so the packages are required no matter what...?
- 04-07-2011 #4Jay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.
- 04-07-2011 #5Just Joined!
- Join Date
- Mar 2011
- Posts
- 10
Well I'll keep trying to resolve the dependencies issue by manually installing packages. I suppose that's my only option.
Unless....is there an online repository that provides SuSe rpms? Something I can use as a SMART channel. Like I said the sles iso has a lot of packages but really it's nothing compared to the ubuntu archives for example.
- 04-07-2011 #6Just Joined!
- Join Date
- Mar 2011
- Posts
- 10
Bump:
Rather than making a new thread I thought I'd ask here.
I'm attempting to install an rpm with "rpm -Uvh ..." but I get an unmet dependency error:
However a find query shows me that libc.so.6 is located in /lib and libreadline in /lib64.libc.so.6(GLIBC_2.11)(64bit) is needed by lua-5.1.4-18.3.x86_64
libc.so.6(GLIBC_2.7)(64bit) is needed by lua-5.1.4-18.3.x86_64
libreadline.so.6()(64bit) is needed by lua-5.1.4-18.3.x86_64
I added both the paths to $PATH but that didn't do the trick.
Any ideas?


Reply With Quote
