blob: 394f8dbdbb6ab63a5c26dbf469681fc78993c645 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] A question about BuildRequires and other RPM questions.
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20A%20question%20about%20BuildRequires%20and%20other%20RPM%0A%20questions.&In-Reply-To=%3C20130228211853.GA22100%40coneharvesters.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="023184.html">
<LINK REL="Next" HREF="023180.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] A question about BuildRequires and other RPM questions.</H1>
<B>Dan Fandrich</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20A%20question%20about%20BuildRequires%20and%20other%20RPM%0A%20questions.&In-Reply-To=%3C20130228211853.GA22100%40coneharvesters.com%3E"
TITLE="[Mageia-dev] A question about BuildRequires and other RPM questions.">dan at coneharvesters.com
</A><BR>
<I>Thu Feb 28 22:18:53 CET 2013</I>
<P><UL>
<LI>Previous message: <A HREF="023184.html">[Mageia-dev] A question about BuildRequires and other RPM questions.
</A></li>
<LI>Next message: <A HREF="023180.html">[Mageia-dev] [changelog] [RPM] 2 nonfree/updates_testing php-5.3.22-3.mga2.nonfree
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#23191">[ date ]</a>
<a href="thread.html#23191">[ thread ]</a>
<a href="subject.html#23191">[ subject ]</a>
<a href="author.html#23191">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On Thu, Feb 28, 2013 at 03:25:41PM +0100, Guillaume Rousse wrote:
><i> Build dependencies are usually specified in installation
</I>><i> instructions. For humans, of course. You may also try to parse the
</I>><i> outpout of ./configure (or equivalent) script. In both case, there is
</I>><i> not garanty then every build dependency will get specified.
</I>
The other way is to work backwards by looking at the install dependencies
that rpmbuild discovered, or the NEEDED lines from objdump -x, and adding the
-devel versions of those libraries. That won't catch any compile-time-only
dependencies, though (like libtool, autoconf or flex) but it will give you
something to start from. Note also that some programs will automatically
discover what optional libraries are available at build time and configure
themselves accordingly. So, if you miss some BuildRequires, you might end up
with a binary that works but is missing features.
>>><i> Dan
</I></PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="023184.html">[Mageia-dev] A question about BuildRequires and other RPM questions.
</A></li>
<LI>Next message: <A HREF="023180.html">[Mageia-dev] [changelog] [RPM] 2 nonfree/updates_testing php-5.3.22-3.mga2.nonfree
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#23191">[ date ]</a>
<a href="thread.html#23191">[ thread ]</a>
<a href="subject.html#23191">[ subject ]</a>
<a href="author.html#23191">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>
|