From: Pablo Pernot (no email)
Date: Fri Aug 01 2003 - 11:42:51 EDT
Hi,
Is there any to define during compilation a single as a prefix dir ?
Or should define every path .... :((
DEF_COMMAND_DIR command_directory /usr/sbin
DEF_CONFIG_DIR config_directory /etc/postfix
DEF_DAEMON_DIR daemon_directory /usr/libexec/postfix
DEF_MAILQ_PATH mailq_path /usr/bin/mailq
DEF_MANPAGE_DIR manpage_directory /usr/local/man
DEF_NEWALIAS_PATH newaliases_path /usr/bin/newaliases
DEF_README_DIR readme_directory no (do not install)
DEF_SAMPLE_DIR sample_directory /etc/postfix
DEF_SENDMAIL_PATH sendmail_path /usr/sbin/sendmail
Is there any macro PREFIX_DIR ?
Pablo
PS : btw I installed a postfix + ldap + berkeley db in a special path, and I needed to change the makedefs file as this :
I installed /opt/mailsystem/sleepycat
and /opt/mailsystem/openldap before...
I'm on SuSE Linux 8.2
Linux.2*) SYSTYPE=LINUX2
# Postfix no longer needs DB 1.85 compatibility
if [ -f /usr/include/db.h ]
then
: we are all set
#elif [ -f /usr/include/db/db.h ]
elif [ -f /opt/mailsystem/sleepycat/include/db.h ]
then
CCARGS="$CCARGS -DHAS_DB -I/opt/mailsystem/sleepycat/include -DHAS_LDAP -I/opt/mailsystem/openldap/include"
else
echo "No <db.h> include file found." 1>&2
echo "Install the appropriate db*-devel package first." 1>&2
echo "See the RELEASE_NOTES file for more information." 1>&2
exit 1
fi
SYSLIBS="-L/opt/mailsystem/sleepycat/lib -ldb -L/opt/mailsystem/openldap/lib -lldap -L/opt/mailsystem/openldap/lib -llber -lnsl -lresolv "
and then use :
make makefiles CCARGS="-DHAS_DB -I/opt/sleepycat/include -DHAS_LDAP -I/opt/mailsystem/openldap/include" AUXLIBS="-L/opt/sleepycat/lib,/opt/mailsystem/openldap/lib"
All that is a bit huge ? too heavy ? Sorry I'm french I can't use the proper word with my ugly english... But obvisouly mixing ldap special path and berkeley db special path isn't easy.
Bye
-- Pablo Pernot Albert-Inc office : +33 499 130 920 mobile : +33 620 805 810 email :
|
|
|