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

Benoît Minisini gambas at ...1...
Sun Jul 15 00:07:34 CEST 2012


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,

-- 
Benoît Minisini


-------------- next part --------------
benoit at ...701...:~/gambas/3.0/trunk/gb.xml$ make install DESTDIR=~/root
Making install in src
make[1]: entrant dans le répertoire « /home/benoit/gambas/3.0/trunk/gb.xml/src »
Making install in .
make[2]: entrant dans le répertoire « /home/benoit/gambas/3.0/trunk/gb.xml/src »
make[3]: entrant dans le répertoire « /home/benoit/gambas/3.0/trunk/gb.xml/src »
make[3]: Rien à faire pour « install-exec-am ».
test -z "/usr/local/lib/gambas3" || /bin/mkdir -p "/home/benoit/root/usr/local/lib/gambas3"
 /usr/bin/install -c -m 644 gb.xml.component '/home/benoit/root/usr/local/lib/gambas3'
test -z "/usr/local/lib/gambas3" || /bin/mkdir -p "/home/benoit/root/usr/local/lib/gambas3"
 /usr/bin/install -c -m 644 gb.xml.component '/home/benoit/root/usr/local/lib/gambas3'
test -z "/usr/local/lib/gambas3" || /bin/mkdir -p "/home/benoit/root/usr/local/lib/gambas3"
 /bin/bash ../libtool   --mode=install /usr/bin/install -c   gb.xml.la '/home/benoit/root/usr/local/lib/gambas3'
libtool: install: /usr/bin/install -c .libs/gb.xml.so.0.0.0 /home/benoit/root/usr/local/lib/gambas3/gb.xml.so.0.0.0
libtool: install: (cd /home/benoit/root/usr/local/lib/gambas3 && { ln -s -f gb.xml.so.0.0.0 gb.xml.so.0 || { rm -f gb.xml.so.0 && ln -s gb.xml.so.0.0.0 gb.xml.so.0; }; })
libtool: install: (cd /home/benoit/root/usr/local/lib/gambas3 && { ln -s -f gb.xml.so.0.0.0 gb.xml.so || { rm -f gb.xml.so && ln -s gb.xml.so.0.0.0 gb.xml.so; }; })
libtool: install: /usr/bin/install -c .libs/gb.xml.lai /home/benoit/root/usr/local/lib/gambas3/gb.xml.la
libtool: install: warning: remember to run `libtool --finish /usr/local/lib/gambas3'
make  install-data-hook
make[4]: entrant dans le répertoire « /home/benoit/gambas/3.0/trunk/gb.xml/src »

Compiling the gb.xml project...
gb.xml
OK
Installing the gb.xml control icons if needed...
Creating the information files for gb.xml component...
gb.xml

make[4]: quittant le répertoire « /home/benoit/gambas/3.0/trunk/gb.xml/src »
make[3]: quittant le répertoire « /home/benoit/gambas/3.0/trunk/gb.xml/src »
make[2]: quittant le répertoire « /home/benoit/gambas/3.0/trunk/gb.xml/src »
Making install in html
make[2]: entrant dans le répertoire « /home/benoit/gambas/3.0/trunk/gb.xml/src/html »
make[3]: entrant dans le répertoire « /home/benoit/gambas/3.0/trunk/gb.xml/src/html »
make[3]: Rien à faire pour « install-exec-am ».
test -z "/usr/local/lib/gambas3" || /bin/mkdir -p "/home/benoit/root/usr/local/lib/gambas3"
 /usr/bin/install -c -m 644 gb.xml.html.component '/home/benoit/root/usr/local/lib/gambas3'
test -z "/usr/local/lib/gambas3" || /bin/mkdir -p "/home/benoit/root/usr/local/lib/gambas3"
 /usr/bin/install -c -m 644 gb.xml.html.component '/home/benoit/root/usr/local/lib/gambas3'
test -z "/usr/local/lib/gambas3" || /bin/mkdir -p "/home/benoit/root/usr/local/lib/gambas3"
 /bin/bash ../../libtool   --mode=install /usr/bin/install -c   gb.xml.html.la '/home/benoit/root/usr/local/lib/gambas3'
libtool: install: /usr/bin/install -c .libs/gb.xml.html.so.0.0.0 /home/benoit/root/usr/local/lib/gambas3/gb.xml.html.so.0.0.0
libtool: install: (cd /home/benoit/root/usr/local/lib/gambas3 && { ln -s -f gb.xml.html.so.0.0.0 gb.xml.html.so.0 || { rm -f gb.xml.html.so.0 && ln -s gb.xml.html.so.0.0.0 gb.xml.html.so.0; }; })
libtool: install: (cd /home/benoit/root/usr/local/lib/gambas3 && { ln -s -f gb.xml.html.so.0.0.0 gb.xml.html.so || { rm -f gb.xml.html.so && ln -s gb.xml.html.so.0.0.0 gb.xml.html.so; }; })
libtool: install: /usr/bin/install -c .libs/gb.xml.html.lai /home/benoit/root/usr/local/lib/gambas3/gb.xml.html.la
libtool: install: warning: remember to run `libtool --finish /usr/local/lib/gambas3'
make  install-data-hook
make[4]: entrant dans le répertoire « /home/benoit/gambas/3.0/trunk/gb.xml/src/html »
Installing the gb.xml.html control icons if needed...
Creating the information files for gb.xml.html component...
gb.xml.html

make[4]: quittant le répertoire « /home/benoit/gambas/3.0/trunk/gb.xml/src/html »
make[3]: quittant le répertoire « /home/benoit/gambas/3.0/trunk/gb.xml/src/html »
make[2]: quittant le répertoire « /home/benoit/gambas/3.0/trunk/gb.xml/src/html »
Making install in xslt
make[2]: entrant dans le répertoire « /home/benoit/gambas/3.0/trunk/gb.xml/src/xslt »
make[3]: entrant dans le répertoire « /home/benoit/gambas/3.0/trunk/gb.xml/src/xslt »
make[3]: Rien à faire pour « install-exec-am ».
test -z "/usr/local/lib/gambas3" || /bin/mkdir -p "/home/benoit/root/usr/local/lib/gambas3"
 /usr/bin/install -c -m 644 gb.xml.xslt.component '/home/benoit/root/usr/local/lib/gambas3'
test -z "/usr/local/lib/gambas3" || /bin/mkdir -p "/home/benoit/root/usr/local/lib/gambas3"
 /usr/bin/install -c -m 644 gb.xml.xslt.component '/home/benoit/root/usr/local/lib/gambas3'
test -z "/usr/local/lib/gambas3" || /bin/mkdir -p "/home/benoit/root/usr/local/lib/gambas3"
 /bin/bash ../../libtool   --mode=install /usr/bin/install -c   gb.xml.xslt.la '/home/benoit/root/usr/local/lib/gambas3'
libtool: install: /usr/bin/install -c .libs/gb.xml.xslt.so.0.0.0 /home/benoit/root/usr/local/lib/gambas3/gb.xml.xslt.so.0.0.0
libtool: install: (cd /home/benoit/root/usr/local/lib/gambas3 && { ln -s -f gb.xml.xslt.so.0.0.0 gb.xml.xslt.so.0 || { rm -f gb.xml.xslt.so.0 && ln -s gb.xml.xslt.so.0.0.0 gb.xml.xslt.so.0; }; })
libtool: install: (cd /home/benoit/root/usr/local/lib/gambas3 && { ln -s -f gb.xml.xslt.so.0.0.0 gb.xml.xslt.so || { rm -f gb.xml.xslt.so && ln -s gb.xml.xslt.so.0.0.0 gb.xml.xslt.so; }; })
libtool: install: /usr/bin/install -c .libs/gb.xml.xslt.lai /home/benoit/root/usr/local/lib/gambas3/gb.xml.xslt.la
libtool: install: warning: remember to run `libtool --finish /usr/local/lib/gambas3'
make  install-data-hook
make[4]: entrant dans le répertoire « /home/benoit/gambas/3.0/trunk/gb.xml/src/xslt »
Installing the gb.xml.xslt control icons if needed...
Creating the information files for gb.xml.xslt component...
gb.xml.xslt

make[4]: quittant le répertoire « /home/benoit/gambas/3.0/trunk/gb.xml/src/xslt »
make[3]: quittant le répertoire « /home/benoit/gambas/3.0/trunk/gb.xml/src/xslt »
make[2]: quittant le répertoire « /home/benoit/gambas/3.0/trunk/gb.xml/src/xslt »
Making install in rpc
make[2]: entrant dans le répertoire « /home/benoit/gambas/3.0/trunk/gb.xml/src/rpc »
make[3]: entrant dans le répertoire « /home/benoit/gambas/3.0/trunk/gb.xml/src/rpc »
make[3]: Rien à faire pour « install-exec-am ».
test -z "/usr/local/lib/gambas3" || /bin/mkdir -p "/home/benoit/root/usr/local/lib/gambas3"
 /usr/bin/install -c -m 644 gb.xml.rpc.component '/home/benoit/root/usr/local/lib/gambas3'
test -z "/usr/local/lib/gambas3" || /bin/mkdir -p "/home/benoit/root/usr/local/lib/gambas3"
 /usr/bin/install -c -m 644 gb.xml.rpc.component '/home/benoit/root/usr/local/lib/gambas3'
make  install-data-hook
make[4]: entrant dans le répertoire « /home/benoit/gambas/3.0/trunk/gb.xml/src/rpc »

Compiling the gb.xml.rpc project...
gb.xml.rpc
OK
Installing the gb.xml.rpc control icons if needed...
Creating the information files for gb.xml.rpc component...
gb.xml.rpc

make[4]: quittant le répertoire « /home/benoit/gambas/3.0/trunk/gb.xml/src/rpc »
make[3]: quittant le répertoire « /home/benoit/gambas/3.0/trunk/gb.xml/src/rpc »
make[2]: quittant le répertoire « /home/benoit/gambas/3.0/trunk/gb.xml/src/rpc »
make[1]: quittant le répertoire « /home/benoit/gambas/3.0/trunk/gb.xml/src »
make[1]: entrant dans le répertoire « /home/benoit/gambas/3.0/trunk/gb.xml »
make[2]: entrant dans le répertoire « /home/benoit/gambas/3.0/trunk/gb.xml »
make[2]: Rien à faire pour « install-exec-am ».
make[2]: Rien à faire pour « install-data-am ».
make[2]: quittant le répertoire « /home/benoit/gambas/3.0/trunk/gb.xml »
make[1]: quittant le répertoire « /home/benoit/gambas/3.0/trunk/gb.xml »
benoit at ...701...:~/gambas/3.0/trunk/gb.xml$ 


More information about the Devel mailing list