Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'apache and php and mysql' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
apache and php and mysql
Authored by: Anonymous on Apr 01, '01 10:48:58PM

I've just tried to configure and compile mySQL 3.23.36 on OSX and have run into some compile errors with (apparently) MIT pthreads. I've followed tuxzone's directions, changing the sql/mysqld.cc file and compiling zlib. Configure works, but I get these errors when compiling:

/bin/sh ../mkinstalldirs /usr/local/mysql/include/mysql
/usr/bin/install -c -m 644 readline.h /usr/local/mysql/include/mysql/readline.h
/usr/bin/install -c -m 644 chardefs.h /usr/local/mysql/include/mysql/chardefs.h
/usr/bin/install -c -m 644 keymaps.h /usr/local/mysql/include/mysql/keymaps.h
/usr/bin/install -c -m 644 history.h /usr/local/mysql/include/mysql/history.h
/usr/bin/install -c -m 644 tilde.h /usr/local/mysql/include/mysql/tilde.h
Making install in mit-pthreads
cd: no such file or directory: /home/my/tmp/BUILD/mit-pthreads
GNUmakefile:55: /pthreads/GNUmakefile.inc: No such file or directory
GNUmakefile:56: /stdlib/GNUmakefile.inc: No such file or directory
GNUmakefile:57: /stdio/GNUmakefile.inc: No such file or directory
GNUmakefile:58: /string/GNUmakefile.inc: No such file or directory
GNUmakefile:59: /gen/GNUmakefile.inc: No such file or directory
GNUmakefile:60: /net/GNUmakefile.inc: No such file or directory
GNUmakefile:61: /scripts/GNUmakefile.inc: No such file or directory
make[1]: *** No rule to make target `/scripts/GNUmakefile.inc'. Stop.
make: *** [install-recursive] Error 1

Any idea where my little train is leaving the tracks?



[ Reply to This | # ]
apache and php and mysql
Authored by: Anonymous on Apr 02, '01 05:24:40AM

I had this problem with mit-threads, and solved it by deleting the source directory completely, downloading a fresh copy, and starting all over again. Don't forget to fix the bug:

edit msql/mysqld.cc to fix a compile error
sa.sa_handler=( void (*)() ) handle_segfault;
sa.sa_handler=( void (*)(int) ) handle_segfault;



[ Reply to This | # ]