Hello I have documented each step up until they fail.

I just started fresh after rebooting and re-downloading the source.  I am
now stuck where I was previously and begging for help.  I do not see what to
do if the compile fails.  I am not blaming qmail which is the general
impression I get from this list.  I am just trying to install it and see if
I want to use it, and recommend it to other newbies.  Unfortunately I am the
smartest newbie I know, and I know a lot of newbies.

[root@www local]# tar -zxvf qmail-1.03.tar.gz

[root@www local]# cd /usr/local/qmail-1.03/

[root@www qmail-1.03]#ls
BIN.Makefile
BIN.README
BLURB
BLURB2
BLURB3
BLURB4
CHANGES
FAQ
FILES
INSTALL
INSTALL.alias
INSTALL.ctl
INSTALL.ids
INSTALL.maildir
INSTALL.mbox
INSTALL.vsm
INTERNALS
Makefile
PIC.local2alias
PIC.local2ext
PIC.local2local
PIC.local2rem
PIC.local2virt
PIC.nullclient
PIC.relaybad
PIC.relaygood
PIC.rem2local
README
REMOVE.binmail
REMOVE.sendmail
SECURITY
SENDMAIL
SYSDEPS
TARGETS
TEST.deliver
TEST.receive
THANKS
THOUGHTS
TODO
UPGRADE
VERSION
addresses.5
alloc.3
alloc.c
alloc.h
alloc_re.c
auto-gid.c
auto-int.c
auto-int8.c
auto-str.c
auto-uid.c
auto_break.h
auto_patrn.h
auto_qmail.h
auto_spawn.h
auto_split.h
auto_uids.h
auto_usera.h
binm1+df.sh
binm1.sh
binm2+df.sh
binm2.sh
binm3+df.sh
binm3.sh
bouncesaying.1
bouncesaying.c
byte.h
byte_chr.c
byte_copy.c
byte_cr.c
byte_diff.c
byte_rchr.c
byte_zero.c
case.3
case.h
case_diffb.c
case_diffs.c
case_lowerb.c
case_lowers.c
case_starts.c
cdb.3
cdb.h
cdb_hash.c
cdb_seek.c
cdb_unpack.c
cdbmake.h
cdbmake_add.c
cdbmake_hash.c
cdbmake_pack.c
cdbmss.c
cdbmss.h
chkshsgr.c
chkspawn.c
coe.3
coe.c
coe.h
commands.c
commands.h
condredirect.1
condredirect.c
conf-break
conf-cc
conf-groups
conf-ld
conf-patrn
conf-qmail
conf-spawn
conf-split
conf-users
config-fast.sh
config.sh
constmap.c
constmap.h
control.c
control.h
date822fmt.c
date822fmt.h
datemail.sh
datetime.3
datetime.c
datetime.h
datetime_un.c
direntry.3
direntry.h1
direntry.h2
dns.c
dns.h
dnscname.c
dnsdoe.c
dnsdoe.h
dnsfq.c
dnsip.c
dnsmxip.c
dnsptr.c
dot-qmail.9
elq.sh
env.3
env.c
env.h
envelopes.5
envread.c
error.3
error.c
error.h
error_str.3
error_str.c
error_temp.3
error_temp.c
except.1
except.c
exit.h
extra.h
fd.h
fd_copy.3
fd_copy.c
fd_move.3
fd_move.c
fifo.c
fifo.h
fifo_make.3
find-systype.sh
fmt.h
fmt_str.c
fmt_strn.c
fmt_uint.c
fmt_uint0.c
fmt_ulong.c
fmtqfn.c
fmtqfn.h
forgeries.7
fork.h1
fork.h2
forward.1
forward.c
gen_alloc.h
gen_allocdefs.h
getln.3
getln.c
getln.h
getln2.3
getln2.c
gfrom.c
gfrom.h
headerbody.c
headerbody.h
hfield.c
hfield.h
hier.c
home+df.sh
home.sh
hostname.c
idedit.c
install-big.c
install.c
instcheck.c
ip.c
ip.h
ipalloc.c
ipalloc.h
ipme.c
ipme.h
ipmeprint.c
lock.h
lock_ex.c
lock_exnb.c
lock_un.c
maildir.5
maildir.c
maildir.h
maildir2mbox.1
maildir2mbox.c
maildirmake.1
maildirmake.c
maildirwatch.1
maildirwatch.c
mailsubj.1
mailsubj.sh
make-compile.sh
make-load.sh
make-makelib.sh
mbox.5
myctime.c
myctime.h
ndelay.c
ndelay.h
ndelay_off.c
newfield.c
newfield.h
now.3
now.c
now.h
open.h
open_append.c
open_excl.c
open_read.c
open_trunc.c
open_write.c
pinq.sh
predate.c
preline.1
preline.c
prioq.c
prioq.h
proc+df.sh
proc.sh
prot.c
prot.h
qail.sh
qbiff.1
qbiff.c
qlx.h
qmail-clean.8
qmail-clean.c
qmail-command.8
qmail-control.9
qmail-getpw.9
qmail-getpw.c
qmail-header.5
qmail-inject.8
qmail-inject.c
qmail-limits.9
qmail-local.8
qmail-local.c
qmail-log.5
qmail-lspawn.8
qmail-lspawn.c
qmail-newmrh.9
qmail-newmrh.c
qmail-newu.9
qmail-newu.c
qmail-pop3d.8
qmail-pop3d.c
qmail-popup.8
qmail-popup.c
qmail-pw2u.9
qmail-pw2u.c
qmail-qmqpc.8
qmail-qmqpc.c
qmail-qmqpd.8
qmail-qmqpd.c
qmail-qmtpd.8
qmail-qmtpd.c
qmail-qread.8
qmail-qread.c
qmail-qstat.8
qmail-qstat.sh
qmail-queue.8
qmail-queue.c
qmail-remote.8
qmail-remote.c
qmail-rspawn.8
qmail-rspawn.c
qmail-send.9
qmail-send.c
qmail-showctl.8
qmail-showctl.c
qmail-smtpd.8
qmail-smtpd.c
qmail-start.9
qmail-start.c
qmail-tcpok.8
qmail-tcpok.c
qmail-tcpto.8
qmail-tcpto.c
qmail-upq.sh
qmail-users.9
qmail.7
qmail.c
qmail.h
qreceipt.1
qreceipt.c
qsmhook.c
qsutil.c
qsutil.h
quote.c
quote.h
rcpthosts.c
rcpthosts.h
readsubdir.c
readsubdir.h
readwrite.h
received.c
received.h
remoteinfo.c
remoteinfo.h
scan.h
scan_8long.c
scan_ulong.c
seek.h
seek_cur.c
seek_end.c
seek_set.c
seek_trunc.c
select.h1
select.h2
sendmail.c
sgetopt.3
sgetopt.c
sgetopt.h
sig.h
sig_alarm.c
sig_block.c
sig_bug.c
sig_catch.c
sig_child.c
sig_hup.c
sig_misc.c
sig_pause.c
sig_pipe.c
sig_term.c
slurpclose.c
slurpclose.h
spawn.c
splogger.8
splogger.c
str.h
str_chr.c
str_cpy.c
str_diff.c
str_diffn.c
str_len.c
str_rchr.c
str_start.c
stralloc.3
stralloc.h
stralloc_arts.c
stralloc_cat.c
stralloc_catb.c
stralloc_cats.c
stralloc_copy.c
stralloc_eady.c
stralloc_opyb.c
stralloc_opys.c
stralloc_pend.c
strerr.h
strerr_die.c
strerr_sys.c
subfd.h
subfderr.c
subfdin.c
subfdins.c
subfdout.c
subfdouts.c
subgetopt.3
subgetopt.c
subgetopt.h
substdi.c
substdio.c
substdio.h
substdio_copy.c
substdo.c
tcp-env.1
tcp-env.c
tcp-environ.5
tcpto.c
tcpto.h
tcpto_clean.c
timeoutconn.c
timeoutconn.h
timeoutread.c
timeoutread.h
timeoutwrite.c
timeoutwrite.h
token822.c
token822.h
trigger.c
trigger.h
triggerpull.c
triggerpull.h
trycpp.c
trydrent.c
tryflock.c
trylsock.c
trymkffo.c
trynpbg1.c
tryrsolv.c
trysalen.c
trysgact.c
trysgprm.c
tryshsgr.c
trysysel.c
trysyslog.c
tryulong32.c
tryvfork.c
subfdout.c
subfdouts.c
subgetopt.3
subgetopt.c
subgetopt.h
substdi.c
substdio.c
substdio.h
substdio_copy.c
substdo.c
tcp-env.1
tcp-env.c
tcp-environ.5
tcpto.c
tcpto.h
tcpto_clean.c
timeoutconn.c
timeoutconn.h
timeoutread.c
timeoutread.h
timeoutwrite.c
timeoutwrite.h
token822.c
token822.h
trigger.c
trigger.h
triggerpull.c
triggerpull.h
trycpp.c
trydrent.c
tryflock.c
trylsock.c
trymkffo.c
trynpbg1.c
tryrsolv.c
trysalen.c
trysgact.c
trysgprm.c
tryshsgr.c
trysysel.c
trysyslog.c
tryulong32.c
tryvfork.c
trywaitp.c
uint32.h1
uint32.h2
wait.3
wait.h
wait_nohang.c
wait_pid.c
warn-auto.sh
warn-shsgr
[root@www qmail-1.03]#

[root@www qmail-1.03]#more /usr/local/qmail-1.03/INSTALL

1. Create the qmail home directory:
       # mkdir /var/qmail

[root@www qmail-1.03]# mkdir /var/qmail

2. Read INSTALL.ids. You must set up the qmail group and the qmail
    users before compiling the programs.

[root@www qmail-1.03]# more INSTALL.ids

Linux:

   # groupadd nofiles
   # useradd -g nofiles -d /var/qmail/alias alias
   # useradd -g nofiles -d /var/qmail qmaild
   # useradd -g nofiles -d /var/qmail qmaill
   # useradd -g nofiles -d /var/qmail qmailp
   # groupadd qmail
   # useradd -g qmail -d /var/qmail qmailq
   # useradd -g qmail -d /var/qmail qmailr
   # useradd -g qmail -d /var/qmail qmails

So I did:

groupadd nofiles
useradd -g nofiles -d /var/qmail/alias alias
useradd -g nofiles -d /var/qmail qmaild
useradd -g nofiles -d /var/qmail qmaill
useradd -g nofiles -d /var/qmail qmailp
groupadd qmail
useradd -g qmail -d /var/qmail qmailq
useradd -g qmail -d /var/qmail qmailr
useradd -g qmail -d /var/qmail qmails


3. Compile the programs and create the qmail directory tree:
       # make setup check

[root@www 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:1: sys/types.h: No such file or directory
qmail-local.c:2: sys/stat.h: No such file or directory
make: *** [qmail-local.o] Error 1
[root@www qmail-1.03]#

DARN!!!

however,

[root@www qmail-1.03]# locate types.h
/usr/include/security/_pam_types.h
/usr/i386-glibc21-linux/include/asm/kmap_types.h
/usr/i386-glibc21-linux/include/asm/posix_types.h
/usr/i386-glibc21-linux/include/asm/types.h
/usr/i386-glibc21-linux/include/bits/ioctl-types.h
/usr/i386-glibc21-linux/include/bits/pthreadtypes.h
/usr/i386-glibc21-linux/include/bits/types.h
/usr/i386-glibc21-linux/include/inttypes.h
/usr/i386-glibc21-linux/include/linux/posix_types.h
/usr/i386-glibc21-linux/include/linux/qnxtypes.h
/usr/i386-glibc21-linux/include/linux/sunrpc/types.h
/usr/i386-glibc21-linux/include/linux/types.h
/usr/i386-glibc21-linux/include/nl_types.h
/usr/i386-glibc21-linux/include/rpc/types.h
/usr/i386-glibc21-linux/include/sys/bitypes.h
/usr/i386-glibc21-linux/include/sys/types.h
[root@www qmail-1.03]#

and

[root@www qmail-1.03]# locate stat.h
/usr/i386-glibc21-linux/include/asm/stat.h
/usr/i386-glibc21-linux/include/bits/stat.h
/usr/i386-glibc21-linux/include/bits/ustat.h
/usr/i386-glibc21-linux/include/linux/kernel_stat.h
/usr/i386-glibc21-linux/include/linux/stat.h
/usr/i386-glibc21-linux/include/rpcsvc/rstat.h
/usr/i386-glibc21-linux/include/sys/stat.h
/usr/i386-glibc21-linux/include/sys/ustat.h
/usr/i386-glibc21-linux/include/ustat.h
[root@www qmail-1.03]#

reveals that these files are indeed on the drive someplace.

Ok thats when I tried installing the RPMS from the link at
http://www.qmail.org/top.html and joined this mailing list and got verbally
and mentally abused by the entire world for being "so fscking like the GNU
generation" or some such nonsense.

So ... I went and did "rpm -e" on the 2 rpms and everything named qmail
anyplace on the drive I could find with "locate qmail"

I just started fresh after rebooting and re-downloading the source.  I am
now stuck where I was previously and begging for help.  I do not see what to
do if the compile fails.  I am not blaming qmail which is the general
impression I get from this list.  I am just trying to install it and see if
I want to use it, and recommend it to other newbies.  Unfortunately I am the
smartest newbie I know, and I know a lot of newbies.

Thanks,
Rick Up
http://linuxpeople.cc

Reply via email to