29 Lis 2003, 08:55
Fairy

Czesc.

Kompilacje przeprowadzam pod linuxem (debian). Pykam:
  ./configure --with-apache=../apache_1.3.27
--with-pgsql=/usr/local/pgsql --without-mysql --with-imap --with-imap-ssl

i wywala mi:
configure: error: Cannot find rfc822.h. Please check your IMAP installation.

a przeciez 3 linijki wyzej:
checking for IMAP support... yes

Natomiast w ./configure --help mam:
--with-imap[=DIR]       Include IMAP support. DIR is the c-client
install prefix.
   --with-imap-ssl=<DIR    IMAP: Include SSL support. DIR is the
OpenSSL install dir.

Musze tam podawac jakies katalogi, czy jest to opcjonale? I co z tym
katalogiem do OpenSSL - bede musiala tego OpenSSL'a tez zainstalowac
specjalnie zeby php obslugiwalo imap-ssl?

Co zrobic zeby mi dzialala obsluga imap i imap-ssl?

Pozdrawiam
Dominika




29 Lis 2003, 09:22
Lemat


Kompilacje przeprowadzam pod linuxem (debian). Pykam:
 ./configure --with-apache=../apache_1.3.27
--with-pgsql=/usr/local/pgsql --without-mysql --with-imap --with-imap-ssl

i wywala mi:
configure: error: Cannot find rfc822.h. Please check your IMAP
installation.



pod RH i Mandrejkiem ten plik znajduje sie w paczkach *-devel
pewnie podobnie będzie pod debianem


29 Lis 2003, 11:30
Artur M. Piwko

[Adresy w nagÂłówkach to mielona puÂłapka. JeÂśli chcesz odpisaĂŚ,]
[odpisz via nntp, na cGlwZW4=(at)beast.tu.kielce.pl lub wcale.]

Czesc.

Kompilacje przeprowadzam pod linuxem (debian). Pykam:
  ./configure --with-apache=../apache_1.3.27
--with-pgsql=/usr/local/pgsql --without-mysql --with-imap --with-imap-ssl



Jak juÂż to robisz pod Debianem, to dlaczego nie przez:

apt-get install php4-imap?

Artur


29 Lis 2003, 17:27
Fairy

Jak już to robisz pod Debianem, to dlaczego nie przez:

apt-get install php4-imap?



Juz to tak zladowalam i tez nic - nadal nie moge wkompilowac imap'a :(

Dominika




29 Lis 2003, 23:07
websafe

Przeczytaj dokladnie manual odnosnie imap'a,
tam jest elegancko opisane co trzeba miec (c-client) i jak niestety
trzeba zakombinowac (kopiowac z palca pliki) przed kompilacja
php.

a przeciez 3 linijki wyzej:
checking for IMAP support... yes



tak, ale checking odnosi sie do tego czy w parametrach podales
czy ma go uzyc, a juz konkretne sprawdzenie obecnosci plików
wywala blad. Jak mówilem - http://pl.php.net/manual/en/ref.imap.php

czyli

This extension requires the c-client library to be installed.  Grab the
latest version from ftp://ftp.cac.washington.edu/imap/ and compile
it. It's important that you do not copy the IMAP source files directly into
the system include directory as there may be conflicts. Instead, create
a new directory inside the system include directory,
such as /usr/local/imap-2000b/ (location and name depend on
your setup and IMAP version), and inside this new directory create
additional directories named lib/ and include/. From the c-client
directory from your IMAP source tree, copy all the *.h files into
include/ and all the *.c files into lib/. Additionally when you compiled
IMAP, a file named c-client-a was created. Also put this in the lib/
directory but rename it as libc-client.a.


30 Lis 2003, 05:32
Fairy

czyli

This extension requires the c-client library to be installed.  Grab
the latest version from ftp://ftp.cac.washington.edu/imap/ and
compile it. It's important that you do not copy the IMAP source files
directly into the system include directory as there may be conflicts.
Instead, create a new directory inside the system include directory,
such as /usr/local/imap-2000b/ (location and name depend on your
setup and IMAP version), and inside this new directory create
additional directories named lib/ and include/. From the c-client
directory from your IMAP source tree, copy all the *.h files into
include/ and all the *.c files into lib/. Additionally when you
compiled IMAP, a file named c-client-a was created. Also put this in
the lib/ directory but rename it as libc-client.a.



Oka - zladowalam plik od c-client. Kompiluje go: make ldb (jako ze mam
debiana) no i wywala mi blad:

osdep.c:66: security/pam_appl.h: No such file or directory
osdep.c:217: x509.h: No such file or directory
osdep.c:218: ssl.h: No such file or directory
osdep.c:220: pem.h: No such file or directory
osdep.c:221: buffer.h: No such file or directory
osdep.c:222: bio.h: No such file or directory
osdep.c:223: crypto.h: No such file or directory
osdep.c:224: rand.h: No such file or directory
make[3]: *** [osdep.o] Error 1
make[3]: Leaving directory `/usr/local/src/imap-2002e/c-client'
make[2]: *** [lnp] Error 2
make[2]: Leaving directory `/usr/local/src/imap-2002e/c-client'
make[1]: *** [OSTYPE] Error 2
make[1]: Leaving directory `/usr/local/src/imap-2002e'
make: *** [ldb] Error 2

Openssl'a mam, wiec nie wiem o co mu chodzi :(

Dominika


30 Lis 2003, 07:11
websafe

Ja to robie mniej wiecej tak (wywalilem inne gadzety odnosnie gd,ttf,png
itd)

PREFIX = /opt/webserver
# instalujemy openssl'a
    cd openssl-0.9.7c
    make clean
    ./config --prefix=${PREFIX} --openssldir=${PREFIX}/openssl
    make
    make test
    make install
    cd ..

# potem apache'a
cd apache_1.3.29
    make clean
   ./configure \
        --prefix=${PREFIX} \
        --sysconfdir=/etc/webserver \
        --server-uid=nobody \
        --server-gid=nogroup \
        --enable-module=most \
        --enable-shared=max \
        --localstatedir=${PREFIX}/var \
        --runtimedir=${PREFIX}/var/run \
        --logfiledir=${PREFIX}/var/log
    make
    make install
    cd ..

# nastepnie imap
    cd imap-2002e
    make slx SSLTYPE=nopwd
    cp ./c-client/*.h ${PREFIX}/include/
    cp ./c-client/*.c ${PREFIX}/lib/
    cp ./c-client/c-client.a ${PREFIX}/lib/libc-client.a
    cd ..

# i php na koniec
    cd php-4.3.4
    make clean
    ./configure \
        --prefix=${PREFIX} \
        --sysconfdir=/etc/webserver \
        --with-config-file-path=/etc/webserver \
        --with-config-file-scan-dir=/etc/webserver \
        --with-apxs=${PREFIX}/bin/apxs \
        --with-openssl=${PREFIX} \
        --enable-trans-sid \
        --with-imap=${PREFIX} \
        --with-imap-ssl=${PREFIX}/openssl \
    make
    make install


30 Lis 2003, 11:40
websafe


też zadziałało to powinno to wyglądać tak:

#!/bin/bash
PREFIX=/opt/webserver
BINDIR=${PREFIX}/bin
LIBDIR=${PREFIX}/lib
INCLUDEDIR=${PREFIX}/include
VARDIR=${PREFIX}/var
RUNDIR=${PREFIX}/var/run
LOGDIR=${PREFIX}/var/log

mkdir ${PREFIX}
mkdir ${BINDIR}
mkdir ${LIBDIR}
mkdir ${INCLUDEDIR}
mkdir ${PREFIX}/man
mkdir ${PREFIX}/man/man1
mkdir ${VARDIR}
mkdir ${RUNDIR}
mkdir ${LOGDIR}

a potem

# instalujemy openssl'a
    cd openssl-0.9.7c
....

i tak dalej.

Chodzi mi o to, że trzeba przed kompilowaniem
przygotować w tym katalogu (PREFIX) żeby wszystko
się poinstalowało bo pamiętam że z czymś były zwały :)

Oczywiscie założenie jest takie, że masz te same wersje zassane
(chyba to w miarę świeże są :) i rozpakowane wszystkie w jednym
katalogu.


php + redhat 7.2 || redhat 7.1
nowy php nowy problem ;)
Zapytanie mysql (mysql) w php
PHP i pole <select></select>
PDO - inny wynik w PHP inny z phpmyadmin
Zend Encoder vs ionCube PHP Encoder 3
Obiektowość PHP (stan obiektu po przeładowaniu strony)
  • driver bluedisk artworker c89
  • mms w lg u8130
  • ikony gdesk
  • dvd shrink burning software
  • zyczenia urodzinowe religijne
  • skystar technisat
  • podstrona 6200
  • powrot batmana 16
  • czy wyjawilybyscie swoje uczucia
  • Zestawienie wypowiedzi z for internetowych ; Index