Dear All :
Mohon bantuannya
Saya install qmail dengan urutan sesuai dengan
artikel yang ditulis Bapak Asfihani ([EMAIL PROTECTED])
tapi koq selalu error ya?
Sampe pusing, bolak-balik remove lagi install lagi
belum juga bisa.
Urutan yang sudah saya lakukan :
1. Remove MTA bawaannya RH9.0 (sendmail)
success
2. Extract semua paket (ada 3 tar.gz dan 2 file
patch)
3 Buat user
4 Urutan lengkap dan errornya ada di
attachment
Instalasi tersebut saya lakukan pada Redhat 9.0
dengan DNS (fqdn) nb-nyoman.njs.com
saya ping ke fqdn tersebut success tetapi kalo
jalanin perintah : ./config-fast nb-nyoman.njs.com error (deskripsi
errornya ada di attachment)
Mohon bantuan temen2 agar saya dapat melakukan proses
instalasi selanjutnya.
Terima kasih sebelumnya
Regards
Andrean
|
[EMAIL PROTECTED] qmail-1.03]# patch -p1 < ../qmail-1.03-quotas-1.1.patch missing header for context diff at line 29 of patch patching file qmail-local.c missing header for context diff at line 119 of patch patching file error.h missing header for context diff at line 131 of patch patching file error.c
[EMAIL PROTECTED] qmail-1.03]# make setup check ( cat warn-auto.sh; \ echo CC=\'`head -1 conf-cc`\'; \ echo LD=\'`head -1 conf-ld`\' \ ) > auto-ccld.sh cat auto-ccld.sh make-load.sh > make-load chmod 755 make-load cat auto-ccld.sh find-systype.sh > find-systype chmod 755 find-systype ./find-systype > systype ( cat warn-auto.sh; ./make-load "`cat systype`" ) > load chmod 755 load cat auto-ccld.sh make-compile.sh > make-compile chmod 755 make-compile ( cat warn-auto.sh; ./make-compile "`cat systype`" ) > \ compile chmod 755 compile ( ( ./compile tryvfork.c && ./load tryvfork ) >/dev/null \ 2>&1 \ && cat fork.h2 || cat fork.h1 ) > fork.h rm -f tryvfork.o tryvfork ./compile qmail-local.c qmail-local.c: In function `main': qmail-local.c:469: warning: return type of `main' is not `int' ./compile qmail.c ./compile quote.c ./compile now.c ./compile gfrom.c ./compile myctime.c ./compile slurpclose.c cat auto-ccld.sh make-makelib.sh > make-makelib chmod 755 make-makelib ( cat warn-auto.sh; ./make-makelib "`cat systype`" ) > \ makelib chmod 755 makelib ./compile case_diffb.c ./compile case_diffs.c ./compile case_lowerb.c ./compile case_lowers.c ./compile case_starts.c ./makelib case.a case_diffb.o case_diffs.o case_lowerb.o \ case_lowers.o case_starts.o ./compile getln.c ./compile getln2.c ./makelib getln.a getln.o getln2.o ./compile subgetopt.c ./compile sgetopt.c ./makelib getopt.a subgetopt.o sgetopt.o ./compile sig_alarm.c ( ( ./compile trysgprm.c && ./load trysgprm ) >/dev/null \ 2>&1 \ && echo \#define HASSIGPROCMASK 1 || exit 0 ) > hassgprm.h rm -f trysgprm.o trysgprm ./compile sig_block.c ( ( ./compile trysgact.c && ./load trysgact ) >/dev/null \ 2>&1 \ && echo \#define HASSIGACTION 1 || exit 0 ) > hassgact.h rm -f trysgact.o trysgact ./compile sig_catch.c ./compile sig_pause.c ./compile sig_pipe.c ./compile sig_child.c ./compile sig_hup.c ./compile sig_term.c ./compile sig_bug.c ./compile sig_misc.c ./makelib sig.a sig_alarm.o sig_block.o sig_catch.o \ sig_pause.o sig_pipe.o sig_child.o sig_hup.o sig_term.o \ sig_bug.o sig_misc.o ./compile open_append.c ./compile open_excl.c ./compile open_read.c ./compile open_trunc.c ./compile open_write.c ./makelib open.a open_append.o open_excl.o open_read.o \ open_trunc.o open_write.o ./compile seek_cur.c ./compile seek_end.c ./compile seek_set.c ./compile seek_trunc.c ./makelib seek.a seek_cur.o seek_end.o seek_set.o \ seek_trunc.o ( ( ./compile tryflock.c && ./load tryflock ) >/dev/null \ 2>&1 \ && echo \#define HASFLOCK 1 || exit 0 ) > hasflock.h rm -f tryflock.o tryflock ./compile lock_ex.c ./compile lock_exnb.c ./compile lock_un.c ./makelib lock.a lock_ex.o lock_exnb.o lock_un.o ./compile fd_copy.c ./compile fd_move.c ./makelib fd.a fd_copy.o fd_move.o ( ( ./compile trywaitp.c && ./load trywaitp ) >/dev/null \ 2>&1 \ && echo \#define HASWAITPID 1 || exit 0 ) > haswaitp.h rm -f trywaitp.o trywaitp ./compile wait_pid.c ./compile wait_nohang.c ./makelib wait.a wait_pid.o wait_nohang.o ./compile env.c ./compile envread.c ./makelib env.a env.o envread.o ./compile stralloc_eady.c ./compile stralloc_pend.c ./compile stralloc_copy.c ./compile stralloc_opys.c ./compile stralloc_opyb.c ./compile stralloc_cat.c ./compile stralloc_cats.c ./compile stralloc_catb.c ./compile stralloc_arts.c ./makelib stralloc.a stralloc_eady.o stralloc_pend.o \ stralloc_copy.o stralloc_opys.o stralloc_opyb.o \ stralloc_cat.o stralloc_cats.o stralloc_catb.o \ stralloc_arts.o ./compile alloc.c ./compile alloc_re.c ./makelib alloc.a alloc.o alloc_re.o ./compile strerr_sys.c ./compile strerr_die.c ./makelib strerr.a strerr_sys.o strerr_die.o ./compile substdio.c ./compile substdi.c ./compile substdo.c ./compile subfderr.c ./compile subfdout.c ./compile subfdouts.c ./compile subfdin.c ./compile subfdins.c ./compile substdio_copy.c ./makelib substdio.a substdio.o substdi.o substdo.o \ subfderr.o subfdout.o subfdouts.o subfdin.o subfdins.o \ substdio_copy.o ./compile error.c ./compile error_str.c ./compile error_temp.c ./makelib error.a error.o error_str.o error_temp.o ./compile str_len.c ./compile str_diff.c ./compile str_diffn.c ./compile str_cpy.c ./compile str_chr.c ./compile str_rchr.c ./compile str_start.c ./compile byte_chr.c ./compile byte_rchr.c ./compile byte_diff.c ./compile byte_copy.c ./compile byte_cr.c ./compile byte_zero.c ./makelib str.a str_len.o str_diff.o str_diffn.o str_cpy.o \ str_chr.o str_rchr.o str_start.o byte_chr.o byte_rchr.o \ byte_diff.o byte_copy.o byte_cr.o byte_zero.o ./compile fmt_str.c ./compile fmt_strn.c ./compile fmt_uint.c ./compile fmt_uint0.c ./compile fmt_ulong.c ./compile scan_ulong.c ./compile scan_8long.c ./makelib fs.a fmt_str.o fmt_strn.o fmt_uint.o fmt_uint0.o \ fmt_ulong.o scan_ulong.o scan_8long.o ./compile datetime.c ./compile datetime_un.c ./makelib datetime.a datetime.o datetime_un.o ./compile auto-str.c auto-str.c: In function `main': auto-str.c:17: warning: return type of `main' is not `int' ./load auto-str substdio.a error.a str.a substdio.a(substdo.o)(.text+0x43): In function `allwrite': : undefined reference to `errno' collect2: ld returned 1 exit status make: *** [auto-str] Error 1 [EMAIL PROTECTED] qmail-1.03]# ./config-fast nb-nyoman.njs.com bash: ./config-fast: No such file or directory [EMAIL PROTECTED] qmail-1.03]# cd ../ucspi-tcp-0.88 [EMAIL PROTECTED] ucspi-tcp-0.88]# make setup check ( cat warn-auto.sh; \ echo 'main="$1"; shift'; \ echo exec "`head -1 conf-ld`" \ '-o "$main" "$main".o ${1+"$@"}' \ ) > load chmod 755 load ( cat warn-auto.sh; \ echo exec "`head -1 conf-cc`" '-c ${1+"$@"}' \ ) > compile chmod 755 compile cat warn-auto.sh choose.sh \ | sed s}HOME}"`head -1 conf-home`"}g \ > choose chmod 755 choose ./choose clr trypoll iopause.h1 iopause.h2 > iopause.h ./choose clr tryulong64 uint64.h1 uint64.h2 > uint64.h ./compile tcpserver.c ( ( ./compile tryulong32.c && ./load tryulong32 && \ ./tryulong32 ) >/dev/null 2>&1 \ && cat uint32.h2 || cat uint32.h1 ) > uint32.h rm -f tryulong32.o tryulong32 ./compile rules.c ./compile remoteinfo.c ./compile timeoutconn.c ( cat warn-auto.sh; \ echo CC=\'`head -1 conf-cc`\'; \ echo LD=\'`head -1 conf-ld`\'; \ cat find-systype.sh; \ ) | sh > systype ( cat warn-auto.sh; \ echo 'main="$1"; shift'; \ echo 'rm -f "$main"'; \ echo 'ar cr "$main" ${1+"$@"}'; \ case "`cat systype`" in \ sunos-5.*) ;; \ unix_sv*) ;; \ irix64-*) ;; \ irix-*) ;; \ dgux-*) ;; \ hp-ux-*) ;; \ sco*) ;; \ *) echo 'ranlib "$main"' ;; \ esac \ ) > makelib chmod 755 makelib ./compile cdb.c ./compile cdb_hash.c ./compile cdb_make.c ./makelib cdb.a cdb.o cdb_hash.o cdb_make.o ./compile dns_dfd.c ./compile dns_domain.c ./compile dns_dtda.c ./compile dns_ip.c ./compile dns_ipq.c ./compile dns_name.c ./compile dns_nd.c ./compile dns_packet.c ./compile dns_random.c ./compile dns_rcip.c ./compile dns_rcrw.c ./compile dns_resolve.c ./compile dns_sortip.c ./compile dns_transmit.c ./compile dns_txt.c ./makelib dns.a dns_dfd.o dns_domain.o dns_dtda.o dns_ip.o \ dns_ipq.o dns_name.o dns_nd.o dns_packet.o dns_random.o \ dns_rcip.o dns_rcrw.o dns_resolve.o dns_sortip.o \ dns_transmit.o dns_txt.o ./choose c trysysel select.h1 select.h2 > select.h ./compile iopause.c ./compile tai_pack.c ./compile taia_add.c ./compile taia_approx.c ./compile taia_frac.c ./compile taia_less.c ./compile taia_now.c ./compile taia_pack.c ./compile taia_sub.c ./compile taia_uint.c ./makelib time.a iopause.o tai_pack.o taia_add.o \ taia_approx.o taia_frac.o taia_less.o taia_now.o \ taia_pack.o taia_sub.o taia_uint.o ./compile alloc.c ./compile alloc_re.c ./compile buffer.c ./compile buffer_0.c ./compile buffer_1.c ./compile buffer_2.c ./compile buffer_copy.c ./compile buffer_get.c ./compile buffer_put.c ./compile env.c ./compile error.c ./compile error_str.c ./compile fd_copy.c ./compile fd_move.c ./compile getln.c ./compile getln2.c ./compile ndelay_off.c ./compile ndelay_on.c ./compile open_read.c ./compile open_trunc.c ./compile open_write.c ./compile openreadclose.c ./compile pathexec_env.c ./compile pathexec_run.c ./compile chkshsgr.c ./load chkshsgr ./chkshsgr || ( cat warn-shsgr; exit 1 ) ./choose clr tryshsgr hasshsgr.h1 hasshsgr.h2 > hasshsgr.h ./compile prot.c ./compile readclose.c ./compile seek_set.c ./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 socket_accept.c ./compile socket_bind.c ./compile socket_conn.c ./compile socket_delay.c ./compile socket_listen.c ./compile socket_local.c ./compile socket_opts.c ./compile socket_remote.c ./compile socket_tcp.c ./compile socket_udp.c ./compile stralloc_cat.c ./compile stralloc_catb.c ./compile stralloc_cats.c ./compile stralloc_copy.c ./compile stralloc_eady.c ./compile stralloc_opyb.c ./compile stralloc_opys.c ./compile stralloc_pend.c ./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_copy.o buffer_get.o \ buffer_put.o env.o error.o error_str.o fd_copy.o fd_move.o \ getln.o getln2.o ndelay_off.o ndelay_on.o open_read.o \ 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 socket_accept.o \ socket_bind.o socket_conn.o socket_delay.o socket_listen.o \ socket_local.o socket_opts.o socket_remote.o socket_tcp.o \ socket_udp.o stralloc_cat.o stralloc_catb.o stralloc_cats.o \ stralloc_copy.o stralloc_eady.o stralloc_opyb.o \ stralloc_opys.o stralloc_pend.o strerr_die.o strerr_sys.o \ subgetopt.o wait_nohang.o wait_pid.o ./compile byte_chr.c ./compile byte_copy.c ./compile byte_cr.c ./compile byte_diff.c ./compile byte_rchr.c ./compile byte_zero.c ./compile case_diffb.c ./compile case_diffs.c ./compile fmt_ulong.c ./compile ip4_fmt.c ./compile ip4_scan.c ./compile scan_ulong.c ./compile str_chr.c ./compile str_diff.c ./compile str_len.c ./compile str_start.c ./compile uint16_pack.c ./compile uint16_unpack.c ./compile uint32_pack.c ./compile uint32_unpack.c ./makelib byte.a byte_chr.o byte_copy.o byte_cr.o \ byte_diff.o byte_rchr.o byte_zero.o case_diffb.o \ case_diffs.o fmt_ulong.o ip4_fmt.o ip4_scan.o scan_ulong.o \ str_chr.o str_diff.o str_len.o str_start.o uint16_pack.o \ uint16_unpack.o uint32_pack.o uint32_unpack.o ( ( ./compile trylsock.c && \ ./load trylsock -lsocket -lnsl ) >/dev/null 2>&1 \ && echo -lsocket -lnsl || exit 0 ) > socket.lib rm -f trylsock.o trylsock ./load tcpserver rules.o remoteinfo.o timeoutconn.o cdb.a \ dns.a time.a unix.a byte.a `cat socket.lib` tcpserver.o(.text+0x55f): In function `doit': : undefined reference to `errno' remoteinfo.o(.text+0x63): In function `mywrite': : undefined reference to `errno' remoteinfo.o(.text+0xe7): In function `myread': : undefined reference to `errno' timeoutconn.o(.text+0x41): In function `timeoutconn': : undefined reference to `errno' timeoutconn.o(.text+0xc7): In function `timeoutconn': : undefined reference to `errno' cdb.a(cdb.o)(.text+0xce): more undefined references to `errno' follow collect2: ld returned 1 exit status make: *** [tcpserver] Error 1 [EMAIL PROTECTED] ucspi-tcp-0.88]# cd ../admin/daemontools-0.76/ [EMAIL PROTECTED] 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 ./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 \ 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 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 ./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 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 ./chkshsgr || ( cat warn-shsgr; exit 1 ) ./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' 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' ./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 ./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 \ 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 \ stralloc_pend.o strerr_die.o strerr_sys.o subgetopt.o wait_nohang.o \ wait_pid.o ./load envdir unix.a byte.a envdir.o(.text+0xca): In function `main': : undefined reference to `errno' envdir.o(.text+0x1ea): In function `main': : 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' 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 make: *** [envdir] Error 1 Copying commands into ./command... cp: cannot stat `compile/svscan': No such file or directory [EMAIL PROTECTED] daemontools-0.76]# ps ax | grep read 17396 pts/0 S 0:00 grep read [EMAIL PROTECTED] daemontools-0.76]# rm -rf /command/ [EMAIL PROTECTED] daemontools-0.76]# mv command/ / [EMAIL PROTECTED] daemontools-0.76]# cp /var/qmail/boot/home /var/qmail/rc cp: cannot stat `/var/qmail/boot/home': No such file or directory [EMAIL PROTECTED] daemontools-0.76]# perl -pi -e "s/Mailbox splogger qmail/Maildir\//g" /var/qmail/rc Can't open /var/qmail/rc: No such file or directory.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]