How-To-Repeat: an error compiling mysql-3.23.51 on Solaris 9

How-To-Repeat: an error compiling mysql-3.23.51 on Solaris 9

am 22.06.2002 23:55:11 von clyuri

How-To-Repeat: an error compiling mysql-3.23.51 on Solaris 9

try to compile mysql-3.23.51 on :

* Solaris 9 Sparc

* gcc version 2.95.3 20010315 (release) which comes with the CD
Companion on the Solaris 9 box.

with this options :

set CFLAGS="-O3"
set CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti"
set CXX=gcc
./configure --prefix=/usr/local/mysql --enable-assembler --with-
mysqld-ldflags=-all-static

then, after I typed make some time passed and then displayed this :


make all-recursive
Making all in include
make: Fatal error: Don't know how to make target `../config.status'
Current working directory /home/apache_coldfusion/mysql/mysql-
3.23.51/include
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /home/apache_coldfusion/mysql/mysql-
3.23.51
*** Error code 1
make: Fatal error: Command failed for target `all-recursive-am'


what can it be? a guy in the net told me it as the sql_flex.cc that
was not correctly compiled...















------------------------------------------------------------ ---------
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 bugs-thread12130@lists.mysql.com
To unsubscribe, e-mail

How-To-Repeat: an error compiling mysql-3.23.51 on Solaris 9

am 24.06.2002 13:19:19 von Michael Widenius

Hi!

>>>>> "Cl" == Cl Yuri Huitron Alvarado writes:

Cl> How-To-Repeat: an error compiling mysql-3.23.51 on Solaris 9
Cl> try to compile mysql-3.23.51 on :

Cl> * Solaris 9 Sparc

Cl> * gcc version 2.95.3 20010315 (release) which comes with the CD
Cl> Companion on the Solaris 9 box.

Cl> with this options :

Cl> set CFLAGS="-O3"
Cl> set CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti"
Cl> set CXX=gcc
Cl> ./configure --prefix=/usr/local/mysql --enable-assembler --with-
Cl> mysqld-ldflags=-all-static

Cl> then, after I typed make some time passed and then displayed this :



Cl> make all-recursive
Cl> Making all in include
Cl> make: Fatal error: Don't know how to make target `../config.status'

Fix: Use gnu make instead of solaris make.

Regards,
Monty

--
For technical support contracts, goto https://order.mysql.com/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Michael Widenius
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, CTO
/_/ /_/\_, /___/\___\_\___/ Helsinki, Finland
<___/ www.mysql.com

------------------------------------------------------------ ---------
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 bugs-thread12139@lists.mysql.com
To unsubscribe, e-mail

Re: How-To-Repeat: an error compiling mysql-3.23.51 on Solaris 9

am 24.06.2002 14:39:37 von Sinisa Milivojevic

Cl. Yuri Huitron Alvarado writes:
> How-To-Repeat: an error compiling mysql-3.23.51 on Solaris 9
>
> try to compile mysql-3.23.51 on :
>
> * Solaris 9 Sparc
>
> * gcc version 2.95.3 20010315 (release) which comes with the CD
> Companion on the Solaris 9 box.
>
> with this options :
>
> set CFLAGS="-O3"
> set CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti"
> set CXX=gcc
> ./configure --prefix=/usr/local/mysql --enable-assembler --with-
> mysqld-ldflags=-all-static
>
> then, after I typed make some time passed and then displayed this :
>
>
> make all-recursive
> Making all in include
> make: Fatal error: Don't know how to make target `../config.status'
> Current working directory /home/apache_coldfusion/mysql/mysql-
> 3.23.51/include
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> Current working directory /home/apache_coldfusion/mysql/mysql-
> 3.23.51
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive-am'
>
>
> what can it be? a guy in the net told me it as the sql_flex.cc that
> was not correctly compiled...

Hi!

The above config.status should have been created by configure script.

This is probably some bug in GNU tools ported to Solaris 9.

Please repeat the above procedure, only before running configure run
automake and autoconf.

Also check UNIX permissions in that directory.

--
Regards,
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Fulltime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
<___/ www.mysql.com


------------------------------------------------------------ ---------
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 bugs-thread12141@lists.mysql.com
To unsubscribe, e-mail