Cannot install JModelica on Ububtu - jmodelica

I am following the installation procedure here.
I get the following error
find: ‘Assimulo’: No such file or directory
/bin/bash: line 3: cd: /home/akshay/Downloads/JModelica/build /Assimulo_build/Assimulo: No such file or directory
python: can't open file 'setup.py': [Errno 2] No such file or directory
Makefile:1006: recipe for target 'build-python-packages' failed
make[2]: *** [build-python-packages] Error 2
make[2]: Leaving directory '/home/akshay/Downloads/JModelica/build'
Makefile:427: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/akshay/Downloads/JModelica/build'
Makefile:352: recipe for target 'all' failed
make: *** [all] Error 2

This has been a problem for long time. You need to download the source for Assimulo in the 'external' directory as Assimulo. Even with it. I haven't been able to get JModelica to test successfully with Casadi. Code can't find NLPSolver.

Related

Cant Make Prepare in Kernel-LT on Centos 7.9

I am trying to merge code with the kernel and then compile, but when I run make prepare, I get the following error:
[root#localhost 5.4.231-1.el7.elrepo.x86_64]# make prepare
/usr/src/kernels/5.4.231-1.el7.elrepo.x86_64/Makefile:678: include/config/auto.conf.cmd: No such file or directory
scripts/kconfig/conf --syncconfig Kconfig
Kconfig:34: can't open file "Documentation/Kconfig"
make[3]: *** [syncconfig] Error 1
make[2]: *** [syncconfig] Error 2
make[1]: *** [include/config/auto.conf.cmd] Error 2
make: *** [sub-make] Error 2
[root#localhost 5.4.231-1.el7.elrepo.x86_64]#
I installed Kernel-LT-Devel and headers, and do not know what package I need to complete this requirement, and so I am stuck. Has anyone seen this error before?
Thanks

fatal error: sys/_types.h: No such file or directory

When I compile Uranus (an SGX project that rewrites JDK), the following error occurs when I execute the make command
Compiling /home/uranus/hotspot/src/share/vm/gc_implementation/shared/ageTable.cpp
In file included from /home/uranus/hotspot/src/../enclave/panoply/include/struct/sgx_time_struct.h:4:0,
from /home/uranus/hotspot/src/../enclave/panoply/include/sgx/bits/resource.h:179,
from /home/uranus/hotspot/src/../enclave/panoply/include/sgx/sys/resource.h:24,
from /home/uranus/hotspot/src/../enclave/panoply/include/struct/sgx_sysresource_struct.h:1,
from /home/uranus/hotspot/src/share/vm/em/securecompiler_u.h:39,
from /home/uranus/hotspot/src/share/vm/em/CompilerEnclave.cpp:8:
/home/uranus/hotspot/src/../include/tlibc/time.h:45:24: fatal error: sys/_types.h: No such file or directory
compilation terminated.
/home/uranus/hotspot/make/linux/makefiles/rules.make:149: recipe for target 'CompilerEnclave.o' failed
make[6]: *** [CompilerEnclave.o] Error 1
make[6]: *** Waiting for unfinished jobs....
/home/uranus/hotspot/make/linux/makefiles/top.make:119: recipe for target 'the_vm' failed
make[5]: *** [the_vm] Error 2
/home/uranus/hotspot/make/linux/Makefile:284: recipe for target 'product' failed
make[4]: *** [product] Error 2
Makefile:230: recipe for target 'generic_build2' failed
make[3]: *** [generic_build2] Error 2
Makefile:177: recipe for target 'product' failed
make[2]: *** [product] Error 2
HotspotWrapper.gmk:44: recipe for target '/home/uranus/build/linux-x86_64-normal-server-release/hotspot/_hotspot.timestamp' failed
make[1]: *** [/home/uranus/build/linux-x86_64-normal-server-release/hotspot/_hotspot.timestamp] Error 2
/home/uranus//make/Main.gmk:109: recipe for target 'hotspot-only' failed
make: *** [hotspot-only] Error 2
This gives me a headache. Pay attention to the sys here/_ The types. h file is an underlined _. I can only find sys/types. h header file without underline
I have been troubled for a long time. I hope the question can be answered

how to install gdb 9.1 on debian from source code

I like to compile and use gdb 9.1. the source is here https://ftp.gnu.org/gnu/gdb/
Plus when I type make in config directory make says make: *** No targets specified and no makefile found. Stop. because there is not make file. on root folder there are Makefile.in and Makefile.tpl and Makefile.def. what are these files. and how can I install gdb 9 from source code.
Update
After the comment changes I made in command by G.M I am getting this error I think almost at the end of compiling process
mv GDBvn.new GDBvn.texi
/home/fawad/Desktop/gdb/gdb/gdb-9.1.1/missing makeinfo --split-size=5000000 --split-size=5000000 -I /home/fawad/Desktop/gdb/gdb
/gdb-9.1.1/gdb/doc/../../readline/readline/doc -I /home/fawad/Desktop
/gdb/gdb/gdb-9.1.1/gdb/doc/../mi -I /home/fawad/Desktop/gdb/gdb/gdb-9.1.1/gdb/doc
-o gdb.info /home/fawad/Desktop/gdb/gdb/gdb-9.1.1/gdb/doc/gdb.texinfo
/home/fawad/Desktop/gdb/gdb/gdb-9.1.1/missing: 81: makeinfo: not found
WARNING: 'makeinfo' is missing on your system.
You should only need it if you modified a '.texi' file, or
any other file indirectly affecting the aspect of the manual.
You might want to install the Texinfo package:
http://www.gnu.org/software/texinfo/
The spurious makeinfo call might also be the consequence of
using a buggy 'make' (AIX, DU, IRIX), in which case you might
want to install GNU make:
http://www.gnu.org/software/make/
make[4]: *** [Makefile:490: gdb.info] Error 127
make[4]: Leaving directory '/home/fawad/Desktop/gdb/gdb/gdb-9.1/build/build/gdb/doc'
make[3]: *** [Makefile:2010: subdir_do] Error 1
make[3]: Leaving directory '/home/fawad/Desktop/gdb/gdb/gdb-9.1/build/build/gdb'
make[2]: *** [Makefile:1655: all] Error 2
make[2]: Leaving directory '/home/fawad/Desktop/gdb/gdb/gdb-9.1/build/build/gdb'
make[1]: *** [Makefile:9564: all-gdb] Error 2
make[1]: Leaving directory '/home/fawad/Desktop/gdb/gdb/gdb-9.1/build/build'
make: *** [Makefile:852: all] Error 2

"No rule to make target" when compiling glib

I am currently trying to build a software. However during its compilation, it stops with the following error messages:
make[2]: *** No rule to make target `/glib-2.0/include/glibconfig.h', needed by `GLib-2.0.gir'. Stop.
make[2]: Leaving directory `/media/34GB/Arquivos-de-Programas-Linux/gobject-introspection-1.30.0'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/media/34GB/Arquivos-de-Programas-Linux/gobject-introspection-1.30.0'
make: *** [all] Error 2
...
I read a thread about a similar error message here: gcc makefile error: "No rule to make target ..." however, I was not able to use it on my case. All I can say is that the dir where glibconfig.h is found, shows here:
$(GLIB_LIBDIR)/glib-2.0/include/glibconfig.h
I guess I have to edit the Makefile and add something, but what? Not sure what .gir files are

Trying to compile a script from github but getting errors

I'm trying to install https://github.com/xxorde/librekinect
but I'm running into the following issue:
$ make
make pc
make[1]: Entering directory '/home/pi/librekinect-master'
make -C /lib/modules/3.18.5+/build M= modules
make[2]: Entering directory '/home/pi/librekinect-master'
make[2]: *** /lib/modules/3.18.5+/build: No such file or directory. Stop.
make[2]: Leaving directory '/home/pi/librekinect-master'
Makefile:31: recipe for target 'pc' failed
make[1]: *** [pc] Error 2
make[1]: Leaving directory '/home/pi/librekinect-master'
Makefile:24: recipe for target 'default' failed
make: *** [default] Error 2
I tried searching for *** /lib/modules/3.18.5+/build: No such file or directory. Stop. on google but that produced nothing helpful.
What am I missing?
Since you are working on raspberry pi, you should follow the recipe here. Mostly, I think you miss parts of the toolchain (at least build-essentials and likely the headers). I would follow that example step by step.

Resources