Has anyone tried to build trinity for FreeBSD ?
I am currently building a new system based on FreeBSD and I would like to attempt to build trinity.
I would like to create ports build if I am successful with the build.
I am studying the build from source instructions posted on the website. I believe that this will be a difficult one as it appears that trinity favors Linux.
The following appears to be problem areas:
Should be installed in /use/local/<whatever>.
Scripts contained in the source files have !#/bin/bash. Do the scripts contain bash-ims? FreeBSD used the bourne shell not bash IE #!/bin/sh.
FreeBSD uses clang instead of gcc.
FreeBSD has dropped HAL in xorg. udev not supported.
I am not intending to use linux compatibility ports, as I am looking to run this on the FreeBSD bare metal.
Comments?
Am Samstag, 7. Februar 2015 schrieb baho-utot@columbus.rr.com:
Has anyone tried to build trinity for FreeBSD ?
I am currently building a new system based on FreeBSD and I would like to attempt to build trinity.
I would like to create ports build if I am successful with the build.
I am studying the build from source instructions posted on the website. I believe that this will be a difficult one as it appears that trinity favors Linux.
The following appears to be problem areas:
Should be installed in /use/local/<whatever>.
Scripts contained in the source files have !#/bin/bash. Do the scripts contain bash-ims? FreeBSD used the bourne shell not bash IE #!/bin/sh.
FreeBSD uses clang instead of gcc.
FreeBSD has dropped HAL in xorg. udev not supported.
I am not intending to use linux compatibility ports, as I am looking to run this on the FreeBSD bare metal.
Comments?
Hi!
I'm working on FreeBSD, too.
you'll need to install: gcc47 (or newer), bash, cmake to get started.
There are awful bashisms in all cmake ports, you'll need a syslink from /bin/bash to /usr/local/bin/bash. Also you'll need symlinks from "gcc" and "g++" to your actual compiler.
tqt3 and tqtinterface builds without bigger problem using gcc or clang.
At the moment I'm stuck with alsa at building arts :-/
I install anything in /opt/trinity and ignore /usr/local/ till I run into a problem.
HAL in form of "hald" isl supported on FreeBDS 10.1, udev is "devd". I do not see any sign of them getting dropped.
Nik
On Saturday, February 07, 2015 11:51:51 AM Dr. Nikolaus Klepp wrote:
Am Samstag, 7. Februar 2015 schrieb baho-utot@columbus.rr.com:
Has anyone tried to build trinity for FreeBSD ?
I am currently building a new system based on FreeBSD and I would like to attempt to build trinity.
I would like to create ports build if I am successful with the build.
I am studying the build from source instructions posted on the website. I believe that this will be a difficult one as it appears that trinity favors Linux.
The following appears to be problem areas:
Should be installed in /use/local/<whatever>.
Scripts contained in the source files have !#/bin/bash.
Do the scripts contain bash-ims? FreeBSD used the bourne shell not bash IE #!/bin/sh.
FreeBSD uses clang instead of gcc.
FreeBSD has dropped HAL in xorg. udev not supported.
I am not intending to use linux compatibility ports, as I am looking to run this on the FreeBSD bare metal.
Comments?
Hi!
I'm working on FreeBSD, too.
you'll need to install: gcc47 (or newer), bash, cmake to get started.
I have cmake and I intend to use clang as the c compiler
There are awful bashisms in all cmake ports, you'll need a syslink from /bin/bash to /usr/local/bin/bash. Also you'll need symlinks from "gcc" and "g++" to your actual compiler.
I am going to patch the build scripts to use /bin/sh
tqt3 and tqtinterface builds without bigger problem using gcc or clang.
At the moment I'm stuck with alsa at building arts :-/
I have crossed that bridge before
I install anything in /opt/trinity and ignore /usr/local/ till I run into a problem.
I will use /usr/local as I intend to create "ports" make files etc
HAL in form of "hald" isl supported on FreeBDS 10.1, udev is "devd". I do not see any sign of them getting dropped.
I wouldn't say devd is udev, it works like udev did, but it is not udev. devd predates udev, check the source.
Nik
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA224
Am Samstag, 7. Februar 2015 schrieb baho-utot@columbus.rr.com:
Has anyone tried to build trinity for FreeBSD ?
I am currently building a new system based on FreeBSD and I would like to attempt to build trinity.
I would like to create ports build if I am successful with the build.
I am studying the build from source instructions posted on the website. I believe that this will be a difficult one as it appears that trinity favors Linux.
The following appears to be problem areas:
Should be installed in /use/local/<whatever>.
Scripts contained in the source files have !#/bin/bash. Do the scripts contain bash-ims? FreeBSD used the bourne shell not bash IE #!/bin/sh.
FreeBSD uses clang instead of gcc.
FreeBSD has dropped HAL in xorg. udev not supported.
I am not intending to use linux compatibility ports, as I am looking to run this on the FreeBSD bare metal.
Comments?
Hi!
I'm working on FreeBSD, too.
you'll need to install: gcc47 (or newer), bash, cmake to get started.
There are awful bashisms in all cmake ports, you'll need a syslink from /bin/bash to /usr/local/bin/bash. Also you'll need symlinks from "gcc" and "g++" to your actual compiler.
tqt3 and tqtinterface builds without bigger problem using gcc or clang.
At the moment I'm stuck with alsa at building arts :-/
I install anything in /opt/trinity and ignore /usr/local/ till I run into a problem.
HAL in form of "hald" isl supported on FreeBDS 10.1, udev is "devd". I do not see any sign of them getting dropped.
Nik
What does FreeBSD recommend as a HAL replacement? udev was the closest I could find, and even then I had to implement huge chunks of HAL functionality on top of udev, udisks, upower, etc. Surely they aren't suggesting applications natively probe the hardware; that would be ridiculous and never supported by TDE.
Tim
Am Samstag, 7. Februar 2015 schrieb Timothy Pearson:
What does FreeBSD recommend as a HAL replacement? udev was the closest I could find, and even then I had to implement huge chunks of HAL functionality on top of udev, udisks, upower, etc. Surely they aren't suggesting applications natively probe the hardware; that would be ridiculous and never supported by TDE.
Tim
The handbook says: Xorg uses HAL.
https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html
Nik
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA224
Am Samstag, 7. Februar 2015 schrieb Timothy Pearson:
What does FreeBSD recommend as a HAL replacement? udev was the closest I could find, and even then I had to implement huge chunks of HAL functionality on top of udev, udisks, upower, etc. Surely they aren't suggesting applications natively probe the hardware; that would be ridiculous and never supported by TDE.
Tim
The handbook says: Xorg uses HAL.
https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html
Nik
OK, thanks for the info. I wasn't sure as someone else on this thread had said HAL was being dropped by FreeBSD.
Tim
On 02/07/2015 14:45, Dr. Nikolaus Klepp wrote:
Am Samstag, 7. Februar 2015 schrieb Timothy Pearson:
What does FreeBSD recommend as a HAL replacement? udev was the closest I could find, and even then I had to implement huge chunks of HAL functionality on top of udev, udisks, upower, etc. Surely they aren't suggesting applications natively probe the hardware; that would be ridiculous and never supported by TDE.
Tim
The handbook says: Xorg uses HAL.
https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html
Nik
That is incorrect. HAL is only needed if you want to create an xorg.conf
$ pkg info xorg-server xorg-server-1.14.7_1,1 Name : xorg-server Version : 1.14.7_1,1 Installed on : Fri Feb 6 21:33:03 EST 2015 Origin : x11-servers/xorg-server Architecture : freebsd:10:x86:64 Prefix : /usr/local Categories : x11-servers Licenses : MIT Maintainer : x11@FreeBSD.org WWW : http://www.freedesktop.org/Software/xorg Comment : X.Org X server and related programs Options : DEVD : on HAL : off SUID : on Shared Libs required: libpixman-1.so.0 libpciaccess.so.0 libdrm.so.2 libXfont.so.1 libXdmcp.so.6 libXau.so.6 Shared Libs provided: libwfb.so libvgahw.so libvbe.so libshadowfb.so libshadow.so libint10.so libglx.so libfbdevhw.so libfb.so libexa.so Annotations : repo_type : binary repository : pcbsd-major Flat size : 4.59MiB Description : This package contains the X.Org X server and some associated programs.
Am Sonntag, 8. Februar 2015 schrieb baho-utot@columbus.rr.com:
On 02/07/2015 14:45, Dr. Nikolaus Klepp wrote:
Am Samstag, 7. Februar 2015 schrieb Timothy Pearson:
What does FreeBSD recommend as a HAL replacement? udev was the closest I could find, and even then I had to implement huge chunks of HAL functionality on top of udev, udisks, upower, etc. Surely they aren't suggesting applications natively probe the hardware; that would be ridiculous and never supported by TDE.
Tim
The handbook says: Xorg uses HAL.
https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html
Nik
That is incorrect. HAL is only needed if you want to create an xorg.conf
$ pkg info xorg-server xorg-server-1.14.7_1,1 Name : xorg-server Version : 1.14.7_1,1 Installed on : Fri Feb 6 21:33:03 EST 2015 Origin : x11-servers/xorg-server Architecture : freebsd:10:x86:64 Prefix : /usr/local Categories : x11-servers Licenses : MIT Maintainer : x11@FreeBSD.org WWW : http://www.freedesktop.org/Software/xorg Comment : X.Org X server and related programs Options : DEVD : on HAL : off SUID : on Shared Libs required: libpixman-1.so.0 libpciaccess.so.0 libdrm.so.2 libXfont.so.1 libXdmcp.so.6 libXau.so.6 Shared Libs provided: libwfb.so libvgahw.so libvbe.so libshadowfb.so libshadow.so libint10.so libglx.so libfbdevhw.so libfb.so libexa.so Annotations : repo_type : binary repository : pcbsd-major Flat size : 4.59MiB Description : This package contains the X.Org X server and some associated programs.
Funny, HAL is not needed for the generation of a static xorg.conf, either. Even Xorg autoconfiguration works without HAL.
I have filed a bugreport, https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197411
Nik
On 02/08/2015 09:36, office@klepp.biz wrote:
Am Sonntag, 8. Februar 2015 schrieb baho-utot@columbus.rr.com:
On 02/07/2015 14:45, Dr. Nikolaus Klepp wrote:
Am Samstag, 7. Februar 2015 schrieb Timothy Pearson:
What does FreeBSD recommend as a HAL replacement? udev was the closest I could find, and even then I had to implement huge chunks of HAL functionality on top of udev, udisks, upower, etc. Surely they aren't suggesting applications natively probe the hardware; that would be ridiculous and never supported by TDE.
Tim
The handbook says: Xorg uses HAL.
https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html
Nik
That is incorrect. HAL is only needed if you want to create an xorg.conf
$ pkg info xorg-server xorg-server-1.14.7_1,1 Name : xorg-server Version : 1.14.7_1,1 Installed on : Fri Feb 6 21:33:03 EST 2015 Origin : x11-servers/xorg-server Architecture : freebsd:10:x86:64 Prefix : /usr/local Categories : x11-servers Licenses : MIT Maintainer : x11@FreeBSD.org WWW : http://www.freedesktop.org/Software/xorg Comment : X.Org X server and related programs Options : DEVD : on HAL : off SUID : on Shared Libs required: libpixman-1.so.0 libpciaccess.so.0 libdrm.so.2 libXfont.so.1 libXdmcp.so.6 libXau.so.6 Shared Libs provided: libwfb.so libvgahw.so libvbe.so libshadowfb.so libshadow.so libint10.so libglx.so libfbdevhw.so libfb.so libexa.so Annotations : repo_type : binary repository : pcbsd-major Flat size : 4.59MiB Description : This package contains the X.Org X server and some associated programs.
Funny, HAL is not needed for the generation of a static xorg.conf, either. Even Xorg autoconfiguration works without HAL.
I have filed a bugreport, https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197411
Nik
Xorg has not needed xorg.conf for quite some time now. When I was using archlinux before they moved to systemd it xorg.conf was not needed.
HAL ( and DBUS ) is required for KDE4 just not for xorg.
On 02/08/2015 09:36, office@klepp.biz wrote:
Am Sonntag, 8. Februar 2015 schrieb baho-utot@columbus.rr.com:
On 02/07/2015 14:45, Dr. Nikolaus Klepp wrote:
Am Samstag, 7. Februar 2015 schrieb Timothy Pearson:
What does FreeBSD recommend as a HAL replacement? udev was the closest I could find, and even then I had to implement huge chunks of HAL functionality on top of udev, udisks, upower, etc. Surely they aren't suggesting applications natively probe the hardware; that would be ridiculous and never supported by TDE.
Tim
The handbook says: Xorg uses HAL.
https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html
Nik
That is incorrect. HAL is only needed if you want to create an xorg.conf
$ pkg info xorg-server xorg-server-1.14.7_1,1 Name : xorg-server Version : 1.14.7_1,1 Installed on : Fri Feb 6 21:33:03 EST 2015 Origin : x11-servers/xorg-server Architecture : freebsd:10:x86:64 Prefix : /usr/local Categories : x11-servers Licenses : MIT Maintainer : x11@FreeBSD.org WWW : http://www.freedesktop.org/Software/xorg Comment : X.Org X server and related programs Options : DEVD : on HAL : off SUID : on Shared Libs required: libpixman-1.so.0 libpciaccess.so.0 libdrm.so.2 libXfont.so.1 libXdmcp.so.6 libXau.so.6 Shared Libs provided: libwfb.so libvgahw.so libvbe.so libshadowfb.so libshadow.so libint10.so libglx.so libfbdevhw.so libfb.so libexa.so Annotations : repo_type : binary repository : pcbsd-major Flat size : 4.59MiB Description : This package contains the X.Org X server and some associated programs.
Funny, HAL is not needed for the generation of a static xorg.conf, either. Even Xorg autoconfiguration works without HAL.
I have filed a bugreport, https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197411
Nik
I have a github account and wonder if you would like to work on getting trinity working on freebsd in concert? No sense duplicating work.
On 02/07/2015 14:12, Timothy Pearson wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA224
Am Samstag, 7. Februar 2015 schrieb baho-utot@columbus.rr.com:
Has anyone tried to build trinity for FreeBSD ?
I am currently building a new system based on FreeBSD and I would like to attempt to build trinity.
I would like to create ports build if I am successful with the build.
I am studying the build from source instructions posted on the website. I believe that this will be a difficult one as it appears that trinity favors Linux.
The following appears to be problem areas:
Should be installed in /use/local/<whatever>.
Scripts contained in the source files have !#/bin/bash. Do the scripts contain bash-ims? FreeBSD used the bourne shell not bash IE #!/bin/sh.
FreeBSD uses clang instead of gcc.
FreeBSD has dropped HAL in xorg. udev not supported.
I am not intending to use linux compatibility ports, as I am looking to run this on the FreeBSD bare metal.
Comments?
Hi!
I'm working on FreeBSD, too.
you'll need to install: gcc47 (or newer), bash, cmake to get started.
There are awful bashisms in all cmake ports, you'll need a syslink from /bin/bash to /usr/local/bin/bash. Also you'll need symlinks from "gcc" and "g++" to your actual compiler.
tqt3 and tqtinterface builds without bigger problem using gcc or clang.
At the moment I'm stuck with alsa at building arts :-/
I install anything in /opt/trinity and ignore /usr/local/ till I run into a problem.
HAL in form of "hald" isl supported on FreeBDS 10.1, udev is "devd". I do not see any sign of them getting dropped.
Nik
What does FreeBSD recommend as a HAL replacement? udev was the closest I could find, and even then I had to implement huge chunks of HAL functionality on top of udev, udisks, upower, etc. Surely they aren't suggesting applications natively probe the hardware; that would be ridiculous and never supported by TDE.
They use devd, it looks like ( to me ) that HAL will be removed in the future.