Description:
Environment:
jpipes@shakedown:~$ make --version
GNU Make 3.80
jpipes@shakedown:~$ autoconf --version
autoconf (GNU Autoconf) 2.59
jpipes@shakedown:~$ libtool --version
ltmain.sh (GNU libtool) 1.5.6 (1.1220.2.95 2004/04/11 05:50:42) Debian: 224 $
jpipes@shakedown:~$ aclocal --version
aclocal (GNU automake) 1.9
jpipes@shakedown:~$ m4 --version
GNU M4 1.4.3
jpipes@shakedown:~$ bison --version
bison (GNU Bison) 2.0
jpipes@shakedown:~$ uname -r
2.6.12-10-386
Having build problems when issuing make.
How to repeat:
Please see above for environment
./configures correctly after ./BUILD/autorun.sh. Configured using following:
./configure \
--enable-thread-safe-client \
--with-plugin=blackhole \
--with-plugin=example \
--with-plugin=federated \
--with-plugin=archive \
--with-plugin=csv \
--with-plugin=example \
--without-docs \
--without-man \
--prefix=/usr/local/mysql-5.1 \
--with-tcp-port=3307 \
--with-unix-socket-path=/tmp/mysqld-5.1.sock \
--with-fast-mutexes
Issue make, and get following errors:
preserve-dup-deps --mode=link gcc -O3 -DDBUG_OFF -rdynamic -o factorial my_main.o factorial.o libdbug.a ../mysys/libmysys.a ../strings/libmystrings.a -lpthread -lcrypt -lnsl -lm -lpthread
make[2]: preserve-dup-deps: Command not found
make[2]: [factorial] Error 127 (ignored)
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -O3 -DDBUG_OFF -MT dbug_analyze.o -MD -MP -MF ".deps/dbug_analyze.Tpo" -c -o dbug_analyze.o dbug_analyze.c; \
then mv -f ".deps/dbug_analyze.Tpo" ".deps/dbug_analyze.Po"; else rm -f ".deps/dbug_analyze.Tpo"; exit 1; fi
preserve-dup-deps --mode=link gcc -O3 -DDBUG_OFF -rdynamic -o dbug_analyze dbug_analyze.o libdbug.a ../mysys/libmysys.a ../strings/libmystrings.a -lpthread -lcrypt -lnsl -lm -lpthread
make[2]: preserve-dup-deps: Command not found
make[2]: [dbug_analyze] Error 127 (ignored)
/bin/rm -f example1.r
/bin/sed -e 's!\\!\\\\!g' example1.c > example1.r
/bin/rm -f example2.r
/bin/sed -e 's!\\!\\\\!g' example2.c > example2.r
/bin/rm -f example3.r
/bin/sed -e 's!\\!\\\\!g' example3.c > example3.r
/bin/rm -f main.r
/bin/sed -e 's!\\!\\\\!g' main.c > main.r
/bin/rm -f factorial.r
/bin/sed -e 's!\\!\\\\!g' factorial.c > factorial.r
./factorial 1 2 3 4 5 | cat > output1.r
/bin/sh: ./factorial: No such file or directory
./factorial -\#t:o 2 3 | cat >output2.r
/bin/sh: ./factorial: No such file or directory
./factorial -\#d:t:o 3 | cat >output3.r
/bin/sh: ./factorial: No such file or directory
./factorial -\#d,result:o 4 | cat >output4.r
/bin/sh: ./factorial: No such file or directory
./factorial -\#d:f,factorial:F:L:o 3 | cat >output5.r
/bin/sh: ./factorial: No such file or directory
nroff -mm user.r > user.t
troff: fatal error: can't find macro file m
make[2]: [user.t] Error 1 (ignored)
groff -mm user.r > user.ps
troff: fatal error: can't find macro file m
make[2]: [user.ps] Error 1 (ignored)
make[2]: Leaving directory `/home/jpipes/workspace/mysql-source/mysql-5.1/dbug'
Making all in extra
make[2]: Entering directory `/home/jpipes/workspace/mysql-source/mysql-5.1/extra'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I../sql -O3 -DDBUG_OFF -MT comp_err.o -MD -MP -MF ".deps/comp_err.Tpo" -c -o comp_err.o comp_err.c; \
then mv -f ".deps/comp_err.Tpo" ".deps/comp_err.Po"; else rm -f ".deps/comp_err.Tpo"; exit 1; fi
preserve-dup-deps --mode=link gcc -O3 -DDBUG_OFF -rdynamic -o comp_err comp_err.o ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lpthread -lcrypt -lnsl -lm -lpthread
make[2]: preserve-dup-deps: Command not found
make[2]: [comp_err] Error 127 (ignored)
../extra/comp_err \
--charset=../sql/share/charsets \
--out-dir=../sql/share/ \
--header_file=../include/mysqld_error.h \
--name_file=../include/mysqld_ername.h \
--state_file=../include/sql_state.h \
--in_file=../sql/share/errmsg.txt
make[2]: ../extra/comp_err: Command not found
make[2]: *** [../include/mysqld_error.h] Error 127
make[2]: Leaving directory `/home/jpipes/workspace/mysql-source/mysql-5.1/extra'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jpipes/workspace/mysql-source/mysql-5.1'
make: *** [all] Error 2
Suggested fix:
No idea. Not sure if I'm missing something...