MySQL Lists are EOL. Please join:

List:General Discussion« Previous MessageNext Message »
From:gwadm Date:May 27 2004 11:10am
Subject:building 4.0.20 on Solaris2.7-x86 - make errors after configure
View as plain text  
>Description:
	make v3.77 (and same with 3.8) aborts with these errors

make[2]: Entering directory `/usr/local/mysql-4.0.20/readline'
rm -f libreadline.a
false cru libreadline.a readline.o funmap.o keymaps.o vi_mode.o parens.o rltty.o
complete.o bind.o isearch.o display.o signals.o util.o kill.o undo.o macro.o input.o
callback.o terminal.o xmalloc.o history.o histsearch.o histexpand.o histfile.o nls.o
search.o shell.o tilde.o
make[2]: *** [libreadline.a] Error 1
make[2]: Leaving directory `/usr/local/mysql-4.0.20/readline'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/mysql-4.0.20'
make: *** [all] Error 2


	
>How-To-Repeat:

 	Run configure with following options...other options give same result

	CC=gcc CFLAGS="-03 -fno-omit-frame-pointer" CXX=gcc CXXFLAGS="=-03 \
	> -fno-omit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti" \
	> ./configure  --prefix=/usr/local --localstatedir=/usr/home/mysql/data \
	> --libexecdir=/usr/local/bin --with-extra-charsets=complex  --enable-local-infile \
	> --disable-shared --with-innodb

	THEN  run make

	
>Fix:
	

>Submitter-Id:	Bill Lane
>Originator:	same
>Organization:  GloryWorks
 
>MySQL support: none...first time admin
>Synopsis:	make aborts with readline building mysql-4.0.20
>Severity:	serious 
>Priority:	high
>Category:	mysql
>Class:		sw-bug
>Release:	mysql-4.0.20 (Source distribution)

>C compiler:    2.95.3
>C++ compiler:  2.95.3
>Environment:
	
System: SunOS paul.gloryworks.com 5.7 Generic_106542-02 i86pc i386 i86pc
Architecture: i86pc

Some paths:  /usr/bin/perl /usr/local/bin/make /usr/local/bin/gcc
GCC: Reading specs from /usr/local/lib/gcc-lib/i386-pc-solaris2.7/2.95.2/specs
gcc version 2.95.2 19991024 (release)
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='ccache 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=''  ASFLAGS=''
LIBC: 
-rw-r--r--   1 bin      bin      1557648 Dec 11  1998 /lib/libc.a
lrwxrwxrwx   1 root     root          11 Jul 21  1999 /lib/libc.so -> ./libc.so.1
-rwxr-xr-x   1 bin      bin       947632 Dec 11  1998 /lib/libc.so.1
-rw-r--r--   1 bin      bin      1557648 Dec 11  1998 /usr/lib/libc.a
lrwxrwxrwx   1 root     root          11 Jul 21  1999 /usr/lib/libc.so -> ./libc.so.1
-rwxr-xr-x   1 bin      bin       947632 Dec 11  1998 /usr/lib/libc.so.1
Configure command: ./configure '--prefix=/usr/local/mysql' '--enable-assembler'
'--with-extra-charsets=complex' '--with-innodb' '--with-berkeley-db'
'--with-embedded-server' '--enable-thread-safe-client' '--with-openssl' '--with-vio'
'--with-raid' '--enable-local-infile' '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=ccache gcc'
Perl: This is perl, version 5.005_02 built for i86pc-solaris
Thread
building 4.0.20 on Solaris2.7-x86 - make errors after configuregwadm27 May
Re: building 4.0.20 on Solaris2.7-x86 - make errors after configureStephen E. Bacher28 May