[Gambas-user] gbc3 in makefile in debuild

Christof Thalhofer chrisml at ...3340...
Sun Sep 18 16:16:41 CEST 2016


Hi,

for the sake of comfort and speed I compile my gambas projects and libs
via a makefile and Debian debuild.

So I can do a "debuild binary" in a script and get a project.deb

Since Gambas 3.9 my build breaks, when inside debuild. Here are the
relevant output lines:

---8<--------------
> Compile Gambas Libraries:
> gbc3 -a ./libs/deg-telefon; gbc3 -a ./libs/deg-tabstrip; gbc3 -a ./libs/deg-models-degdaten; gbc3 -a ./libs/deg-lager; gbc3 -a ./libs/deg-report; gbc3 -a ./libs/deg-statistik; gbc3 -a ./libs/deg-betrieb;
> OK
> OK
> OK
> OK
> OK
> OK
> gbc: warning: cannot find library: deganius/deg-models-degdaten:0.0
> gbc: warning: cannot find library: deganius/deg-report:1.0
> gbc: warning: cannot find library: deganius/deg-statistik:0.0
> gbc: warning: cannot find library: deganius/deg-telefon:0.0
> gbc: warning: cannot find library: deganius/deg-tabstrip:0.0
---8<--------------

One can see the last lib does not compile (gbc3 -a ./libs/deg-betrieb
fails). It relies on the existence of the other libs compiled before.

But if I do "make" instead of "debuild binary" there is no problem:

---8<--------------
> Compile Gambas Libraries:
> gbc3 -a ./libs/deg-telefon; gbc3 -a ./libs/deg-tabstrip; gbc3 -a ./libs/deg-models-degdaten; gbc3 -a ./libs/deg-lager; gbc3 -a ./libs/deg-report; gbc3 -a ./libs/deg-statistik; gbc3 -a ./libs/deg-betrieb;
> OK
> OK
> OK
> OK
> OK
> OK
> OK
---8<--------------


It seems that inside debuild gbc3 does not find the path to the existing
libs in

~/.local/share/gambas3/lib/deganius/

How can I tell gbc3 where to find the libraries?


Any hints?


Alles Gute

Christof Thalhofer

-- 
Dies ist keine Signatur

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20160918/42fc0322/attachment.sig>


More information about the User mailing list