On Tue, 2011-11-08 at 01:01 +0100, Benoît Minisini wrote: > Laurent Carlier made the autotools packager, and I'm not sure that is > supports packaging components. Can you try with a true binary package? > > -- > Benoît Minisini
Good morning Benoît, (and any others watching) re the automake scripts: I have hacked the Makefile generated from the install package to echo each command before it is executed when "make install" is run. First up there is definitely code intended for handling Components. But there appears to be a bug in the target paths. Here is the output: make[1]: Entering directory `/home/bb/test_gb3packages/phControls3-0.0' make install IS using hacked Makefile script Installing phControls3.gambas in /usr/local/lib/gambas3 Command 1 is: /usr/bin/install -c -d /usr/local//usr/local/lib/gambas3 Command 2 is : /usr/bin/install -c phControls3.gambas /usr/local//usr/local/lib/gambas3 Installing phControls3.component in /usr/local/lib/gambas3 Command 3 is : /usr/bin/install -c -d /usr/local//usr/local/lib/gambas3 Command 4 is : /usr/bin/install -c .component /usr/local//usr/local/lib/gambas3/ Command 5 is : chmod a-x /usr/local//usr/local/lib/gambas3/phControls3.component Installing phControls3.info in /usr/local/share/gambas3/info Command 6 is : /usr/bin/install -c -d .info /usr/local//usr/local/share/gambas3/info /usr/bin/install: cannot create directory `.info': File exists Command 7 is : /usr/bin/install -c .info /usr/local//usr/local/share/gambas3/info/phControls3.info Command 8 is :chmod a-x /usr/local//usr/local/share/gambas3/info/phControls3.info Installing phControls3.list in /usr/local/share/gambas3/info Command 9 is : /usr/bin/install -c .list /usr/local//usr/local/share/gambas3/info/phControls3.list Command 10 is : chmod a-x /usr/local//usr/local/share/gambas3/info/phControls3.list make[1]: Nothing to be done for `install-data-am'. make[1]: Leaving directory `/home/bb/test_gb3packages/phControls3-0.0' The target paths appear to be meaningless, e.g. "/usr/local//usr/local/lib/gambas3" After a bit more hacking I see: Command 1 is: /usr/bin/install -c -d /usr/local//usr/local/lib/gambas3 Command 1 code is $(INSTALL) -d $(DESTDIR)$(prefix)/$(GBLIBRARY_path) INSTALL is /usr/bin/install -c DESTDIR is prefix is /usr/local GBLIBRARY_path is /usr/local/lib/gambas3 So the actual code for the first command should be " $(INSTALL) -d $(GBLIBRARY_path)" (Which will just create the /usr/local/lib/gambas3 dir if it does not exist). If you point me to the place in the trunk source where the "Make Installation Package" lives I will track this down further. Oh, by the way in install the "-c" option appears to be ignored these days. Maybe just a hangover from days-gone-by? regards Bruce ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user