LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 06-30-2008, 11:18 PM   #1
johncsl82
Member
 
Registered: Nov 2003
Location: Planet Earth
Distribution: Redhat, Gentoo, Mandrake, FreeBSD
Posts: 73

Rep: Reputation: 18
Question Having problem building/installing Sendmail 8.14.2 by using Solaris 8 x86


hello professional,

I am having difficulties in building or installing sendmail 8.14.2:

when I execute the command:

$sh Build

it gave the output:

Code:
# sh Build
Build: ^M: not found
Build: ^M: not found
Making all in:
/var/tmp/sendmail-8.14.2/libsm
./Build: ^M: not found
./Build: ^M: not found
../devtools/bin/Build: ^M: not found
../devtools/bin/Build: ^M: not found
../devtools/bin/Build: ^M: not found
../devtools/bin/Build: ^M: not found
../devtools/bin/Build: ^M: not found
../devtools/bin/Build: ^M: not found
../devtools/bin/Build: syntz error at line 65: 'in^M' unexpected
Making all in:
/var/tmp/sendmail-8.14.2/libsmutil
./Build: ^M: not found
./Build: ^M: not found
../devtools/bin/Build: ^M: not found
../devtools/bin/Build: ^M: not found
../devtools/bin/Build: ^M: not found
../devtools/bin/Build: ^M: not found
../devtools/bin/Build: ^M: not found
../devtools/bin/Build: ^M: not found
../devtools/bin/Build: syntz error at line 65: 'in^M' unexpected
Making all in:
/var/tmp/sendmail-8.14.2/libsmdb
./Build: ^M: not found
./Build: ^M: not found
../devtools/bin/Build: ^M: not found
../devtools/bin/Build: ^M: not found
../devtools/bin/Build: ^M: not found
../devtools/bin/Build: ^M: not found
../devtools/bin/Build: ^M: not found
../devtools/bin/Build: ^M: not found
../devtools/bin/Build: syntz error at line 65: 'in^M' unexpected
Making all in:
/var/tmp/sendmail-8.14.2/sendmail
./Build: ^M: not found
./Build: ^M: not found
../devtools/bin/Build: ^M: not found
../devtools/bin/Build: ^M: not found
../devtools/bin/Build: ^M: not found
../devtools/bin/Build: ^M: not found
../devtools/bin/Build: ^M: not found
../devtools/bin/Build: ^M: not found
../devtools/bin/Build: syntz error at line 65: 'in^M' unexpected
Making all in:
/var/tmp/sendmail-8.14.2/editmap
./Build: ^M: not found
./Build: ^M: not found
./Build: ../devtools/bin/Build: cannot execute
Making all in:
/var/tmp/sendmail-8.14.2/mail.local
./Build: ^M: not found
./Build: ^M: not found
./Build: ../devtools/bin/Build: cannot execute
Making all in:
/var/tmp/sendmail-8.14.2/mailstats
./Build: ^M: not found
./Build: ^M: not found
./Build: ../devtools/bin/Build: cannot execute
Making all in:
/var/tmp/sendmail-8.14.2/makemap
./Build: ^M: not found
./Build: ^M: not found
./Build: ../devtools/bin/Build: cannot execute
Making all in:
/var/tmp/sendmail-8.14.2/praliases
./Build: ^M: not found
./Build: ^M: not found
./Build: ../devtools/bin/Build: cannot execute
Making all in:
/var/tmp/sendmail-8.14.2/rmail
./Build: ^M: not found
./Build: ^M: not found
./Build: ../devtools/bin/Build: cannot execute
Making all in:
/var/tmp/sendmail-8.14.2/smrsh
./Build: ^M: not found
./Build: ^M: not found
./Build: ../devtools/bin/Build: cannot execute
Making all in:
/var/tmp/sendmail-8.14.2/vacation
./Build: ^M: not found
./Build: ^M: not found
./Build: ../devtools/bin/Build: cannot execute
make: *** [all] Error 1
btw, for your information I have remove the sendmail package that came with the Solaris 8.

I hope someone able to provide guidance or help me.

Thank you.
 
Old 07-01-2008, 02:25 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
That ^M makes me think that you have edited the Build script using a DOS editor, that introduced those control characters at the end of each line. You can run
Code:
dos2unix Build
to fix it.
 
Old 07-03-2008, 12:56 AM   #3
johncsl82
Member
 
Registered: Nov 2003
Location: Planet Earth
Distribution: Redhat, Gentoo, Mandrake, FreeBSD
Posts: 73

Original Poster
Rep: Reputation: 18
Exclamation

Thank you for reply

and now I have encounter another problem, whereby when I have executed the '$ sh Build' command. It will generated a set of errors enclosed as below:

Code:
/usr/local/lib/gcc/i386-pc-solaris2.8/3.4.6/include/sys/type.h :387 : error: syntax error before "uint8_t"
...
...
...
/usr/local/lib/gcc/i386-pc-solaris2.8/3.4.6/include/sys/type.h :569: 24: sys/select.h: No such file or directory
assert.c : 19 : 20: signal.h: No such file or directory
....
....
....
....
....
make: *** [all] Error 2
the errors above, which are generated during the build was very long.......

But I have already installed gcc 3.4.6 package from sun freeware before running the mentioned build command. Therefore I would like to ask is there anything else, which I might have missed anything out?

Thank you

Last edited by johncsl82; 07-03-2008 at 01:09 AM.
 
Old 07-03-2008, 02:59 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
/usr/local/lib/gcc/i386-pc-solaris2.8/3.4.6/include/sys/type.h :569: 24: sys/select.h: No such file or directory
assert.c : 19 : 20: signal.h: No such file or directory
This is strange. Do these header files exist?
Code:
ls -l /usr/include/signal.h
ls -l /usr/include/sys/select.h
I guess you've edited something in the various Build scripts, so it looks in the wrong place for the system include files.
You can delete the directory created after extracted the sendmail sources and start from the beginning. BTW since you're going to build sendmail from source do it with the latest version 8.14.3. I've just tested on a Solaris 9 Sparc box (with gcc 3.4.6) and it compiles without a hitch.
Just follow the instructions in the INSTALL file, i.e:
Code:
cd sendmail-8.14.3/sendmail
sh ./Build
 
Old 07-03-2008, 04:34 AM   #5
johncsl82
Member
 
Registered: Nov 2003
Location: Planet Earth
Distribution: Redhat, Gentoo, Mandrake, FreeBSD
Posts: 73

Original Poster
Rep: Reputation: 18
Quote:
Originally Posted by bathory View Post
This is strange. Do these header files exist?
Code:
ls -l /usr/include/signal.h
ls -l /usr/include/sys/select.h
I guess you've edited something in the various Build scripts, so it looks in the wrong place for the system include files.
You can delete the directory created after extracted the sendmail sources and start from the beginning. BTW since you're going to build sendmail from source do it with the latest version 8.14.3. I've just tested on a Solaris 9 Sparc box (with gcc 3.4.6) and it compiles without a hitch.
Just follow the instructions in the INSTALL file, i.e:
Code:
cd sendmail-8.14.3/sendmail
sh ./Build
I think I have missed out some of the packages that required by the gcc to compile/build sendmail 8.14.2.....

and I am not sure what and where to get this packages....

Thank you
 
Old 07-04-2008, 03:42 AM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
According to Sun freeware, gcc depends on libiconv and libint. I guess you couldn't install gcc if you missed those 2 packages.
Anyway if you cannot install sendmail from source, you can use the blastwave package.

Regards
 
Old 07-08-2008, 01:30 AM   #7
johncsl82
Member
 
Registered: Nov 2003
Location: Planet Earth
Distribution: Redhat, Gentoo, Mandrake, FreeBSD
Posts: 73

Original Poster
Rep: Reputation: 18
I have build the sendmail under the sendmail-8.14.3/sendmail

Code:
# ./Build
Configuration: pfx=, os=SunOS, rel=5.10, rbase=5, rroot=5.10, arch=i86pc, sfx=, variant=optimized
Making in /var/tmp/sendmail-8.14.3/obj.SunOS.5.10.i86pc/sendmail
../devtools/bin/Build: make: not found
# echo $PATH
/usr/sbin:/usr/bin:/usr/openwin/bin:/usr/ucb
# PATH=$PATH:/usr/sfw/bin
# PATH
PATH: not found
# echo $PATH
/usr/sbin:/usr/bin:/usr/openwin/bin:/usr/ucb:/usr/sfw/bin
# PATH=$PATH:/usr/ccs/bin ; export PATH
# sh Build
Configuration: pfx=, os=SunOS, rel=5.10, rbase=5, rroot=5.10, arch=i86pc, sfx=, variant=optimized
Making in /var/tmp/sendmail-8.14.3/obj.SunOS.5.10.i86pc/sendmail
# sh Build
Configuration: pfx=, os=SunOS, rel=5.10, rbase=5, rroot=5.10, arch=i86pc, sfx=, variant=optimized
Using M4=/usr/sfw/bin/gm4
Creating /var/tmp/sendmail-8.14.3/obj.SunOS.5.10.i86pc/sendmail using /var/tmp/s endmail-8.14.3/devtools/OS/SunOS.5.10
Making dependencies in /var/tmp/sendmail-8.14.3/obj.SunOS.5.10.i86pc/sendmail
rm -f sm_os.h
ln -f -s ../../include/sm/os/sm_os_sunos.h sm_os.h
gcc -M -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6  main.c alias.c arpadate.c bf.c collect.c conf.c control.c convtime.c d aemon.c deliver.c domain.c envelope.c err.c headers.c macro.c map.c mci.c milter .c mime.c parseaddr.c queue.c ratectrl.c readcf.c recipient.c sasl.c savemail.c sfsasl.c shmticklib.c sm_resolve.c srvrsmtp.c stab.c stats.c sysexits.c timers.c  tls.c trace.c udb.c usersmtp.c util.c version.c   >> Makefile
Making in /var/tmp/sendmail-8.14.3/obj.SunOS.5.10.i86pc/sendmail
(cd ../../libsm; sh Build )
Configuration: pfx=, os=SunOS, rel=5.10, rbase=5, rroot=5.10, arch=i86pc, sfx=, variant=optimized
Using M4=/usr/sfw/bin/gm4
Creating /var/tmp/sendmail-8.14.3/obj.SunOS.5.10.i86pc/libsm using /var/tmp/send mail-8.14.3/devtools/OS/SunOS.5.10
Making dependencies in /var/tmp/sendmail-8.14.3/obj.SunOS.5.10.i86pc/libsm
if [ -r /usr/include/sysexits.h ]; \
then \
        ln -s /usr/include/sysexits.h; \
fi
rm -f sm_os.h
ln -f -s ../../include/sm/os/sm_os_sunos.h sm_os.h
gcc -M -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6  assert.c debug.c errstring.c exc.c heap.c match.c rpool.c strdup.c str error.c strl.c clrerr.c fclose.c feof.c ferror.c fflush.c fget.c fpos.c findfp.c  flags.c fopen.c fprintf.c fpurge.c fput.c fread.c fscanf.c fseek.c fvwrite.c fw alk.c fwrite.c get.c makebuf.c put.c refill.c rewind.c setvbuf.c smstdio.c snpri ntf.c sscanf.c stdio.c strio.c ungetc.c vasprintf.c vfprintf.c vfscanf.c vprintf .c vsnprintf.c wbuf.c wsetup.c string.c stringf.c xtrap.c strto.c test.c path.c strcasecmp.c strrevcmp.c signal.c clock.c config.c shm.c sem.c mbdb.c strexit.c cf.c ldap.c niprop.c mpeix.c memstat.c util.c   >> Makefile
Making in /var/tmp/sendmail-8.14.3/obj.SunOS.5.10.i86pc/libsm
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  assert.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  debug.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  errstring.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  exc.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  heap.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  match.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  rpool.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  strdup.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  strerror.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  strl.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  clrerr.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  fclose.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  feof.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  ferror.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  fflush.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  fget.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  fpos.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  findfp.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  flags.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  fopen.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  fprintf.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  fpurge.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  fput.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  fread.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  fscanf.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  fseek.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  fvwrite.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  fwalk.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  fwrite.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  get.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  makebuf.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  put.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  refill.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  rewind.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  setvbuf.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  smstdio.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  snprintf.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  sscanf.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  stdio.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  strio.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  ungetc.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  vasprintf.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  vfprintf.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  vfscanf.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  vprintf.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  vsnprintf.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  wbuf.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  wsetup.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  string.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  stringf.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  xtrap.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  strto.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  test.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  path.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  strcasecmp.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  strrevcmp.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  signal.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  clock.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  config.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  shm.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  sem.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  mbdb.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  strexit.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  cf.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  ldap.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  niprop.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  mpeix.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  memstat.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  util.c
ar crv libsm.a assert.o debug.o errstring.o exc.o heap.o match.o rpool.o strdup. o strerror.o strl.o clrerr.o fclose.o feof.o ferror.o fflush.o fget.o fpos.o fin dfp.o flags.o fopen.o fprintf.o fpurge.o fput.o fread.o fscanf.o fseek.o fvwrite .o fwalk.o fwrite.o get.o makebuf.o put.o refill.o rewind.o setvbuf.o smstdio.o snprintf.o sscanf.o stdio.o strio.o ungetc.o vasprintf.o vfprintf.o vfscanf.o vp rintf.o vsnprintf.o wbuf.o wsetup.o string.o stringf.o xtrap.o strto.o test.o pa th.o strcasecmp.o strrevcmp.o signal.o clock.o config.o shm.o sem.o mbdb.o strex it.o cf.o ldap.o niprop.o mpeix.o memstat.o util.o
a - assert.o
a - debug.o
a - errstring.o
a - exc.o
a - heap.o
a - match.o
a - rpool.o
a - strdup.o
a - strerror.o
a - strl.o
a - clrerr.o
a - fclose.o
a - feof.o
a - ferror.o
a - fflush.o
a - fget.o
a - fpos.o
a - findfp.o
a - flags.o
a - fopen.o
a - fprintf.o
a - fpurge.o
a - fput.o
a - fread.o
a - fscanf.o
a - fseek.o
a - fvwrite.o
a - fwalk.o
a - fwrite.o
a - get.o
a - makebuf.o
a - put.o
a - refill.o
a - rewind.o
a - setvbuf.o
a - smstdio.o
a - snprintf.o
a - sscanf.o
a - stdio.o
a - strio.o
a - ungetc.o
a - vasprintf.o
a - vfprintf.o
a - vfscanf.o
a - vprintf.o
a - vsnprintf.o
a - wbuf.o
a - wsetup.o
a - string.o
a - stringf.o
a - xtrap.o
a - strto.o
a - test.o
a - path.o
a - strcasecmp.o
a - strrevcmp.o
a - signal.o
a - clock.o
a - config.o
a - shm.o
a - sem.o
a - mbdb.o
a - strexit.o
a - cf.o
a - ldap.o
a - niprop.o
a - mpeix.o
a - memstat.o
a - util.o
ar: writing libsm.a
ranlib  libsm.a
(cd ../../libsmutil; sh Build )
Configuration: pfx=, os=SunOS, rel=5.10, rbase=5, rroot=5.10, arch=i86pc, sfx=, variant=optimized
Using M4=/usr/sfw/bin/gm4
Creating /var/tmp/sendmail-8.14.3/obj.SunOS.5.10.i86pc/libsmutil using /var/tmp/ sendmail-8.14.3/devtools/OS/SunOS.5.10
Making dependencies in /var/tmp/sendmail-8.14.3/obj.SunOS.5.10.i86pc/libsmutil
if [ -r /usr/include/sysexits.h ]; \
then \
        ln -s /usr/include/sysexits.h; \
fi
rm -f sm_os.h
ln -f -s ../../include/sm/os/sm_os_sunos.h sm_os.h
gcc -M -I. -I../../sendmail   -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX  -DSOLARIS=21000 -DNETINET6 -DNOT_SENDMAIL  debug.c err.c lockfile.c safefile.c snprintf.c cf.c   >> Makefile
Making in /var/tmp/sendmail-8.14.3/obj.SunOS.5.10.i86pc/libsmutil
gcc -O -I. -I../../sendmail   -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX  -DSOLARIS=21000 -DNETINET6 -DNOT_SENDMAIL   -c  debug.c
gcc -O -I. -I../../sendmail   -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX  -DSOLARIS=21000 -DNETINET6 -DNOT_SENDMAIL   -c  err.c
gcc -O -I. -I../../sendmail   -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX  -DSOLARIS=21000 -DNETINET6 -DNOT_SENDMAIL   -c  lockfile.c
gcc -O -I. -I../../sendmail   -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX  -DSOLARIS=21000 -DNETINET6 -DNOT_SENDMAIL   -c  safefile.c
gcc -O -I. -I../../sendmail   -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX  -DSOLARIS=21000 -DNETINET6 -DNOT_SENDMAIL   -c  snprintf.c
gcc -O -I. -I../../sendmail   -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX  -DSOLARIS=21000 -DNETINET6 -DNOT_SENDMAIL   -c  cf.c
ar crv libsmutil.a debug.o err.o lockfile.o safefile.o snprintf.o cf.o
a - debug.o
a - err.o
a - lockfile.o
a - safefile.o
a - snprintf.o
a - cf.o
ar: writing libsmutil.a
ranlib  libsmutil.a
cp /dev/null statistics
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  main.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  alias.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  arpadate.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  bf.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  collect.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  conf.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  control.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  convtime.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  daemon.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -D NETINET6   -c  deliver.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -DNETINET6   -c  domain.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -DNETINET6   -c  envelope.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -DNETINET6   -c  err.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -DNETINET6   -c  headers.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -DNETINET6   -c  macro.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -DNETINET6   -c  map.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -DNETINET6   -c  mci.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -DNETINET6   -c  milter.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -DNETINET6   -c  mime.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -DNETINET6   -c  parseaddr.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -DNETINET6   -c  queue.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -DNETINET6   -c  ratectrl.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -DNETINET6   -c  readcf.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -DNETINET6   -c  recipient.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -DNETINET6   -c  sasl.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -DNETINET6   -c  savemail.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -DNETINET6   -c  sfsasl.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -DNETINET6   -c  shmticklib.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -DNETINET6   -c  sm_resolve.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -DNETINET6   -c  srvrsmtp.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -DNETINET6   -c  stab.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -DNETINET6   -c  stats.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -DNETINET6   -c  sysexits.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -DNETINET6   -c  timers.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -DNETINET6   -c  tls.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -DNETINET6   -c  trace.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -DNETINET6   -c  udb.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -DNETINET6   -c  usersmtp.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -DNETINET6   -c  util.c
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=21000 -DNETINET6   -c  version.c
gcc -o sendmail   main.o alias.o arpadate.o bf.o collect.o conf.o control.o convtime.o daemon.o deliver.o domain.o envelope.o err.o headers.o macro.o map.o mci.o milter.o mime.o parseaddr.o queue.o ratectrl.o readcf.o recipient.o sasl.o savemail.o sfsasl.o shmticklib.o sm_resolve.o srvrsmtp.o stab.o stats.o sysexits.o timers.o tls.o trace.o udb.o usersmtp.o util.o version.o      /var/tmp/sendmail-8.14.3/obj.SunOS.5.10.i86pc/libsmutil/libsmutil.a /var/tmp/sendmail-8.14.3/obj.SunOS.5.10.i86pc/libsm/libsm.a  -lresolv -lsocket -lnsl
nroff -man sendmail.8 > sendmail.0 || cp sendmail.0.dist sendmail.0
nroff -man aliases.5 > aliases.0 || cp aliases.0.dist aliases.0
nroff -man mailq.1 > mailq.0 || cp mailq.0.dist mailq.0
nroff -man newaliases.1 > newaliases.0 || cp newaliases.0.dist newaliases.0
#
Does this mean my sendmail build successful? if yes, how do I know whether my sendmail is upgraded?

cause when I run:

sendmail -bt -d0.10 < /dev/null/

Code:
# sendmail -dt -d0.10 < /dev/null
Version 8.13.8+Sun
 Compiled with: DNSMAP LDAPMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8
                MIME8TO7 NAMED_BIND NDBM NETINET NETINET6 NETUNIX NEWDB NIS
                NISPLUS PIPELINING SCANF STARTTLS TCPWRAPPERS USERDB
                USE_LDAP_INIT XDEBUG
    OS Defines: HASCLOSEFROM HASFCHOWN HASFCHMOD HASFDWALK
                HASGETUSERSHELL HASINITGROUPS HASLDAPGETALIASBYNAME HASLSTAT
                HASNICE HASRANDOM HASRRESVPORT HASSETREGID HASSETREUID
                HASSETRLIMIT HASSETSID HASSETVBUF HASURANDOMDEV HASSTRERROR
                HASULIMIT HASUNAME HASUNSETENV HASWAITPID IDENTPROTO
                IP_SRCROUTE SAFENFSPATHCONF SYS5SETPGRP SYSTEM5 USE_DOUBLE_FORK
                USE_SA_SIGACTION USE_SIGLONGJMP USESETEUID
Kernel symbols: /dev/ksyms
     Conf file: /etc/mail/submit.cf (default for MSP)
     Conf file: /etc/mail/sendmail.cf (default for MTA)
      Pid file: /var/run/sendmail.pid (default)
Canonical name: solaris10.test
 UUCP nodename: solaris10.test
        a.k.a.: [192.168.239.129]
     Conf file: /etc/mail/submit.cf (selected)
      Pid file: /var/spool/clientmqueue/sm-client.pid (selected)

============ SYSTEM IDENTITY (after readcf) ============
      (short domain name) $w = solaris10
  (canonical domain name) $j = solaris10.test
         (subdomain name) $m = test
              (node name) $k = solaris10.test
========================================================

Recipient names must be specified
#
it still showing version 8.13.8, whereby it should be version 8.14.3

Thank you
 
Old 07-08-2008, 01:48 AM   #8
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Your build was successful since ./Build finished without errors. The output you got means that you haven't uninstall the sendmail that came with solaris. Use pkgrm to remove it and then you should build a sendmail.cf and install the whole thing. Read the INSTALL file to see what you need to do.

Regards
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installing mySQL on solaris 10 x86 bigearsbilly Solaris / OpenSolaris 2 01-11-2008 11:55 PM
Installing Solaris 10 x86 on a. Dell X620? as400 Solaris / OpenSolaris 5 11-04-2007 10:15 AM
Problem Compiling in Solaris x86 Koven Solaris / OpenSolaris 1 01-13-2006 01:05 AM
Solaris 9.0 x86 shutdown problem Mega Man X Solaris / OpenSolaris 6 02-13-2004 01:17 PM
Solaris 9 x86 Install Problem Astro Solaris / OpenSolaris 2 10-13-2003 06:14 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 08:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration