I am trying to build rubygem-passenger for nginx on FreeBSD 11.1 but the compiler stops with Error code 1 complaining:
2.3/gems/passenger-5.1.8/buildout/apache2/mod_passenger.so failed: No such file or directory
*** Error code 1
Stop. make[1]: stopped in /usr/ports/www/rubygem-passenger
*** Error code 1
Please note the section of the path where it says /apache2/mod_passenger.so
The config options are set to nginx!
Any help or hint is appreciated since I am stuck for days now with this problem.
You gave less information how you call the compile process.
Usually I do
cd /usr/local/lib/ruby/gems/2.3/gems/passenger-5.1.11
rake nginx:as_dynamic_module
If you call rake -T then you will get more options how to compile passenger.
Related
i have cloned the xv6-public repository in ubuntu virtual box and i have used the commands
$sudo apt-get install qemu
$git clone https://github.com/mit-pdos/xv6-public.git
$cd xv6-public
$make
$make qemu-nox
when i run make qemu-nox i am getting error like below
***
*** Error: Couldn't find a working QEMU executable.
*** Is the directory containing the qemu binary in your PATH
*** or have you tried setting the QEMU variable in Makefile?
***
nographic -drive file=fs.img,index=1,media=disk,format=raw -drive file=xv6.img,index=0,media=disk,format=raw -smp 2 -m 512
make: nographic: Command not found
make: [Makefile:231: qemu-nox] Error 127 (ignored)
can anyone give any solution for this
I've learned this solution from somebody named Amrollahi.
Try these steps, if your current step works, don't try the rest of it.
one:
make clean
make
make qemu
two:
sudo apt install qemu-system-x86
then repeat step one.
three:
try this link.
four:
you can also try this.
the CentOS documentation says my new kernel will be in the
rpmbuild/RPMS/`uname -m`/ directory, but the RPMS directory is totally empty, even though the rpmbuild ended with exit 0.
The command I used was:
rpmbuild -bp --target=$(uname -m) kernel.spec
PS. (arch=s390x)
Can someone tell me what I am doing wrong?
-bp option only completes the %prep stage. Try changing it to -ba to "build all."
Ref: rpm.org
This is the first time I am trying to dive into unix kernel. So I think unix v6 will be a good beginning.
I found this website which helped me to install all the tool I needed, but I am stopped by a error while I was trying to "make" gcc.
Here is what I got:
In file included from ../../../libquadmath/quadmath-imp.h:24:0,
from ../../../libquadmath/math/acoshq.c:30:
/private/tmp/gcc-4.7.2/build/./gcc/include/stdint.h:4:25: fatal error: stdint.h: No such file or directory
compilation terminated.
make[3]: *** [math/acoshq.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-target-libquadmath] Error 2
make: *** [all] Error 2
I tred again and again, and I really don't know what to do? I just want to start to learn unix v6, and these problems keep bothering me, so can anyone can help me out?
Unix v6 doesn't have <stdint.h> yet. That only came much later, with C99.
Actually, you might be better off to install simh (or a more current development version) and a binary install of Unix v6. Disk images aren't too hard to find.
I'm trying to install the Apache web server from source code to a Fedora 14 VM. I've run ./configure multiple times already, and can see Makefile.in and .win but no 'Makefile'. When I run the 'make' command, I get the following error:
make: *** No targets specified and no makefile found. Stop.
Can someone please tell me what's keeping it from generating a Makefile?
I have installed the pNaCl SDK and have run the command "make serve", as instructed to by the website https://developers.google.com/native-client/dev/devguide/tutorial/tutorial-part1 into my console, it does not run any server and produces the error message:
C:\Users\USERNAME\Documents\nacl_sdk\nacl_sdk\pepper_33\getting_started>make serv
e
C:/Users/USERNAME/Documents/nacl_sdk/nacl_sdk/pepper_33/tools/make -C part1 all
process_begin: CreateProcess(NULL, python C:/Users/USERNAME/Documents/nacl_sdk/na
cl_sdk/pepper_33/tools/getos.py, ...) failed.
make[1]: Entering directory 'C:/Users/USERNAME/Documents/nacl_sdk/nacl_sdk/pepper
_33/getting_started/part1'
make[1]: Makefile:27: pipe: No error
C:/Users/USERNAME/Documents/nacl_sdk/nacl_sdk/pepper_33/toolchain/_pnacl/bin/pnac
l-clang++ -o hello_tutorial.bc hello_tutorial.cc -O2 -IC:/Users/USERNAME/Document
s/nacl_sdk/nacl_sdk/pepper_33/include -LC:/Users/USERNAME/Documents/nacl_sdk/nacl
_sdk/pepper_33/lib/pnacl/Release -lppapi_cpp -lppapi
process_begin: CreateProcess(NULL, C:/Users/USERNAME/Documents/nacl_sdk/nacl_sdk/
pepper_33/toolchain/_pnacl/bin/pnacl-clang++ -o hello_tutorial.bc hello_tutorial
.cc -O2 -IC:/Users/USERNAME/Documents/nacl_sdk/nacl_sdk/pepper_33/include -LC:/Us
ers/USERNAME/Documents/nacl_sdk/nacl_sdk/pepper_33/lib/pnacl/Release -lppapi_cpp
-lppapi, ...) failed.
make (e=2): The system cannot find the file specified.
Makefile:50: recipe for target 'hello_tutorial.bc' failed
make[1]: *** [hello_tutorial.bc] Error 2
make[1]: Leaving directory 'C:/Users/USERNAME/Documents/nacl_sdk/nacl_sdk/pepper_
33/getting_started/part1'
Makefile:46: recipe for target 'part1_ALL_TARGET' failed
make: *** [part1_ALL_TARGET] Error 2
My username is inserted in the place of USERNAME.
Any ideas what is going on?
I looks like perhaps python is not present in you PATH? Can you run "python" on the command line? What does "where python" produce?
I'm somewhere surprised since python is required to install the SDK in the first place. I've opened a ticket to handle this failure mode:
https://code.google.com/p/chromium/issues/detail?id=348139
I solved this, had the same issues, what i did was (my setup):
It seems compile script doesn't like paths with spaces, like: "C:\Documents and ...".
Make sure python path is at environment variables. "C:\Python27"
Put nacl_sdk folder in "C:\stationary".
Put custom environment variable NACL_SDK_ROOT to "C:\stationary\nacl_sdk\pepper_34".
There i did immediate variable assignee.
A. "cd C:\stationary\nacl_sdk\pepper_34\getting_started".
B. "set NACL_SDK_ROOT C:\stationary\nacl_sdk\pepper_34". This must point to the pepper version you want to build against,
C. "make serve".
And that's it! Works, compiled!
I have encountered and solved the same issue. using comment on old post. I tried building one of the other examples and they seem to work while the getting started one doesn't.
"You will have a hard time building those ppapi tests. I suggest trying to build one of the examples provided with the SDK. If you really need to build that test (it isn't an example) you will need to use clang (another C/C++ toolchain). However, from a cursory look, those tests aren't actually built in NaCl, nor do they generate a PPAPI plugin. I have never gotten clang working on Windows, but it is apparently possible. See clang.llvm.org/get_started.html for instructions using Visual Studio. I would probably use MinGW instead, but I can't find decent instructions for that. – DRayX Oct 21 '13 at 16:08 "