Skip to content

Compilation Error during 'make' Step on Linux System #19

@Farooq-azam-khan

Description

@Farooq-azam-khan

Issue Description

I am encountering an issue while trying to install the migration script. The problem arises during the make step, where the code fails to compile correctly. Specifically, I'm experiencing errors when configuring mysqlconnector-proj. Any help regarding this issue is greatly appreciated.

Environment

Operating System: Pop!_OS version 22.04
Virtualization software: VirtualBox
Host operating system: Windows 10

Steps to Reproduce

  1. Start the virtual machine with Pop!_OS version 22.04.

  2. Open the terminal and navigate to the desktop using the following command:

cd ~/Desktop
  1. Clone the mgmigrate repository from GitHub:
git clone https://github.com/memgraph/mgmigrate.git
  1. Change into the mgmigrate directory:
cd mgmigrate
  1. Install the necessary dependencies by running the following commands:
sudo apt-get install -y git cmake make gcc g++ python3 libpq-dev postgresql-server-dev-all
sudo apt install python3-pip
pip3 install pymgclient psycopg2 mysql-connector-python 
  1. Create a build directory and navigate into it:
mkdir build
cd build
  1. Configure the build using CMake:
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=. ..
  1. Install the libreadline development package to resolve an error encountered during the 'make' step:
sudo apt-get install libreadline-dev
  1. Finally, run the 'make' command to compile the code:
make

Error Screenshot

Please refer to the screenshots below, which illustrates the error I encountered during the 'make' step.

The following screenshot shows the tail end of the error.
image

In the same error I received an Openssl version issued that is screenshotted below:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions