LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-05-2004, 02:42 PM   #1
WebDesigner-EU
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Rep: Reputation: 0
PHP and IMAP


Hi,
I have a DirectAdmin server. DirectAdmin installs a lot of things like php, mysql... The problem is that I need PHP IMAP support. I have tried to download the imap-2004a and imap-2002e, but when I try to make lrh it gives me an error, and the lib client is not installed.

Does anyone know how to install PHP IMAP on a Fedora Core release 1?
 
Old 11-05-2004, 02:53 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Welcome to LQ.

Can you post the exact error message and the configure options you used.
 
Old 11-05-2004, 02:57 PM   #3
WebDesigner-EU
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for replying
Here is the error message:

Quote:
If you get No such file error messages for files x509.h, ssl.h,
pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL
is not installed on your system. Either install OpenSSL first
or build with command: make lnx SSLTYPE=none
`cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c
osdep.c:70:31: security/pam_appl.h: No such file or directory
osdep.c:87: warning: `struct pam_response' declared inside parameter list
osdep.c:87: warning: its scope is only this definition or declaration, which is probably not what you want
osdep.c:87: warning: `struct pam_message' declared inside parameter list
osdep.c: In function `checkpw_conv':
osdep.c:91: error: invalid application of `sizeof' to an incomplete type
osdep.c:92: error: dereferencing pointer to incomplete type
osdep.c:93: error: `PAM_PROMPT_ECHO_ON' undeclared (first use in this function)
osdep.c:93: error: (Each undeclared identifier is reported only once
osdep.c:93: error: for each function it appears in.)
osdep.c:94: error: invalid use of undefined type `struct pam_response'
osdep.c:94: error: dereferencing pointer to incomplete type
osdep.c:94: error: `PAM_SUCCESS' undeclared (first use in this function)
osdep.c:95: error: invalid use of undefined type `struct pam_response'
osdep.c:95: error: dereferencing pointer to incomplete type
osdep.c:97: error: `PAM_PROMPT_ECHO_OFF' undeclared (first use in this function)
osdep.c:98: error: invalid use of undefined type `struct pam_response'
osdep.c:98: error: dereferencing pointer to incomplete type
osdep.c:99: error: invalid use of undefined type `struct pam_response'
osdep.c:99: error: dereferencing pointer to incomplete type
osdep.c:101: error: `PAM_TEXT_INFO' undeclared (first use in this function)
osdep.c:102: error: `PAM_ERROR_MSG' undeclared (first use in this function)
osdep.c:103: error: invalid use of undefined type `struct pam_response'
osdep.c:103: error: dereferencing pointer to incomplete type
osdep.c:104: error: invalid use of undefined type `struct pam_response'
osdep.c:104: error: dereferencing pointer to incomplete type
osdep.c:108: error: `PAM_CONV_ERR' undeclared (first use in this function)
osdep.c: At top level:
osdep.c:119: error: syntax error before '*' token
osdep.c: In function `checkpw_cleanup':
osdep.c:124: error: `hdl' undeclared (first use in this function)
osdep.c:124: error: `PAM_DELETE_CRED' undeclared (first use in this function)
osdep.c:125: error: `PAM_SUCCESS' undeclared (first use in this function)
osdep.c: In function `checkpw':
osdep.c:136: error: `pam_handle_t' undeclared (first use in this function)
osdep.c:136: error: `hdl' undeclared (first use in this function)
osdep.c:137: error: storage size of `conv' isn't known
osdep.c:144: error: `PAM_SUCCESS' undeclared (first use in this function)
osdep.c:145: error: `PAM_RHOST' undeclared (first use in this function)
osdep.c:148: error: `PAM_ESTABLISH_CRED' undeclared (first use in this function)
osdep.c:150: error: `PAM_DELETE_CRED' undeclared (first use in this function)
osdep.c:151: error: `PAM_AUTH_ERR' undeclared (first use in this function)
make[3]: *** [osdep.o] Error 1
make[3]: Leaving directory `/home/jensemann/imap-2004a/c-client'
make[2]: *** [lnp] Error 2
make[2]: Leaving directory `/home/jensemann/imap-2004a/c-client'
make[1]: *** [OSTYPE] Error 2
make[1]: Leaving directory `/home/jensemann/imap-2004a'
make: *** [lrh] Error 2
 
Old 11-06-2004, 08:13 AM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You will need to install the pam security libraries, depending on your distribution there is probably a package for this like pam-devel.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FC3 and PHP IMAP Mercury3 Fedora 0 07-21-2005 01:56 PM
php+imap linuxtesting2 Linux - General 0 06-16-2004 08:06 PM
PHP with imap problems brooky Linux - Newbie 0 04-06-2004 03:33 PM
IMAP works but IMAP TLS doesn't under PHP (Horde IMP) theparadigm Linux - Software 0 11-17-2003 12:35 AM
PHP Or Imap gallet Linux - Software 1 08-08-2003 04:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration