In the last episode (Sep 20), Hugh Sasse said:
> This got as far as the test phase, and tested successfully.  I did it
> this way because of the solaris settings being collected together. 
> However, when I installed, parts of the installation overwrote
> /usr/local/mysql despite my --prefix.  I already have a mysql setup
> there that I didn't want disturbed.
> 
> So I started again and built using this script:
> #!/bin/bash
> CFLAGS="-O3 -L$LD_LIBRARY_PATH" CXX=gcc MAKE=gmake \
>  CXXFLAGS="-O3 -L$LD_LIBRARY_PATH -felide-constructors -fno-exceptions 
>  -fno-rtti" ./configure \
>  --prefix=/usr/local/mysql --enable-assembler \
>  --enable-thread-safe-client \
>  --with-mysqld-ldflags=-all-static --with-tcp-port=3308 \
>  --with-unix-socket-path=/tmp/mysql4.sock \
>  --with-pthread --with-gnu-ld && \
>  gmake && \
>  cd mysql-test && ./mysql-test-run --force
>  exit

Get rid of the --with-mysqld-ldflags=-all-static flag; Solaris 9
doesn't provide a static pthread, and in Solaris 10, you can't build
static binaries at all:

http://partneradvantage.sun.com/protected/solaris10/adoptionkit/tech/proc.html
http://blogs.sun.com/roller/page/rie/?anchor=static_linking_where_did_it

-- 
        Dan Nelson
        [EMAIL PROTECTED]

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to