este dar probabil ca in mod_sql_mysql.c este este #include <myysql.h> in loc de #include <mysql/mysql.h> schimba manual sau reconfigure cu --mysql_include=/usr/include/mysql ( da cu --help ca nu mai tin bine minte sintaxa :P )
On Thu, 2003-10-09 at 20:18, Silviu Simen wrote: > si totusi : > > > gcc -DLINUX -I.. -I../include -O2 -Wall -c mod_sql_mysql.c > > > mod_sql_mysql.c:137:19: mysql.h: No such file or directory > > Probabil trebuie sa vezi caile; verifica si daca mysql.h exista pe hdd ... > > Silviu > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Radu > Bighiu > Sent: Thursday, October 09, 2003 1:11 PM > To: [EMAIL PROTECTED] > Subject: [rlug] Re: proFTPd + MySQL > > > > instaleaza mysql-devel > > e instalat :( > > # rpm -qa | grep mysql > > mod_auth_mysql-1.11-12 > mysql-server-3.23.58-1.9 > mysql-devel-3.23.58-1.9 > php-mysql-4.2.2-17.2 > mysql-3.23.58-1.9 > > > On Thu, 2003-10-09 at 19:55, Radu Bighiu wrote: > > > cofigure merge ok, a mers mereu dar la make: > > > > > > [EMAIL PROTECTED] proftpd-1.2.9rc2]# make > > > cd lib/ && make lib > > > make[1]: Entering directory `/tmp/proftpd-1.2.9rc2/lib' > > > make[1]: Nothing to be done for `lib'. > > > make[1]: Leaving directory `/tmp/proftpd-1.2.9rc2/lib' > > > cd src/ && make src > > > make[1]: Entering directory `/tmp/proftpd-1.2.9rc2/src' > > > make[1]: Nothing to be done for `src'. > > > make[1]: Leaving directory `/tmp/proftpd-1.2.9rc2/src' > > > cd modules/ && make modules > > > make[1]: Entering directory `/tmp/proftpd-1.2.9rc2/modules' > > > gcc -DLINUX -I.. -I../include -O2 -Wall -c mod_sql_mysql.c > > > mod_sql_mysql.c:137:19: mysql.h: No such file or directory > > > mod_sql_mysql.c:164: parse error before "MYSQL" > > > mod_sql_mysql.c:164: warning: no semicolon at end of struct or union > > > mod_sql_mysql.c: In function `_build_error': > > > mod_sql_mysql.c:331: warning: implicit declaration of function > `mysql_errno' > > > mod_sql_mysql.c:331: dereferencing pointer to incomplete type > > > mod_sql_mysql.c:333: warning: implicit declaration of function > `mysql_error' > > > mod_sql_mysql.c:333: dereferencing pointer to incomplete type > > > mod_sql_mysql.c: In function `_build_data': > > > mod_sql_mysql.c:344: `MYSQL' undeclared (first use in this function) > > > mod_sql_mysql.c:344: (Each undeclared identifier is reported only once > > > mod_sql_mysql.c:344: for each function it appears in.) > > > mod_sql_mysql.c:344: `mysql' undeclared (first use in this function) > > > mod_sql_mysql.c:345: `MYSQL_RES' undeclared (first use in this function) > > > mod_sql_mysql.c:345: `result' undeclared (first use in this function) > > > mod_sql_mysql.c:346: `MYSQL_ROW' undeclared (first use in this function) > > > mod_sql_mysql.c:346: parse error before "row" > > > mod_sql_mysql.c:355: dereferencing pointer to incomplete type > > > mod_sql_mysql.c:361: warning: implicit declaration of function > > > `mysql_store_resu > > > lt' > > > mod_sql_mysql.c:367: warning: implicit declaration of function > > > `mysql_num_rows' > > > mod_sql_mysql.c:368: warning: implicit declaration of function > > > `mysql_num_fields > > > ' > > > mod_sql_mysql.c:373: `row' undeclared (first use in this function) > > > mod_sql_mysql.c:373: warning: implicit declaration of function > > > `mysql_fetch_row' > > > mod_sql_mysql.c:383: warning: implicit declaration of function > > > `mysql_free_resul > > > t' > > > mod_sql_mysql.c: In function `cmd_open': > > > mod_sql_mysql.c:436: warning: implicit declaration of function > `mysql_ping' > > > mod_sql_mysql.c:436: dereferencing pointer to incomplete type > > > mod_sql_mysql.c:448: dereferencing pointer to incomplete type > > > mod_sql_mysql.c:448: warning: implicit declaration of function > `mysql_init' > > > mod_sql_mysql.c:450: dereferencing pointer to incomplete type > > > mod_sql_mysql.c:461: warning: implicit declaration of function > > > `mysql_options' > > > mod_sql_mysql.c:461: dereferencing pointer to incomplete type > > > mod_sql_mysql.c:461: `MYSQL_READ_DEFAULT_GROUP' undeclared (first use in > > > this fu > > > nction) > > > mod_sql_mysql.c:463: warning: implicit declaration of function > > > `mysql_real_conne > > > ct' > > > mod_sql_mysql.c:463: dereferencing pointer to incomplete type > > > mod_sql_mysql.c:463: dereferencing pointer to incomplete type > > > mod_sql_mysql.c:463: dereferencing pointer to incomplete type > > > mod_sql_mysql.c:463: dereferencing pointer to incomplete type > > > mod_sql_mysql.c:464: dereferencing pointer to incomplete type > > > mod_sql_mysql.c:464: dereferencing pointer to incomplete type > > > mod_sql_mysql.c:465: `CLIENT_INTERACTIVE' undeclared (first use in this > > > function > > > ) > > > mod_sql_mysql.c: In function `cmd_close': > > > mod_sql_mysql.c:559: warning: implicit declaration of function > `mysql_close' > > > mod_sql_mysql.c:559: dereferencing pointer to incomplete type > > > mod_sql_mysql.c:560: dereferencing pointer to incomplete type > > > mod_sql_mysql.c: In function `cmd_defineconnection': > > > mod_sql_mysql.c:626: sizeof applied to an incomplete type > > > mod_sql_mysql.c:629: dereferencing pointer to incomplete type > > > mod_sql_mysql.c:630: dereferencing pointer to incomplete type > > > mod_sql_mysql.c:661: dereferencing pointer to incomplete type > > > mod_sql_mysql.c:662: dereferencing pointer to incomplete type > > > mod_sql_mysql.c:663: dereferencing pointer to incomplete type > > > mod_sql_mysql.c:680: dereferencing pointer to incomplete type > > > mod_sql_mysql.c:681: dereferencing pointer to incomplete type > > > mod_sql_mysql.c:682: dereferencing pointer to incomplete type > > > mod_sql_mysql.c:683: dereferencing pointer to incomplete type > > > mod_sql_mysql.c: In function `cmd_select': > > > mod_sql_mysql.c:804: warning: implicit declaration of function > > > `mysql_real_query > > > ' > > > mod_sql_mysql.c:804: dereferencing pointer to incomplete type > > > mod_sql_mysql.c: In function `cmd_insert': > > > mod_sql_mysql.c:918: dereferencing pointer to incomplete type > > > mod_sql_mysql.c: In function `cmd_update': > > > mod_sql_mysql.c:1017: dereferencing pointer to incomplete type > > > mod_sql_mysql.c: In function `cmd_query': > > > mod_sql_mysql.c:1133: dereferencing pointer to incomplete type > > > mod_sql_mysql.c:1148: warning: implicit declaration of function > > > `mysql_field_cou > > > nt' > > > mod_sql_mysql.c:1148: dereferencing pointer to incomplete type > > > mod_sql_mysql.c: In function `cmd_escapestring': > > > mod_sql_mysql.c:1228: warning: implicit declaration of function > > > `mysql_escape_st > > > ring' > > > mod_sql_mysql.c: In function `cmd_checkauth': > > > mod_sql_mysql.c:1295: warning: implicit declaration of function > > > `make_scrambled_ > > > password' > > > make[1]: *** [mod_sql_mysql.o] Error 1 > > > make[1]: Leaving directory `/tmp/proftpd-1.2.9rc2/modules' > > > make: *** [modules] Error 2 > > > [EMAIL PROTECTED] proftpd-1.2.9rc2]# > > > > > > > tre sa-i dai ./configure --with-modules=mod_sql si apoi in functie de > > > > preferinte (mysql SAU postgresql) adaugi SI mod_sql_mysql deci: > > > > > > > > ./configure --with-modules=mod_sql:mod_sql_mysql > > > > > > > > Hint: contrib/README.mod_sql sau asa ceva > > > > > > > > PS: si daca inca iti da erori da si erorile aci > > > > > > > > - ---------------------------- > > > > Mihai RUSU Email: [EMAIL PROTECTED] > > > > GPG : http://dizzy.roedu.net/dizzy-gpg.txt WWW: > http://dizzy.roedu.net > > > > -----BEGIN PGP SIGNATURE----- > > > > Version: GnuPG v1.2.3 (GNU/Linux) > > > > > > > > iD8DBQE/hWssPZzOzrZY/1QRApJTAKCce8I7Qt7suJLhUeegxom94XyW8QCgnOiK > > > > MbniE04ONGzRcBlh2pe71nU= > > > > =1gd6 > > > > -----END PGP SIGNATURE----- > > > > > > > > --- > > > > Detalii despre listele noastre de mail: http://www.lug.ro/ > > > > > > > > > > > > > > > > > --- > > > Detalii despre listele noastre de mail: http://www.lug.ro/ > > -- > > Alexandru N. Barloiu <[EMAIL PROTECTED]> > > Dale Media > > > > > > --- > > Detalii despre listele noastre de mail: http://www.lug.ro/ > > > > > > > --- > Detalii despre listele noastre de mail: http://www.lug.ro/ > > > --- > Detalii despre listele noastre de mail: http://www.lug.ro/ -- Alexandru N. Barloiu <[EMAIL PROTECTED]> Dale Media --- Detalii despre listele noastre de mail: http://www.lug.ro/
