The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

форумы  помощь  поиск  регистрация  майллист  ВХОД  слежка  RSS
"php+imap"
Вариант для распечатки Архивированная нить - только для чтения! 
Пред. тема | След. тема 
Форумы OpenNET: Виртуальная конференция (Public)
Изначальное сообщение [Проследить за развитием треда]

"php+imap"
Сообщение от dks emailИскать по авторуВ закладки on 10-Апр-02, 18:46  (MSK)
Нужно скомпилить php+imap, для этого нужно сначала скомпилить imap и передать в параметр при конфигурации php. Но почемуто ни imap-2000 ни imap-2000c не собирается-(

Пишу make slx а она одно и тоже выдает:
In file included from osdep.c:42:
env_unix.c: In function `do_date':
env_unix.c:277: warning: initialization makes pointer from integer without a cast
env_unix.c:278: dereferencing pointer to incomplete type
env_unix.c:278: dereferencing pointer to incomplete type
env_unix.c:279: dereferencing pointer to incomplete type
env_unix.c:280: warning: assignment makes pointer from integer without a cast
env_unix.c:282: dereferencing pointer to incomplete type
env_unix.c:282: dereferencing pointer to incomplete type
env_unix.c:290: dereferencing pointer to incomplete type
env_unix.c:293: dereferencing pointer to incomplete type
env_unix.c:297: dereferencing pointer to incomplete type
env_unix.c:297: dereferencing pointer to incomplete type
env_unix.c:297: dereferencing pointer to incomplete type
env_unix.c:298: dereferencing pointer to incomplete type
env_unix.c:298: dereferencing pointer to incomplete type
env_unix.c:298: dereferencing pointer to incomplete type
In file included from osdep.c:46:
tz_sv4.c: In function `rfc822_timezone':
tz_sv4.c:30: `tzname' undeclared (first use in this function)
tz_sv4.c:30: (Each undeclared identifier is reported only once
tz_sv4.c:30: for each function it appears in.)
tz_sv4.c:30: `daylight' undeclared (first use in this function)
tz_sv4.c:30: dereferencing pointer to incomplete type
osdep.c: In function `checkpw':
osdep.c:81: warning: initialization makes pointer from integer without a cast
osdep.c:82: dereferencing pointer to incomplete type
osdep.c:82: dereferencing pointer to incomplete type
osdep.c:83: dereferencing pointer to incomplete type
osdep.c:84: warning: assignment makes pointer from integer without a cast
osdep.c:86: dereferencing pointer to incomplete type
osdep.c:86: dereferencing pointer to incomplete type
osdep.c:94: dereferencing pointer to incomplete type
make[3]: *** [osdep.o] Ошибка 1
make[3]: Выход из каталог `/usr/src/imap-2000/c-client'
make[2]: *** [slx] Ошибка 2
make[2]: Выход из каталог `/usr/src/imap-2000/c-client'
make[1]: *** [OSTYPE] Ошибка 2
make[1]: Выход из каталог `/usr/src/imap-2000'
make: *** [slx] Ошибка 2

  Рекомендовать в FAQ | Cообщить модератору | Наверх

 Оглавление

Индекс форумов | Темы | Пред. тема | След. тема
Сообщения по теме

1. "RE: php+imap"
Сообщение от lavr emailИскать по авторуВ закладки on 10-Апр-02, 19:04  (MSK)
>Нужно скомпилить php+imap, для этого нужно
>сначала скомпилить imap и передать
>в параметр при конфигурации php.
>Но почемуто ни imap-2000 ни
>imap-2000c не собирается-(
>
>Пишу make slx а она одно
>и тоже выдает:
>In file included from osdep.c:42:
>env_unix.c: In function `do_date':
>env_unix.c:277: warning: initialization makes pointer from
>integer without a cast
>env_unix.c:278: dereferencing pointer to incomplete type
>
>env_unix.c:278: dereferencing pointer to incomplete type
>
>env_unix.c:279: dereferencing pointer to incomplete type
>
>env_unix.c:280: warning: assignment makes pointer from
>integer without a cast
>env_unix.c:282: dereferencing pointer to incomplete type
>
>env_unix.c:282: dereferencing pointer to incomplete type
>
>env_unix.c:290: dereferencing pointer to incomplete type
>
>env_unix.c:293: dereferencing pointer to incomplete type
>
>env_unix.c:297: dereferencing pointer to incomplete type
>
>env_unix.c:297: dereferencing pointer to incomplete type
>
>env_unix.c:297: dereferencing pointer to incomplete type
>
>env_unix.c:298: dereferencing pointer to incomplete type
>
>env_unix.c:298: dereferencing pointer to incomplete type
>
>env_unix.c:298: dereferencing pointer to incomplete type
>
>In file included from osdep.c:46:
>tz_sv4.c: In function `rfc822_timezone':
>tz_sv4.c:30: `tzname' undeclared (first use in
>this function)
>tz_sv4.c:30: (Each undeclared identifier is reported
>only once
>tz_sv4.c:30: for each function it appears
>in.)
>tz_sv4.c:30: `daylight' undeclared (first use in
>this function)
>tz_sv4.c:30: dereferencing pointer to incomplete type
>
>osdep.c: In function `checkpw':
>osdep.c:81: warning: initialization makes pointer from
>integer without a cast
>osdep.c:82: dereferencing pointer to incomplete type
>
>osdep.c:82: dereferencing pointer to incomplete type
>
>osdep.c:83: dereferencing pointer to incomplete type
>
>osdep.c:84: warning: assignment makes pointer from
>integer without a cast
>osdep.c:86: dereferencing pointer to incomplete type
>
>osdep.c:86: dereferencing pointer to incomplete type
>
>osdep.c:94: dereferencing pointer to incomplete type
>
>make[3]: *** [osdep.o] Ошибка 1
>make[3]: Выход из каталог `/usr/src/imap-2000/c-client'
>make[2]: *** [slx] Ошибка 2
>make[2]: Выход из каталог `/usr/src/imap-2000/c-client'
>make[1]: *** [OSTYPE] Ошибка 2
>make[1]: Выход из каталог `/usr/src/imap-2000'
>make: *** [slx] Ошибка 2

linux? и хочется webmail или самому стругануть
авторизацию через imap?

собирать свежий imap (imap-2000 устарел или хочется использовать -DCHROOT_SERVER (или как там бишь ее?)

Вместо -DCHROOT_SERVER правишь пару функций в которых вырезаешь запрос типа "../" в нижних
дистрибутивах

берешь ftp://ftp.cac.washington.edu/imap/imap-2001a.tar.Z
или
ftp://ftp.cac.washington.edu/imap/imap-2002.DEV.tar.Z

если нужен imap с ssl, ставишь ssl, потом
проверяешь ldconfig наличие библиотек ssl в системе
собираешь imap как нужно или как сказано в доках
проверяешь наличие cclient библиотек в системе
собираешь apache
собираешь mod_php4 с imap/imap-ssl (требует cclient библиотек imap'а)
ВСЕ.

  Рекомендовать в FAQ | Cообщить модератору | Наверх


Удалить

Индекс форумов | Темы | Пред. тема | След. тема
Пожалуйста, прежде чем написать сообщение, ознакомьтесь с данными рекомендациями.




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2025 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру