modelsim error: env: -64: No such file or directory - modelsim

I am getting the following error while running a simulation in modelsim.
I am using the 64-bit setup of modelsim only.
env: -64: No such file or directory
make[3]: *** [apps/helloworld/CMakeFiles/helloworld.vsim] Error 127
make[2]: *** [apps/helloworld/CMakeFiles/helloworld.vsim.dir/all] Error 2
make[1]: *** [apps/helloworld/CMakeFiles/helloworld.vsim.dir/rule] Error 2
make: *** [helloworld.vsim] Error 2]

Related

Trouble installing Rhtslib in R/R studio

I'm using RStudio on Ubuntu 18 and I'm trying to install the htslib package from the Bioconductor repo, but I'm stuck now.
This is what I get:
* installing *source* package ‘Rhtslib’ ...
** using non-staged installation via StagedInstall field
** libs
cd "htslib-1.7" && make -f "/usr/lib/R/etc/Makeconf" -f "Makefile.Rhtslib"
make[1]: Entering directory '/tmp/RtmpbL8Yil/R.INSTALL1664f5019f4/Rhtslib/src/htslib-1.7'
Makefile.Rhtslib:128: warning: overriding recipe for target '.c.o'
/usr/lib/R/etc/Makeconf:168: warning: ignoring old recipe for target '.c.o'
...
cram/cram_io.c:61:10: fatal error: lzma.h: No such file or directory
#include <lzma.h>
^~~~~~~~
compilation terminated.
Makefile.Rhtslib:128: recipe for target 'cram/cram_io.o' failed
make[1]: Leaving directory '/tmp/RtmpbL8Yil/R.INSTALL1664f5019f4/Rhtslib/src/htslib-1.7'
Makevars.common:24: recipe for target 'htslib' failed
make[1]: *** [cram/cram_io.o] Error 1
make: *** [htslib] Error 2
ERROR: compilation failed for package ‘Rhtslib’
* removing ‘/home/thiago/R/x86_64-pc-linux-gnu-library/4.1/Rhtslib’
The downloaded source packages are in
‘/tmp/RtmpL0DYph/downloaded_packages’
Installation paths not writeable, unable to update packages
path: /usr/lib/R/library
packages:
spatial
Warning message:
In .inet_warning(msg) :
installation of package ‘Rhtslib’ had non-zero exit status
What can I do in order to properly install the package?

Installation of YAF (https://tools.netsa.cert.org/yaf/download.html#)

make[2]: *** [Makefile:684: yaf] Error 1
make[2]: Leaving directory '/home/prem/Downloads/yaf-2.8.4/src'
make[1]: *** [Makefile:1054: all-recursive] Error 1
make[1]: Leaving directory '/home/prem/Downloads/yaf-2.8.4/src'
make: *** [Makefile:638: all-recursive] Error 1
I am getting this error while installing Yaf for traffic analysis.

How to solve -lpcre2-8 error while installing rJava package in R?

/usr/bin/ld: cannot find -lpcre2-8
collect2: error: ld returned 1 exit status
Makefile.all:35: recipe for target 'libjri.so' failed
make[2]: *** [libjri.so] Error 1
make[2]: Leaving directory '/tmp/RtmpxlbMFl/R.INSTALLeb81ff01ac6/rJava/jri/src'
Makefile.all:19: recipe for target 'src/JRI.jar' failed
make[1]: *** [src/JRI.jar] Error 2
make[1]: Leaving directory '/tmp/RtmpxlbMFl/R.INSTALLeb81ff01ac6/rJava/jri'
Makevars:14: recipe for target 'jri' failed
make: *** [jri] Error 2
ERROR: compilation failed for package ‘rJava’
* removing ‘/home/gurjar/R/x86_64-pc-linux-gnu-library/3.6/rJava’
The downloaded source packages are in
‘/tmp/RtmpXFYJ9B/downloaded_packages’
Warning message:
In install.packages("rJava") :
installation of package ‘rJava’ had non-zero exit status
Is there any libraries I might be missing while hammering the same code for installation?
As the previous answer installing the pcer2 works, I use the steps specified on the main site of the library http://www.linuxfromscratch.org/blfs/view/svn/general/pcre2.html
1 st:
Download (HTTP): [https://ftp.pcre.org/pub/pcre/pcre2-10.36.tar.bz2][1]
OR Download (FTP): [ftp://ftp.pcre.org/pub/pcre/pcre2-10.36.tar.bz2][2]
2 nd:
./configure --prefix=/usr \
--docdir=/usr/share/doc/pcre2-10.36 \
--enable-unicode \
--enable-jit \
--enable-pcre2-16 \
--enable-pcre2-32 \
--enable-pcre2grep-libz \
--enable-pcre2grep-libbz2 \
--enable-pcre2test-libreadline \
--disable-static &&
make
3 rd
make install

Error when installing asterisk

when trying to install asterisk i get this error:
[root#localhost asterisk-15.4.0]# make install
CC="cc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" makeopts
make[1]: Entering directory `/usr/src/asterisk/asterisk-15.4.0/menuselect'
make[1]: `makeopts' is up to date.
make[1]: Leaving directory `/usr/src/asterisk/asterisk-15.4.0/menuselect'
[LD] chan_unistim.o -> chan_unistim.so
/usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbeginT.o: relocation R_X86_64_32 against hidden symbol `__TMC_END__' can not be used when making a shared object
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
make[1]: *** [chan_unistim.so] Error 1
make: *** [channels] Error 2
[root#localhost asterisk-15.4.0]#

ROS installation on intel edison

I am getting following error while installing ROS on intel edison with UbiLinux. Following these steps for installation http://wiki.ros.org/wiki/edison
/home/edison/ros_catkin_ws/src/ros_comm/roscpp/src/libros/callback_queue.cpp:380:43: error: macro "BOOST_SCOPE_EXIT" passed 2 arguments, but takes just 1
/home/edison/ros_catkin_ws/src/ros_comm/roscpp/src/libros/callback_queue.cpp: In member function ‘ros::CallbackQueue::CallOneResult ros::CallbackQueue::callOneCB(ros::CallbackQueue::TLS*)’:
/home/edison/ros_catkin_ws/src/ros_`enter code here`comm/roscpp/src/libros/callback_queue.cpp:380:7: error: ‘BOOST_SCOPE_EXIT’ was not declared in this scope
/home/edison/ros_catkin_ws/src/ros_comm/roscpp/src/libros/callback_queue.cpp:381:7: error: expected ‘;’ before ‘{’ token
/home/edison/ros_catkin_ws/src/ros_comm/roscpp/src/libros/callback_queue.cpp:384:7: error: ‘struct boost::scope_exit::aux::undeclared’ has no member named ‘value’
/home/edison/ros_catkin_ws/src/ros_comm/roscpp/src/libros/callback_queue.cpp:384:7: error: ‘boost_se_guard_384’ was not declared in this scope
/home/edison/ros_catkin_ws/src/ros_comm/roscpp/src/libros/callback_queue.cpp:398:9: error: ‘result’ was not declared in this scope
/home/edison/ros_catkin_ws/src/ros_comm/roscpp/src/libros/callback_queue.cpp: At global scope:
/home/edison/ros_catkin_ws/src/ros_comm/roscpp/src/libros/callback_queue.cpp:408:3: error: expected unqualified-id before ‘else’
/home/edison/ros_catkin_ws/src/ros_comm/roscpp/src/libros/callback_queue.cpp:413:3: error: expected unqualified-id before ‘return’
/home/edison/ros_catkin_ws/src/ros_comm/roscpp/src/libros/callback_queue.cpp:416:1: error: expected declaration before ‘}’ token
make[2]: *** [CMakeFiles/roscpp.dir/src/libros/callback_queue.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/roscpp.dir/all] Error 2
make: *** [all] Error 2
root#ubilinux:/home/edison/ros_catkin_ws/build_isolated/roscpp#
You need to remove libboost-all-dev 1.4.9, then compile and install boost 1.5.3.
Follow these instructions:
http://www.boost.org/doc/libs/1_53_0/more/getting_started/unix-variants.html
http://yplam.com/ros/2017/03/19/edison-ros-install.html

Resources