Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mysql 3.23.51 compile hangs

Status
Not open for further replies.

paladin256

Technical User
Apr 16, 2002
189
US
I am compiling mysql 3.23.51 on solaris 9 for sparc. I can run configure fine but when i run make it hangs on a line reading
rm -f .libs/dbug.lo
gcc -DDEFAULT_CHARSET_HOME=\"/usr/local\" -DDATADIR=\"/usr/local/var\" -DSHAREDIR=\"/usr/local/share/mysql\" -DUNDEF_THREADS_HACK -DDONT_USE_RAID -I./../include -I../include -I./.. -I.. -I.. -O3 -DDBUG_OFF -DHAVE_RWLOCK_T -c dbug.c -fPIC -DPIC -o .libs/dbug.lo
gcc -DDEFAULT_CHARSET_HOME=\"/usr/local\" -DDATADIR=\"/usr/local/var\" -DSHAREDIR=\"/usr/local/share/mysql\" -DUNDEF_THREADS_HACK -DDONT_USE_RAID -I./../include -I../include -I./.. -I.. -I.. -O3 -DDBUG_OFF -DHAVE_RWLOCK_T -c dbug.c -o dbug.o >/dev/null 2>&1
mv -f .libs/dbug.lo dbug.lo
/bin/sh ../libtool --mode=link gcc -O3 -DDBUG_OFF -DHAVE_RWLOCK_T -o libmysqlclient.la -rpath /usr/local/lib/mysql -version-info 10:0:0 libmysql.lo net.lo violite.lo password.lo get_password.lo errmsg.lo my_init.lo my_static.lo my_malloc.lo my_realloc.lo my_create.lo my_delete.lo mf_tempfile.lo my_open.lo mf_casecnv.lo my_read.lo my_write.lo errors.lo my_error.lo my_getwd.lo my_div.lo mf_pack.lo my_messnc.lo mf_dirname.lo mf_fn_ext.lo mf_wcomp.lo typelib.lo safemalloc.lo my_alloc.lo mf_format.lo mf_path.lo mf_unixpath.lo my_fopen.lo my_symlink.lo my_fstream.lo mf_loadpath.lo my_pthread.lo my_thr_init.lo thr_mutex.lo mulalloc.lo string.lo default.lo my_compress.lo array.lo my_once.lo list.lo my_net.lo charset.lo hash.lo mf_iocache.lo my_seek.lo my_pread.lo mf_cache.lo my_gethostbyname.lo getopt.lo getopt1.lo getvar.lo my_lib.lo strmov.lo strxmov.lo strnmov.lo strmake.lo strend.lo strnlen.lo strfill.lo is_prefix.lo int2str.lo str2int.lo strinstr.lo strcont.lo strcend.lo bchange.lo bmove.lo bmove_upp.lo longlong2str.lo strtoull.lo strtoll.lo llstr.lo ctype.lo dbug.lo -lz -lcrypt -lgen -lsocket -lnsl -lm
rm -fr .libs/libmysqlclient.la .libs/libmysqlclient.* .libs/libmysqlclient.*

when I hit control c I get the following:

^Cmake[2]: *** [libmysqlclient.la] Error 208
make[1]: *** [all-recursive] Error 130
make: *** [all-recursive-am] Interrupt

Any input would be helpful.

TIA
 
Of course you would. Control + C sends a SIGINT to the program, causing it to interrupt.
Why are you doing it in the first place? //Daniel
 
My apologies. I am attempting to install it on Solaris 9 Sparc. I am just running then ./configure with no other flags. The configure rund with no problems then I run make and it gets to the line:

rm -fr .libs/libmysqlclient.la .libs/libmysqlclient.* .libs/libmysqlclient.*

and just seems to stop. I have left it on this line for at least an hour just in case it was doing something that took a long time to complete but it does not seem to progress.


 
I solved the problem. There was a problem with a symbolic link on one of the file in /lib. I had to point libz.so to libz.so.1
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top