Hmm, well if I remember, dbmail uses mysql_config to figure out where stuff 
is, so go to the command line and run this:

mysql_config --include

This should return the path to the include files for mysql. If you get a path 
back, look there to make sure that mysql.h is located there. 

If mysql_config returns an error, or if it's returning a path that doesn't 
contain mysql.h, then that's your problem. Not being familiar with fedora, I 
can't say how to fix this. 

You might see if there's additional mysql RPM's that you may not have 
installed and just pop 'em in until it works.. (that's the guess and check 
method that has worked wonders for me in the past.) 

Someone else around might actually run Fedora 3, and have the exact solution, 
sorry if I'm not more helpful. I'm still running redhat 7.. heh.

-Micah 

On Saturday 19 March 2005 09:07 pm, Maikel Dollé wrote:
> Thx for your reply! :)
>
> Interesting things is.....
>
> Ik did what you said on both machines.....
>
> On 1 (Redhat 8) it solved the problem, On my Fedora 3 machine I still have
> this problem.
>
> Any suggestions?
>
> Thx! :)
>
>
> -----Oorspronkelijk bericht-----
> Van: [EMAIL PROTECTED] namens Micah Stevens
> Verzonden: zo 20-3-2005 0:03
> Aan: DBMail mailinglist
> Onderwerp: Re: [Dbmail] Make all errors 2.0.4
>
>
> It's not finding the MySQL headers. Make sure you have the mysql-devel
> rpm's installed. If you do, you may have to set a --prefix during
> ./configure by hand.
>
> HTH
>
> -Micah
>
> On Saturday 19 March 2005 03:03 pm, Maikel Dollé wrote:
> > I hope someone can help me. I've tryed to install DBMail 2.0.4 on 2
> > different machines. 1. RedHat 8 and on the other Fedora Core 3.
> >
> > They both returns with the same error when I do "make all"
> >
> > ./configure --with-mysql runs without any errors.
> >
> > Thx!
> >
> > Here is the output:
> >
> > dbmysql.c:33:19: mysql.h: No such file or directory
> > dbmysql.c:49: error: syntax error before "conn"
> > dbmysql.c:49: warning: type defaults to `int' in declaration of `conn'
> > dbmysql.c:49: warning: data definition has no type or storage class
> > dbmysql.c:50: error: syntax error before '*' token
> > dbmysql.c:50: warning: type defaults to `int' in declaration of `res'
> > dbmysql.c:50: warning: data definition has no type or storage class
> > dbmysql.c:51: error: syntax error before '*' token
> > dbmysql.c:51: warning: type defaults to `int' in declaration of
> > `msgbuf_res' dbmysql.c:51: warning: data definition has no type or
> > storage class dbmysql.c:52: error: syntax error before '*' token
> > dbmysql.c:52: warning: type defaults to `int' in declaration of
> > `stored_res' dbmysql.c:52: warning: data definition has no type or
> > storage class dbmysql.c:53: error: syntax error before "last_row"
> > dbmysql.c:53: warning: type defaults to `int' in declaration of
> > `last_row' dbmysql.c:53: warning: data definition has no type or storage
> > class dbmysql.c: In function `db_connect':
> > dbmysql.c:69: warning: implicit declaration of function `mysql_init'
> > dbmysql.c:72: error: request for member `reconnect' in something not a
> > structure or union dbmysql.c:93: warning: implicit declaration of
> > function `mysql_real_connect' dbmysql.c:95: warning: comparison between
> > pointer and integer
> > dbmysql.c:97: warning: implicit declaration of function `mysql_error'
> > dbmysql.c:97: warning: format argument is not a pointer (arg 5)
> > dbmysql.c: In function `db_num_rows':
> > dbmysql.c:118: warning: implicit declaration of function `mysql_num_rows'
> > dbmysql.c: In function `db_num_fields':
> > dbmysql.c:126: warning: implicit declaration of function
> > `mysql_num_fields' dbmysql.c: In function `db_free_result':
> > dbmysql.c:132: warning: implicit declaration of function
> > `mysql_free_result' dbmysql.c: In function `db_get_result':
> > dbmysql.c:163: warning: implicit declaration of function
> > `mysql_data_seek' dbmysql.c:164: warning: implicit declaration of
> > function `mysql_fetch_row' dbmysql.c:180: warning: comparison between
> > pointer and integer
> > dbmysql.c:186: error: subscripted value is neither array nor pointer
> > dbmysql.c: In function `db_disconnect':
> > dbmysql.c:197: warning: implicit declaration of function `mysql_close'
> > dbmysql.c: In function `db_check_connection':
> > dbmysql.c:203: warning: implicit declaration of function `mysql_ping'
> > dbmysql.c: In function `db_insert_result':
> > dbmysql.c:218: warning: implicit declaration of function
> > `mysql_insert_id' dbmysql.c: In function `db_query':
> > dbmysql.c:236: warning: implicit declaration of function
> > `mysql_real_query' dbmysql.c:244: warning: format argument is not a
> > pointer (arg 5) dbmysql.c:260: warning: implicit declaration of function
> > `mysql_store_result' dbmysql.c:260: warning: assignment makes pointer
> > from integer without a cast dbmysql.c: In function `db_escape_direct':
> > dbmysql.c:269: warning: implicit declaration of function
> > `mysql_real_escape_string' dbmysql.c: In function `db_get_length':
> > dbmysql.c:312: warning: comparison between pointer and integer
> > dbmysql.c:317: warning: implicit declaration of function
> > `mysql_fetch_lengths' dbmysql.c:317: error: subscripted value is neither
> > array nor pointer dbmysql.c: In function `db_get_affected_rows':
> > dbmysql.c:322: warning: implicit declaration of function
> > `mysql_affected_rows' dbmysql.c: In function `db_set_result_set':
> > dbmysql.c:346: error: `MYSQL_RES' undeclared (first use in this function)
> > dbmysql.c:346: error: (Each undeclared identifier is reported only once
> > dbmysql.c:346: error: for each function it appears in.)
> > dbmysql.c:346: error: syntax error before ')' token
> > dbmysql.c: At top level:
> > dbmysql.c:344: warning: unused parameter 'the_result_set'
> > make[2]: *** [dbmysql.lo] Error 1
> > make[2]: Leaving directory `/usr/local/dbmail-2.0.4/mysql'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/usr/local/dbmail-2.0.4'
> > make: *** [all-recursive-am] Error 2
>
> _______________________________________________
> Dbmail mailing list
> [email protected]
> https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to