RTEMS Source Builder - Set Builder, 5 (f07d2b6e9ad7) error: exe: not found: (__xz) xz error: host build environment is not set up correctly - real-time

I want to install rtems on beaglebone black. First I am trying to create image for sd card. and I'm following this link [https://docs.rtems.org/branches/master/user/start/index.html#creating-a-workspace] but when I wrote ./source-builder/sb-checkthis step and it returned me ;
RTEMS Source Builder - Check, 5 (f07d2b6e9ad7)
error: exe: not found: (__xz) xz
Environment is not correctly set up
I am using macOS I have already developing IOS application so I have Xcode and comment line tools but It still doesn't work.
Also, I download HomeBrew packaging tool for MacOS. I doesn't change situation.
Then I download git clone https://git.tukaani.org/xz.git
But still doesn't work.
Can someone help me about it?
I will be very pleased?

After downloading and installing brew (/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)") install xz with "brew install xz"

Related

error: SERVER does not appear in AM_CONDITIONAL

I am trying to install Lustre on CentOS 7. I followed this link. When I try to run sh ./autogen.sh to generate the configure script I get the above error as illustrated below.
[root#localhost lustre-release]# sh ./autogen.sh
configure.ac:10: installing 'config/config.guess'
configure.ac:10: installing 'config/config.sub'
configure.ac:12: installing 'config/install-sh'
configure.ac:12: installing 'config/missing'
autoMakefile.am:127: error: SERVER does not appear in AM_CONDITIONAL
libcfs/libcfs/autoMakefile.am: installing 'config/depcomp'
Does anyone know how I can resolve this?
To build lustre from git use "autogen.sh" in the top level directory to setup the build environment:
$ bash autogen.sh
libcfs/libcfs/autoMakefile.am: installing 'config/depcomp'
$
Did you try downloading a pre-built package from https://downloads.whamcloud.com/public/lustre/ ? That is usually the easiest compared to building your own.
If you want to build your own Lustre code, which version of the source are you using? The latest code is available at git.whamcloud.com. Most users should use the LTS release (b2_10 branch currently), but if you are doing new development you should use the master branch.

Command line tools not accessible from Eclipse on OSX

I am using Eclipse on a macOS machine. CMake is present on my machine at /usr/local/bin/cmake and has been installed using Homebrew. Eclipse is at the latest version (2018-09).
I have the following target in a Makefile, which has been set up and is visible from Eclipse:
all:
./configure
Rscript -e "Rcpp::compileAttributes()"
R CMD INSTALL --no-multiarch --with-keep.source .
Inside the configure file, there is this code:
cd src/build;cmake ..
However, when I double click the all target in Eclipse, I get the following message:
make all
./configure
./configure: line 1: cmake: command not found
make: *** [all] Error 127
I remember that some time ago this target worked out of the box on macOS. I can also launch CMake from a terminal without any trouble.
echo $PATH shows different behaviour:
If called from a standard macOS terminal, it yields /usr/local/sbin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/opt/X11/bin
If called from a TM Terminal inside Eclipse, it yields /usr/bin:/bin:/usr/sbin:/sbin
What is the most canonical way to have Eclipse detect my CMake installation ?
For macOS High Sierra 10.13.6, the solution provided here works. This must be performed to see the changes immediately.

Open Babel can't convert from mol2 to png because Cairo library is not loaded

I first installed Open Babel through brew. When I tried to run the command: "obabel -:"CC(=O)Cl" -opng -O mymol.png", I got this error message: " Open Babel Error in PNG Format
PNG2Format not found. Probably the Cairo library is not loaded." I then proceeded to use brew to uninstall Open Babel. Then, I installed Cairo with brew and then installed Open Babel with brew again. Still though, I try to create a PNG output and it gives me the same error message. I just do not know what's going on??
I’ve found that when using brew to install open-babel, I do not need to install Cairo in a separate step. The open-babel formula includes a '--with-cairo’ option that installs all the required dependencies, including Cairo.
Here is how I installed open-babel with Cairo support:
$ brew install --with-cairo open-babel

Installing GFortran on Mavericks

I have succeeded with installing numpy and now I am trying to install scipy on Mavericks. The requirement is GFortran but when I am trying to install it, I get a message:
"Unapproved caller.
SecurityAgent may only be invoked by Apple software."
Does anyone know how I can fix this issue?
Restarting the computer has fixed the issue.
I was able to get around this by using the installer command instead of the gui
## SETUP
# get pacakge
wget http://coudert.name/software/gfortran-4.9.0-Mavericks.dmg
# mount
hdiutil attach gfortran-4.9.0-Mavericks.dmg
# issue with clicking desktop icon then pkg icon
# "Unapproved caller. SecurityAgent may only be invoked by Apple software"
## INSTALL
sudo installer -pkg /Volumes/gfortran-4.9.0-Mavericks/gfortran.pkg -target /
## test install
which gfortran
/usr/local/bin/gfortran
Another solution might be to use the brew/fink/macports package. I'm using this package instead of e.g. brew install gcc because (when R is compiling fortran code), I'm getting:
FATAL:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../libexec/as/x86_64/as: I don't understand 'm' flag!

sudo port install cmake trouble (for MGTwitterEngine)

I am following This Tutorial on installing MGTwitterEngine on my MAC osx 10.6.2.
I am stuck on this step:
sudo port install cmake
it gives me the following error:
dlopen(/opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib, 10): no suitable image found. Did find:
/opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib: no matching architecture in universal wrapper
while executing
"load /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib"
("package ifneeded Pextlib 1.0" script)
invoked from within
"package require Pextlib 1.0"
(file "/opt/local/bin/port" line 40)
Rex-MacBook-Pro:~ Rex$
Thus, I cannot use TERMINAL to install YAJL to get my app to build. Help needed.
P.S.
In terminal preferences, Shells Open With is either /usr/bin/login or /bin/bash
YAJL is supposedly installed at /Users/Rex
I am using OSX 10.6.2
Solution was that my OS is snow leopard and the version of Xcode i was using was not. Re-installing the proper xcode update solved it.