LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-20-2005, 07:21 AM   #1
karlson
LQ Newbie
 
Registered: Aug 2005
Posts: 3

Rep: Reputation: 0
Can't compile PHP5 on Sarge 3.1


Hi,

have a slight problem .. used apt-get install mysql-server-4.1 to install mysql .. and it worked perfectly .. i also have apache2.0.55 installed .. working fine .. so i decided to intall php5.. buuut .. i really don't know wich packages will i need, so found myself a HOWTO .. and decided to use good old ./configure make make install, but i have a problem ... can't configure ...
I have the following error...

configure: error: Cannot find MySQL header files under /usr/bin/mysql.
Note that the MySQL client library is not bundled anymore.

any suggestions ?

i would be very apriciated if u good point the packages wich i should get with apt-get ...?

thnx
 
Old 10-20-2005, 10:04 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You need to install the devel (dev) packages of mysql. I think you only installed the binary packages.
 
Old 10-22-2005, 02:06 AM   #3
karlson
LQ Newbie
 
Registered: Aug 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Yeah ... install libmysqlclient-dev .. and it configured nicely thnx!
 
  


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
DISCUSSION: ndiswrapper on Debian Sarge without having to compile anything MikeZila LinuxAnswers Discussion 64 01-14-2007 10:03 AM
PHP5 on Sarge? Ruben2 Debian 5 11-09-2005 10:57 AM
compile the new kernel 2.6 on Debian Sarge cccc Debian 7 08-01-2005 07:26 AM
Base install sarge - kernel compile? insyte Debian 3 08-13-2004 03:58 PM
PCMCIA-CS Compile Error on Debian Sarge PPC haimeltjnfg Linux - Software 0 05-23-2004 11:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:36 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
Open Source Consulting | Domain Registration