List:General Discussion« Previous MessageNext Message »
From:Douglas B. Jones Date:May 5 1999 11:49am
Subject:Re: Probs Compiling MySql3.2.2.22 on Digital UNIX
View as plain text  
Hi,

Just got version .22 to compile yesterday with the following script:

#!/bin/csh
cd mysql-3.22.22
setenv CC "cc -pthread"
setenv CXX "cxx -pthread -O"
./configure --prefix=/usr/local/mysql\
        --with-mysqld-ldflags=-all-static --disable-shared\
        --with-named-thread-libs="-lmach -lexc -lc"
#       --with-named-thread-libs="-lpthread -lmach -lexc -lc"
make

Note that I did not use -lpthread, since that libs does not
exist as far as I can find. Thanks to:

        Michael Widenius <monty@stripped>

for putting me on the right track about the -with-named-threads-libs
option. See in the doc this (which I guess I missed earlier) lead me
down the path. Just had to delete the -lpthread part. I have not tried
to run this version yet, but I assume everything will be ok.

Cheers,
Douglas
"A. Brandic" wrote:
> 
> On Thu, 15 Apr 1999, A. Brandic wrote:
> 
>    Hi,
>       I'm trying to compile MySql version 3.2.2.21 on a DEC Alpha 800 running
>   Digital Unix 4.0e.
> 
> 
>   (Output from 'make')
> --------------------------------------------------------------------
> cxx: Warning: /usr/include/sys/select.h, line 223: Expected type
>           "void (void *, unsigned long) C" is incompatible with declared type
>           "void (char *, int) C", function will not be made intrinsic
> extern void bzero __((char *, int));
> ------------^
> /bin/sh ../libtool --mode=link cxx -O   -DDBUG_OFF  -o mysql  mysql.o
> readline.o
>  sql_string.o completion_hash.o ../readline/libreadline.a -lcurses
> libmysqlclien
> t.la -lm
> cxx -O -DDBUG_OFF -o .libs/mysql mysql.o readline.o sql_string.o
> completion_hash
> .o ../readline/libreadline.a -lcurses -Wl,-rpath
> -Wl,/usr/local/opt/MYSQL/lib/my
> sql .libs/libmysqlclient.so -lm -lm
> ld (prelink):
> Can't open: /usr/local/opt/MYSQL/lib/mysql (No such file or directory)
> ld:
> Can't open: /usr/local/opt/MYSQL/lib/mysql (No such file or directory)
> make[2]: *** [mysql] Error 1
> make[2]: Leaving directory `/usr/local/src/MYSql/mysql-3.22.22/client'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/MYSql/mysql-3.22.22'
> make: *** [all-recursive-am] Error 2
> -----------------------------------------------------------------
> 
> First of all I've got mysql v21 binary installed already and this works OK.
> 
> I tried to configure with all the possible options listed in the manual
> (every time before running a different configure option I've deleted old
> "config.cache" and run "make clean").  I've tried "tuoch c_asm.h" :).
> 
> Any ideas,
> 
> Thanx
> 
> Ajdin
> 
> ---------------------------------------------------------------------
> Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
> posting. To request this thread, e-mail mysql-thread2897@stripped
> 
> To unsubscribe, send a message to the address shown in the
> List-Unsubscribe header of this message. If you cannot see it,
> e-mail mysql-unsubscribe@stripped instead.
Thread
Probs Compiling MySql3.2.2.21 on Digital UNIXA. Brandic13 Apr
  • Probs Compiling MySql3.2.2.21 on Digital UNIXJani Tolonen14 Apr
  • Re: Probs Compiling MySql3.2.2.21 on Digital UNIXA. Brandic15 Apr
    • Re: Probs Compiling MySql3.2.2.21 on Digital UNIXA. Brandic15 Apr
    • Re: Probs Compiling MySql3.2.2.22 on Digital UNIXA. Brandic5 May
      • Re: Probs Compiling MySql3.2.2.22 on Digital UNIXDouglas B. Jones5 May
        • Re: Probs Compiling MySql3.2.2.22 on Digital UNIXA. Brandic5 May
          • Re: Probs Compiling MySql3.2.2.22 on Digital UNIXMichael Widenius11 May