[Samba] [problem for] compile Samba + Mysql (pdbsql)
Frédéric Notet
fred at 2make2.eu
Mon Dec 31 09:51:40 GMT 2007
Hi everybody !
First, sorry for my bad english...
I try to compile my samba with mysql backend but i have a problem with
the compil of pdbsql (on a Debian ETCH installation)
Let's see what i did :
(The Bold lignes are the return error message that i have)
Thanks for you help...
1° installer outils de compilation et de subversion :
- aptitude install dpkg-dev
- aptitude install subversion
2° aller dans le répertoire /tmb
- cd /tmp
3° download des sources de samba :
- apt-get source samba
4° récupérer sources de pdbsql :
- wget http://kent.dl.sourceforge.net/sourceforge/pdbsql/pdbsql-0.2-samba-3.0.23.tar.bz2
- tar xvjf pdbsql-0.2-samba-3.0.23.tar.bz2
5° récupérer les dépendances de Samba :
- apt-get build-dep samba
6° je commence la compilation :
- cd samba-3.0.24/
- debian/rules configure-stamp
- cd source
- make proto
7° compiler pdbsql
- cd ../../pdbsql-0.2-samba-3.0.23
- ./configure --with-samba-source=../samba-3.0.24/source/
( = checking for Samba source directory... configure: error: smbd not
found, please specify --with-samba-dir)
- ./configure --with-samba-source=../samba-3.0.24/source/ --with-samba-
dir=../samba-3.0.24/source/
(= configure: WARNING: Can't find MySQL libraries, not building
pdb_mysql)
- ./configure --with-samba-source=../samba-3.0.24/source/ --with-samba-
dir=../samba-3.0.24/source/ --with-mysql-prefix=/usr/bin/mysql
(= checking for mysql_config... /usr/bin/mysql/bin/mysql_config
checking for MYSQL... ./configure: line 2512: /usr/bin/mysql/bin/
mysql_config: Not a directory
./configure: line 2513: /usr/bin/mysql/bin/mysql_config: Not a directory
yes
)
More information about the samba
mailing list