RE: daemontools installation problem
"Jamal Taweel" <[email protected]> Sun, 7 Aug 2005 16:29:15 +0200
| Newsgroups | gmane.comp.djb.package |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. ------_=_NextPart_001_01C59B5C.633EC868 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable You should open all files like: envdir.c, openreadclose.c, ...etc, in order to add a new line on the header to include "errno.h". The line should be : Include "errno.h" =20 -----Original Message----- From: Ser As [mailto:[email protected]]=20 Sent: Sunday, August 07, 2005 2:58 PM To: [email protected] Subject: daemontools installation problem =20 Hi I want to install djbdns to Red Hat 9.0 For that purpose I wanted to install first daemontools package.. But at the command package/install=20 I have the following output at the standard output: =20 ---------------------------------- [root@localhost daemontools-0.76]# package/install Linking ./src/* into ./compile... Compiling everything in ./compile... sh find-systype.sh > systype rm -f compile sh print-cc.sh > compile chmod 555 compile=20 ./compile byte_chr.c ./compile byte_copy.c ./compile byte_cr.c ./compile byte_diff.c ./compile byte_rchr.c ./compile fmt_uint.c ../compile fmt_uint0.c ./compile fmt_ulong.c rm -f makelib sh print-ar.sh > makelib chmod 555 makelib ./compile scan_ulong.c ./compile str_chr.c ./compile str_diff.c ./compile str_len.c ./compile str_start.c ./makelib byte.a byte_chr.o byte_copy.o byte_cr.o byte_diff.o \=20 byte_rchr.o fmt_uint.o fmt_uint0.o fmt_ulong.o scan_ulong.o str_chr.o \ str_diff.o str_len.o str_start.o rm -f choose cat warn-auto.sh choose.sh \ | sed s}HOME}"`head -1 home`"}g \ > choose=20 chmod 555 choose ./choose c trydrent direntry.h1 direntry.h2 > direntry.h ./compile envdir.c rm -f load sh print-ld.sh > load chmod 555 load ./compile alloc.c ./compile alloc_re.c ./compile buffer.c ./compile buffer_0.c ./compile buffer_1.c ./compile buffer_2.c ./compile buffer_get.c ./compile buffer_put.c ./compile buffer_read.c ./compile buffer_write.c ./compile coe.c ./compile env.c=20 ./compile error.c ./compile error_str.c ./compile fd_copy.c ./compile fd_move.c ./choose cl trymkffo hasmkffo.h1 hasmkffo.h2 > hasmkffo.h ./compile fifo.c ./choose cl tryflock hasflock.h1 hasflock.h2 > hasflock.h ./compile lock_ex.c ./compile lock_exnb.c ./compile ndelay_off.c ./compile ndelay_on.c ./compile open_append.c ./compile open_read.c ./compile open_trunc.c ./compile open_write.c ./compile openreadclose.c ./compile pathexec_env.c ./compile pathexec_run.c pathexec_run.c: In function `pathexec_run': pathexec_run.c:18: warning: implicit declaration of function `execve' ./compile chkshsgr.c=20 chkshsgr.c: In function `main': chkshsgr.c:10: warning: passing arg 2 of `getgroups' from incompatible pointer type chkshsgr.c:10: warning: implicit declaration of function `setgroups' ./load chkshsgr=20 ./chkshsgr || ( cat warn-shsgr; exit 1 )=20 ./choose clr tryshsgr hasshsgr.h1 hasshsgr.h2 > hasshsgr.h ./compile prot.c prot.c: In function `prot_gid': prot.c:13: warning: implicit declaration of function `setgroups' prot.c:15: warning: implicit declaration of function `setgid'=20 prot.c: In function `prot_uid': prot.c:20: warning: implicit declaration of function `setuid' ./compile readclose.c ./compile seek_set.c seek_set.c: In function `seek_set': seek_set.c:9: warning: implicit declaration of function `lseek'=20 ./compile sgetopt.c ./compile sig.c ./choose cl trysgprm hassgprm..h1 hassgprm.h2 > hassgprm.h ./compile sig_block.c ./choose cl trysgact hassgact.h1 hassgact.h2 > hassgact.h ./compile sig_catch.c ./compile sig_pause.c ./compile stralloc_cat.c ./compile stralloc_catb.c ./compile stralloc_cats.c ./compile stralloc_eady.c ./compile stralloc_opyb.c ./compile stralloc_opys.c ./compile stralloc_pend.c=20 ./compile strerr_die.c ./compile strerr_sys.c ./compile subgetopt..c ./choose cl trywaitp haswaitp.h1 haswaitp.h2 > haswaitp.h ./compile wait_nohang.c ./compile wait_pid.c ./makelib unix.a alloc.o alloc_re.o buffer.o buffer_0.o buffer_1.o \ buffer_2.o buffer_get.o buffer_put.o buffer_read.o buffer_write.o \ coe.o env.o error.o error_str.o fd_copy.o fd_move.o fifo.o lock_ex.o \ lock_exnb.o ndelay_off.o ndelay_on.o open_append.o open_read.o \=20 open_trunc.o open_write.o openreadclose.o pathexec_env.o \ pathexec_run.o prot.o readclose.o seek_set.o sgetopt.o sig.o \ sig_block.o sig_catch.o sig_pause.o stralloc_cat.o stralloc_catb.o \ stralloc_cats.o stralloc_eady.o stralloc_opyb.o stralloc_opys.o \=20 stralloc_pend.o strerr_die.o strerr_sys.o subgetopt.o wait_nohang.o \ wait_pid.o ./load envdir unix.a byte.a=20 envdir.o(.text+0xca): In function `main': : undefined reference to `errno' envdir.o(.text+0x1ea): In function `main':=20 : undefined reference to `errno' unix.a(openreadclose.o)(.text+0x3b): In function `openreadclose': : undefined reference to `errno' unix.a(pathexec_run.o)(.text+0xf6): In function `pathexec_run': : undefined reference to `errno'=20 unix.a(pathexec_run.o)(.text+0x13a): In function `pathexec_run': : undefined reference to `errno' unix.a(readclose.o)(.text+0x42): more undefined references to `errno' follow collect2: ld returned 1 exit status=20 make: *** [envdir] Error 1 Copying commands into ./command... cp: cannot stat `compile/svscan': No such file or directory =20 ------------ =20 What is the problem? What should I do in order to install the daemontools? *************************************************************************= ************ The contents of this email and any attachments are confidential. It is=20 intended for the named recipient(s) only. If you have received this email= =20 in error please notify the system manager or the sender immediately and=20 do not disclose the contents to any one or make copies. *************************************************************************= ************ PALTEL E-Safety System scanned this email and found NO viruses,=20 vandals or malicious content. *************************************************************************= ************ Should you need any information or clarifications regarding this system,=20 please do not hesitate to contact our team at the IP Dep.=20 <[email protected]>. *************************************************************************= ************ ------_=_NextPart_001_01C59B5C.633EC868 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii"= > <meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)"> <style> <!-- /* Font Definitions */ @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.EmailStyle17 {font-family:Arial; color:navy;} @page Section1 {size:595.3pt 841.9pt; margin:72.0pt 90.0pt 72.0pt 90.0pt;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span style= =3D'font-size: 10.0pt;font-family:Arial;color:blue'>You should open all files like:</spa= n></font><font color=3Dblue><span style=3D'color:blue'> envdir.c, openreadclose.c, ̷= 0;etc, in order to add a new line on the header to include “errno.h”.</= span></font></p> <p class=3DMsoNormal><font size=3D3 color=3Dblue face=3D"Times New Roman"= ><span style=3D'font-size:12.0pt;color:blue'>The line should be :</span></font><= /p> <p class=3DMsoNormal><font size=3D3 color=3Dblue face=3D"Times New Roman"= ><span style=3D'font-size:12.0pt;color:blue'>Include “errno.h”</span= ></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span style= =3D'font-size: 10.0pt;font-family:Arial;color:blue'> </span></font></p> <p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D2 face=3DT= ahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<= br> <b><span style=3D'font-weight:bold'>From:</span></b> Ser As [mailto:[email protected]] <br> <b><span style=3D'font-weight:bold'>Sent:</span></b> </span></font><font = size=3D2 face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma= '>Sunday, August 07, 2005</span></font><font size=3D2 face=3DTahoma><span style=3D'font-s= ize:10.0pt; font-family:Tahoma'> </span></font><font size=3D2 face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'>2:58 PM</span></font><font= size=3D2 face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'><br> <b><span style=3D'font-weight:bold'>To:</span></b> [email protected]<= br> <b><span style=3D'font-weight:bold'>Subject:</span></b> daemontools insta= llation problem</span></font></p> <p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'> </span></= font></p> <div> <p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>Hi I want to in= stall djbdns to Red Hat 9.0</span></font></p> </div> <div> <p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>For that purpos= e I wanted to install first daemontools package..</span></font></p> </div> <div> <p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>But at the comm= and</span></font></p> </div> <div> <p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>package/install= </span></font></p> </div> <div> <p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>I have the foll= owing output at the standard output:</span></font></p> </div> <div> <p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'> </span></= font></p> </div> <div> <p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>---------------= -------------------</span></font></p> </div> <div> <p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>[root@localhost daemontools-0.76]# package/install<br> Linking ./src/* into ./compile...<br> Compiling everything in ./compile...<br> sh find-systype.sh > systype<br> rm -f compile<br> sh print-cc.sh > compile<br> chmod 555 compile <br> ./compile byte_chr.c<br> ./compile byte_copy.c<br> ./compile byte_cr.c<br> ./compile byte_diff.c<br> ./compile byte_rchr.c<br> ./compile fmt_uint.c<br> ../compile fmt_uint0.c<br> ./compile fmt_ulong.c<br> rm -f makelib<br> sh print-ar.sh > makelib<br> chmod 555 makelib<br> ./compile scan_ulong.c<br> ./compile str_chr.c<br> ./compile str_diff.c<br> ./compile str_len.c<br> ./compile str_start.c<br> ./makelib byte.a byte_chr.o byte_copy.o byte_cr.o byte_diff.o \ <br> byte_rchr.o fmt_uint.o fmt_uint0.o fmt_ulong.o scan_ulong.o str_chr.o \<b= r> str_diff.o str_len.o str_start.o<br> rm -f choose<br> cat warn-auto.sh choose.sh \<br> | sed s}HOME}"`head -1 home`"}g \<br> > choose <br> chmod 555 choose<br> ./choose c trydrent direntry.h1 direntry.h2 > direntry.h<br> ./compile envdir.c<br> rm -f load<br> sh print-ld.sh > load<br> chmod 555 load<br> ./compile alloc.c<br> ./compile alloc_re.c<br> ./compile buffer.c<br> ./compile buffer_0.c<br> ./compile buffer_1.c<br> ./compile buffer_2.c<br> ./compile buffer_get.c<br> ./compile buffer_put.c<br> ./compile buffer_read.c<br> ./compile buffer_write.c<br> ./compile coe.c<br> ./compile env.c <br> ./compile error.c<br> ./compile error_str.c<br> ./compile fd_copy.c<br> ./compile fd_move.c<br> ./choose cl trymkffo hasmkffo.h1 hasmkffo.h2 > hasmkffo.h<br> ./compile fifo.c<br> ./choose cl tryflock hasflock.h1 hasflock.h2 > hasflock.h<br> ./compile lock_ex.c<br> ./compile lock_exnb.c<br> ./compile ndelay_off.c<br> ./compile ndelay_on.c<br> ./compile open_append.c<br> ./compile open_read.c<br> ./compile open_trunc.c<br> ./compile open_write.c<br> ./compile openreadclose.c<br> ./compile pathexec_env.c<br> ./compile pathexec_run.c<br> pathexec_run.c: In function `pathexec_run':<br> pathexec_run.c:18: warning: implicit declaration of function `execve'<br> ./compile chkshsgr.c <br> chkshsgr.c: In function `main':<br> chkshsgr.c:10: warning: passing arg 2 of `getgroups' from incompatible po= inter type<br> chkshsgr.c:10: warning: implicit declaration of function `setgroups'<br> ./load chkshsgr <br> ./chkshsgr || ( cat warn-shsgr; exit 1 ) <br> ./choose clr tryshsgr hasshsgr.h1 hasshsgr.h2 > hasshsgr.h<br> ./compile prot.c<br> prot.c: In function `prot_gid':<br> prot.c:13: warning: implicit declaration of function `setgroups'<br> prot.c:15: warning: implicit declaration of function `setgid' <br> prot.c: In function `prot_uid':<br> prot.c:20: warning: implicit declaration of function `setuid'<br> ./compile readclose.c<br> ./compile seek_set.c<br> seek_set.c: In function `seek_set':<br> seek_set.c:9: warning: implicit declaration of function `lseek' <br> ./compile sgetopt.c<br> ./compile sig.c<br> ./choose cl trysgprm hassgprm..h1 hassgprm.h2 > hassgprm.h<br> ./compile sig_block.c<br> ./choose cl trysgact hassgact.h1 hassgact.h2 > hassgact.h<br> ./compile sig_catch.c<br> ./compile sig_pause.c<br> ./compile stralloc_cat.c<br> ./compile stralloc_catb.c<br> ./compile stralloc_cats.c<br> ./compile stralloc_eady.c<br> ./compile stralloc_opyb.c<br> ./compile stralloc_opys.c<br> ./compile stralloc_pend.c <br> ./compile strerr_die.c<br> ./compile strerr_sys.c<br> ./compile subgetopt..c<br> ./choose cl trywaitp haswaitp.h1 haswaitp.h2 > haswaitp.h<br> ./compile wait_nohang.c<br> ./compile wait_pid.c<br> ./makelib unix.a alloc.o alloc_re.o buffer.o buffer_0.o buffer_1.o \<br> buffer_2.o buffer_get.o buffer_put.o buffer_read.o buffer_write.o \<br> coe.o env.o error.o error_str.o fd_copy.o fd_move.o fifo.o lock_ex.o \<br= > lock_exnb.o ndelay_off.o ndelay_on.o open_append.o open_read.o \ <br> open_trunc.o open_write.o openreadclose.o pathexec_env.o \<br> pathexec_run.o prot.o readclose.o seek_set.o sgetopt.o sig.o \<br> sig_block.o sig_catch.o sig_pause.o stralloc_cat.o stralloc_catb.o \<br> stralloc_cats.o stralloc_eady.o stralloc_opyb.o stralloc_opys.o \ <br> stralloc_pend.o strerr_die.o strerr_sys.o subgetopt.o wait_nohang.o \<br> wait_pid.o<br> ./load envdir unix.a byte.a <br> envdir.o(.text+0xca): In function `main':<br> : undefined reference to `errno'<br> envdir.o(.text+0x1ea): In function `main': <br> : undefined reference to `errno'<br> unix.a(openreadclose.o)(.text+0x3b): In function `openreadclose':<br> : undefined reference to `errno'<br> unix.a(pathexec_run.o)(.text+0xf6): In function `pathexec_run':<br> : undefined reference to `errno' <br> unix.a(pathexec_run.o)(.text+0x13a): In function `pathexec_run':<br> : undefined reference to `errno'<br> unix.a(readclose.o)(.text+0x42): more undefined references to `errno' fol= low<br> collect2: ld returned 1 exit status <br> make: *** [envdir] Error 1<br> Copying commands into ./command...<br> cp: cannot stat `compile/svscan': No such file or directory<br> </span></font></p> </div> <div> <p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>------------</s= pan></font></p> </div> <div> <p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'> </span></= font></p> </div> <div> <p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>What is the pro= blem?</span></font></p> </div> <div> <p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>What should I d= o in order to install the daemontools?</span></font></p> </div> </div> <FONT SIZE=3D3 COLOR=3DBLUE><PRE> *************************************************************************= ************ The contents of this email and any attachments are confidential. It is=20 intended for the named recipient(s) only. If you have received this email= =20 in error please notify the system manager or the sender immediately and=20 do not disclose the contents to any one or make copies. *************************************************************************= ************ PALTEL E-Safety System scanned this email and found NO viruses,=20 vandals or malicious content. *************************************************************************= ************ Should you need any information or clarifications regarding this system,=20 please do not hesitate to contact our team at the IP Dep.=20 <[email protected]>. *************************************************************************= ************ </PRE></FONT> </body> </html> ------_=_NextPart_001_01C59B5C.633EC868--