General :: What Is Purpose Of Makefile In Nis Server
Aug 17, 2010can anybody tell the use of make file in Nis server.
View 1 Repliescan anybody tell the use of make file in Nis server.
View 1 RepliesI 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
using these fetchmail and postfix for fetching mail and sending mail ...... Instead of using incoming and outgoing like smtp and pop3 in outlook , why we use fetchmail and postfix mail server in linux and forward this to local windows client Outlook ..
View 1 Replies View RelatedI don't care so much the practicality and needlessness of actually setting up a computer for proxy server for personal usage, but none-the-less, i want to do it, and i'm just wondering about hardware.The proxy, i don't intend on having a desktop environment, so it'll be a terminal interface.But for a system that will handle traffic for 3 pc's and a ps3, how much hardware would one suggest i need, as far as RAM, HDD space, so on and so forth.
I was thinking it would be fun to do with with my old amd k6-2 processor and it's 32mb of ram, but in order for that pc to work, i'll need to replace a few hardware pieces, and before i dumb money into it and pull it out of the closet, i want to find out if it would even be worth my time to do it.
What is the purpose of bash scripting? Is it just for file manipulation?
View 4 Replies View RelatedI've always been confused about this issue of boot partitions. In the past when I install linux I usually have 2-3 partitions.
1. Main OS partition mounted on /
2. Storage partition mounted on /home
3. Swap partition
Why and when would I need to have a boot partition? Even if I dual boot two OSs, I just make one more partition for that other OS. So what's the purpose of a boot partition?
Can you explain me what is purpose of shebang in scripts? I have noticed that my scripts will run without shebang. i.e. When i save my crontab file it says that scripts will be executed in i.e. /bin/sh shell. So, what is the point if I put #!/bin/ksh at the start of script?
View 8 Replies View RelatedI attempted to run various cron jobs as root - just general server make-tidy stuff. But if I edit the /etc/crontab file directly, these tasks don't get run. However, if I use crontab -e as root, these jobs appear to work. Any idea why this might be the case? Also, I understand that user cron jobs are stored in /var/spool/cron/<user> (including root). If this is the case, what's the purpose of the /etc/crontab file?
View 5 Replies View RelatedI have a folder that may contain text documents, pictures, MP3s, video clips, all sorts of stuff. Supposing that, within reason, I'm not too bothered how long it takes to compress and uncompress them. And suppose I don't care if it's free or open source (well, has to be free as in beer). What's the best compression format/algorithm (whatever it is that I install in Synaptic and choose from the drop down menu in the compression tool) I should use?
View 9 Replies View RelatedThe last time I wrote code for anything was about 15 years ago using Turbo Pascal. I would like to get back into it, most likely to create some mobile apps or enhance web sites. What is the best general purpose language to learn? And what is a good method for learning, preferably free?
View 1 Replies View RelatedI want to create a general switch that I can use to send a signal to my ubuntu server when it is activated/deactivated. Here's an example: I want to know when a certain door is open, so I can have a switch closed when the door is closed and opened when the door is opened. When opened or closed, the computer will receive a signal and I can have some software intercept this signal and process it to my liking (i.e. ring a bell/text message me/email me/etc).
I know I will have to create a simple driver, software to make use of this signal, etc... I am willing to do whatever it takes to make it happen. I'm just wondering if anyone can point me in the right direction as far as which interface I should use to communicate with my server (i.e. usb, serial), which references I should read, and any personal experience you have with something like this...
What is the purpose of libc in an operating system?
Is the libc is common for all OS or it is different for different OS!?
I mean source of libc build for RH is same for Ubuntu !?
I have been trying out in learning with logrotate command and logrotate configuration file )logrotate.conf custom logfile for an process is 'test.log'
Code:
#cat /etc/logrotate.d/test
/var/log/test.log {
rotate 4
[code]....
whenever the log file (test.log) exceeds 100M a new file will be created with the file name as test.'date'.'gz'(new file is created with a current date and in a compressed format of gz) and also with permission mentioned above). I really dont know what is the role of rotate( will this be carried on only for next 4times i mean upto 400MB; (4times*file reaches 100MB)? and also what could be the purpose of postrotate?
I'm confuse about different beetwen console and terminal in linux system? And what purpose them for?
View 5 Replies View Relatedim trying to install Squid clamav with squid(fedora11, 386MB, 2.6kernel)..i configured clamd and is working fine,(squid wrking fine) then i tried to install squidclamav via (yum -y install curl-devel).then i downloaded squidclamav-4.0.tar.gz and extracted.. then i run ./configure and then make.but make install command wont work; it shows an error.
View 4 Replies View RelatedWhat good does getting into single user mode do?And what's the basic purpose of it , i.e is it maintaining purpose???
View 2 Replies View Related"Life has been made easier with all Microsoft systems, all versions of Dos and Windows, because each of them has to be installed in an active primary partition and so hence will always has a boot loader in the root partition." So if I already have Windows 7 installed (in a 100gig partition of a 1t hdd) how do I modify the windows booting process so that I can go on to create many additional partitions that will be used for linux distros?
View 7 Replies View Relatedwhat is the purpose of using hard links instead of being a shortcut to some file ?
View 5 Replies View RelatedIs 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 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?