diff options
Diffstat (limited to 'zarb-ml/mageia-dev/20110608/005191.html')
-rw-r--r-- | zarb-ml/mageia-dev/20110608/005191.html | 111 |
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 à 23:15 +0200, Matteo a écrit : +><i> On 07/06/2011 22:21, Michael Scherer wrote: +</I>><i> > +</I>><i> > - you should use %configure here instead of ./configure : +</I>><i> > ./configure --etcdir=%{_sysconfdir} --bindir=%{_bindir} --mandir= +</I>><i> > %{_mandir} --i18n=1 +</I>><i> > +</I>><i> > %configure will enforce some of our compilation flag. +</I>><i> > +</I>><i> I can't change this one, because rpmbuild says: +</I>><i> +</I>><i> cp: manca l'operando per il file di destinazione dopo +</I>><i> "/home/matteo/rpm/BUILDROOT/axel-2.4-1mga2.i386/" +</I>><i> Usare «cp --help» per ulteriori informazioni. +</I>><i> make: *** [install-bin] Errore 1 +</I>><i> errore: Stato d'uscita errato da /home/matteo/rpm/tmp/rpm-tmp.3TlCPV +</I>><i> (%install) +</I>><i> +</I>><i> +</I>><i> Errori di compilazione RPM: +</I>><i> Stato d'uscita errato da /home/matteo/rpm/tmp/rpm-tmp.3TlCPV (%install) +</I>><i> +</I>><i> I'm sorry, the output is localized in italian but I think it's quite +</I>><i> comprehensible that cp is called with wrong arguments and something +</I>><i> happens I still don't understand very well. +</I>><i> +</I>><i> Using rpm --eval %configure I've seen that the arguments passed to +</I>><i> configure doesn't fit the arguments expected by the axel configure +</I>><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' >> 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 "LFLAGS+=$LDFLAGS" >> Makefile.settings; +echo "CFLAGS+=$CFLAGS" >> 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> |