LINUX.ORG.RU

build sendmail


0

0

При компиляции sendmail /build встретил строку в h-файле в которой нужно прописать NEWDB - это файл ? Вот кусок из файла smbd.h # ifndef NDBM # ifndef NEWDB ERROR NDBM or NEWDB must be defined. # endif /* ! NEWDB */ # endif /* ! NDBM */ # ifdef NDBM # include <ndbm.h> # endif /* NDBM */ # ifdef NEWDB # include <db.h> # ifndef DB_VERSION_MAJOR # define DB_VERSION_MAJOR 1 # endif /* ! DB_VERSION_MAJOR */ # endif /* NEWDB */ который вызывает вопрос причем файла ndbm.h я не нашел На http://www.sendmail.org/compiling.html#BuildingSendmail NEWDB The new Berkeley DB package. Some systems (e.g., BSD/OS and Digital UNIX 4.0) have some version of this package pre-installed. If your system does not have Berkeley DB pre-installed, or the version installed is not version 2.0 or greater (e.g., is Berkeley DB 1.85 or 1.86), get the current version from http://www.sleepycat.com/. DO NOT use a version from any of the University of California, Berkeley "Net" or other distributions. If you are still running BSD/386 1.x, you will need to upgrade the included Berkeley DB library to a current version. NEWDB is included automatically if the Build script can find a library named libdb.a or libdb.so. я скачал пакет from http://www.sleepycat.com/ но и там ни слова о том какое значение задать NEWDB If you define NEWDB or HESIOD you get the User Database (USERDB) automatically. Generally you do want to have NEWDB for it to do anything interesting. See above for getting the Berkeley DB package (i.e., NEWDB). There is no separate "user database" package -- don't bother searching for it on the net. а что именно задавать в качестве значения NEWDB - имя файла или какой-нибудь флаг ?

anonymous

Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.