php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6209 in some cases configure needs to be runned as root
Submitted: 2000-08-17 06:23 UTC Modified: 2000-08-17 19:35 UTC
From: sozzi at netw dot it Assigned:
Status: Closed Package: IMAP related
PHP Version: 4.0.1pl2 OS: Linux 2.2.16-3 (RedHat 6.2)
Private report: No CVE-ID: None
 [2000-08-17 06:23 UTC] sozzi at netw dot it
We've runned into some troubles while configuring php on Linux platform
with imap support.

(the configure line was: ./configure --with-mysql --with-apache=../apache_1.3.12 --enable-track-vars --with-xml --with-imap )
 
The script configure needs to be runned as root as long as it tries
to create some symbolic links in system directories. 
(  ln -s "$IMAP_DIR/c-client/c-client.a" "$IMAP_DIR/c-client/libc-client.a" >/dev/null 2>&1 )

Many users (like me) are used to run configure as normal users and they don't get any message about the missing links until they try to run make and see that something's missing ... the only way I found to understand what happened is to check the configure script.






   

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-17 19:35 UTC] sniper@php.net
Have you compiled the imap-lib by yourself or is it installed as rpm?

Using path with --with-imap should do the trick..just copy those libraries and header files 
into user writable directory and add the path prefix for that directory as path for --with-imap. 

See http://www.php.net/manual/ref.imap.php/ for info which files are needed.

--Jani


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 03:01:32 2024 UTC