Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Packaging (http://www.linux-archive.org/fedora-packaging/)
-   -   Can rpmbuild resolve these 4 issues ? (http://www.linux-archive.org/fedora-packaging/661937-can-rpmbuild-resolve-these-4-issues.html)

Kamal Ahmed 05-01-2012 07:21 PM

Can rpmbuild resolve these 4 issues ?
 
I found these in a article on mach:
ref: http://psg.com/~brian/howto/mach.html

Given a spec file, rpmbuild won't download the source tarball and/or
patches. You have to fetch those yourself into the SOURCES directory.rpmbuild will abort if any build-time dependencies are missing, forcing
you to stop what you're doing, and go and build and install those
packages too.When your package configures itself, it may auto-detect libraries which
are available on your build system, but which are not going to be available
on the target system. For example, if openldap-devel is present then
openldap may be linked into your binaries, but if the RPM doesn't declare
openldap as a dependency, then it will fail to run on the target system.
This is an insiduous problem, which I call "the curse of autoconf".You can only build packages for the same type of system as your build
machine (e.g. CentOS 4 binaries on a CentOS 4 build system)Is there a way we can use rpmbuild to resolve these issues?Thanks,-Kamal.
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging


All times are GMT. The time now is 05:51 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.