SEND-PR: -*- send-pr -*-
SEND-PR: Lines starting with `SEND-PR' will be removed automatically, as
SEND-PR: will all comments (text enclosed in `<' and `>').
SEND-PR:
From: alex
To: [EMAIL PROTECTED]
Subject: Getting 'are the same file' both sql-bench and mysql-test targets.

 >Description:
Hello,
I am trying to build mysql from the source tarball and perform the 
following commands:
- cd /home/alex/work/apps/pocket-web-apps/install-platform/mysql-3.23.52
- CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3 -felide-constructors 
-fno-exceptions -fno-rtti" ./configure --without-mysql-test 
--without-bench      --with-server-suffix=-max --with-innodb 
--prefix=/home/alex/work/apps/pocket-web-apps/install-platform/mysql-3.23.52 
--enable-assembler  --with-mysqld-ldflags=-all-static
- make
- make install

Any light you can shed on this predicament would be much appreciated.
Cheers.

The make install goes along pretty well until I get the following error:
- Making install in mysql-test
    make[1]: Entering directory 
`/home/alex/work/apps/pocket-web-apps/install-platform/mysql-3.23.52/mysql-test'
    make[2]: Entering directory 
`/home/alex/work/apps/pocket-web-apps/install-platform/mysql-3.23.52/mysql-test'
    make[2]: Nothing to be done for `install-exec-am'.
    /bin/sh ../mkinstalldirs 
/home/alex/work/apps/pocket-web-apps/install-platform/mysql-3.23.52/mysql-test
    /usr/bin/install -c mysql-test-run 
/home/alex/work/apps/pocket-web-apps/install-platform/mysql-3.23.52/mysql-test/mysql-test-run
   /usr/bin/install: `mysql-test-run' and 
`/home/alex/work/apps/pocket-web-apps/install-platform/mysql-3.23.52/mysql-test/mysql-test-run'
 
are the same file
   /usr/bin/install -c install_test_db 
/home/alex/work/apps/pocket-web-apps/install-platform/mysql-3.23.52/mysql-test/install_test_db
  /usr/bin/install: `install_test_db' and 
`/home/alex/work/apps/pocket-web-apps/install-platform/mysql-3.23.52/mysql-test/install_test_db'
 
are the same file
  make[2]: *** [install-testSCRIPTS] Error 1
  make[2]: Leaving directory 
`/home/alex/work/apps/pocket-web-apps/install-platform/mysql-3.23.52/mysql-test'
  make[1]: *** [install-am] Error 2
  make[1]: Leaving directory 
`/home/alex/work/apps/pocket-web-apps/install-platform/mysql-3.23.52/mysql-test'
  make: *** [install-recursive] Error 1

I used to get the same type of errors with the sql-bench files during 
make install until I added the "--without-bench" option to the configure
command.  I then assumed I could add the "--without-mysql-test" option 
to the configure command to work around the above error but for some 
reason the mysql-test Makefile still gets executed.

 >How-To-Repeat:
- mkdir -p 
/home/alex/work/apps/pocket-web-apps/install-platform/mysql-3.23.52
- cd /home/alex/work/apps/pocket-web-apps/install-platform/mysql-3.23.52
- CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3 -felide-constructors 
-fno-exceptions -fno-rtti" ./configure --without-mysql-test 
--without-bench      --with-server-suffix=-max --with-innodb 
--prefix=/home/alex/work/apps/pocket-web-apps/install-platform/mysql-3.23.52 
--enable-assembler  --with-mysqld-ldflags=-all-static
- make
- make install

 >Fix:
    <how to correct or work around the problem, if known (multiple lines)>

 >Submitter-Id:    <submitter ID>
 >Originator:    Alex Waltrip
 >Organization:
 Myself
 >MySQL support: [none | licence | email support | extended email support ]
 >Synopsis:    <synopsis of the problem (one line)>
 >Severity:    <[ non-critical | serious | critical ] (one line)>
 >Priority:    <[ low | medium | high ] (one line)>
 >Category:    mysql
 >Class:        <[ sw-bug | doc-bug | change-request | support ] (one line)>
 >Release:    mysql-3.23.52-max (Source distribution)

 >Environment:
    <machine, os, target, libraries (multiple lines)>
System: Linux topdog 2.4.9-34 #1 Sat Jun 1 06:32:14 EDT 2002 i686 unknown
Architecture: i686

Some paths:  /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc 
/usr/bin/cc
GCC: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.2 2.96-108.7.2)
Compilation info: CC='gcc'  CFLAGS='-O3'  CXX='gcc'  CXXFLAGS='-O3 
-felide-constructors -fno-exceptions -fno-rtti'  LDFLAGS=''
LIBC:
lrwxrwxrwx    1 root     root           13 Sep 12 14:53 /lib/libc.so.6 
-> libc-2.2.4.so
-rwxr-xr-x    2 root     root      1285884 Aug  7 08:13 /lib/libc-2.2.4.so
-rw-r--r--    1 root     root     27336078 Aug  7 06:56 /usr/lib/libc.a
-rw-r--r--    1 root     root          178 Aug  7 06:57 /usr/lib/libc.so
lrwxrwxrwx    1 root     root           10 Aug  5 17:01 
/usr/lib/libc-client.a -> c-client.a
Configure command: ./configure --without-mysql-test --without-bench 
--with-server-suffix=-max --with-innodb 
--prefix=/home/alex/work/apps/pocket-web-apps/install-platform/mysql-3.23.52 
--enable-assembler --with-mysqld-ldflags=-all-static CFLAGS=-O3 
'CXXFLAGS=-O3 -felide-constructors -fno-exceptions -fno-rtti' CXX=gcc



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to