[Gambas-user] gbc3 in makefile in debuild

Christof Thalhofer chrisml at ...3340...
Sun Sep 18 23:17:32 CEST 2016


Hello Benoît,

Am 18.09.2016 um 22:54 schrieb Benoît Minisini:
> Le 18/09/2016 à 16:16, Christof Thalhofer a écrit :
>> 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:
>>
>  > [...]
> 
> Since Gambas 3.9, libraries executables must be copied to 
> "$DATADIR/gambas3/lib/$VENDOR", $DATADIR being by default 
> "~/.local/share", and $VENDOR being the vendor name of the library.
> 
> The name of the copy must be the name of the library, followed by ":", 
> the major version, a dot, the minor version, and ".gambas".
> 
> For example, if your library project is "deg-telefon", the vendor is 
> "deg", the version is "1.2", and the executable is "deg-telefon.gambas", 
> you have to copy the executable at 
> "~/.local/share/gambas3/lib/deg/deg-telefon:1.2.gambas".

Thank you!

The libs are with correct name in
~/.local/share/gambas3/lib/deganius/...
(Vendor name is "deganius")

Gambas placed them there when I hammered "Ctrl-X" in the IDE during
development.

My Makefile defines a couple of Gambas programs and libraries. They are
built with gbc3 and gba3. One library depends on the existence of some
others.

Make builds all correct.

The strange thing now is:

# debuild binary
(which uses the Makefile) fails. At compile time the compiler does not
see the existing libraries in ~/.local/share/gambas3/lib/deganius

But
# dpkg-buildpackage -b
(which also uses the Makefile) works ...

Ok, the problem is now gone by usage of dpkg-buildpackage, but I'd like
to understand what is now different, that since Gambas 3.9.1 debuild is
broken ...


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/d94b8e5b/attachment.sig>


More information about the User mailing list