tsv-summarize: command not found - linux

I downloaded the eBay tsv-utils and after following the steps I got this error and I'm not sure what to do.
$ git clone https://github.com/eBay/tsv-utils.git
$ cd tsv-utils
$ make
Make gave me some errors:
make[1]: dmd: Command not found
make[1]: *** [../makeapp.mk:18: /home/sylvia/Downloads/tsv-utils/bin/csv2tsv] Error 127
make[1]: Leaving directory '/home/sylvia/Downloads/tsv-utils/csv2tsv'
make: *** [makefile:96: csv2tsv] Error 2
The command csv2tsv works but when I use the command tsv-summarize it says:
tsv-summarize: command not found
I'm not sure what to do.

It seems like you have not installed the D compiler: Please download the D compiler from here: https://dlang.org/download.html.
If you just want to install tsv-utils however, you can download a pre-built binary from the project's github page: https://github.com/eBay/tsv-utils/releases/tag/v2.1.2

Related

How to not use /usr/local/lib after uninstalling self build package?

Initially, I had pcl-1.10 in /usr/(installed using sudo apt install libpcl-dev). Then I self-built pcl-1.12 in /usr/local/ for some reason. Now I uninstalled pcl-1.12 using sudo make uninstall and wanted to use the default pcl-1.10. But when I compiled my project, the error message showed
$ colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release
Starting >>> lidarslam_msgs
Starting >>> ndt_omp_ros2
--- stderr: ndt_omp_ros2
make[2]: *** No rule to make target '/usr/local/lib/libpcl_surface.so', needed by 'align'. Stop.
make[1]: *** [CMakeFiles/Makefile2:80: CMakeFiles/align.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
---
Failed <<< ndt_omp_ros2 [0.16s, exited with code 2]
It seems that the PATH stills points to the /usr/local/lib even if I uninstalled the package. Is there a way I can reset PATH to the global package path? For this case, I believe the pcl-1.10's libpcl_surface.so is in /usr/lib/x86_64-linux-gnu/libpcl_outofcore.so .
I am working on ROS2 and compiling the CMakeList.txt using colcon. So I can't modify the makefile. I assume it is a PATH problem.
A way is to use symlink to link all the .so file in /usr/lib/x86_64-linux-gnu/ to /usr/local/lib but I found it kind of stupid...

PULP SDK (platform-rtl)

I'm following the tutorial on PULP SDK build process "https://github.com/pulp-platform/pulp-sdk/blob/b38dabd571287b6183f17a2c5538382b9d3fe668/README.md". I'm blocked at the stage of SDK build when I tape the command "$ make all" and I can't understand what's mean these errors.
ImportError: No module named 'sphinx'
Makefile:56: recipe for target 'html' failed
make[2]: * [html] Error 1
Makefile:14: recipe for target 'all' failed
make[1]: * [all] Error 2
Reached EOF with exit status 2
FATAL ERROR: the command 'build' has failed
Makefile:6: recipe for target 'all' failed
make: *** [all] Error 255
I had a similar problem, this error is caused by not (correctly) installing the pulp-riscv-gnu-toolchain.
So you should first install this toolchain which can be found here https://github.com/pulp-platform/pulp-riscv-gnu-toolchain.
After that you should follow the steps for "Installation (Pulp)" and replace the command for make to sudo make.
Now you can return to your tutorial on PULP SDK build process.
In case you are still encountering the same error than you should execute this command which I found here cannot open libmpfr.so.4 after update on ubuntu 18.04
sudo ln -s /usr/lib/x86_64-linux-gnu/libmpfr.so.6 /usr/lib/x86_64-linux-gnu/libmpfr.so.4
" Bear in mind that this is just workaround which might trigger other issues for your case. However, this might save you the day in cases when the problematic program is just a mean to achieve something else."

PULP SDK build process

I'm new to this website and it is the first time I've worked with the RISC-V processor. I'm following the tutorial of the PULP SDK build process "https://github.com/pulp-platform/pulp-sdk".
But, I'm blocked at the stage of SDK build when I tape the command "$ make all" and I can't understand what's mean these errors.
Below the errors:
sdk:json-tools:build: make all install
make[1]: Entering directory '/home/pulp/project/pulpissimo/pulp-sdk/json-tools'
#### Building in /home/pulp/project/pulpissimo/pulp-sdk/build/sdk/json-tools
#### Release type is RelWithDebInfo
#### Installing to /home/pulp/project/pulpissimo/pulp-sdk/pkg/sdk/dev/install/ws
( cd /home/pulp/project/pulpissimo/pulp-sdk/build/sdk/json-tools ; make all VERBOSE=0 )
make[2]: Entering directory '/home/pulp/project/pulpissimo/pulp-sdk/build/sdk/json-tools'
make[2]: *** No rule to make target 'all'. Stop.
make[2]: Leaving directory '/home/pulp/project/pulpissimo/pulp-sdk/build/sdk/json-tools'
Makefile:46: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/pulp/project/pulpissimo/pulp-sdk/json-tools'
Reached EOF with exit status 2
FATAL ERROR: the command 'build' has failed
Makefile:6: recipe for target 'all' failed
make: *** [all] Error 255
Thank you in advance
Have you selected the target as advised in the documentation before running make all?
By running source configs/pulpissimo.sh for example.
I selected the target as advised in the documentation before running make all. In fact, it was a Vivado cmake problem that starts automatically when I run the make all command and it's an old version of cmake.
I solved this problem by uncommenting the line source /opt/Xilinx/Vivado/2018.3/settings64.sh. The day I need to launch Vivado I have to run this line on the command line in the terminal.

Kernel "make module_install" always gives error

Hey guys i am trying to command a custom system call.
I tried every step given on this website.
But whenever i enter the " make modules_install install " command i always get this error :
INSTALL arch/x86/crypto/aes-x86_64.ko
cp: cannot stat 'arch/x86/crypto/aes-x86_64.ko': No such file or directory
Can't read module
scripts/Makefile.modinst:30: recipe for target 'arch/x86/crypto/aes-x86_64.ko' failed
make[1]: *** [arch/x86/crypto/aes-x86_64.ko] Error 2
Makefile:1077: recipe for target '_modinst_' failed
make: *** [_modinst_] Error 2
I searched everywhere but i am unable to find any answer.
Looking forward for a solution.

glibc-2.14 when 'make install' failed whit 2 error

/usr/bin/install -c -m 644 include/limits.h /usr/local/glibc-2.14/include/limits.h
/usr/bin/install: include/limits.h' and /usr/local/glibc-2.14/include/limits.h' are the same file
make[1]: *** [/usr/local/glibc-2.14/include/limits.h] Error 1
make[1]: Leaving directory `/usr/local/glibc-2.14'
make: ***[install] Error 2
install glibc-2.14, when i enter 'make install' it show this 2 error
someone help me
Thanks
looks like you're trying to install glibc into the same place you built it ? simple answer: don't do that.
if that isn't what you're doing, please describe the exact ./configure and make and make install commands you're using.
use difference folder for the build and prefix, like:
the build folder path is ~/glibc-2.14/build
and the prefix folder path is /opt/glibc-2.14
it will solve this

Resources