UNIX Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsOperating SystemsUNIX Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 10th, 2011, 05:40 AM
senkerth senkerth is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2011
Posts: 6 senkerth User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 31 m 59 sec
Reputation Power: 0
Problem in php installation..

hi am senthil,

am trying to install PHP in my solaris 10 x86 ...
i installed oracle,apache,tomcat,mysql ..
the only thing am missing is PHP..

i tried to install php using ./configure ..

my ./configure command..

./configure \
--with-apxs=/usr/apache/bin/apxs \
--with-libxml-dir=/usr/include/libxml2/libxml \
--with-config-file-path=/etc/apache2 \
--with-mysql=shared,/opt/mysql/mysql \
--with-mysqli=shared,/opt/mysql/mysql/bin/mysql_config \
--with-iconv-dir=/usr/local \
--with-xpm-dir=/usr/share/gnome/gperfmeter --with-gd --with-jpeg-dir=/usr/sfw/lib/gimp/2.0/plug-ins \
--with-png-dir=/usr/sfw/lib/gimp/2.0/plug-ins/ --with-zlib --enable-mbstring


first everthing runs well ..
finally it showed me ..

"Thanking for using PHP"
it didn throw me any error..
when i typed
make command..

it showed me some messages and
finally i got this error..

Undefined first referenced
symbol in file
libiconv_close ext/gd/libgd/.libs/gdkanji.o
libiconv_open ext/gd/libgd/.libs/gdkanji.o
libiconv ext/gd/libgd/.libs/gdkanji.o
ld: fatal: Symbol referencing errors. No output written to sapi/cli/php
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `sapi/cli/php'

Reply With Quote
  #2  
Old March 10th, 2011, 06:17 AM
JClasen JClasen is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Jun 2007
Posts: 1,513 JClasen User rank is General 7th Grade (Above 100000 Reputation Level)JClasen User rank is General 7th Grade (Above 100000 Reputation Level)JClasen User rank is General 7th Grade (Above 100000 Reputation Level)JClasen User rank is General 7th Grade (Above 100000 Reputation Level)JClasen User rank is General 7th Grade (Above 100000 Reputation Level)JClasen User rank is General 7th Grade (Above 100000 Reputation Level)JClasen User rank is General 7th Grade (Above 100000 Reputation Level)JClasen User rank is General 7th Grade (Above 100000 Reputation Level)JClasen User rank is General 7th Grade (Above 100000 Reputation Level)JClasen User rank is General 7th Grade (Above 100000 Reputation Level)JClasen User rank is General 7th Grade (Above 100000 Reputation Level)JClasen User rank is General 7th Grade (Above 100000 Reputation Level)JClasen User rank is General 7th Grade (Above 100000 Reputation Level)JClasen User rank is General 7th Grade (Above 100000 Reputation Level)JClasen User rank is General 7th Grade (Above 100000 Reputation Level)JClasen User rank is General 7th Grade (Above 100000 Reputation Level) 
Time spent in forums: 2 Weeks 5 Days 7 h 10 m 22 sec
Reputation Power: 1423
Please export EXTRA_LIBS="-liconv" and try again.

Regards, Jens

Reply With Quote
  #3  
Old March 10th, 2011, 06:58 AM
senkerth senkerth is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2011
Posts: 6 senkerth User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 31 m 59 sec
Reputation Power: 0
thanks .. sorry m new to this...
how to export .. can u please tell me ..
in which file...?

Reply With Quote
  #4  
Old March 10th, 2011, 07:28 AM
senkerth senkerth is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2011
Posts: 6 senkerth User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 31 m 59 sec
Reputation Power: 0
m getting the following error when i tried this command ..

./config.nice | grep iconv

./configure: ./build/shtool: cannot execute
./configure: ./build/shtool: cannot execute
./configure: ./build/shtool: cannot execute
./configure: ./build/shtool: cannot execute
./configure: !: not found
configure: warning: bison versions supported for regeneration of the Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 2.4 2.4.1 (found: none).
configure: warning: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
./configure: !: not found
./configure: !: not found
./configure: ./build/shtool: cannot execute
checking for iconv support... yes
./configure: ./build/shtool: cannot execute
checking for iconv... (cached) yes
checking if iconv is glibc's... no
checking if using GNU libiconv... no
checking if iconv is Konstantin Chuguev's... no
checking if iconv supports errno... no
./configure: ./build/shtool: cannot execute
./configure: ./build/shtool: cannot execute
./configure: ./build/shtool: cannot execute
./configure: ./build/shtool: cannot execute
./configure: ./build/shtool: cannot execute
./configure: ./build/shtool: cannot execute
./configure: ./build/shtool: cannot execute
configure: warning: lemon versions supported for regeneration of libsqlite parsers: 1.0 (found: none).
./configure: ./build/shtool: cannot execute
checking iconv dir for XMLRPC-EPI... /usr/local
configure: warning: bison versions supported for regeneration of the Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 2.4 2.4.1 (found: none).
./configure: ./build/shtool: cannot execute
./configure: ./build/shtool: cannot execute
./configure: ./build/shtool: cannot execute
./configure: ./build/shtool: cannot execute
./configure: ./build/shtool: cannot execute

what does this error show...

Reply With Quote
  #5  
Old March 10th, 2011, 10:25 PM
senkerth senkerth is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2011
Posts: 6 senkerth User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 31 m 59 sec
Reputation Power: 0
can u guide me where am i going wrong ..

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsUNIX Help > Problem in php installation..

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap