I am trying to install redis-2.6.16 on windows using cygwin. I am getting below error.
Appreciate any help. Thanks.
/c/cygwin64/bin/cc: /c/cygwin64/bin/cc: cannot execute binary file
make[3]: *** [net.o] Error 126
make[3]: Leaving directory `/c/cygwin64/home/redis-2.6.16/deps/hiredis'
make[2]: *** [hiredis] Error 2
make[2]: Leaving directory `/c/cygwin64/home/redis-2.6.16/deps'
make[1]: [persist-settings] Error 2 (ignored)
CC adlist.o
/c/cygwin64/bin/cc: /c/cygwin64/bin/cc: cannot execute binary file
make[1]: *** [adlist.o] Error 126
make[1]: Leaving directory `/c/cygwin64/home/redis-2.6.16/src'
make: *** [all] Error 2
You can't use basic Redis on Windows, you have to use the binaries given by the unsupported port on Windows: https://github.com/MSOpenTech/redis
Basically, you can't just compile the C code of Redis on Windows. And this port has some drawbacks (as Windows does not support fork command), there are "stop the world" operations in it (that redis does not have in its official version): you can't use it for production.
That said, the stack says that cc is missing, you need a C compiler on cygwin, but that won't be enough to make redis work on Windows. Check the last link (github) and download the binaries if you do need to make redis work on Windows.
Related
I followed the tutorial here to make a c++ front-end application for pytorch:
https://pytorch.org/tutorials/advanced/cpp_frontend.html
I used GPU version. I could succesfully cmake and make.
Now I updated to the latest version of libtorch. I can still cmake, but on make, I get the following error:
[willem#int2 build]$ make
make[2]: *** No rule to make target `/sw/arch/RedHatEnterpriseServer7/EB_production/2019/software/cuDNN/7.6.5.32-CUDA-10.1.243/include/lib64', needed by `polIter'. Stop.
make[1]: *** [CMakeFiles/polIter.dir/all] Error 2
make: *** [all] Error 2
My cmake command is:
cmake -DCMAKE_PREFIX_PATH=~/libtorch1.8.1/share/cmake/Torch/
-DCMAKE_MODULE_PATH=/home/willemvj/libtorch1.8.1/share/cmake/Torch/
-DCUDNN_LIBRARY_PATH=$EBROOTCUDNN/include/lib64
-DCUDNN_INCLUDE_DIR=$EBROOTCUDNN/include -DCUDNN_LIBRARY=$EBROOTCUDNN/lib64
/libcudnn.so.7 .. #
Any ideas on what is causing this?
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.
I want to install redis on aix 6.1, but some problem happened and I can't find the solution to resolve this problem. Who can tell me the reason for this compiler error.
# /opt/freeware/bin/make
cd src && /opt/freeware/bin/make all
make[1]: Entering directory `/opt/software/redis-2.8.17/src'
CC adlist.o
/bin/sh: cc: not found.
make[1]: *** [adlist.o] Error 127
make[1]: Leaving directory `/opt/software/redis-2.8.17/src'
make: *** [all] Error 2
You're attempting to compile Redis without a C compiler (that's what cc is) installed or present on your $PATH.
Install one, or fix your $PATH.
If you don't need bleeding-edge, don't build it yourself, but use an RPM from Michael Perzl. Right now it goes up to redis 2.6.7.
If you are experienced in building from source, and don't mind altering some source code here and there, read Michael Perzls instructions. Compiling on AIX is not for the faint of heart.
If you want to save yourself a lot of white hairs and headaches, just buy a linux server and set up a good network connection.
Hope this helps, TW
I'm Microsoft .NET developer but newbie of Mono. On Cent0S 6.4, I have successfully install Mono. When I try to make & install xsp from http://download.mono-project.com/sources/xsp/xsp-2.10.tar.bz2, it gets the following error.
I google a lot but find nothing value. Any idea?
Thanks.
Leo
make[3]: Nothing to be done for install-exec-am'.
/bin/sh /root/xsp-2.10/install-sh -d
/usr/bin/install -c -m 644 Mono.WebServer.zip Mono.WebServer.tree Mono.WebServer .source
/usr/bin/install: targetMono.WebServer.source' is not a directory
make[3]: * [install-data-local] Error 1
make[3]: Leaving directory /root/xsp-2.10/docs/Mono.WebServer'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory/root/xsp-2.10/docs/Mono.WebServer'
make[1]: [install-recursive] Error 1
make[1]: Leaving directory `/root/xsp-2.10/docs'
make: ** [install-recursive] Error 1
xsp 2.x is not compatible with mono 3.x, upgrade to xsp 3.0.11
I'm currently developing a mono application under the gpl. Therefore I would like to provide a source package with makefile.
I used mdtool to generate simple makefiles:
mdtool generate-makefiles AudioCuesheetEditor.sln --simple-makefiles
After this, I can successfully run
./configure
and afterwards
make
But if I want to run
make install
it fails with this message:
[sven#Sven Downloads]$ make install
make[1]: Entering directory `/home/sven/Downloads'
make[1]: Leaving directory `/home/sven/Downloads'
make[1]: Entering directory `/home/sven/Downloads'
make pre-install-local-hook prefix=/usr/local
make[2]: Entering directory `/home/sven/Downloads'
make[2]: Leaving directory `/home/sven/Downloads'
make install-satellite-assemblies prefix=/usr/local
make[2]: Entering directory `/home/sven/Downloads'
mkdir -p '/usr/local/lib'
cp bin/Release /usr/local/lib/audiocuesheeteditor
cp: Directory „bin/Release“ left out
make[2]: *** [/usr/local/lib/audiocuesheeteditor] Error 1
make[2]: Leaving directory `/home/sven/Downloads'
make[1]: *** [install-local] Error 2
make[1]: Leaving directory `/home/sven/Downloads'
make: *** [install-recursive] Error 1
If you want to check the build, here's the package: http://sourceforge.net/projects/audiocuesheet/files/0.1.0/Audio%20Cuesheet%20Editor-src.tar.gz/download
Has anyone any idea, why this make install fails?
Makefile integration in MonoDevelop is kind of an abandoned project.
I recommend you to just use MSBuild files (.sln, .csproj, etc), then for building you would just call "xbuild" in your makefile. For installing you may want to create your custom "install" make target, or if you want to experiment doing installation via MSBuild/xbuild, then you may want to look at how are they doing it in the tasque project (source code here).