[Gambas-user] BSD gambas compile

Bruce Steers bsteers4 at gmail.com
Wed Dec 30 20:10:04 CET 2020


aah , now you tell me lol.
okay point noted.

On the plus side though i have BSD compiling up to date :)
(well GhostBSD at least)

I've encountered 3 issues with 3 fixes applied after getting the
dependencies right...

1. trunk_version.h does not get created in ./main/
fix: copy the trunk_version.h file from another source folder

2. sys/sysmacros.h not found for gbx_c_file.c
fix: commented out the define line on line 35.
(is there a way sysmacros.h can be ditched? maybe import the code?)

3. BSD rmdir command does not like the --ignore-non-empty flag in the
makefiles  (it does not use ANY -- prefixes)
Fix: remove flag

So after those 3 steps i now have this...
http://bws.org.uk/images/Gambas3.15.90.GhostBSD.png

Phew.
BruceS

On Wed, 30 Dec 2020 at 15:58, Benoît Minisini <g4mba5 at gmail.com> wrote:

> Le 30/12/2020 à 14:01, Bruce Steers a écrit :
> > so i manually copied the |*trunk_version.h* from another folder to main/
> > and then the compiler got through that part.|
> >
> > Now it's failed saying sys/sysmacros.h not found.
> >
> > So far i'm seeing this when it comes to gambas working on BSD...
> >
> > |No Gambas3 on BSD repositories.|
> > |Dependency list on wiki well out of date.|
> > ||
> > |Compiling seems broken in more than one way.*
> > *|
> >
> > So Ben, when you say code has to also work on BSD, are you sure ANYONE
> > with BSD is even using gambas?
> > because installing it is not exactly a walk in the park.
> > ||
> > |*BruceS*|
> > |**|
> >
>
> Mac OSX is a BSD, and I know some people told that they succeeded
> compiling Gambas on it.
>
> But when I told you about BSD, my words were not to be taken literally.
>
> I wanted to point that you are using a specific Linux command, and that
> it's not a good idea to base a component on it.
>
> Moreover, I don't know exactly what you want to do with that component,
> but if you have the same goal than Fabien, and/or if you aim at browsing
> the disk units to show them to the user and allow him to mount/unmount
> them, then you must look at DBus instead.
>
> Regards,
>
> --
> Benoît Minisini
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20201230/eaf08fc5/attachment-0001.htm>


More information about the User mailing list