[RH 7.1] ProFTPD met MySQL support compilen

Pagina: 1
Acties:

  • nrg
  • Registratie: April 2001
  • Laatst online: 15-08 16:48
âllo,

ik probeer hier nu op mijn Red Hat bak ProFTPd te compilen met de mod_sql en mod_mysql, maar dat gaat niet helemaal goed.

ik tik deze syntax in:
code:
1
./configure --with-modules=mod_sql:mod_sql_mysql --with-includes=/usr/include --with-libraries=/usr/lib/mysql

, welke ik van deze site heb.

als resultaat begint ie dan hevig te compilen, maar na t tijdje krijg ik dit:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
make[1]: Entering directory `/var/share/download/proftpd-1.2.4/modules'
gcc  -DLINUX  -I.. -I../include -I/usr/include -O2 -Wall -DUSESHADOW -c mod_core.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -O2 -Wall -DUSESHADOW -c mod_auth.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -O2 -Wall -DUSESHADOW -c mod_xfer.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -O2 -Wall -DUSESHADOW -c mod_site.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -O2 -Wall -DUSESHADOW -c mod_ls.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -O2 -Wall -DUSESHADOW -c mod_unixpw.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -O2 -Wall -DUSESHADOW -c mod_log.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -O2 -Wall -DUSESHADOW -c mod_pam.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -O2 -Wall -DUSESHADOW -c mod_sql_mysql.c
mod_sql_mysql.c:43:25: mysql/mysql.h: No such file or directory
make[1]: *** [mod_sql_mysql.o] Error 1
make[1]: Leaving directory `/var/share/download/proftpd-1.2.4/modules'
make: *** [modules] Error 2
[root@pallas proftpd-1.2.4]#

.

de dirs /usr/include en /usr/lib/mysql bestaan wel, en beide bevatten files.

iemand :'( ?

tnx alvast !

edit:
of weet iemand een rpm'metje waar deze support inzit ?

  • nrg
  • Registratie: April 2001
  • Laatst online: 15-08 16:48
kick >:)
of weet iemand nog een andere goede ftp server die dit kan ?

  • MyDyingBride
  • Registratie: November 2001
  • Laatst online: 28-07 20:19
Zoek eens met find naar mysql.h
Misschien moet je mysql-devel.versie.rpm ofzoiets installeren.

  • igmar
  • Registratie: April 2000
  • Laatst online: 29-06 18:56

igmar

ISO20022

gcc -DLINUX -I.. -I../include -I/usr/include -O2 -Wall -DUSESHADOW -c mod_sql_mysql.c
mod_sql_mysql.c:43:25: mysql/mysql.h: No such file or directory
make[1]: *** [mod_sql_mysql.o] Error 1
make[1]: Leaving directory `/var/share/download/proftpd-1.2.4/modules'
make: *** [modules] Error 2
[root@pallas proftpd-1.2.4]#[/code]
verander in mod_sql_mysql.c op regel 25 :

#include <mysql/mysql.h>

in

#include <mysql.h>

en type opnieuw make (in de goeie dir dat is)

Verwijderd

Ik heb hetzelfde probleem maar ik heb mysql ergens anders geinstalleerd, namelijk /usr/local/mysql

Als ik dan verander wat jij zei krijg ik alsnog de foutmelding,

wie kan me helpen

PS:

ik heb de error:

mod_sql_mysql.c:136:25: mysql/mysql.h: No such file or directory

dus niet op regel 43 maar op 136

  • Infern0
  • Registratie: September 2000
  • Laatst online: 16-03 23:51

Infern0

Hou die ontzettende rust!!

Probeer pure-ftpd eens http://www.pureftpd.org
Deze kan ook mysql, gebruik het zelf ook.

http://www.bsdfreaks.nl Home site: http://rob.lensen.nu /me was RobL


  • Tomaat
  • Registratie: November 2001
  • Laatst online: 13-05 13:50
Euh...misschien een domme vraag, maar wat zou je dan in die db willen opslaan? De users en passwords enzo?

Verwijderd

Ja, de ik sla de volgende info op:

username
password
uid
guid
homedir
count # aantal keren ingelogd
shell
voornaam
achternaam

  • RdeTuinman
  • Registratie: Mei 2001
  • Laatst online: 16-08 07:25
Probeer de include eens te zetten naar /usr/local/ (dus zonder mysql)

Ik heb het thuis ook draaien, maar ik kan nu even niet kijken, hoe ik hem geconfigured heb.

Verwijderd

Het compileren is inmiddels goedgegaan.
Alleen van het configgen wordt ik helemaal gek.

Iedereen kan nu inloggen, gaat niet goed dus
Pagina: 1