Douglas, your configure did make a differece (thanx) but it failed with
a different error this time. I'm quite sure actualy that someone had a
similar error in the past 2 weeks but I cannot seam to find it.
Does anyone remember?
cc -std1 -O -DDBUG_OFF -o thr_alarm
-DDEFAULT_BASEDIR=\"/usr/local/mysql\" -DHAV
E_CONFIG_H -I./../include -I../include -I.. -O -DDBUG_OFF -DMAIN
./thr_alarm.c l
ibmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lm -lpthread
-lmach -lexc
-lc
ld:
Unresolved:
asm
make[2]: *** [thr_alarm] Error 1
make[2]: Leaving directory `/usr/local/src/MYSql/mysql-3.22.22/mysys'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/MYSql/mysql-3.22.22'
make: *** [all-recursive-am] Error 2
I've removed "config.cache" them "make clean" then "touch c_asm" then
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"
Tried with and with out the last config line "#"
>On Wed, 5 May 1999, Douglas B. Jones wrote:
>
>
> 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.
>