Re: How to compile DHCPD source code

2006-07-08 Thread Rahul Sharma
Hello Peter,
Thanks for your help.
It Works.
Thanks again
Rahul

On 7/7/06, Peter Blair [EMAIL PROTECTED] wrote:

 First, *don't* download source from the cvsweb website.  That source
 is handy for browsing, but you should be getting your code from a cvs
 repository.

 Look at the instructions for a given patch for guidance:

 ftp://ftp.openbsd.org/pub/OpenBSD/patches/3.9/common/001_sendmail.patch

 And then rebuild and install sendmail:
 cd gnu/usr.sbin/sendmail
 make obj
 make depend
 make
 make install

 On 7/7/06, Rahul Sharma [EMAIL PROTECTED] wrote:
  Hi,
  I need to make some minute changes to db.c file comes under DHCP
 source
  code .
  I wanted to know that how can i run dhcp now with these changes.
  Plz tell me for this whether I have to recompile whole source
 code(Kernel)
  again or if there is any way
  to just compile only this DHCP code.
 
  What I have done so far is
  I have downloaded all files needed for DHCPD from
  http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/dhcpd/
 
  After that i had made changes to file db.c.
  Now I strucked here.
  Any one Plz Help. Tell me what to do.
  Thanks for reading this mail anyay.
 
  Rahul



How to compile DHCPD source code

2006-07-07 Thread Rahul Sharma
Hi,
I need to make some minute changes to db.c file comes under DHCP source
code .
I wanted to know that how can i run dhcp now with these changes.
Plz tell me for this whether I have to recompile whole source code(Kernel)
again or if there is any way
to just compile only this DHCP code.

What I have done so far is
I have downloaded all files needed for DHCPD from
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/dhcpd/

After that i had made changes to file db.c.
Now I strucked here.
Any one Plz Help. Tell me what to do.
Thanks for reading this mail anyay.

Rahul



Re: How to compile DHCPD source code

2006-07-07 Thread Peter Blair

First, *don't* download source from the cvsweb website.  That source
is handy for browsing, but you should be getting your code from a cvs
repository.

Look at the instructions for a given patch for guidance:

ftp://ftp.openbsd.org/pub/OpenBSD/patches/3.9/common/001_sendmail.patch

And then rebuild and install sendmail:
cd gnu/usr.sbin/sendmail
make obj
make depend
make
make install

On 7/7/06, Rahul Sharma [EMAIL PROTECTED] wrote:

Hi,
I need to make some minute changes to db.c file comes under DHCP source
code .
I wanted to know that how can i run dhcp now with these changes.
Plz tell me for this whether I have to recompile whole source code(Kernel)
again or if there is any way
to just compile only this DHCP code.

What I have done so far is
I have downloaded all files needed for DHCPD from
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/dhcpd/

After that i had made changes to file db.c.
Now I strucked here.
Any one Plz Help. Tell me what to do.
Thanks for reading this mail anyay.

Rahul




Re: How to compile DHCPD source code

2006-07-07 Thread Peter Blair

Rahul:

You don't need the sendmail patch, but it does outline the steps
required to (re-)compile and install system software.

-Pete

P.S.  Don't forget to CC misc@

On 7/7/06, Rahul Sharma [EMAIL PROTECTED] wrote:

Hi Peter,
 Thanks for ur reply.
 It seems confusing to me that for recompiling dhcpd code i require sendmail
patch.
 Can u Plz explain me that.
 Warm regards
 Rahul


On 7/7/06, Peter Blair [EMAIL PROTECTED] wrote:
 First, *don't* download source from the cvsweb website.  That source
 is handy for browsing, but you should be getting your code from a cvs
 repository.

 Look at the instructions for a given patch for guidance:


ftp://ftp.openbsd.org/pub/OpenBSD/patches/3.9/common/001_sendmail.patch

 And then rebuild and install sendmail:
 cd gnu/usr.sbin/sendmail
 make obj
 make depend
 make
 make install

 On 7/7/06, Rahul Sharma [EMAIL PROTECTED] wrote:
  Hi,
  I need to make some minute changes to db.c file comes under DHCP
source
  code .
  I wanted to know that how can i run dhcp now with these changes.
  Plz tell me for this whether I have to recompile whole source
code(Kernel)
  again or if there is any way
  to just compile only this DHCP code.
 
  What I have done so far is
  I have downloaded all files needed for DHCPD from
 
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/dhcpd/
 
  After that i had made changes to file db.c.
  Now I strucked here.
  Any one Plz Help. Tell me what to do.
  Thanks for reading this mail anyay.
 
  Rahul