php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37414 imap c-client compile fail
Submitted: 2006-05-11 20:44 UTC Modified: 2006-05-14 12:21 UTC
From: ian at alpha dot urban dot csuohio dot edu Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.1.4 OS: solaris
Private report: No CVE-ID: None
 [2006-05-11 20:44 UTC] ian at alpha dot urban dot csuohio dot edu
Description:
------------
when attempting to compile PHP 5.1.4 on Solaris 9 Sparc using GCC 3.3.2 from sunfreeware, if I try to compile with
IMAP extension using UW-IMAP 2004g (latest stable)

--with-imap=/usr/local/uwimap  --with-imap-ssl=/usr/local/openssl \

[snip lots of errors]
fcntl                               0x96c0      /opt/local/uwimap/c-client/libc-client.a(osdep.o)
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1

I've used the same build environment since PHP 4 through PHP 5.0.5 and it has worked fine.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-05-12 15:42 UTC] ian at alpha dot urban dot csuohio dot edu
Sorry, I should've checked http://www.php.net/manual/en/ref.imap.php
compiling UW-IMAP c-client with -fPIC and making a .so of it works.  I don't know why I never had a problem before PHP 5.1
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Aug 13 21:00:02 2025 UTC