Kunpeng BoostKit for Database Porting Guide Issue 05 Date 2021-06-30 HUAWEI TECHNOLOGIES CO., LTD. Copyright © Huawei Technologies Co., Ltd. 2021. All rights reserved. No part of this document may be reproduced or transmitted in any form or by any means without prior written consent of Huawei Technologies Co., Ltd. Trademarks and Permissions and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd. All other trademarks and trade names mentioned in this document are the property of their respective holders. Notice The purchased products, services and features are stipulated by the contract made between Huawei and the customer. All or part of the products, services and features described in this document may not be within the purchase scope or the usage scope. Unless otherwise specified in the contract, all statements, information, and recommendations in this document are provided "AS IS" without warranties, guarantees or representations of any kind, either express or implied. The information in this document is subject to change without notice. Every effort has been made in the preparation of this document to ensure accuracy of the contents, but all statements, information, and recommendations in this document do not constitute a warranty of any kind, express or implied. Issue 05 (2021-06-30) Copyright © Huawei Technologies Co., Ltd. i Kunpeng BoostKit for Database Porting Guide Contents Contents 1 MySQL 5.7.27 Porting Guide................................................................................................. 1 1.1 Introduction............................................................................................................................................................................... 1 1.2 Environment Requirements................................................................................................................................................. 2 1.3 Compilation and Installation Process............................................................................................................................... 3 1.4 Configuring the Compilation Environment.................................................................................................................... 3 1.4.1 Configuring the Yum Source............................................................................................................................................ 3 1.4.2 Installing Dependencies..................................................................................................................................................... 6 1.4.3 Upgrading CMake................................................................................................................................................................ 6 1.4.4 Upgrading GCC..................................................................................................................................................................... 8 1.5 Compiling and Installing MySQL....................................................................................................................................... 9 1.6 Troubleshooting..................................................................................................................................................................... 11 1.6.1 CMake Target Version Failed to Take Effect After the Upgrade....................................................................... 11 1.6.2 CMake Compilation and Installation Failed............................................................................................................. 11 1.6.3 "error:'prctl' was not declared in this scope" Reported........................................................................................12 2 (Recommended) MySQL 8.0.x Porting Guide................................................................. 14 2.1 Introduction............................................................................................................................................................................ 14 2.2 Environment Requirements............................................................................................................................................... 15 2.3 Compilation and Installation Process.............................................................................................................................16 2.4 Configuring the Compilation Environment.................................................................................................................. 16 2.4.1 Configuring the Yum Source..........................................................................................................................................17 2.4.2 Installing Dependencies.................................................................................................................................................. 19 2.4.3 Upgrading CMake............................................................................................................................................................. 19 2.4.4 Upgrading GCC...................................................................................................................................................................21 2.4.5 Installing the rpcsvc-proto Dependency.................................................................................................................... 22 2.5 Compiling and Installing MySQL..................................................................................................................................... 23 2.6 Troubleshooting..................................................................................................................................................................... 24 2.6.1 CMake Target Version Failed to Take Effect After the Upgrade....................................................................... 25 2.6.2 CMake Compilation and Installation Failed............................................................................................................. 25 3 MariaDB 10.3.8 Porting Guide............................................................................................27 3.1 Introduction............................................................................................................................................................................ 27 3.2 Environment Requirements............................................................................................................................................... 29 3.3 Configuring the Compilation Environment.................................................................................................................. 30 Issue 05 (2021-06-30) Copyright © Huawei Technologies Co., Ltd. ii Kunpeng BoostKit for Database Porting Guide Contents 3.3.1 Configuring the Yum Source..........................................................................................................................................30 3.3.2 Installing Dependencies.................................................................................................................................................. 32 3.4 Compiling and Installing MariaDB..................................................................................................................................32 4 MongoDB 4.0.12 Porting Guide..........................................................................................35 4.1 Introduction............................................................................................................................................................................ 35 4.2 Environment Requirements............................................................................................................................................... 35 4.3 Compilation and Installation Process.............................................................................................................................37 4.4 Configuring the Compilation Environment.................................................................................................................. 37 4.4.1 Configuring the Yum Source..........................................................................................................................................38 4.4.2 Installing Dependencies.................................................................................................................................................. 40 4.4.3 Upgrading CMake............................................................................................................................................................. 40 4.4.4 Upgrading GCC...................................................................................................................................................................42 4.4.5 Installing Cython................................................................................................................................................................43 4.4.6 Installing PyYAML..............................................................................................................................................................45 4.4.7 Installing Typing.................................................................................................................................................................46 4.4.8 Installing Cheetah3..........................................................................................................................................................
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages140 Page
-
File Size-