LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices



Reply
 
Search this Thread
Old 12-26-2012, 01:07 PM   #1
sanjivus
LQ Newbie
 
Registered: Dec 2012
Posts: 7

Rep: Reputation: Disabled
can not install/compile PHP on 64bit RHEL 6.3 : Error configure: error: utf8_mime2tex


I have successfully installed openssl and apache and i am facing problem installing php5.4.9.


Code:
./configure \
--prefix=/usr/local/php5 \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-config-file-path=/usr/local/php5/conf \
--with-gd \
--with-png \
--with-jpeg \
--with-zlib \
--with-freetype \
--enable-gd-native-ttf \
--with-informix=/home/informix \
--with-pdo-informix=/home/informix \
--with-mssql=/usr/local/freetds \
--with-openssl=/usr/local/ssl \
--with-openssl-dir=/usr/local/ssl \
--enable-shmop \
--enable-sockets \
--enable-sysvshm \
--with-curl \
--with-curlwrappers \
--enable-xml \
--enable-pdo \
--enable-shared \
--with-imap \
--with-imap-ssl \
--with-kerberos \
--enable-pcntl
I am getting the following error.

Code:
checking if iconv supports errno... yes
checking if your cpp allows macro usage in include lines... yes
checking for IMAP support... yes
checking for IMAP Kerberos support... yes
checking for IMAP SSL support... yes
checking for utf8_mime2text signature... new
checking for U8T_DECOMPOSE... 
configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information.
I did some research and found that I have to install libc-client-devel, but it is not available for 64 bit RHEL 6.3

Code:
[root@lab1 bin]# yum install libc-client-devel.i386
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.

Please use yum-config-manager to configure which software
repositories are used with Red Hat Subscription Management.

rhel-6-server-cf-tools-1-rpms                                                                       | 2.8 kB     00:00     
rhel-6-server-rhev-agent-rpms                                                                       | 2.8 kB     00:00     
rhel-6-server-rpms                                                                                  | 3.7 kB     00:00     
Setting up Install Process
No package libc-client-devel.i386 available.
Error: Nothing to do
[root@lab1 bin]# yum install libc-client-devel
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.

Please use yum-config-manager to configure which software
repositories are used with Red Hat Subscription Management.

rhel-6-server-cf-tools-1-rpms                                                                       | 2.8 kB     00:00     
rhel-6-server-rhev-agent-rpms                                                                       | 2.8 kB     00:00     
rhel-6-server-rpms                                                                                  | 3.7 kB     00:00     
Setting up Install Process
No package libc-client-devel available.
Error: Nothing to do
[root@lab1 bin]# yum install libc-client*
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.

Please use yum-config-manager to configure which software
repositories are used with Red Hat Subscription Management.

rhel-6-server-cf-tools-1-rpms                                                                       | 2.8 kB     00:00     
rhel-6-server-rhev-agent-rpms                                                                       | 2.8 kB     00:00     
rhel-6-server-rpms                                                                                  | 3.7 kB     00:00     
Setting up Install Process
No package libc-client* available.
Error: Nothing to do
[root@lab1 bin]# yum list libc-client*
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.

Please use yum-config-manager to configure which software
repositories are used with Red Hat Subscription Management.

rhel-6-server-cf-tools-1-rpms                                                                       | 2.8 kB     00:00     
rhel-6-server-rhev-agent-rpms                                                                       | 2.8 kB     00:00     
rhel-6-server-rpms                                                                                  | 3.7 kB     00:00     
Error: No matching Packages to list
[root@lab1 bin]# yum list libc-*
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.

Please use yum-config-manager to configure which software
repositories are used with Red Hat Subscription Management.

rhel-6-server-cf-tools-1-rpms                                                                       | 2.8 kB     00:00     
rhel-6-server-rhev-agent-rpms                                                                       | 2.8 kB     00:00     
rhel-6-server-rpms                                                                                  | 3.7 kB     00:00     
Error: No matching Packages to list
[root@lab1 bin]#
 
Old 12-26-2012, 05:24 PM   #2
sanjivus
LQ Newbie
 
Registered: Dec 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Following resolved the problem.


cd /usr/local
wget ftp://ftp.cac.washington.edu/imap/c-client.tar.Z
tar xvfz c-client.tar.Z
cd imap-2007f

edit /usr/local/imap-2007f/src/osdep/unix/os_sv2.c
change from
#define FD_SETSIZE 256
to
#define FD_SETSIZE 32768

make ln5 SSLTYPE=unix.nopwd EXTRACFLAGS=-fPIC
mkdir lib
mkdir includes
cp c-client/*.c lib/
cp c-client/*.h includes/
cp c-client/c-client.a /lib/libc-client.a
ln -s /usr/local/imap-2007f/lib/libc-client.a /usr/lib/libc-client.a
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] php install halts - configure: error: libxml2 version 2.6.11 or greater required. nonshatter Linux - Software 1 09-02-2010 09:39 AM
Conmpile error wen compile php:configure: error: libpng.(a|so) not found tanveer Linux - Software 5 02-03-2009 07:13 AM
Configure error of PHP 5.2.6 with mysql support on RHEL 5.2 x86-64 the_gripmaster Linux - Server 4 07-02-2008 01:03 PM
Install PHP - Error During Compile Sitaga Linux - Software 3 01-13-2005 01:04 PM
configure php install error obj63 Linux - Software 2 08-18-2004 10:19 PM


All times are GMT -5. The time now is 02:39 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration