Problem building ulxmlrpcpp - fix/patch included
Peter Haijen
openembedded at haijen.be
Thu May 29 08:28:33 UTC 2008
Been busy, and not being a monotone expert, I wanted to make sure I do not
write something stupid here.
I tried to get 2194e785cbc82ca1be129bd6e1b1b55a7cabcd08 from monotone, and
as far as I can tell, I succeeded.
I did "mtn --db=OE.mtn checkout --branch=org.openembedded.dev -r
2194e785cbc82ca1be129bd6e1b1b55a7cabcd08"
Also, this seems to give me (almost) the same ulxmlrpcpp revision I get when
I do the checkout without a revision (HEAD).
Anyway, while this version of ulxmlrpcpp_1.7.3.bb is a lot better than the
older version, it fails for me during the configuration stage.
HEAD and revision 2194e785cbc82ca1be129bd6e1b1b55a7cabcd08 seem to differ
slightly; I had to the following changes to the file to make it work for
HEAD (org.openembedded.dev):
peter at debiandev:~/oe/org.openembedded.dev.orig/packages/ulxmlrpcpp$ mtn diff
#
# old_revision [98ba13dea1cdc8e492c5fb2000e0077ead78b1a4]
#
# patch "packages/ulxmlrpcpp/ulxmlrpcpp_1.7.3.bb"
# from [620ff88b9012aace94f197dadcdfaf0b6b770e62]
# to [fc279caf735d72ad391388b96102e45949fa377f]
#
============================================================
--- packages/ulxmlrpcpp/ulxmlrpcpp_1.7.3.bb
620ff88b9012aace94f197dadcdfaf0b6b770e62
+++ packages/ulxmlrpcpp/ulxmlrpcpp_1.7.3.bb
fc279caf735d72ad391388b96102e45949fa377f
@@ -11,6 +11,11 @@ inherit autotools
inherit autotools
+do_configure_prepend() {
+ install -d config
+ touch config/lib-prefix.m4 config/lib-link.m4 config/lib-ld.m4
+}
+
do_configure_append() {
echo "#define ulxr_snprintf snprintf" >>ulxmlrpcpp/ulxmlrpcpp.h
}
@@ -20,6 +25,6 @@ LEAD_SONAME = "libulxmlrpcpp.so"
}
LEAD_SONAME = "libulxmlrpcpp.so"
-PACKAGES =+ "${PN}-examples ${PN}-contrib"
+PACKAGES += "${PN}-examples ${PN}-contrib"
FILES_${PN}-examples = "${bindir}/*"
FILES_${PN}-contrib = "${libdir}/*contrib.so.*"
Hope that helps.
Keeping my fingers crossed that I did not do something silly like not trying
the correct version from the database...
Regards
Peter
On Wed, Apr 30, 2008 at 4:33 PM, Michael 'Mickey' Lauer <
mickey at vanille-media.de> wrote:
> On Wednesday 30 April 2008 15:48:48 Rolf Leggewie wrote:
> > Peter Haijen wrote:
> > > -PACKAGES =+ "${PN}-examples ${PN}-contrib"
> > > +PACKAGES += "${PN}-examples ${PN}-contrib"
> >
> > I believe prepending was the intended thing. Appending would lead to
> > ${bindir} ending up in the $PN package instead of $PN-examples.
>
> Correct.
>
> > assume you were running into trouble because .debug directories did not
> > end up in ${PN}-dbg? You should probably talk to mickey who added that
> > recipe ages ago.
>
> I have just update this package to 1.7.3 and fixed build as well as Q/A
> issues
> on the way.
>
> Please try again, it's in 2194e785cbc82ca1be129bd6e1b1b55a7cabcd08
>
> :M:
> --
> Dr. Michael 'Mickey' Lauer | IT-Freelancer | http://www.vanille-media.de
>
> _______________________________________________
> Openembedded-users mailing list
> Openembedded-users at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-users/attachments/20080529/14d25a83/attachment-0002.html>
More information about the Openembedded-users
mailing list