Error while installing APR on backtrack linux 5r3 - apache

When i am trying to install apache server it showed the following error on ./configure
checking for APR... configure: WARNING: APR version 1.4.0 or later is required, found 1.3.8
configure: WARNING: skipped APR at apr-1-config, version not acceptable
no
configure: error: APR not found. Please read the documentation
.
So i tried to upgrade to apr-1.4.6.I downloaded the tarball and extracted it.
Also make got the following error
libtool: link: you must specify an output file
libtool: link: Try `libtool --help --mode=link' for more information.
make[1]: *** [libapr-.la] Error 1
make[1]: Leaving directory `/root/Desktop/apr'
make: *** [all-recursive] Error 1
still i proceeded for make install
On make install i got the following error
libtool: link: you must specify an output file
libtool: link: Try `libtool --help --mode=link' for more information.
make: *** [libapr-.la] Error 1
Any help How to solve this out??
I need to upgrade from apache 2.2.4 to apache 2.4.4.
Any alternative suggestions are welcome

Related

QT LimeReport on RPI4

I am using QT LimeReport on my UBUNTU 18.04 system although i wanted to use it on RPI4.
But i couldn't find any documentation for it and i tried cloning LimeReport from github but it gives error when i use "make".
The error i get is related to
Project ERROR: Unknown module(s) in QT: designercomponents-private
make[1]: *** [Makefile:818: Makefile] Error 3
make[1]: Leaving directory '/home/pi/Desktop/LimeReport/limereport'
make: *** [Makefile:93: sub-limereport-make_first-ordered] Error 2
Has anyone successfully installed and used LimeReport using QT c++ on RPI4.
Install the qttools5-private-dev package to get the missing designercomponents-private QMake file.

Installing Apache httpd 2.4.x on AIX 7.1 using xlc

I am installing apache httpd 2.4.x on AIX 7.1 machine using xlc compiler. Make is successful. But make install is failing with the following error
Making install in modules Making install in aaa rm -f /home/u980868/apache/kiran/httpd-kiran/modules/mod_authn_file.so /home/u980868/apache/kiran/httpd-2.4.25/srclib/apr/libtool --silent --mode=install install mod_authn_file.la /home/u980868/apache/kiran/httpd-kiran/modules/ find: bad status-- /home/u980868/apache/kiran/httpd-kiran/modules/mod_authn_file.so install: File mod_authn_file.so was not found. make: 1254-004 The error code from the last command is 2. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop.
can someone please help.

Unable to compile Riak on Raspberry Pi 3

currenty I'm trying to install Riak on the Raspberry Pi 3 for testing purposes. I used the following instruction from basho:
http://docs.basho.com/riak/kv/2.2.2/setup/installing/source/
I'm having problems compiling it from source. I tried to compile it on Raspbian Jessie and then switched to Ubuntu Server 16.04. Both times with the same result. It is not compiling and aborts at a certain point. I don't know what causes the problem since it only says: recipe for target 'util/perf_count.o' failed. Searching Google and the mailing list from basho weren't successful.
The version of gcc is gcc (Raspbian 4.9.2-10) 4.9.2. The version of Erlang is Erlang R16B02_basho8 (erts-5.10.3)
The commands i used are the following:
Installing Erlang:
wget http://s3.amazonaws.com/downloads.basho.com/erlang/otp_src_R16B02basho10.tar.gz
tar zxvf otp_src_R16B02-basho10.tar.gz
cd OTP_R16B02_basho10
./otp_build autoconf
./configure && make && sudo make install
Installing Riak:
wget http://s3.amazonaws.com/downloads.basho.com/riak/2.2/2.2.1/riak-2.2.1.tar.gz
tar zxvf riak-2.2.1.tar.gz
cd riak-2.2.1
make locked-deps
make rel
Any suggestions are welcome.
Output:
`./include/leveldb/atomics.h:155:15: note:
template argument deduction/substitution failed util/perf_count.cc:439:40:
note: deduced conflicting types for parameter ‘ValueT’
(‘unsigned int’ and‘int’ add_and_fetch(ptr_32, 1);`
`Makefile:190: recipe for target 'util/perf_count.o' failed
make[1]: *** [util/perf_count.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/home/pi/Riak/riak/deps/eleveldb/c_src/leveldb'
ERROR: Command [compile] failed!
Makefile:23: recipe for target 'compile' failed
make: *** [compile] Error 1`
After digging deeper I got some help from Basho's mailing list (many thanks).
The Link below shows the steps to solve this problem:
http://lists.basho.com/pipermail/riak-users_lists.basho.com/2017-April/019187.html
The next link is a detailed instruction, which helps to install Riak on the Raspberry Pi 3:
http://docs.basho.com/riak/kv/2.2.2/setup/installing/source/

Can't find jemalloc while building MariaDB on Raspbian Wheezy

I have installed the list of Required tools shown on the Build Environment Setup for Linux, including JEMALLOC, on my Raspberry Pi which has Raspbian Wheezy installed, fully updated, and setup for development. I have successfully built some of the listed tools (Bison, CMake 3.7.2). I have gcc and g++ (Raspbian 4.8.2-21rpi3rpi1) 4.8.2.
When I attempt to build mariadb 10.1.22 (master branch from the github repository) using cmake . -DBUILD_CONFIG=mysql_release I get an error:
CMake Error at cmake/jemalloc.cmake:38 (MESSAGE):
jemalloc is not found
Call Stack (most recent call first):
CMakeLists.txt:343 (CHECK_JEMALLOC)
After building JEMALLOC, I installed it into /usr/local using sudo make install. I have export JEMALLOC_PATH=/usr/local in my .bashrc.
I don't understand why CHECK_JEMALLOC is failing to find the correct files. A list of the file locations is:
/usr/local/bin/jemalloc.sh
/usr/local/bin/jemalloc-config
/usr/local/include/jemalloc
/usr/local/include/jemalloc/jemalloc.h
/usr/local/lib/pkgconfig/jemalloc.pc
/usr/local/lib/libjemalloc.so
/usr/local/lib/libjemalloc_pic.a
/usr/local/lib/libjemalloc.so.2
/usr/local/lib/libjemalloc.a
/usr/local/share/doc/jemalloc
/usr/local/share/doc/jemalloc/jemalloc.html
/usr/local/share/man/man3/jemalloc.3
I can attach a link to the CMake configure log, error log, and terminal output if needed.
UPDATE
I tried using just cmake . and the configuration part worked, but the make failed with the following error:
/home/user/Downloads/mariadb/server/storage/mroonga/vendor/groonga/lib/expr.c:6816:7: note: in expansion of macro ‘GRN_PTR_POP’
GRN_PTR_POP(&keywords, keyword);
^
cc: internal compiler error: Killed (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
storage/mroonga/vendor/groonga/lib/CMakeFiles/libgroonga.dir/build.make:257: recipe for target 'storage/mroonga/vendor/groonga/lib/CMakeFiles/libgroonga.dir/expr.c.o' failed
make[2]: *** [storage/mroonga/vendor/groonga/lib/CMakeFiles/libgroonga.dir/expr.c.o] Error 4
make[2]: Leaving directory '/home/user/Downloads/mariadb/server'
CMakeFiles/Makefile2:4420: recipe for target 'storage/mroonga/vendor/groonga/lib/CMakeFiles/libgroonga.dir/all' failed
make[1]: *** [storage/mroonga/vendor/groonga/lib/CMakeFiles/libgroonga.dir/all] Error 2
make[1]: Leaving directory '/home/user/Downloads/mariadb/server'
Makefile:152: recipe for target 'all' failed
make: *** [all] Error 2

Error "make[4]: *** No rule to make target `mono.exe', needed by `all-am'. Stop." when cross-compiling mono 3.2.x for windows on ubuntu linux

I found that the mono 3.2 or latest stable version released, but it does not have a precompiled version for windows.
So, i tried to compile the source code of the mono 3.2 on ubuntu, and I followed the page at http://www.mono-project.com/Cross-compiling_Mono_for_Windows,
but it does not work. Which leads me to think that the page is out date.
This is the error I get:
CC libmini_static_la-mini-windows.lo
../../../mono/mini/mini-windows.c: In function 'mono_chain_signal':
../../../mono/mini/mini-windows.c:89: warning: unused variable 'ctx'
../../../mono/mini/mini-windows.c:88: warning: unused variable 'signal'
CXXLD libmini-static.la
CC mono_boehm-main.o
../../../mono/mini/main.c:98: warning: function declaration isn’t a prototype
CCLD mono-boehm.exe
libtool: link: Could not determine the host path corresponding to
libtool: link: `/home/rocky/dev/mono-3.2.0/build-cross-windows/mono/mini/.libs'
libtool: link: Continuing, but uninstalled executables may not work.
libtool: link: Could not determine the host path corresponding to
libtool: link: `/home/rocky/dev/mono-3.2.0/build-cross-windows/eglib/src:/home/rocky/dev/mono-3.2.0/build-cross-windows/mono/mini/.libs:/mono-3.2.0/lib:/mono-3.2.0/bin'
libtool: link: Continuing, but uninstalled executables may not work.
CC main.o
../../../mono/mini/main.c:98: warning: function declaration isn’t a prototype
CCLD monow.exe
libtool: link: Could not determine the host path corresponding to
libtool: link: `/home/rocky/dev/mono-3.2.0/build-cross-windows/mono/mini/.libs'
libtool: link: Continuing, but uninstalled executables may not work.
libtool: link: Could not determine the host path corresponding to
libtool: link: `/home/rocky/dev/mono-3.2.0/build-cross-windows/eglib/src:/home/rocky/dev/mono-3.2.0/build-cross-windows/mono/mini/.libs:/mono-3.2.0/lib:/mono-3.2.0/bin'
libtool: link: Continuing, but uninstalled executables may not work.
make[4]: *** No rule to make target `mono.exe', needed by `all-am'. Stop.
make[4]: Leaving directory `/home/rocky/dev/mono-3.2.0/build-cross-windows/mono/mini'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/rocky/dev/mono-3.2.0/build-cross-windows/mono/mini'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/rocky/dev/mono-3.2.0/build-cross-windows/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rocky/dev/mono-3.2.0/build-cross-windows'
make: *** [all] Error 2
After that, I googled it, but there was no any additional info which was useful or helpful.
Are there anyone that can tech me how to cross compile the mono 3.2 or latest version for windows on Ubuntu or any other linux version?
This build fix (which was committed today) added a mono.exe target, could you try updating your mono tree to HEAD (master) and test again?
i just test the patch and that have another error.like this:
../../../mono/mini/main.c:98: warning: function declaration isn’t a prototype
CCLD monow.exe
libtool: link: Could not determine the host path corresponding to
libtool: link: /home/rocky/dev/mono/mono/build-cross-windows/mono/mini/.libs'
libtool: link: Continuing, but uninstalled executables may not work.
libtool: link: Could not determine the host path corresponding to
libtool: link:/home/rocky/dev/mono/mono/build-cross-windows/eglib/src:/home/rocky/dev/mono/mono/build-cross-windows/mono/mini/.libs:/mono-3.3.0-master-254026e/lib:/mono-3.3.0-master-254026e/bin'
libtool: link: Continuing, but uninstalled executables may not work.
ln -sf mono-sgen.exe mono.exe
make[4]: * no rule to create target "mono-sgen" needed by "mono" stop。
Test master release.
CC main.o
CCLD monow.exe
libtool: link: Could not determine the host path corresponding to
libtool: link: `/opt/mono/src/mono/build-cross-windows/mono/mini/.libs'
libtool: link: Continuing, but uninstalled executables may not work.
libtool: link: Could not determine the host path corresponding to
libtool: link: `/opt/mono/src/mono/build-cross-windows/eglib/src:/opt/mono/src/mono/build-cross-windows/mono/mini/.libs:/mono-3.3.0-master-31c9c1b/lib:/mono-3.3.0-master-31c9c1b/bin'
libtool: link: Continuing, but uninstalled executables may not work.
ln -sf mono-sgen.exe mono.exe
make[4]: *** Sem regra para processar o alvo `mono-sgen', necessário por `mono'. Pare.
make[4]: Saindo do diretório `/opt/mono/src/mono/build-cross-windows/mono/mini'
make[3]: ** [all] Erro 2
make[3]: Saindo do diretório `/opt/mono/src/mono/build-cross-windows/mono/mini'
make[2]: ** [all-recursive] Erro 1
make[2]: Saindo do diretório `/opt/mono/src/mono/build-cross-windows/mono'
make[1]: ** [all-recursive] Erro 1
make[1]: Saindo do diretório `/opt/mono/src/mono/build-cross-windows'
make: ** [all] Erro 2
Test with last master release.
ln -sf mono-sgen.exe mono.exe make[4]: * no rule to create target "mono-sgen" needed by "mono" stop