Le 08/11/2011 00:57, Bruce Bruen a écrit : > On Mon, 2011-11-07 at 21:26 +0100, Benoît Minisini wrote: > >> You must make a binary package of your component project. Normally >> this >> package should install the component in the same place as the other >> components located in the Gambas 3 source code, and should become as >> usable as them. >> > > > OK I tried that using autotools. After decompressing I ran the normal > install sequence. Here's the output: > > [bb@bluecow phCCDemo-0.0]$ ./configure > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking for gambas3 binaries... Ok > checking for gambas3 components path... Ok > checking for gb.image component... Ok > checking for gb.gui component... Ok > checking for gb.form component... Ok > checking for gb.desktop component... Ok > configure: creating ./config.status > config.status: creating Makefile > [bb@bluecow phCCDemo-0.0]$ make > Building phCCDemo component... > OK > [bb@bluecow phCCDemo-0.0]$ su > Password: > [root@bluecow phCCDemo-0.0]# make install > make[1]: Entering directory `/home/bb/phCCDemo-0.0' > Installing phCCDemo.gambas in /usr/local/lib/gambas3 > Installing phCCDemo.component in /usr/local/lib/gambas3 > Installing phCCDemo.info in /usr/local/share/gambas3/info > /usr/bin/install: cannot create directory `.info': File exists > Installing phCCDemo.list in /usr/local/share/gambas3/info > make[1]: Nothing to be done for `install-data-am'. > make[1]: Leaving directory `/home/bb/phCCDemo-0.0' > [root@bluecow phCCDemo-0.0]# > > That all looks good, so then : > > [bb@bluecow gambas3]$ cd /usr/local/lib/gambas3/ > [bb@bluecow gambas3]$ ls -a *ph* > ls: cannot access *ph*: No such file or directory > [bb@bluecow gambas3]$ cd /usr/local/share/gambas3/info/ > [bb@bluecow info]$ ls -a *ph* > ls: cannot access *ph*: No such file or directory > [bb@bluecow info]$ > > So nothing got put into these targets? (and the library (which if I > understand correctly is now a Component) is still not available in the > IDE) > > Help! > > Bruce
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 ------------------------------------------------------------------------------ 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