[Gambas-user] Question Compiling gambas0.91

Rob sourceforge-raindog2 at ...94...
Mon Mar 15 14:48:09 CET 2004


On Monday 15 March 2004 07:25, ron wrote:
> At the moment I get several warnings and my polici is they
> should not occurs. I know for several you can save put them in
> trahcan but this one i can't remember seen these dereferencing
> warnings.May I forget these also?

I think I get all of those warnings.  Compiler warnings don't 
bother me in building RPM's, it's actual showstopping build 
errors.  Warnings are useful for diagnosing when, say, a 
component doesn't build, though.

> For `libtool --finish /opt/lib' I do not know how to fix that
> in the RPM yet.

I don't know what this is, but would question whether it's a 
showstopper.

> gbc: command not found
> gba: command not found
> cannot stat `gambas-database-manager': No such file or
> directory
> Here the gbc and gba command not found,
> `gambas-database-manager': No such file or directory
> These are also not good I think.

Again I suggest that you look at my gambas and gambas-gui 
src.rpm's for their spec files (be careful to backup your own 
spec file before installing the gambas package, since the spec 
file is also named gambas.spec.)  The GUI parts (gambas IDE, 
database manager) require gbc and gba to be installed in your 
path, and possibly gbi as well.  I think I also needed gbx to be 
installed.

As such, you need your "gambas" package to be built first, and 
then installed, and *then* build the "gambas-gui" (or name it 
however you like) package.  It's possible, if you're doing the 
wrong thing and building RPM's as root, that you can cheat and 
copy the four gb? executables into your path during the %build 
phase in preparation for the GUI stuff to be built, but that is 
definitely the WRONG way to do it and actually may result in an 
unusable IDE once an end user installs the resulting package.

Rob





More information about the User mailing list