Build Error Installing Macaulay2 on Arch Linux - linux

When running makepkg for Macaulay2, I get the following error:
+ rm -f '/home/user-name/macaulay2/src/M2/M2/usr-host/lib/*.la'
/usr/bin/install -c -d /home/user-name/macaulay2/src/M2/M2/usr-host/bin
/usr/bin/install: cannot create directory ‘/home/user-name/macaulay2/src/M2/M2/usr-host/bin’: File exists
make[2]: *** [../Makefile.library:135: .installed-6.2.0] Error 1
make[2]: Leaving directory '/home/user-name/macaulay2/src/M2/M2/libraries/csdp'
make[1]: *** [Makefile:7: all-in-csdp] Error 2
make[1]: Leaving directory '/home/user-name/macaulay2/src/M2/M2/libraries'
make: *** [GNUmakefile:251: all-in-libraries] Error 2
==> ERROR: A failure occurred in build().
Aborting...
What can I do to resolve this?

Related

i'm trying to install cutefish os on my ubuntu which is the version is 22.04 kinetic, but when i followed the tutorial, i get error

based on the following tutorial https://github.com/cutefish-ubuntu/cutefish-desktop-ubuntu
when at the step 3, which is the instruction
cd ~/Downloads/cutefish
git clone https://github.com/cutefishos/kwin-plugins
cd kwin-plugins
dpkg-buildpackage -uc -us -b
i get the following message at the end of the process
/home/rogan/Downloads/cutefish/kwin-plugins/obj-x86_64-linux-gnu/plugins/roundedwindow/roundedwindow_autogen/EWIEGA46WW/../../../../../plugins/roundedwindow/roundedwindow.h:36:36: error: ‘LanczosCacheRole’ is not a member of ‘KWin::DataRole’
36 | BaseRole = KWin::DataRole::LanczosCacheRole + 100,
| ^~~~~~~~~~~~~~~~
make[3]: *** [plugins/roundedwindow/CMakeFiles/roundedwindow.dir/build.make:87: plugins/roundedwindow/CMakeFiles/roundedwindow.dir/roundedwindow_autogen/mocs_compilation.cpp.o] Error 1
make[3]: Leaving directory '/home/rogan/Downloads/cutefish/kwin-plugins/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:269: plugins/roundedwindow/CMakeFiles/roundedwindow.dir/all] Error 2
make[2]: Leaving directory '/home/rogan/Downloads/cutefish/kwin-plugins/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/home/rogan/Downloads/cutefish/kwin-plugins/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j1 VERBOSE=1 returned exit code 2
make: *** [debian/rules:6: build] Error 255
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
I don't know what it is, but it looks like it was an installation failure
is it cause iam using wrong version of ubuntu distro?
if yes, there is another way to install cutefish os on ubuntu 22.04 kinetic?

Unable to build and install binutils in Kali linux

I was trying to install OS 161 KALI LINUX version 2020.3 64bit. The first step was to build and install binutils.
The procedure I followed is shown in this .
I configured the binutils and got this output https://pastebin.com/iXjFq3Zu but upon running i got the make command i got the following errors https://pastebin.com/DYSBdUqq .
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:2551: as-new] Error 1
make[4]: Leaving directory '/home/digzsudi/Downloads/binutils-2.17+os161-2.0.1/gas'
make[3]: *** [Makefile:2596: all-recursive] Error 1
make[3]: Leaving directory '/home/digzsudi/Downloads/binutils-2.17+os161-2.0.1/gas'
make[2]: *** [Makefile:2482: all] Error 2
make[2]: Leaving directory '/home/digzsudi/Downloads/binutils-2.17+os161-2.0.1/gas'
make[1]: *** [Makefile:4860: all-gas] Error 2
make[1]: Leaving directory '/home/digzsudi/Downloads/binutils-2.17+os161-2.0.1'
make: *** [Makefile:627: all] Error 2
root#kali:/home/digzsudi/Downloads/binutils-2.17+os161-2.0.1#

Error during installation of snort in Fedora 31.Any solutions?

/usr/bin/ld: /usr/local/lib/libdnet: file not recognized: Is a
directory collect2: error: ld returned 1 exit status make[6]: *
[Makefile:486: libsf_sorules.la] Error 1 make[6]: Leaving directory
'/usr/src/snort-2.9.15.1/src/dynamic-plugins/sf_engine/examples'
make[5]: [Makefile:623: all-recursive] Error 1 make[5]: Leaving
directory '/usr/src/snort-2.9.15.1/src/dynamic-plugins/sf_engine'
make[4]: [Makefile:522: all] Error 2 make[4]: Leaving directory
'/usr/src/snort-2.9.15.1/src/dynamic-plugins/sf_engine' make[3]:
[Makefile:439: all-recursive] Error 1 make[3]: Leaving directory
'/usr/src/snort-2.9.15.1/src/dynamic-plugins' make[2]:
[Makefile:547: all-recursive] Error 1 make[2]: Leaving directory
'/usr/src/snort-2.9.15.1/src' make[1]: * [Makefile:505:
all-recursive] Error 1 make[1]: Leaving directory
'/usr/src/snort-2.9.15.1' make: *** [Makefile:370: all] Error 2
Heading
=======
.... installation of snort in Fedora 31
Enable the "cert-forensics-tools.repo" for Fedora 31 https://forensics.cert.org/
# rpm -Uvh https://forensics.cert.org/cert-forensics-tools-release-31.rpm
Install snort
# dnf install snort
Provides snort version 2.9.15.1-1.fc31

how to install gcc4.6.4 on red hat6.4

When I want to install gcc 4.6.4 (now gcc 4.4.7)
/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory
compilation terminated.
make[5]: *** [_muldi3.o] error 1
make[5]: Leaving directory `/home/chestnuts/objdir/x86_64-unknown-linux-gnu/32/libgcc'
make[4]: *** [multi-do] error 1
make[4]: Leaving directory `/home/chestnuts/objdir/x86_64-unknown-linux-gnu/libgcc'
make[3]: *** [all-multi] error 2
make[3]: Leaving directory `/home/chestnuts/objdir/x86_64-unknown-linux-gnu/libgcc'
make[2]: *** [all-stage1-target-libgcc] error 2
make[2]: Leaving directory `/home/chestnuts/objdir'
make[1]: *** [stage1-bubble]error 2
make[1]: Leaving directory `/home/chestnuts/objdir'
my step:
./contrib/download_prerequisites
cd ..
mkdir obj && cd obj
../gcc-4.7.4/configure
make && make install

there is an error about libtool when building mesos

When I build Apache mesos on CentOS 6.6 as the guided. But there is an error as follows.
/bin/sh ../libtool --tag=CC --mode=link gcc -g1 -O0 -o libry_http_parser.la libry_http_parser_la-http_parser.lo -lz -lcurl -lsvn_delta-1 -lsvn_subr-1 -lapr-1 -lrt
/bin/grep: /usr/lib64/libaprutil-1.la: No such file or directory
/bin/sed: can't read /usr/lib64/libaprutil-1.la: No such file or directory
libtool: link: `/usr/lib64/libaprutil-1.la' is not a valid libtool archive
make[6]: *** [libry_http_parser.la] Error 1
make[6]: Leaving directory `/home/vagrant/mesos-0.21.1/build/3rdparty/libprocess/3rdparty'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/vagrant/mesos-0.21.1/build/3rdparty/libprocess/3rdparty'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/vagrant/mesos-0.21.1/build/3rdparty/libprocess/3rdparty'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/vagrant/mesos-0.21.1/build/3rdparty/libprocess'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/vagrant/mesos-0.21.1/build/3rdparty'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/vagrant/mesos-0.21.1/build/3rdparty'
make: *** [all-recursive] Error 1
You have to install all mandatory development libraries for this package. In this message it complains on lack of apr-util-devel.
I think
yum install apr-util-devel
should help.

Resources