General :: Install A "makefile" (VHCS -> Vhcs.net)?
Mar 31, 2011i'm using CentOS 5 i want to install VHCS -> vhcs.net it comes with a Makefile and Makefile.centos5 how do i install that? EDIT: i tryed: make install
[Code].....
i'm using CentOS 5 i want to install VHCS -> vhcs.net it comes with a Makefile and Makefile.centos5 how do i install that? EDIT: i tryed: make install
[Code].....
I'm dual booting Windows XP and the latest version of Ubuntu.
I am trying to setup VHCS (vhcs.net)
In order to do so, it requires:
* Postfix (Version 2 or greater)
* ProFTPd
* Apache (Version 2 or greater)
* Courier POP3 and IMAP
* Bind9
* MySQL (Version 4 or greater)
* iptables
how to install on Ubuntu. I have done it with Windows XP, but not Ubuntu
I got Squeeze installed and choosed all the options at the installation ste like (web server, mysql server, DNS server) and then I am trying to get VHCS installed on the machine. apt-get install vhcs , is not working for me. I gues I have to add a source address to my sources.list file. All the manuals I've found so far for debian and vhcs is for debian etch or earlier and those sources they given arent working for me. I still get the message where it says "unable to locate package vhcs. What is the source address I can download VHCS?
[Code]....
I am new to Linux and I am trying to install a C program from source using Makefile. So I 've created a "hello world" program and then a Makefile to install it. Then I logged in as root and used
make install
The following error occurs:
make: execvp: /usr/bin: Permission denied
make: *** [install] Error 127
Here is the Makefile:
CC=gcc
CFLAGS=-c -Wall
PROGS = hello
INSTDIR = $(prefix)/usr/bin/
INSTMODE = 0755
INSTOWNER = root
INSTGROUP = root
all: $(PROGS)
$(PROGS): main.o
$(CC) main.o
main.o: main.c
$(CC) $(CFLAGS) main.c
install:$(PROGS)
$(INSTALL) $(INSTDIR)
$(INSTALL) $(INSTMODE) $(INSTOWNER) -o $(INSTGROUP) $(PROGS) $(INSTDIR)
clean:
rm -rf $(PROGS) *o $(PROGS)
So, where are the errors
I just downloaded slackware 13.1(x86) and i'm trying to compile ndiswrapper-1.56 using the slackbuild from slackbuils.org and i'm getting this error:
Code:
Makefile:535: /usr/src/linux-2.6.33.4/arch/i486/Makefile: No such file or directory
make[2]: *** No rule to make target `/usr/src/linux-2.6.33.4/arch/i486/Makefile'. Stop.
make[1]: *** [modules] Error 2
make: *** [all] Error 2
looks like the folder i486 doesn't exist
when i install bochs and make the makefile why undefined reference to `pthread_create'
View 1 Replies View Relatednot entirely sure if this is a hardware or a kernel/distro issue but here goes: when trying to install the driver for an Intel e100 (82557) NIC (on an IBM Thinkpad A20m) I get the following from both <make> and <make install>....
make -C /lib/modules/2.6.30.9/build SUBDIRS=/root/e100-3.5.17/src modules
make[1]: Entering directory /usr/src/linux-source-2.6.30.9
WARNING: Symbol version dump /usr/src/linux-source-2.6.30.9/Module.symvers is missing: modules will have no dependencies and modversions.scripts/Makefile.build:49 *** CFLAGS was changed in "/root/e100-3.5.17/src/Makefile". Fix it to use EXTRA CFLAGS. Stop.
[Code]...
Is it possible to debug a makefile? In a bash script I can use "set -x" so that all variables are shown with their values. I am looking for such feature in makefile to see the variables and their values.
View 2 Replies View Relatedcan anybody tell the use of make file in Nis server.
View 1 Replies View RelatedI have encountered some cases that the ./configure log says:
config.status: creating xxx/Makefile
but when make fails on:
...
make[2]: Entering directory xxx
make[2]: *** No rule to make target `all', Stop
...
and xxx/Makefile is absent in the disk. Why does it happened?
in directory a_dir, have a file named a_file.i can type "source a_file" under directory a_dir and execute successfully.but if i write the command to a Makefile under directory b_dir, the "source" function can't be executed well. it will generate some error message like this:
./a_file: line 1: setenv: command not found
./a_file: line 2: setenv: command not found
./a_file: line 3: setenv: command not found
./a_file: line 5: setenv: command not found
I want to write simple non recursive makefile, but I am not getting syntax of it. Please give me example with simple description. I had read docs, html's but I am not getting how that works please give simple example. consider I have following directory structure.
[Code]...
I need to write an else-if condition in a makefile, and though the format is posted on several websites, nothing seem to be working, andI get an error everytime. Could anybody please write a small example with an else-if conditional in a maekefile?
View 1 Replies View RelatedI've been trying to figure out how to use make and makefile to compile and link some .cpp/.h. All i seem to find on google says to read the README for the software. But this is my own created c++ project. Im just looking for a simple makefile for my own .cpp/.h files( about 20 total).
I have tried using 2 different makefile "examples" as a template, but neither worked. I am getting error saying "file1.cpp: no newline character at end of file". or something to that degree.
I can find all kinds of information on calling a script from a makefile but not the other way around.I'm writing a VERY basic shell script, and I need to call a makefile located in a directory lower than the shell script but can't seem to figure it out../dir/make and ./dir/makefile don't work.
View 2 Replies View RelatedDoes anyone know if it is possible to make rules in a Makefile that would work like this:
> make debug module
or
> make module debug
where module can be any module that has a specific rule in the Makefile.
The thing I have is a Makefile with different rules that I compile like this:
> make module
What I would like is to add an option so I can compile whichever module with debug-information just by adding a debug to the make command. The debug-information I know how to do, the problem is how to make the Makefile work...
How to compile single file in Linux environment using gcc. Now i dont know how to use make file to compile multiple file.
View 5 Replies View RelatedI would like to set run time library path in my makefile, so that my exe should search run time libraries in that path when executed. How to set this in makefile?
View 3 Replies View RelatedI want to install pgplot on ubuntu 9.10 but I have some errors after editing makefile in line 880
replaced "pndriv.o : ./png.h ./pngconf.h ./zlib.h ./zconf.h" by
"pndriv.o : /usr/local/include/png.h /usr/local/include/pngconf.h /usr/local/include/zlib.h /usr/local/include/zconf.h"
and running code "make" I get this error :
No rule to make target `/usr/local/include/png.h', needed by `pndriv.o'. Stop.
also I tried to uncomment this line got another error :
make: *** [pndriv.o] Error 1
and also replace "pndriv.o : ./png.h ./pngconf.h ./zlib.h ./zconf.h" by "pndrive.o : "
what should I do ?
I am new to creating make files. I have been able to create simple makefiles for those applications which do not involve database but am unable to create for the ones that do involve database.
That's how my make file looks
Code:
clean:
tar:
There is no error in the code because when I compile the code through the following command, it gives me no error
Code:
The error msg is:
Code:
Where am I going wrong? Am I not providing the correct mysql path?
As part of an assignment, our class was given a small set of c++ classes which are compiled using a makefile. As part of the assignment, I have created a namespace and saved in it a .cpp file. The functions, constants and typedefs from the namespace are now used in one of the original files, and so I added an <#include MyFile.cpp> to the file I modified, in addition to a using MyNamespace;
When I try to use the original makefile, the compiler gives a lot of errors about multiple definitions of every function in the namespace. What do I need to do to resolve this? Do I need to change the makefile or one of the files themselves? I am new to Linux programming and makesfiles.
I'm calling a function defined in "uart.c" from "main.c"
But on "make" using cygwin bash, it's giving an error:"Unreferenced function"...
Pls help me to overcome this problem.
If i'm putting the definition of that function in "main.c" itself, its working.
So pls tell me how to write the make file for it?
I have ~200 c files in my makefile[$(SRCS)], and it compiles all of the files using a single gcc command. So each time I make a change in one c file, it ends up re-compiling all the files, then linking to make the
binary. How can I break out the compilation into individual gcc commands for each c file, so that make checks the timestamp and accordingly compiles only the modified files.
My current Makefile looks like this.
clean:
I'm installing a package but that package doesn't has "makeFile" file, it only has "makefile.am" and "makefile.in". therefore when ever i use the "make" command i get: "make: *** No targets specified and no makefile found. Stop."
View 2 Replies View RelatedI'm trying to install Apache2::Request module (from CPAN.org) and in shell there is such messages: I'm using openSUSE 11.1, Perl 5.8
[Code]...
I'm using openSUSE 11.1, KDE I'm trying to install the module Apache2::Request to my OS. After the gzip -dc libapreq2-2.12.tar.gz | tar -xof - I typed in Shell these (as shown in INSTALLATION document of module): perl Makefile.PL --with-apache2-apxs=/path/to/apache2/bin/apxs Then something goes wrong, make doesn't work saying: make: *** No targets specified and no makefile found. Stop..
I think the problem is in the command perl Makefile.PL --with-apache2-apxs=/path/to/apache2/bin/apxs in section .../path/to/apache2/bin/apxs . What does mean ./path/to/apache2/bin/apxs? Maybe I should write the path to apache2 which contains a file named apxs? I did not find such file apxs. My apache2 path is /etc/apache2, but there is no file named apxs... Result for perl Makefile.PL --with-apache2-apxs=/path/to/apache2/bin/apxs:
[Code]....
i m trying to install glib on my pc but i was always encounter a probelem in make. it says "No Target Specified No Makefile Found Stop"
[code]...
I am porting a Python program to Linux (which I'm a first time user of). The program uses ADAM modules for which I need the driver installed. My problem is compiling a file "usbserial.c" into "usbserial.o" in order to do makefile install. I've replaced the config.h with autoconf.h. I entered "sudo apt-get upgrade", though I don't know why. Now my src folder looks like this:
[Code]....
I have problems with linking object files.
This is what I get:
I want to define _LINUX in my makefile which I would be using in my source code like #if _Linux. I do not want to #define _Linux __linux__ in my source code.
View 2 Replies View Related