summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/20110608/005191.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/20110608/005191.html')
-rw-r--r--zarb-ml/mageia-dev/20110608/005191.html111
1 files changed, 111 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/20110608/005191.html b/zarb-ml/mageia-dev/20110608/005191.html
new file mode 100644
index 000000000..343aba1bf
--- /dev/null
+++ b/zarb-ml/mageia-dev/20110608/005191.html
@@ -0,0 +1,111 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] Looking for a mentor
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Looking%20for%20a%20mentor&In-Reply-To=%3C1307484295.27877.170.camel%40akroma.ephaone.org%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+
+ <LINK REL="Next" HREF="005196.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] Looking for a mentor</H1>
+ <B>Michael Scherer</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Looking%20for%20a%20mentor&In-Reply-To=%3C1307484295.27877.170.camel%40akroma.ephaone.org%3E"
+ TITLE="[Mageia-dev] Looking for a mentor">misc at zarb.org
+ </A><BR>
+ <I>Wed Jun 8 00:04:54 CEST 2011</I>
+ <P><UL>
+
+ <LI>Next message: <A HREF="005196.html">[Mageia-dev] Looking for a mentor
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#5191">[ date ]</a>
+ <a href="thread.html#5191">[ thread ]</a>
+ <a href="subject.html#5191">[ subject ]</a>
+ <a href="author.html#5191">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Le mardi 07 juin 2011 &#224; 23:15 +0200, Matteo a &#233;crit :
+&gt;<i> On 07/06/2011 22:21, Michael Scherer wrote:
+</I>&gt;<i> &gt;
+</I>&gt;<i> &gt; - you should use %configure here instead of ./configure :
+</I>&gt;<i> &gt; ./configure --etcdir=%{_sysconfdir} --bindir=%{_bindir} --mandir=
+</I>&gt;<i> &gt; %{_mandir} --i18n=1
+</I>&gt;<i> &gt;
+</I>&gt;<i> &gt; %configure will enforce some of our compilation flag.
+</I>&gt;<i> &gt;
+</I>&gt;<i> I can't change this one, because rpmbuild says:
+</I>&gt;<i>
+</I>&gt;<i> cp: manca l'operando per il file di destinazione dopo
+</I>&gt;<i> &quot;/home/matteo/rpm/BUILDROOT/axel-2.4-1mga2.i386/&quot;
+</I>&gt;<i> Usare &#171;cp --help&#187; per ulteriori informazioni.
+</I>&gt;<i> make: *** [install-bin] Errore 1
+</I>&gt;<i> errore: Stato d'uscita errato da /home/matteo/rpm/tmp/rpm-tmp.3TlCPV
+</I>&gt;<i> (%install)
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> Errori di compilazione RPM:
+</I>&gt;<i> Stato d'uscita errato da /home/matteo/rpm/tmp/rpm-tmp.3TlCPV (%install)
+</I>&gt;<i>
+</I>&gt;<i> I'm sorry, the output is localized in italian but I think it's quite
+</I>&gt;<i> comprehensible that cp is called with wrong arguments and something
+</I>&gt;<i> happens I still don't understand very well.
+</I>&gt;<i>
+</I>&gt;<i> Using rpm --eval %configure I've seen that the arguments passed to
+</I>&gt;<i> configure doesn't fit the arguments expected by the axel configure
+</I>&gt;<i> script. How do we deal with this kind of problems?
+</I>
+I guess there is 2 issues :
+1) adding a comment to explain why we can't use the usual macro
+
+2) enforce the compilation flag, and that's highly dependent on the
+script used.
+
+OFr this one, I guess we need to push LFLAGS and CFLAGS in
+Makefile.settings :
+there is line linke this :
+
+ echo 'LFLAGS+=-lintl' &gt;&gt; Makefile.settings;
+
+and the Makefile use CFLAGS ( for compilation options ) and LFLAGS ( for
+linker option )
+
+I guess this could do the trick :
+( just after ./configure )
+
+%setup_compile_flags
+echo &quot;LFLAGS+=$LDFLAGS&quot; &gt;&gt; Makefile.settings;
+echo &quot;CFLAGS+=$CFLAGS&quot; &gt;&gt; Makefile.settings;
+
+
+--
+Michael Scherer
+
+</PRE>
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+
+ <LI>Next message: <A HREF="005196.html">[Mageia-dev] Looking for a mentor
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#5191">[ date ]</a>
+ <a href="thread.html#5191">[ thread ]</a>
+ <a href="subject.html#5191">[ subject ]</a>
+ <a href="author.html#5191">[ 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>