Well, what I would do, is 'find -name mysql.h' to find the file that is missing and then use that path. I don't know if OSX has the find utility, may you can use the sherlock thing..
Poke around and find the main system include and lib directories and see if there are mysql/ subdirectories there, if so, that's probably your answer. for me it's: /usr/lib/mysql/ and /usr/include/mysql/ but I'm running linux, so that probably doesn't help. I hope that helps. (probably not..) -Micah On Sun October 26 2003 7:00 pm, dbmail wrote: > Thanks for the response. Still failed the make. See the transcript of my > build script below. Thanks. > > > Try /usr/local. > > > > -Micah > > > > On Sun October 26 2003 9:17 am, dbmail wrote: > >> I upgraded to Panther this weekend (nice!), and I'm having some problems > >> installing DBMail, or maybe I'm having problems installing MySQL. I am > >> following the same sequence as for OS X 10.2, but I am getting a "Make > >> failed" error due to "No such file or directory". > >> > >> After installing the MySQL Max package, MySQL seems to run fine. Then I > >> run the ./build.sh dbmail installer script for DBMail 1.2.1, using the > >> MySQL library directory: > >> > >> /usr/local/mysql/lib/ > >> > >> and the libraries: > >> > >> -lmysqlclient -lcrypto -lz > >> > >> I used the default include directory for MySQL [/usr/include/mysql/], > >> which as it turns out does not exist. So what include directory do I > >> use? > >> > >> _______________________________________________ > >> Dbmail mailing list > >> [email protected] > >> https://mailman.fastxs.nl/mailman/listinfo/dbmail > > > > _______________________________________________ > > Dbmail mailing list > > [email protected] > > https://mailman.fastxs.nl/mailman/listinfo/dbmail > > ./build.sh > This is the dbmail build script > I will have to ask you some questions about your system > > What database do you wish to use? Choices are (m)ysql and (p)ostgresql > > m > You have selected MySQL as database > The library directory for MySQL is now [/usr/local/lib/mysql/]. > Enter new directory or press RETURN to keep this setting: > /usr/local/mysql/lib/ > The include directory for MySQL is now [/usr/include/mysql/]. > Enter new directory or press RETURN to keep this setting: > /usr/local/ > The libraries are currently set to [-lmysqlclient -lcrypto]. > Enter new libraries (preceed each by -l) or press RETURN to keep this > setting: > -lmysqlclient -lcrypto -lz > ./build.sh: line 65: [-f: command not found > ./build.sh: line 68: [-f: command not found > > Creating makefile.. > > Done. You can now make dbmail by running 'make clean all'. > Do you want this to be executed right now? > y > rm -f *.o core mysql/*.o > cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o list.o list.c > cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o debug.o debug.c > cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o pipe.o pipe.c > cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o mime.o mime.c > cc -o mysql/dbmysql.o -c mysql/dbmysql.c -L/usr/local/mysql/lib/ > -I/usr/local/ -I. > mysql/dbmysql.c:12:19: mysql.h: No such file or directory > mysql/dbmysql.c:35: error: parse error before "conn" > mysql/dbmysql.c:35: warning: data definition has no type or storage class > mysql/dbmysql.c:36: error: parse error before '*' token > mysql/dbmysql.c:36: warning: data definition has no type or storage class > mysql/dbmysql.c:37: error: parse error before '*' token > mysql/dbmysql.c:37: warning: data definition has no type or storage class > mysql/dbmysql.c:38: error: parse error before "row" > mysql/dbmysql.c:38: warning: data definition has no type or storage class > mysql/dbmysql.c:41: error: parse error before "db_conn_t" > mysql/dbmysql.c:41: warning: data definition has no type or storage class > mysql/dbmysql.c: In function `db_get_quotum_used': > mysql/dbmysql.c:146: warning: assignment makes pointer from integer without > a cast > mysql/dbmysql.c:153: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:155: error: subscripted value is neither array nor pointer > mysql/dbmysql.c: In function `db_get_user_from_alias': > mysql/dbmysql.c:188: warning: assignment makes pointer from integer without > a cast > mysql/dbmysql.c:202: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:202: error: subscripted value is neither array nor pointer > mysql/dbmysql.c: In function `db_get_deliver_from_alias': > mysql/dbmysql.c:225: warning: assignment makes pointer from integer without > a cast > mysql/dbmysql.c:240: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:247: error: subscripted value is neither array nor pointer > mysql/dbmysql.c: In function `db_addalias': > mysql/dbmysql.c:273: warning: assignment makes pointer from integer without > a cast > mysql/dbmysql.c: In function `db_addalias_ext': > mysql/dbmysql.c:334: warning: assignment makes pointer from integer without > a cast > mysql/dbmysql.c: In function `db_get_nofity_address': > mysql/dbmysql.c:417: warning: assignment makes pointer from integer without > a cast > mysql/dbmysql.c:427: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:427: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:429: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:436: error: subscripted value is neither array nor pointer > mysql/dbmysql.c: In function `db_get_reply_body': > mysql/dbmysql.c:459: warning: assignment makes pointer from integer without > a cast > mysql/dbmysql.c:469: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:469: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:471: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:478: error: subscripted value is neither array nor pointer > mysql/dbmysql.c: In function `db_get_mailboxid': > mysql/dbmysql.c:504: warning: assignment makes pointer from integer without > a cast > mysql/dbmysql.c:523: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:523: error: subscripted value is neither array nor pointer > mysql/dbmysql.c: In function `db_get_message_mailboxid': > mysql/dbmysql.c:546: warning: assignment makes pointer from integer without > a cast > mysql/dbmysql.c:568: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:568: error: subscripted value is neither array nor pointer > mysql/dbmysql.c: In function `db_get_useridnr': > mysql/dbmysql.c:593: warning: assignment makes pointer from integer without > a cast > mysql/dbmysql.c:612: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:612: error: subscripted value is neither array nor pointer > mysql/dbmysql.c: In function `db_update_message_multiple': > mysql/dbmysql.c:689: warning: assignment makes pointer from integer without > a cast > mysql/dbmysql.c:714: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:714: error: subscripted value is neither array nor pointer > mysql/dbmysql.c: In function `db_rollback_insert': > mysql/dbmysql.c:877: warning: assignment makes pointer from integer without > a cast > mysql/dbmysql.c:891: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:891: error: subscripted value is neither array nor pointer > mysql/dbmysql.c: In function `db_get_user_aliases': > mysql/dbmysql.c:936: warning: assignment makes pointer from integer without > a cast > mysql/dbmysql.c:944: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:944: error: subscripted value is neither array nor pointer > mysql/dbmysql.c: In function `db_send_message_lines': > mysql/dbmysql.c:992: warning: assignment makes pointer from integer without > a cast > mysql/dbmysql.c:1006: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:1007: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c: In function `db_createsession': > mysql/dbmysql.c:1137: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c:1165: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:1165: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:1168: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:1168: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:1171: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:1171: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:1173: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:1176: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:1176: error: subscripted value is neither array nor pointer > mysql/dbmysql.c: In function `db_check_mailboxsize': > mysql/dbmysql.c:1241: error: `MYSQL_RES' undeclared (first use in this > function) > mysql/dbmysql.c:1241: error: (Each undeclared identifier is reported only > once > mysql/dbmysql.c:1241: error: for each function it appears in.) > mysql/dbmysql.c:1241: error: `localres' undeclared (first use in this > function) > mysql/dbmysql.c:1242: error: `MYSQL_ROW' undeclared (first use in this > function) > mysql/dbmysql.c:1242: error: parse error before "localrow" > mysql/dbmysql.c:1279: error: `localrow' undeclared (first use in this > function) > mysql/dbmysql.c: In function `db_check_sizelimit': > mysql/dbmysql.c:1316: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c:1335: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:1337: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:1337: error: subscripted value is neither array nor pointer > mysql/dbmysql.c: In function `db_deleted_purge': > mysql/dbmysql.c:1415: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c:1436: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:1436: error: subscripted value is neither array nor pointer > mysql/dbmysql.c: In function `db_log_ip': > mysql/dbmysql.c:1518: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c:1526: error: subscripted value is neither array nor pointer > mysql/dbmysql.c: In function `db_cleanup': > mysql/dbmysql.c:1594: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c: In function `db_empty_mailbox': > mysql/dbmysql.c:1626: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c:1650: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:1650: error: subscripted value is neither array nor pointer > mysql/dbmysql.c: In function `db_icheck_messageblks': > mysql/dbmysql.c:1692: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c:1706: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:1706: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:1720: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c:1743: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:1743: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:1744: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:1744: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:1766: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c: In function `db_icheck_messages': > mysql/dbmysql.c:1824: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c:1838: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:1838: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:1852: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c:1875: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:1875: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:1876: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:1876: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:1898: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c: In function `db_icheck_mailboxes': > mysql/dbmysql.c:1956: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c:1970: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:1970: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:1984: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c:2007: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:2007: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:2008: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:2008: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:2030: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c: In function `db_icheck_null_messages': > mysql/dbmysql.c:2088: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c:2102: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:2102: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:2116: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c:2139: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:2139: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:2161: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c:2170: error: subscripted value is neither array nor pointer > mysql/dbmysql.c: In function `db_delete_mailbox': > mysql/dbmysql.c:2246: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c:2282: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:2282: error: subscripted value is neither array nor pointer > mysql/dbmysql.c: In function `db_findmailbox': > mysql/dbmysql.c:2557: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c:2565: error: subscripted value is neither array nor pointer > mysql/dbmysql.c: In function `db_findmailbox_by_regex': > mysql/dbmysql.c:2609: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c:2636: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:2637: error: subscripted value is neither array nor pointer > mysql/dbmysql.c: In function `db_getmailbox': > mysql/dbmysql.c:2705: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c:2719: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:2721: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:2722: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:2723: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:2724: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:2725: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:2726: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:2741: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c:2761: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:2762: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:2764: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:2788: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c:2799: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:2799: error: subscripted value is neither array nor pointer > mysql/dbmysql.c: In function `db_listmailboxchildren': > mysql/dbmysql.c:2859: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c:2870: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:2884: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c:2934: error: subscripted value is neither array nor pointer > mysql/dbmysql.c: In function `db_isselectable': > mysql/dbmysql.c:2991: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c:3006: error: subscripted value is neither array nor pointer > mysql/dbmysql.c: In function `db_noinferiors': > mysql/dbmysql.c:3039: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c:3054: error: subscripted value is neither array nor pointer > mysql/dbmysql.c: In function `db_expunge': > mysql/dbmysql.c:3142: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c:3163: error: subscripted value is neither array nor pointer > mysql/dbmysql.c: In function `db_copymsg': > mysql/dbmysql.c:3260: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c:3275: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:3276: error: subscripted value is neither array nor pointer > mysql/dbmysql.c: In function `db_getmailboxname': > mysql/dbmysql.c:3430: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c:3446: error: subscripted value is neither array nor pointer > mysql/dbmysql.c: In function `db_first_unseen': > mysql/dbmysql.c:3495: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c:3503: error: subscripted value is neither array nor pointer > mysql/dbmysql.c: In function `db_get_msgflag': > mysql/dbmysql.c:3598: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c:3605: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:3606: error: subscripted value is neither array nor pointer > mysql/dbmysql.c: In function `db_get_msgflag_all': > mysql/dbmysql.c:3644: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c:3656: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:3656: error: subscripted value is neither array nor pointer > mysql/dbmysql.c: In function `db_get_msgdate': > mysql/dbmysql.c:3852: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c:3861: error: subscripted value is neither array nor pointer > mysql/dbmysql.c: In function `db_get_rfcsize': > mysql/dbmysql.c:3912: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c:3926: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:3927: error: subscripted value is neither array nor pointer > mysql/dbmysql.c: In function `db_get_msginfo_range': > mysql/dbmysql.c:3967: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c:4004: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:4004: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:4007: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:4008: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:4010: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:4011: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:4013: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:4014: error: subscripted value is neither array nor pointer > mysql/dbmysql.c: In function `db_get_main_header': > mysql/dbmysql.c:4058: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c:4074: error: subscripted value is neither array nor pointer > mysql/dbmysql.c: In function `db_search_range': > mysql/dbmysql.c:4141: warning: assignment makes pointer from integer > without a cast > mysql/dbmysql.c:4161: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:4187: error: subscripted value is neither array nor pointer > mysql/dbmysql.c:4193: error: subscripted value is neither array nor pointer > mysql/dbmysql.c: In function `db_mailbox_msg_match': > mysql/dbmysql.c:4228: warning: assignment makes pointer from integer > without a cast > make: *** [mysql/dbmysql.o] Error 1 > Sorry, Make failed. > Please report any problems to the mailing list: [email protected] > You can find more information (including how to subscribe to the > mailinglist) on www.dbmail.org > > _______________________________________________ > Dbmail mailing list > [email protected] > https://mailman.fastxs.nl/mailman/listinfo/dbmail
