[Gambas-user] BSD gambas compile
Bruce Steers
bsteers4 at gmail.com
Wed Dec 30 18:20:55 CET 2020
this may have done the trick.. :) (touch wood)
As per the instructions I've simply commented out line 35 of gbx_c_file.c
// #include <sys/sysmacros.h>
(Will this break things Ben?)
make has been running for ages (it's very slow on the VM)
Thanks Tony :)
BruceS
On Wed, 30 Dec 2020 at 15:46, Tony Morehen <tmorehen at ajm-software.com>
wrote:
> sys/sysmacros.h is a glibc non-standard header file. BSD does not use
> glibc so the file will not be found on BSD. For a fix, see:
>
> https://wiki.gentoo.org/wiki/Glibc_2.26_porting_notes/sysmacros.h
> On 2020-12-30 8:01 a.m., Bruce Steers wrote:
>
> 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*
>
>
> On Wed, 30 Dec 2020 at 12:00, Bruce Steers <bsteers4 at gmail.com> wrote:
>
>> So here's the working list ...
>>
>> sudo pkg install autoconf automake alure libtool libffi bzip2 unixODBC mysql57-client sqlite3 libXtst cairo ncurses gsl openssl imlib imlib2 curl pcre poppler gmime26 gtk3 qt5 sdl sdl2 sdl_ttf sdl_mixer sdl_image sdl2_ttf sdl2_mixer sdl2_image glib libGLU gmime26 glew gtkglext libv4l v4l_compat libxml2 libxslt pkgconf
>>
>> It will not compile though../reconf-all and ./configure now running without error
>> but 'make' command fails saying *
>> trunk_version.h* not found.
>> BruceS
>>
>>
>>
>> On Tue, 29 Dec 2020 at 18:19, Bruce Steers <bsteers4 at gmail.com> wrote:
>>
>>>
>>> Anyone compiling on BSD got an up to date dependency list?
>>>
>>> i've used the one on the wiki but it's outdated, fixed some things with
>>> updates and some stuff is missing completely.
>>>
>>> Will involve some compiling , getting dependency errors, and package
>>> searching.
>>>
>>> was wondering if someone already has the list to save the bother?
>>>
>>> if not will figure it out and post updated list to wiki.
>>>
>>> BruceS
>>>
>>>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20201230/74ebd501/attachment-0001.htm>
More information about the User
mailing list