[Gambas-user] makefile.am problematic?

Benoit Minisini gambas at ...1...
Sun Jun 13 14:44:14 CEST 2004


On Saturday 12 June 2004 18:59, SainTiss wrote:
> Hi,
>
> I was trying to package gambas, which worked more or less with a few tricks
> here and there, but when it finally succeeded, the resulting rpm moaned
> that "lib.gb.so.0" was needed, but couldn't be found...
>
> The reason is simple, as in the gambas Makefile.am, it says:
>     @rm -f $(DESTDIR)$(pkglibdir)/lib.gb.la
>     @rm -f $(DESTDIR)$(pkglibdir)/lib.gb.so*
>
> so those files are explicitly removed... Why is this? Is this necessary
> somehow? Or is this just to confuse packagers? ;)
>
> Thanks,
>
> Hans

The lib.gb.* files are a false component that is just created for filling the 
gb.info file that describes all the classes directly included in the 
interpreter. 

So they are created just during the installation, and are deleted at the end.

I don't know how you created your package, but Rob Kudla, that made the 
Mandrake rpm packages, didn't have this problem...

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list