Tag Info

Hot answers tagged

37

try sudo apt-get install build-essential build-essential is a package which contains stuff needed for building software. (make, gcc ..)


33

I was starting to get an exception as well: make: Interrupt/Exception caught (code = 0xc00000fd, addr = 0x4227d3) Might be a different reason, but this problem is apparently caused when the PATH variable contains parentheses (, ), as it does on Win Vista/7. Unfortunately, the available GNU for Windows is hopelessly outdated. My problem was fixed by ...


23

Use the CYGWIN installer from http://www.cygwin.com/setup-x86.exe (32-bit installer) http://www.cygwin.com/setup-x86_64.exe (64-bit installer) and select the make package from the Devel group during installation.


21

make install does whatever the Makefile author wants it to do. Typically, by this point, it is too late to change the install directory, as it is often known earlier, during the build, so help files and configuration files can be referenced with the correct pathnames. Many projects use the GNU Autotools to try to improve their portability among hardware and ...


19

Make is a general purpose workflow program, usually used for compilation. But it can be used for anything. When you do something like "make all", the make program executes a rule named "all" from a file in current directory named "Makefile". This rule usually calls the compiler to compile some source code into binaries. When you do "make install", the make ...


16

NMake is part of Microsoft's build tools for building C++ projects. You can get nmake as well as the MSVC++ compiler by downloading Visual C++ Express. Visual C++ Express runs perfectly fine on Windows 7.


13

Your 3rd version is correct, ./configure && make && sudo make install. Make and configure can be done as a normal user since you aren't trying to write files in a system directory, make install will often try to copy the binaries to /usr/bin or /bin which requires root access to write.


12

If you are trying to learn Linux, don't use Cygwin. Cygwin is primitive compared to modern Linux distributions. The Cygwin package manager (setup.exe) is horrible, and has needed a new UI for ages. Cygwin is different enough that you will spend a lot of time troubleshooting silly issues. Installing Xwindow and QT apps on Cygwin can be difficult and a waste ...


11

Go to Preferences in Xcode, choose Downloads and install Command Line Tools.


11

make install does nothing less then executing the install function / section in your Makefile


10

From the vim(1) man page: +{command} -c {command} {command} will be executed after the first file has been read. {command} is interpreted as an Ex command. If the {command} contains spaces it must be enclosed in double quotes (this depends on the shell that is used). Example: Vim "+set si" main.c Note: You can use up to 10 "+" or "-c" ...


10

They give you the correct commands, it is up to you as a user to ensure you have the correct privileges.


10

The parameter used after make is just dependent on the developer(s) who wrote the Makefile. The documentation you later reference, Autotools, is just one of many ways to create a Makefile. The typical standard is make clean will remove all intermediate files, and make distclean makes the tree just the way it was when it was un-tarred (or something pretty ...


9

"sudo" may not be required if, for example, you have already run "su" and your session is running in elevated permissions. That negates the need to run sudo. Generally the use of sudo is preferred, but it is not strictly the only way to reach the same goal.


9

When you installed the Apple Developer tools, did you also install the "Unix Development" package? From the Xcode 3.2.2 developer tools for Mac SDK 10.6 and iPhone SDK 3.2 README file: Installation The Xcode and iPhone SDK installer provides six options for configuring the installation from the “Customize...” button: ... UNIX ...


9

Installing libncurses will solve your problem. Try this if you are using any Debian OS: sudo apt-get install libncurses5-dev.


8

To get the 64 bit version of nmake (for Windows 7) you can also install the Windows SDK. It will install nmake.exe to C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin on Windows 7 without prompting for an alternate directory.


7

You may not actually need root permissions to install a given software package, or you may not have access to root privileges via sudo or su or other methods. One of the ./configure script's common options is --prefix, which changes the base installation directory from whatever the default is. So on a system where I have no root privs at all, I can still ...


7

event.h is located in the libevent-dev package. apt-get install libevent-dev Incidentally, can you use the tmux Ubuntu package?


5

make(1) is an extremely powerful tool. Generally, when a program is distributed as source code, the archive containing the code will also include Makefiles. make can read these files and turn the source code into an executable program. Despite the fact that you'll most often see make used to turn .c files into .o files and .o files into executables, make ...


5

Most important thing to mention regarding installing software on Linux is that it's much more reliable and easy to install software from your distribution (this is it's purpose!). Only use make install if there's no other way (consider alternate programs as well). Common mistake of Windows users is to download programs from different places and try to ...


5

Maybe following this guide will be enough for what you need: http://www.tux.org/~mayer/cygwin/python/index.html Download the desired version from http://www.python.org/ftp/python/. Here are the direct links: Python-2.7.1.tar.bz2, Python-2.7.2.tar.bz2, or Python-2.7.3.tar.bz2. Download the matching patch Python-2.7.1-cygwin.patch.bz2, ...


5

You don't need to write any special Makefiles for determining the number of cores; the default flags can be specified in environment and Linux coreutils come with a tool called nproc: export MAKEFLAGS="-j$(nproc)" If nproc does not exist in your system, an alternative (also only for Linux) is getconf: export MAKEFLAGS="-j$(getconf _NPROCESSORS_ONLN)" ...


5

If you run make -j without any number then it will run as many as it can without limiting to the number you provide. Linux make man page


5

The easiest way would probably be to use sshfs to mount the remote directories on the appropriate locations on your development system and then run the build processes there.


4

The main problem here is that you've overwritten libraries manged by the package manager with your own files. Other packages and system scripts may (in Python's case very much do) depend on these packages, potentially at the given versions/patches. If you overwrite system libraries, you run the risk of breaking the system. Python's altinstall will avoid ...


4

You're looking for inotifywait, part of inotify-tools. There are some examples of how to use it on the project's site but a simple approach is, while true; do inotifywait code.cpp -e modify; make; done the key part of which is, inotifywait code.cpp -e modify That command will wait until code.cpp is modified then exit. Put in the infinite loop and ...


4

Futher to Norbet P.'s answer, I found that adding: PATH= to the top of my Makefile fixed this particular problem for me.


4

The simplest is to use cygwin and run linux command. Another way is to use nmake command provided by the windows SDK but, in this case, you have to edit some part of the makefile. I suggest the first solution. Hope this helps



Only top voted, non community-wiki answers of a minimum length are eligible