I am trying to download dansguardian on centos 7 but I am not able to do so. Please anybody can help for this.
I have downloaded tar.bz2 file of dansguardian and then performed these step
tar -xjvf taf_file
./configure
make
make: *** No targets specified and no makefile found. Stop.
make install
Trying install all development tools like this:
yum groupinstall 'Development Tools'
then run:
./configure
make
make install
Related
I need to install Qt 4 in my computer to run a specific software. I've download Qt 4.8.6 from: https://download.qt.io/archive/qt/4.8/4.8.6/.
I followed the steps from the link http://doc.qt.io/qt-4.8/install-x11.html, but after I use make (step 3) I received the message:
Makefile:1624: recipe for target 'obj/release/pcre_exec.o' failed
make[1]: * [obj/release/pcre_exec.o] Error 1
make[1]: Leaving directory '/usr/lib/qt/src/script'
Makefile:602: recipe for target 'sub-script-make_default-ordered' failed
make: * [sub-script-make_default-ordered] Error 2
I've already tried this recomendations from the software (that I want to install after installed Qt4), and I stop at the same make command.
Installation example (bash notation):
VERS="4.x.y" # Set Qt version number
SRCDIR="${HOME}/src" # Set path for source files
mkdir $SRCDIR
cd $SRCDIR
SRC="http://origin.releases.qt-project.org/qt4/source"
wget -N $SRC/qt-everywhere-opensource-src-$VERS.tar.gz
tar -xzvf qt-everywhere-opensource-src-$VERS.tar.gz
cd qt-everywhere-opensource-src-$VERS
INSTDIR="/usr/local"
PLATFORM="linux-g++-64"
O1="-release -opensource -static"
O2="-qt-zlib -no-gif -qt-libpng -qt-libmng -qt-libtiff -qt-libjpeg"
NO="-nomake examples -nomake demos -nomake docs -nomake translations"
./configure $O1 $O2 $NO -prefix $INSTDIR/qt_$VERS -platform $PLATFORM
# Confirm the license agreement
Someone knows how to proceed?
Thanks.
Ubuntu 17.04 has it in repositories:
sudo apt install qt4-default
If you want to install qt creator(IDE) then just issue the following command
sudo apt install qt4-default
sudo apt install qtcreator
I've downloaded conky from GitHub and when I try to use the ./configure command, I get this following error :
bash: ./configure: No such file or directory
I opened my terminal in the Src folder and tried this command. What am I missing?
This is the screenshot of the terminal and the downloaded conky folder
I see CMakeLists.txt and doubled checked, per the documentation use cmake
1.10 and later versions
Conky 2 will use cmake instead of autotools which means you won't need autoconf and automake anymore but you'll need cmake.
autoconf and automake (and autogen) are what generally drive "configure".
You will need the tolua library (Ref.), which can be installed for Linux with apt-get install libtolua-dev libtolua++5.1-dev. You also need the following development packages if you keep the default cmake configuration: apt-get install libx11-dev libxft-dev libxdamage-dev libncurses5-dev libxinerama-dev.
Then, building conky will work like this:
$ mkdir build
$ cd build
$ ccmake ..
# this will launch a curses-based UI where you can configure
# everything, when you are ready you can build as usual:
$ make # This will compile conky in the `src` subdirectory
$ make install
I wish to install redis on my red-hat environment. I do the following:
wget http://download.redis.io/redis-stable.tar.gz
tar xvzf redis-stable.tar.gz
cd redis-stable
make
I got the next error:
make[3]: *** [net.o] Error 127
make[3]: Leaving directory `/tmp/redis-stable/deps/hiredis'
make[2]: *** [hiredis] Error 2
make[2]: Leaving directory `/tmp/redis-stable/deps'
make[1]: [persist-settings] Error 2 (ignored)
CC adlist.o
/bin/sh: cc: command not found
make[1]: *** [adlist.o] Error 127
make[1]: Leaving directory `/tmp/redis-stable/src'
make: *** [all] Error 2
How can I fix it?
You are trying to install redis from source code. What this process do is to compile and create executable on your machine and then install it. For doing this you need various tools like gcc etc. Best way is to install all of them together by installing that group. Run this from terminal
yum grouplist
This will show all groups available and then choose group you want to install or run directly
yum groupinstall 'Development Tools'
This will save you from other problems which might come in future while installing from source.
for those of you who encounter this error
check this github issue
before make run this command
$ cd deps; make hiredis lua jemalloc linenoise
Install build essential first
sudo apt-get install build-essential
then install the dependencies
cd deps
make hiredis lua jemalloc linenoise
If you're not an advanced user maybe it is not a good idea to install REDIS from the source.
Instead you should install a packaged version. For example on Fedora / Centos / RHEL:
sudo yum install redis
Come out from your extracted folder/Dir and remove the extracted redis-x.x.x folder with rm -rf redis-x.x.x
now again extract the redis folder with tar xzf redis-x.x.x.tar.gz
go to redis directory again and run the make or make test again. it works for me.
I use Debian 7.4 Wheezy. I trying to upgrade my kernel, but when I type "make menuconfig" it says:
*** Unable to find the ncurses libraries or the
*** required header files.
*** 'make menuconfig' requires the ncurses libraries.
***
*** Install ncurses (ncurses-devel) and try again.
***
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
make: *** [menuconfig] Error 2
I trying to install "libncurses5-dev", but I get the error:
E: Unable to locate package libncurses5-dev
P.S.
I downloaded and installed the packages manually and now everything is okay!
Thanks a lot!!
You should have run (as root)
aptitude update
aptitude search libncurses
that would suggest you the right package name.
Then try
aptitude install libncurses-dev
and
aptitude install kernel-package
aptitude build-dep linux-image linux-image-amd64
At last, use make-kpkg --initrd binary to compile your kernel. (it will produce *.deb files in the parent directory). You want to configure /etc/kernel-pkg.conf and perhaps /etc/kernel-img.conf
I had the same problem. In my case installation of package libncursesw5-dev solved the issue.
make menuconfig needs ncurses libraries try following command to install ncurses library
sudo apt-get install libncurses5
sudo apt-get install libncurses5-dev
make menuconfig
worked for me after i installed all the libaries, and added myself sudo permission, i was also using this to cross_compile stuff
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) NOPASSWD:ALL
%b37399 ALL=(ALL:ALL) NOPASSWD:ALL
For Fedora(Red Hat);
$ make menuconfig
#error encountered :
make[1]: *** [scripts/kconfig/Makefile:210: scripts/kconfig/mconf-cfg] Error 1
make: *** [Makefile:588: menuconfig] Error 2
#resolution :
$ sudo yum install libncurses-dev
Thanks
Depending on the project the menuconfig could be made with the kconfiglib library:
https://pypi.org/project/kconfiglib/
For these projects it's required to:
Install Python (I tested it with Python2.7, but I think newer Pythons are just fine)
Install pip (if it's not done with Python)
And then the pip install kconfiglib
And for some projects, this will fix the error instead of the libcurses package.
Just as example here is one kconfiglib based project which prints the same error, but will not be fixed with libcurse:
https://github.com/polarfire-soc/hart-software-services
I am using checkinstall to prepare debian package in my ubuntu machine. I did following procedure to prepare it
source_file_directory/ make
checkinstall -D make install
I got following at the end.
Installing with make...Installing with install...
========================= Installation results ===========================
make: *** No rule to make target `install'. Stop.
**** Installation failed. Aborting package creation.
Cleaning up...OK
Bye.
Did you do the ./configure before the make? There should be a readme file with instructions to configure/compile/install the package.
You do not need to specify the 'make install' as that is the default.