Bug #54628 make and make install for src.rpm failed make:[all-recursive}Error 1
Submitted: 19 Jun 2010 8:06 Modified: 27 Apr 2018 12:56
Reporter: cynthia ocharo Email Updates:
Status: Unsupported Impact on me:
None 
Category:MySQL Server: Compiling Severity:S2 (Serious)
Version:5.1.43 OS:Linux (sles 10)
Assigned to: CPU Architecture:Any

[19 Jun 2010 8:06] cynthia ocharo
Description:
G_H -I. -I../include -I../zlib -I../include -I../include -I.    -O3    -fno-implicit-templates -fno-exceptions -fno-rtti -MT my_new.o -MD -MP -MF .deps/my_new.Tpo -c -o my_new.o my_new.cc
In file included from mysys_priv.h:16,
                 from my_new.cc:21:
../include/my_global.h:1516:15: error: new: No such file or directory
make[1]: *** [my_new.o] Error 1
make[1]: Leaving directory `/usr/src/packages/SOURCES/mysql-5.1.43sp1/mysys'
make: *** [all-recursive] Error 1

How to repeat:
I downloaded MySQL-advanced-gpl-5.1.43sp1-1.sles10.src.rpm.
rpm -ivh MySQL-advanced-gpl-5.1.43sp1-1.sles10.src.rpm
the cd to /usr/src/packages/sources
then tar zxvf mysql-5.1.43sp1.tar.gz
then cd to mysql-5.1.43
./configure --prefix=/usr/local/mysql
make
it compiles for a hile then this error:
G_H -I. -I../include -I../zlib -I../include -I../include -I.    -O3    -fno-implicit-templates -fno-exceptions -fno-rtti -MT my_new.o -MD -MP -MF .deps/my_new.Tpo -c -o my_new.o my_new.cc
In file included from mysys_priv.h:16,
                 from my_new.cc:21:
../include/my_global.h:1516:15: error: new: No such file or directory
make[1]: *** [my_new.o] Error 1
make[1]: Leaving directory `/usr/src/packages/SOURCES/mysql-5.1.43sp1/mysys'
make: *** [all-recursive] Error 1
[19 Jun 2010 8:19] cynthia ocharo
screen shots of my installation

Attachment: mysql compile (application/octet-stream, text), 186.12 KiB.

[21 Jun 2010 6:06] Sveta Smirnova
Thank you for the report.

But version 5.1.43 is old. Please try current version 5.1.48 and inform us if problem still exists.
[21 Jul 2010 23:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
[27 Apr 2018 12:56] Yngve Svendsen
Posted by developer:
 
No feedback and obsolete MySQL version.