Ошибка cyrus_sasl.o во время сборки Exim на сервере с Directadmin | 12.07.11 15:13
|
|
Если при обновлении Exim возникает ошибка:
awk '{ print ($1+1) }' cnumber.h > cnumber.temp
rm -f cnumber.h; mv cnumber.temp cnumber.h
gcc version.c
rm -f exim
gcc -o exim
gcc: auths/auths.a: No such file or directory
make[1]: *** [exim] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/exim-4.76/build-Linux-i386'
make: *** [all] Error 2
*** The make has failed, would you like to try to make again? (y,n): n
Промотаем листинг выше:
cyrus_sasl.c: In function 'auth_cyrus_sasl_version_report':
cyrus_sasl.c:359: error: 'SASL_VERSION_MAJOR' undeclared (first use in this function)
cyrus_sasl.c:359: error: 'SASL_VERSION_MINOR' undeclared (first use in this function)
cyrus_sasl.c:359: error: 'SASL_VERSION_STEP' undeclared (first use in this function)
make[2]: *** [cyrus_sasl.o] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/exim-4.76/build-Linux-i386/auths'
Решение:
# yum install cyrus-sasl-devel
После завершения:
Installed:
cyrus-sasl-devel.i386 0:2.1.22-5.el5_4.3
Complete!
Стартуем заново:
# ./build clean && ./build exim
И радуемся:
Exim installation complete
Moving exim binary.
Exim 4.76 Installed.
Restarting exim.
Shutting down exim:
Starting exim:
|
|
Рубрики: Почта DirectAdmin Exim Продвинутые вопросы |
|
|
Вам нужна помощь или консультация по данному руководству?! Задайте свой вопрос на форуме. Вам нужен профессионал?! Воспользуйтесь услугами системного администратора для работ по вашему серверу. Мы поможем вам с переездом, настройкой, оптимизацией сервисов, равно как и с другими вопросами по части Linux/Unix.
|