PHP 5.3 compile on Solaris 10 : make distclean :: fatal error


 
Thread Tools Search this Thread
Operating Systems Solaris PHP 5.3 compile on Solaris 10 : make distclean :: fatal error
# 1  
Old 10-19-2009
PHP 5.3 compile on Solaris 10 : make distclean :: fatal error

I'm trying to install PHP 5.3 on Solaris 10 .
I'm using etc/apache2
and installed mysql 5.1.39.
When I tried to compile PHP 5.3, with the following configure text,
Code:
./configure --with-mysql=/usr/local/mysql \
--with-mysqli=/usr/local/mysql/bin/mysql_config --with-zlib-dir=/usr/local \
--with-config-file-path=/usr/local/lib/php --with-freetype-dir=/usr/local \
--with-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-xpm-dir=/usr/local \
--with-xpm-dir=/usr/local --with-ttf=/usr/local

it makes fail and said mysql lib is not correct or somewhere else error.
So I tried to run "make distclean" command but it shows
"make: Fatal error: Don't know how to make target `distcelan'" error
How do I fix that problem?
I really need help and appreciate your help.

Last edited by pludi; 10-19-2009 at 08:36 AM.. Reason: code tags, please
# 2  
Old 10-19-2009
Quote:
Originally Posted by ppa108
So I tried to run "make distclean" command but it shows
"make: Fatal error: Don't know how to make target `distcelan'" error
According to the error message, you made a typo.
Otherwise, make sure there is a distclean entry in the Makefile.
# 3  
Old 10-19-2009
How to check the distclean entry in the make file?

Can you please help how to check the distclean entry in the make file?
Thanks.
# 4  
Old 10-20-2009
Quote:
Originally Posted by ppa108
Can you please help how to check the distclean entry in the make file?
Thanks.

did you read what jlliagre said? You typed "distcelan" , not
"distclean". correct the typo.
# 5  
Old 10-20-2009
Correctly type

Even I correctly type distclean it doesn't work
# 6  
Old 10-20-2009
what is the new error? Are you using GNU Make?
# 7  
Old 10-20-2009
Quote:
Originally Posted by ppa108
Can you please help how to check the distclean entry in the make file?
Start with:
Code:
grep distclean Makefile

Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. What is on Your Mind?

PHP Fatal Errors During SSL Cert Management - PHP Fatal error: xc_fcntl_mutex failed

Today, I noticed some errors in our SSL cert renewal log files, mostly related to domains where the IP address had changed. Concerned about this, rebuilt out SSL cert, which normally goes well without a hiccup. However, for today, for some reason which I cannot explain, there was a PHP error... (0 Replies)
Discussion started by: Neo
0 Replies

2. Solaris

Compile PHP as an Apache module on Solaris

Hi, I need to install php 5.5.30 as an apache (2.4.17) module on Solaris 10. Please any help is wellcome. Some aditional info: /usr/sfw/bin/gcc -v Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs bash-3.2# g++ -v Reading specs from... (0 Replies)
Discussion started by: lbslbs
0 Replies

3. Shell Programming and Scripting

automake distclean does work, but distcheck gives error

When I run autogen.sh(the auto hell stuffs+configure) and type "make distclean", I get a proper result(which can be built). However, when running autogen.sh and then "make distcheck", I get an error: ... rm -f Makefile ERROR: files left in build directory after distclean: ./src/MediaPlayer.c... (2 Replies)
Discussion started by: Tal500
2 Replies

4. UNIX for Dummies Questions & Answers

Compiling gcc to compile make to compile yaboot

I have just installed OpenBSD on a 333MHz PPC iMac G3. It has a 6GB HDD that has been partitioned as 1GB MacOS 8.5.1, 3GB MacOS X 10.3.9, 2GB OpenBSD 4.8. I now need to install a bootloader so that my computer can recognize the OpenBSD partition at startup. I have been trying to install... (0 Replies)
Discussion started by: t04st3r
0 Replies

5. Solaris

Compile php with curl on solaris 10 question

I have curl compiled into /usr/local. I needed to install another version into /usr/local/curl-7.19.5 and compile php using that directory. I believe I had done that but an ldd run against php shows it is using /usr/local/lib. I have my configure script below showing how it was built and php -i... (1 Reply)
Discussion started by: csgonan
1 Replies

6. Shell Programming and Scripting

make Fatal error: Command failed for target 'exp_inter.o'

I am trying to install Expect 5.43 on my Solaris 10 x86 PC. When I run the make file I get - Command failed for target 'exp_inter.o'. I tried to find the file (find / -name exp_inter.o -print 2>/dev/null) but could not. Where can I get this file from? (2 Replies)
Discussion started by: pazzy
2 Replies

7. Solaris

Gani Network Driver Won't Install - make: Fatal error: Don't know how to make targ...

I attached a README file that I will refer to. I successfully completed everything in the README file until step 4. # pwd /gani/gani-2.4.4 # ls COPYING Makefile.macros gem.c Makefile Makefile.sparc_gcc gem.h Makefile.amd64_gcc ... (1 Reply)
Discussion started by: Bradj47
1 Replies

8. Solaris

Errors trying to compile PHP for use with MySQL on Solaris 10

have installed and am using the GNU based tools from the Sunfreeware site to compile PHP. I already have Apache, MySQL, and Oracle compiled and working properly. Below is my configure string for my PHP build: ./configure --prefix=/usr/local/php5 \... (2 Replies)
Discussion started by: sunsysadm2003
2 Replies

9. UNIX for Dummies Questions & Answers

Solaris 9: make: Fatal error:Command failed for target

Hi everyone first of all you should know that I've been working with solaris for a few days only. :) I need to install some programs and I have had the following troubles: 1. When I used /.configure it showed the following message: "no acceptable C compiler found in $PATH" I included... (2 Replies)
Discussion started by: eldiego
2 Replies
Login or Register to Ask a Question