This is a discussion on [Proftpd-user] Header problem with mod_sql_mysql.c - proftpd ; --===============0289222094== Content-Type: multipart/signed; boundary="nextPart1673981.NcA0Cq96cT"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1673981.NcA0Cq96cT Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I'm getting the following error building 1.3.1rc2 on FreeBSD. cc -DHAVE_CONFIG_H -DFREEBSD6_2 -DFREEBSD6 -I.. -I../include -I/usr/local/= include -I/include -O2 -fno-strict-aliasing -pipe -Wall -c=20 mod_sql_mysql.c ...
--===============0289222094==
Content-Type: multipart/signed; boundary="nextPart1673981.NcA0Cq96cT";
protocol="application/pgp-signature"; micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
--nextPart1673981.NcA0Cq96cT
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
I'm getting the following error building 1.3.1rc2 on FreeBSD.
cc -DHAVE_CONFIG_H -DFREEBSD6_2 -DFREEBSD6 -I.. -I../include -I/usr/local/=
include -I/include -O2 -fno-strict-aliasing -pipe -Wall -c=20
mod_sql_mysql.c
mod_sql_mysql.c:138:19: mysql.h: No such file or directory
mod_sql_mysql.c:164: error: syntax error before "MYSQL"
The following patch is added before build:
=2D--------------------------------------------------
=2D-- contrib/mod_sql_mysql.c.orig Tue Dec 12 19:52:15 2006
+++ contrib/mod_sql_mysql.c Tue Dec 12 20:02:56 2006
@@ -135,7 +135,7 @@
#include "conf.h"
#include "../contrib/mod_sql.h"
=20
=2D#include
+#include
=20
/*=20
* timer-handling code adds the need for a couple of forward declarations
=2D--------------------------------------------------
/usr/local/include is in the path and this worked in 1.3.1rc1, but rc2 isn'=
t=20
finding that header.
Beech (FreeBSD Maintainer)
=2D-=20
=2D------------------------------------------------------------------------=
=2D-------------
Beech Rintoul - Sys. Administrator - beech@alaskaparadise.com
/"\ ASCII Ribbon Campaign | Alaska Paradise Travel
\ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310
X - NO Word docs in e-mail | Anchorage, AK 99501
/ \ - Please visit Alaska Paradise - http://www.alaskaparadise.com
=2D------------------------------------------------------------------------=
=2D-------------
--nextPart1673981.NcA0Cq96cT
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)
iD8DBQBFrmspp5D0B1NlT4URAh/3AJ40H0qttmIQpSrCoSEJ7c90mhx0RgCaA9pd
esUZf2AcBz6EcVGEf2LZH/8=
=TELQ
-----END PGP SIGNATURE-----
--nextPart1673981.NcA0Cq96cT--
--===============0289222094==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?p...rge&CID=DEVDEV
--===============0289222094==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
ProFTPD Users List
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
--===============0289222094==--