php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13032 Using IMAP support with PHP Header file missing
Submitted: 2001-08-29 10:25 UTC Modified: 2001-10-02 04:53 UTC
From: jan dot suchanek at informatik dot uni-ulm dot de Assigned:
Status: Closed Package: IMAP related
PHP Version: 4.0.6 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jan dot suchanek at informatik dot uni-ulm dot de
New email:
PHP Version: OS:

 

 [2001-08-29 10:25 UTC] jan dot suchanek at informatik dot uni-ulm dot de
Hello!

I want to use php 4.0.6 in order to run horde/imp. Therefor
I need imap support. I include --with-imap as configuration
option. At the building process I get the following message:

In file included from /incoming/web/php-4.0.6/ext/imap/php_imap.h:11,
                 from internal_functions.c:32:
/usr/include/imap/c-client.h:30: osdep.h: No such file or directory

Which is not totally wrong since the file is not there. The Problem seems to be that the "osdep.h" ist not longer used by the imap client. In the sources of "imap-4.7c" this file not longer exists. You have to get it elsewhere. In the distribution (SuSE 7.2) I use there is a package for imap development support which has all header files for imap installed but the "osdep.h". I did not spent a lot of time with this problem but I think that the definitions declared in  "osdep.h" have been moved into another file. So perhaps you only need to fix the sources of the imap support in php...

Greetings, Jan Suchanek

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-29 14:22 UTC] sniper@php.net
You should first get at least the IMAP-2000 c-client sources
and use them. Also, you're propably not doing something
right there. Did you follow the instructions to install c-client lib / headers on http://www.php.net/imap ?

--Jani

 [2001-10-02 04:53 UTC] sander@php.net
No feedback. Closing.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 06 04:01:32 2024 UTC