[Gambas-devel] Wrong build order for gb.xml.rpc component

Laurent Carlier lordheavym at ...176...
Sun Jul 15 00:31:30 CEST 2012


Le dimanche 15 juillet 2012 00:07:34 Benoît Minisini a écrit :
> Le 15/07/2012 00:01, Benoît Minisini a écrit :
> > Le 14/07/2012 23:28, Laurent Carlier a écrit :
> >> When packaging gb.xml.rpc, component was always failling to build since
> >> gb.xml.rpc component needs gb.xml component that is always built after
> >> it, because gb.xml.rpc is a pure gambas component, and it depends on
> >> gb.xml to be properly built.
> >> 
> >> The solution is to move gb.xml component also in a subdir, so build
> >> order can be changed in the SUBDIR variable in the Makefile.am file
> >> 
> >> src
> >> 
> >> \_xml
> >> 
> >> \_gb.xml
> >> 
> >> \_html
> >> 
> >> \_rpc
> >> 
> >> \_gb.xml.rpc
> >> 
> >> \_xslt
> >> 
> >> Makefile.am in src dir:
> >> 
> >> SUBDIR = xml @XMLHTML_DIR@ @XMLXSLT_DIR@ rpc
> > 
> >> Sample of installation log of gb.xml.rpc component:
> > Normally you should be able to define when the top directory is built by
> > adding "." to the SUBDIR variable.
> > 
> > SUBDIR = . @XMLHTML_DIR@ @XMLXSLT_DIR@ rpc
> > 
> > should make the top directory built before all others.
> > 
> > Regards,
> 
> Sorry, it's already the case.
> 
> I have no built problem there anyway, so I don't understand why you have
> one...
> 
> I join the output of my "make install": gb.xml is actually built and
> installed before gb.xml.rpc.
> 
> Regards,

Ok, i've checked again the Makefile.am provided with the 3.2.0 release and the 
dot is missing:

---8<---
COMPONENT = gb.xml
include $(top_srcdir)/component.am
 
SUBDIRS = @XMLHTML_DIR@  @XMLXSLT_DIR@ rpc
gblib_LTLIBRARIES = gb.xml.la
 
gb_xml_la_LIBADD = @XML_LIB@ 
gb_xml_la_LDFLAGS = -module  @LD_FLAGS@ @XML_LDFLAGS@ 
gb_xml_la_CPPFLAGS = @XML_INC@
---8<---

But it's present in the Makefile.am file in the trunk. 

-> Bug found and already fixed!

++
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20120715/ba70fcbf/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20120715/ba70fcbf/attachment.sig>


More information about the Devel mailing list