Error on compiling php for GD on SOLARIS 10


 
Thread Tools Search this Thread
Operating Systems Solaris Error on compiling php for GD on SOLARIS 10
# 8  
Old 08-22-2006
Got the same error again...please help me. Is it better to uninstall php completely and install it again with all extensions enabled........if so please let me know how to uninstall and install in a proper way.

thanks
rohit
# 9  
Old 08-22-2006
Quote:
Originally Posted by callingrohit
I wanted to know, is there any change I would need to make in PHP.ini file.
Usually no. PHP can generally live well even when no configuration file is available, because all options have reasonable defaults.

If the PHP is installed from sources, you may try to simply remove the PHP/extension so and the CLI/CGI binary. I forgot whether the PHP makefile includes the "uninstall" target. If so, you may try to run "make uninstall". If you have removed the build workspace, you will not be able to uninstall this way.

If your PHP is provided by SUN or otherwise obtained in package format, read the manuals to find out how to do as I don't use SunOS myself.

You can't probably compile all extensions, as you may not have all prerequisites met. And I think there are no shortcuts. You need to specify each extension you would like to support as one or more configure option. Do not rely on auto-detection if possible. It frequently fails.
# 10  
Old 11-15-2006
For iconv to work you also need to have libgcc installed. Hope this helps...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Error while starting Apache after compiling PHP and Curl

Hello, I am facing an issue while starting the apache server after compiling php and curl. Below are the versions i am using. php-5.2.17 httpd-2.2.17 curl-7.16.0 CentOS5.5x64 Compiling above packages without curl working very fine but when trying to compile php with curl below error is... (1 Reply)
Discussion started by: sunnysthakur
1 Replies

2. UNIX Benchmarks

error compiling bm software under Solaris 10

anyone tried it , under Solaris 10 using make (part of SUNWsprot) and gcc 4.6 compiler.. got an error complaining about the Makefile script syntax... I don't think that's compatible at all... (2 Replies)
Discussion started by: ppchu99
2 Replies

3. HP-UX

Compiling php 5.3.3 on HP-UX 11.23

Hi, I'm trying to compile php 5.3.3 on HP 11.23 We've installed all the pre-requirements packages. Here is the configure: ./configure --prefix=/usr/local/php.5.3.3 --with-mysqli=mysqlnd --enable-libxml --with-libxml-dir=/usr/local/libxml2-2.7 --disable-dom The configure has no problem... (0 Replies)
Discussion started by: Yomtov
0 Replies

4. Solaris

Compiling Error in Samba 3.4.1 on Solaris 10

Hi all, I am getting the following error While installing Samba 3.4.1 on Solaris 10. #./autogen.sh ./autogen.sh : autoheader : not found ./autogen.sh : test : argument expected Please help me as I am in a critical state of the project. Warm regards, Sathya (10 Replies)
Discussion started by: sathya47
10 Replies

5. Programming

Sun Solaris C++ Compiling Error

Hello. I'm using SunStudio 12 Update 1. When compiling for x86, everything works fine. When compiling for SPARC, I get the following errors. I linked libCstd.so.1 explicitly, but I get the same errors. Would anyone be kind enough to step me through resolving this? Thank you very much. **... (2 Replies)
Discussion started by: acheong87
2 Replies

6. Infrastructure Monitoring

compiling netsnmp on solaris 8

Hello all Currently I am trying to install net-snmp-5.5 on a V480 Solaris 8 machine however things are hardly going smooth. I'm running configure will the following options. ./configure --prefix=/usr/local --with-mib-modules="smux ucd-snmp/diskio ucd-snmp/lmSensors host"... (2 Replies)
Discussion started by: krabu
2 Replies

7. Solaris

Compiling IRSSI on Solaris 10

How does one go aout compiling irssi locally on a fresh installation of Solaris 10, Out put from ./configure m command /download/1rss1-0.8.12 checking for a BSD-compatible install... ./install-sh -c checking whether build environment is sane... yes checking for gawk... no checking... (2 Replies)
Discussion started by: FloridaBSD
2 Replies

8. UNIX for Advanced & Expert Users

compiling php5 on solaris 9. please help.

I'm trying to compile PHP5. I've installed mysql5 successfully and apache1.3 is working great, but I get the message below when I compile PHP5. I double checked if I have libxml2 installed and I do. I installed libxml2 binary from sunfreeware. Please see below for details: ./configure... (5 Replies)
Discussion started by: xnightcrawl
5 Replies

9. Programming

Compiling in Solaris

Hi, I'm new to Unix. I'm trying to compile a shared library in Solaris running on x86. I get "void value not ignored as it ought to be" error when trying "make". But it compiles fine in Fedora. How can this happen? I think both are using the same type of compiler. What can I do to get around... (8 Replies)
Discussion started by: runnerb
8 Replies

10. UNIX for Dummies Questions & Answers

get error while compiling apache with php module

hi, i'm compiling apache with php module after i finish compile mysql-4.0.0-alpha. i do it as the follow steps after untar'ed them in the same directory, 1) cd apache_1.3.22 ./configure 2) cd php-4.0.6 ./configure --with-mysql=/usr/local/mysql \ --with-apache=../apache_1.3.22 \... (2 Replies)
Discussion started by: jApHEth
2 Replies
Login or Register to Ask a Question