make [2]: **** [Makefile:44: envi_slc_decode] Error 1, while installing gmtsar in fedora 32 - installation

This is my first question in stack overflow and hope I make it clear.
I am trying to install a program (gmtsar) in fedora 32. However, the compilation was not complete and two errors return at the end.
I ran the following commands:
sudo -i
cd /usr/local
git clone --branch 6.0 https://github.com/gmtsar/gmtsar GMTSAR
cd GMTSAR
autoconf
./configure --with-orbits-dir=/usr/local/orbits
make
make install
after make and mak install the following errors return:
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:44: envi_slc_decode] Error 1
make[2]: Leaving directory '/usr/local/GMTSAR/preproc/ENVI_preproc/ENVI_SLC_decode'
make[1]: *** [Makefile:8: all] Error 2
make[1]: Leaving directory '/usr/local/GMTSAR/preproc/ENVI_preproc'
make: *** [Makefile:37: preprocess] Error 2
I followed the same procedures in ubuntu 16.04 and the compilation was complete without errors.
Can anyone help me understand why I got these errors and how to fix them, please?

Related

JModelica fails at compiling (make install)

I tried to install JModelica on my Ubunute 18.04 but I always get a make error.
(I've installed both the required pakages for python and python3)
I followed the installation guide from its userGuide.pdf (https://jmodelica.org/downloads/UsersGuide.pdf) to the point i had to make install it.
$ sudo make install
I get the following error output (last few line):
Makefile:1127: recipe for target 'install-python-packages' failed
make[2]: *** [install-python-packages] Error 1
make[2]: Verzeichnis „/home/user/FMU/jmodelica/JModelica.org/build“ wird verlassen
Makefile:757: recipe for target 'install-am' failed
make[1]: *** [install-am] Error 2
make[1]: Verzeichnis „/home/user/FMU/jmodelica/JModelica.org/build“ wird verlassen
Makefile:443: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
EDIT:
pretty much erverything is building but the target:
build-python-packages
$ sudo make install-python-packages
this throws the error from above. But I can't identify the wrong lines.
maybe you can try
https://gitlab.com/christiankral/install_jmodelica/blob/master/install_jmodelica.sh
for more information see discussion:
JModelica on Ubuntu 18.04

Troubleshooting clang error to get C++ code in CLion to work

I'm an inexperienced programmer so bear with me if this little sense. I'm trying to run a basic "hello world" kind of program in CLion, except I'm trying to print out a value in the main.cpp file from a header and cpp file. I'm using MacOS and everything is update in terms of software. When I try to build or run the program, it gives me these errors:
====================[ Build | untitled1 | Debug ]===============================
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake --build /Users/anshuldaga/untitled1/cmake-build-debug --target untitled1 -- -j 2
[ 33%] Building CXX object CMakeFiles/untitled1.dir/main.cpp.o
[ 66%] Building CXX object CMakeFiles/untitled1.dir/test.cpp.o
make[3]: /Library/Developer/CommandLineTools/usr/bin/c++: Permission denied
make[3]: /Library/Developer/CommandLineTools/usr/bin/c++: Permission denied
make[3]: *** [CMakeFiles/untitled1.dir/main.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [CMakeFiles/untitled1.dir/test.cpp.o] Error 1
make[2]: *** [CMakeFiles/untitled1.dir/all] Error 2
make[1]: *** [CMakeFiles/untitled1.dir/rule] Error 2
make: *** [untitled1] Error 2
I've already tried running the sudo g++ main.cpp command and it gives me this error:
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Based off my research, I know that clang is the compiler for c++ and a linker error is basically when something can't find the right files or library.
I've uninstalled and reinstalled Xcode, did the
sudo xcode-select -switch /Library/Developer/CommandLineTools/
command. I'm not sure what to do at this point. Any help would be greatly appreciated, thank you!
According to this(archive.org) old post from the CLion forum, the xcode license agreement might be the issue. Try to start xcode and agree to the license, or run sudo xcodebuild -license.

Building F# on a mac... mcs: No such file or directory

I am building F# from source on my mac (yosemite).
I followed these steps.
git clone https://github.com/mono/mono
cd mono
./autogen.sh --prefix=/mono64 --enable-nls=no
make
During make I get an error
cd /Users/abhishek.srivastava/mono/mcs && /Applications/Xcode.app/Contents/Developer/usr/bin/make --no-print-directory -s NO_DIR_CHECK=1 PROFILES='binary_reference_assemblies net_4_x xbuild_12 xbuild_14 ' CC='gcc' all-profiles
mkdir -p -- build/deps
make[6]: mcs: No such file or directory
make[6]: *** [build/deps/basic-profile-check.exe] Error 1
*** The compiler 'mcs' doesn't appear to be usable.
*** You need Mono version 3.8 or better installed to build MCS
*** Check mono README for information on how to bootstrap a Mono installation.
/bin/sh: mcs: command not found
*** The version of 'mcs' is: .
make[5]: *** [do-profile-check] Error 1
make[4]: *** [profile-do--basic--all] Error 2
make[3]: *** [profiles-do--all] Error 2
make[2]: *** [all-local] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
LBURMAC603TG8WM:mono (master *=)$
Do make get-monolite-latest after autogen.sh and before making the rest.
Alternatively, any recent binary mono release can be installed and used for bootstrapping.

Mesos build error

I'm begginer on Ubuntu and i'm trying to install Mesos. During the "make" I have this error:
../3rdparty/libprocess/3rdparty/glog-0.3.3/.libs/libglog.a(libglog_la-logging.o):(.data.rel.ro._ZTCN6google10LogMessage9LogStreamE0_So[_ZTVN6google10LogMessage9LogStreamE]+0x48): undefined reference to `virtual thunk to std::basic_ostream<char, std::char_traits<char> >::~basic_ostream()'
collect2: error: ld returned 1 exit status
make[2]: *** [libmesos.la] Error 1
make[2]: Leaving directory `/home/MyName/mesos-0.20.1/build/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/MyName/mesos-0.20.1/build/src'
make: *** [all-recursive] Error 1
please help me with the start programming in mesos.
Thanks!
Is there a particular reason you want to compile mesos yourself?
There are packages available for download here:
http://mesos.apache.org/gettingstarted/
or the mesosphere packages allowing you sudo apt-get -y install mesos.
Secondly, is there another reason you are trying the 0.20.1 version?
The issue looks like as if there is an issue with the c++ stdlib library. Which compiler/stdlib are you using? Did ./configure finish successful?
Cheers,
Joerg
Try to run:
/home/MyName/mesos-0.20.1/configure
And then:
making install

Make error when compiling GMP on Windows

I'm attempting to compile GMP 5.1.3 with MinGW on a 64 bit Windows 7 machine as a prerequisite to setting up pycrypto. To configure GMP I used ./configure --prefix=C:/Python27/Lib/site-packages/gmp-5.1.3. When I enter the make command, I get the error:
../libtool: line 1109: lib: command not found
make[2]: *** [libmpn.la] Error 127
make[2]: Leaving director '/c/Python27/Lib/site-packages/gmp-5.1.3/mpn'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/c/Python27/Lib/site-packages/gmp-5.1.3'
make: *** [all] Error 2
I've been fishing around Google and reviewing the instructions for GMP to no avail. Found lots of maybe similar problems, but nothing that directly relates. Though I have the sneaking suspicion that the problem is right in front of me and I've just been staring at the screen too long.

Resources