stuck in run unix v6 in my mac - unix

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.

Related

Getting the Error "make: *** No rule to make target `ins-all'. Stop." when trying to compile GNAT with the help of the "doinstall" file

i am trying to install the Ada-Compiler GNAT on my Unix system.
When i execute the "doinstall" file and pasted in my installation path i get this an error, which i can't desolve atm.
Did one of you already walk by this error in combination with gnat and unix and has an idea how to solve it?
"make: *** No rule to make target `ins-all'. Stop."

FreeBSD passenger gem (rubygem-passenger) not building for nginx

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.

The command "make serve" not working

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 "

R: build custom installer for windows

I am building a custom R installer, following the instruction in "R Installation and Administration" I've installed the latest Rtools212.exe and Inno Setup.
After successfully running tar --no-same-owner -xf R-2.12.1.tar.gz
I've then run make all recommended from R_HOME\src\gnuwin32 and it runs ok until I get the following message:
building package 'base'
cannot create /tmp/R860644: directory nonexistent
mv: cannot stat '/tmp/R860644': No such file or directory
make[3]: ***[mkR] Error 1
make[2]: ***[all] Error 2
make[1]: ***[R] Error 1
make: ***[all] Error 2
After checking the instruction, I thought it was about the environment variable TMPDIR not being set properly. So I tried two options:
create c:\tmp folder
add TMPDIR to the windows environment variable and set the value as c:\DDDD (an existing folder). I then checked the value of TMPDIR in R console by typing Sys.getenv("TMPDIR"), and the change was confirmed.
To my surprise, however, I still got the same error. It looks like: 1. the make commander can not find the default /tmp, which is actually existing; 2. the change of TMPDIR has not been recognized in this occasion, the make commander still try to find the default directory, rather than the changed one.
I also searched online for this problem, and from what I can find, I have done what people had suggested, so now I am stuck.
Can anyone give me some suggestions? Any help appreciated.
Regards,
Shu
well, I just found a solution for my question,
I typed in "set TMPDIR=c:/DDDD" in the command window, and this time no error has been presented.
But I still wonder why my initial tryouts did not work.

Adding idea module to openssl

I was trying to use idea encryption module in openssl. After installing openssl, while listing cipher commands, IDEA was absent there. The source does contain idea folder in crypto folder. While configuring the following message is displayed in terminal corresponding to configuring idea
making links in crypto/idea...
make[2]: Entering directory `/home/primal/openssl-1.0.0c/crypto/idea'
idea.h => ../../include/openssl/idea.h
ideatest.c => ../../test/ideatest.c
make[2]: Leaving directory `/home/primal/openssl-1.0.0c/crypto/idea'
making links in crypto/bf..
While running make all command I got the following message
making all in crypto/idea...
make[2]: Entering directory `/home/primal/openssl-1.0.0c/crypto/idea'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/primal/openssl-1.0.0c/crypto/idea'
Any help on how to add idea support to openssl would be much appreciated.
Perhaps you can try following the suggestion in this link, which is MAKE_IDEA variable must be set in make.conf.

Resources