[Gambas-user] GB3 Custom controls

Bruce Bruen bbruen at ...2308...
Tue Nov 8 00:57:46 CET 2011


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 at ...2711... 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 at ...2711... phCCDemo-0.0]$ make
Building phCCDemo component...
OK
[bb at ...2711... phCCDemo-0.0]$ su
Password: 
[root at ...2711... 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 at ...2711... phCCDemo-0.0]# 

That all looks good, so then :

[bb at ...2711... gambas3]$ cd /usr/local/lib/gambas3/
[bb at ...2711... gambas3]$ ls -a *ph*
ls: cannot access *ph*: No such file or directory
[bb at ...2711... gambas3]$ cd /usr/local/share/gambas3/info/
[bb at ...2711... info]$ ls -a *ph*
ls: cannot access *ph*: No such file or directory
[bb at ...2711... 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



More information about the User mailing list