>Description:
Running configure in an empty build directory to perform a VPATH build of mysql,
I noticed that configure created on temporary and one permanent file in $srcdir.
This shouldn't happen: $srcdir should be treated as read-only (e.g. to support
building from a read-only source partition, but also to avoid interference from
several different instances of configure running in different build dirs with
the same srcdir.

The files in question are $srcdir/ac_available_languages_fragment
(AVAILABLE_LANGUAGES_ERRORS_RULES in configure/configure.in) (transient) and
strings/ctype_autoconf.c (permanent).
        
>How-To-Repeat:
mkdir objdir
cd objdir
<path to srcdir>/configure
        
>Fix:
It may suffice to replace $srcdir by $top_builddir for 
AVAILABLE_LANGUAGES_ERRORS_RULES.

I'm not sure (and haven't tried yet) if a VPATH build would work if
ctype_autoconf.c were created in $builddir.
        

>Submitter-Id:  <submitter ID>
>Originator:    Rainer Orth
>Organization:  Faculty of Technology, Bielefeld University
>
>MySQL support: none
>Synopsis:      configure modifies $srcdir for VPATH build
>Severity:      non-critical
>Priority:      low
>Category:      mysql
>Class:         sw-bug
>Release:       mysql-3.23.55 (Source distribution)

>Environment:
        
System: SunOS padouk 5.8 Generic_108528-18 sun4u sparc SUNW,Sun-Fire-880
Architecture: sun4

Some paths:  /vol/perl-5.8/bin/perl /vol/gnu/bin/make /vol/gnu/bin/gcc 
/opt/SUNWspro/bin/cc
GCC: Reading specs from /vol/gnu/lib/gcc-lib/sparc-sun-solaris2.8/3.1/specs
Configured with: /vol/gnu/src/gcc/gcc-3.1/configure --prefix=/vol/gnu 
--with-local-prefix=/vol/gnu --disable-nls
Thread model: posix
gcc version 3.1
Compilation info: CC='gcc'  CFLAGS='-Wimplicit -Wreturn-type -Wswitch -Wtrigraphs 
-Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings 
-Wunused -mcpu=pentiumpro -O3 -fno-omit-frame-pointer'  CXX='gcc'  
CXXFLAGS='-Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts 
-Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Woverloaded-virtual 
-Wsign-promo -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor -felide-constructors 
-fno-exceptions -fno-rtti -mcpu=pentiumpro -O3 -fno-omit-frame-pointer'  LDFLAGS=''
LIBC: 
-rw-r--r--   1 root     bin       1766784 Aug  8  2002 /lib/libc.a
lrwxrwxrwx   1 root     root           11 Oct  8 15:59 /lib/libc.so -> ./libc.so.1
-rwxr-xr-x   1 root     bin       1146168 Aug  8  2002 /lib/libc.so.1
-rw-r--r--   1 root     bin       1766784 Aug  8  2002 /usr/lib/libc.a
lrwxrwxrwx   1 root     root           11 Oct  8 15:59 /usr/lib/libc.so -> ./libc.so.1
-rwxr-xr-x   1 root     bin       1146168 Aug  8  2002 /usr/lib/libc.so.1
Configure command: ./configure '--prefix=/usr/local/mysql' '--enable-assembler' 
'--with-extra-charsets=complex' '--enable-thread-safe-client' '--with-innodb' 
'--with-berkeley-db' 'CFLAGS=-Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment 
-W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Wunused 
-mcpu=pentiumpro -O3 -fno-omit-frame-pointer' 'CXXFLAGS=-Wimplicit -Wreturn-type 
-Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wparentheses 
-Wsign-compare -Wwrite-strings -Woverloaded-virtual -Wsign-promo -Wreorder 
-Wctor-dtor-privacy -Wnon-virtual-dtor -felide-constructors -fno-exceptions -fno-rtti 
-mcpu=pentiumpro -O3 -fno-omit-frame-pointer' '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