LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-19-2008, 03:57 AM   #1
seacnboy
LQ Newbie
 
Registered: Oct 2008
Posts: 2

Rep: Reputation: 0
a problem of PHP installation


"../include/my_global.h:984:error: redeclaration of c++ built-in type 'bool'
make[2]: *** [my_new.0] Error 1
make[2]: Leaving directory `/usr/local/mysql/mysys'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/mysql'
make: *** [all] Error 2 "

gc++ is already installation
help?
 
Old 10-19-2008, 03:22 PM   #2
BlueC
Member
 
Registered: Aug 2007
Posts: 122

Rep: Reputation: 17
What distro are you using?

Can't you just install it from a package (deb/rpm) rather than building from source?
 
Old 10-19-2008, 11:16 PM   #3
seacnboy
LQ Newbie
 
Registered: Oct 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by BlueC View Post
What distro are you using?

Can't you just install it from a package (deb/rpm) rather than building from source?
red hat enterprise 5,
 
Old 10-20-2008, 02:06 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Is that a php or a mysql installation from source?
Anyway you should post all the build output if possible, or at lest a couple of lines just before the 1st error occurs.

Regards
 
Old 10-20-2008, 11:00 AM   #5
BlueC
Member
 
Registered: Aug 2007
Posts: 122

Rep: Reputation: 17
Quote:
Originally Posted by seacnboy View Post
red hat enterprise 5,
Why build from source then? Why not just:

Code:
yum install php
as root.
 
  


Reply



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
PHP installation problem on MP-RAS sunilvadranapu General 0 06-12-2006 11:59 PM
PHP installation problem ridge321 Linux - Newbie 6 02-06-2005 11:17 AM
php installation problem varala_kanth Linux - Software 1 06-07-2004 11:33 AM
php installation problem firedude Linux - Software 3 12-27-2003 09:10 AM
PHP Installation problem tina_gora Programming 6 05-31-2001 11:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:32 AM.

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
Open Source Consulting | Domain Registration