- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HPUX 11i + sendmail 8.12.4 + gcc3.02
Operating System - HP-UX
1753657
Members
5637
Online
108798
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2002 04:53 AM
тАО06-14-2002 04:53 AM
I'am installing sendmail 8.12.4 on HPUX 11i with
gcc3.02 because i need the libmilter facility.
The sendmail m4 files are setup to use HP aCC instead of gcc.
I managed to compile with gcc but i am not sure
about all the compiler options & flags.
Does anybody already did this ?
There is a thread on aCC - GCC comparision
(CXX-DEV) where a gcc1.pdf on HP's devresource
is mentioned, but the link is now pointing to something else (C compiler design ??)
Does anybody still have this gcc1.pdf ?
With google i only found a Japanese one.
Tanx & Regards
Mark De Moo
gcc3.02 because i need the libmilter facility.
The sendmail m4 files are setup to use HP aCC instead of gcc.
I managed to compile with gcc but i am not sure
about all the compiler options & flags.
Does anybody already did this ?
There is a thread on aCC - GCC comparision
(CXX-DEV) where a gcc1.pdf on HP's devresource
is mentioned, but the link is now pointing to something else (C compiler design ??)
Does anybody still have this gcc1.pdf ?
With google i only found a Japanese one.
Tanx & Regards
Mark De Moo
To LDAP or not to LDAP
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2002 12:09 AM
тАО06-17-2002 12:09 AM
Re: HPUX 11i + sendmail 8.12.4 + gcc3.02
Finally found this document at HP's DSPP.Hope it will help.
http://h21007.www2.hp.com/dspp/files/unprotected/devresource/Docs/TechPapers/OpenSource/gcc1.pdf
I'am still interested in other sendmail 8.12.4 installation-experiences.
Regards
Mark
http://h21007.www2.hp.com/dspp/files/unprotected/devresource/Docs/TechPapers/OpenSource/gcc1.pdf
I'am still interested in other sendmail 8.12.4 installation-experiences.
Regards
Mark
To LDAP or not to LDAP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2002 12:21 AM
тАО06-17-2002 12:21 AM
Solution
Hi,
I did a compile of sendmail with gcc, not the same version, but sendmail 8.11.6 and gcc 2....
Easy to do :
in your source tree of sendmail, go to devtools/OS,
change the config of HPUX11.x :
Here's mine :
# more HP-UX.11.x
# $Id: HP-UX.11.x,v 8.11.18.3 2000/09/19 07:04:52 gshapiro Exp $
# +z is to generate position independant code
define(`confCC', `gcc -fPIC')
define(`confMAPDEF', `-DNEWDB -DNIS -DMAP_REGEX -DNDBM')
define(`confENVDEF', `-DV4FS -DHPUX11 -D_PATH_SENDMAIL=\"/usr/sbin/sendmail\"')
define(`confOPTIMIZE', `-O3')
define(`confLIBS', `-ldbm -lnsl')
define(`confSHELL', `/usr/bin/sh')
define(`confINSTALL', `${BUILDBIN}/install.sh')
define(`confSBINGRP', `mail')
define(`confEBINDIR', `/usr/sbin')
define(`confMTCCOPTS', `-D_POSIX_C_SOURCE=199506L')
define(`confMTLDOPTS', `-lpthread')
define(`confLD', `ld')
define(`confLDOPTS_SO', `-b')
define(`confCCOPTS_SO', `')
define(`confSONAME',`+h')
define(`confSHAREDLIB_EXT',`.sl')
APPENDDEF(`conf_sendmail_ENVDEF',`-D_FFR_MILTER=1')
APPENDDEF(`conf_libmilter_ENVDEF',`-D_FFR_MILTER=1')
Yep, I also use libmilter... (Amavis for ypu also ?).
In fact instead of cc -Ae +z, you place gcc -fPIC (PIC in uppercase !it's important !).
2 more lines for libmilter, and also the NEWDB support (You have to install Berkeley DB on your server before.., with proper links to header, lib).
Don't forget gcc in the $PATH,
And at the end, build the milter library and link or copy with /usr/lib and /usr/include.
Hope it'll work.
I did a compile of sendmail with gcc, not the same version, but sendmail 8.11.6 and gcc 2....
Easy to do :
in your source tree of sendmail, go to devtools/OS,
change the config of HPUX11.x :
Here's mine :
# more HP-UX.11.x
# $Id: HP-UX.11.x,v 8.11.18.3 2000/09/19 07:04:52 gshapiro Exp $
# +z is to generate position independant code
define(`confCC', `gcc -fPIC')
define(`confMAPDEF', `-DNEWDB -DNIS -DMAP_REGEX -DNDBM')
define(`confENVDEF', `-DV4FS -DHPUX11 -D_PATH_SENDMAIL=\"/usr/sbin/sendmail\"')
define(`confOPTIMIZE', `-O3')
define(`confLIBS', `-ldbm -lnsl')
define(`confSHELL', `/usr/bin/sh')
define(`confINSTALL', `${BUILDBIN}/install.sh')
define(`confSBINGRP', `mail')
define(`confEBINDIR', `/usr/sbin')
define(`confMTCCOPTS', `-D_POSIX_C_SOURCE=199506L')
define(`confMTLDOPTS', `-lpthread')
define(`confLD', `ld')
define(`confLDOPTS_SO', `-b')
define(`confCCOPTS_SO', `')
define(`confSONAME',`+h')
define(`confSHAREDLIB_EXT',`.sl')
APPENDDEF(`conf_sendmail_ENVDEF',`-D_FFR_MILTER=1')
APPENDDEF(`conf_libmilter_ENVDEF',`-D_FFR_MILTER=1')
Yep, I also use libmilter... (Amavis for ypu also ?).
In fact instead of cc -Ae +z, you place gcc -fPIC (PIC in uppercase !it's important !).
2 more lines for libmilter, and also the NEWDB support (You have to install Berkeley DB on your server before.., with proper links to header, lib).
Don't forget gcc in the $PATH,
And at the end, build the milter library and link or copy with /usr/lib and /usr/include.
Hope it'll work.
Une application mal pans├йe aboutit ├а une usine ├а gaze (GHG)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2002 05:09 AM
тАО06-24-2002 05:09 AM
Re: HPUX 11i + sendmail 8.12.4 + gcc3.02
Tanx,
it works.
because my .mc files are a little different, i made a ./devtools/Site/site.config.m4 file with my local settings:
define(`confCClibsmi', `gcc -fPIC')
define(`confCC',`/usr/local/bin/gcc -fPIC')
define(`confOPTIMIZE', ` -O3')
define(`confMAPDEF',`-DNEWDB -DMAP_REGEX')
define(`confMTCCOPTS', `-D_POSIX_C_SOURCE=199506L')
APPENDDEF(`conf_sendmail_ENVDEF',`-DMILTER')
APPENDDEF(`confINCDIRS',`-I/opt/db/include')
APPENDDEF(`confLIBDIRS',`-L/opt/db/lib')
I already had installed Berkeley NEWDB and i want to use libmilter for mimedefang +spamassassin+uvscan for virus & content filtering.
Regards
Mar
it works.
because my .mc files are a little different, i made a ./devtools/Site/site.config.m4 file with my local settings:
define(`confCClibsmi', `gcc -fPIC')
define(`confCC',`/usr/local/bin/gcc -fPIC')
define(`confOPTIMIZE', ` -O3')
define(`confMAPDEF',`-DNEWDB -DMAP_REGEX')
define(`confMTCCOPTS', `-D_POSIX_C_SOURCE=199506L')
APPENDDEF(`conf_sendmail_ENVDEF',`-DMILTER')
APPENDDEF(`confINCDIRS',`-I/opt/db/include')
APPENDDEF(`confLIBDIRS',`-L/opt/db/lib')
I already had installed Berkeley NEWDB and i want to use libmilter for mimedefang +spamassassin+uvscan for virus & content filtering.
Regards
Mar
To LDAP or not to LDAP
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP