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

Laurent Carlier lordheavym at ...176...
Sun Jul 15 00:13:08 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,

It install fine on your computer because you have already a gb.xml component 
installed, on a system without a gb.xml component installed, it will fail.

++
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20120715/5dc49cd5/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/5dc49cd5/attachment.sig>


More information about the Devel mailing list