PerfectlySoft / PerfectlySoft/Perfect-MySQL

Wont compile on Big Sur / Xcode 12.4

Open
#59 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
126
Forks
58
Avg merge
25m
Merged PRs (30d)
1

Description

Looking for a cross OS MySQL client - this looked promising !

Did get it to build and worked on Ubuntu, but will not build on Big Sur.

Did a fresh install of MySQL per the docs (5.7) and then added https://github.com/PerfectlySoft/Perfect-MySQL to Xcode packages in a new project - errors:

MySQL.swift -

cannot find mysql_server_init in scope ... followed by 231 related errors.

The doc states editing /usr/local/lib/pkgconfig/mysqlclient.pc, but that file does not exist. Clearly, some local dependency at the OS level it appears, does not exist.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with MySQL.swift and the documentation section that refers to /usr/local/lib/pkgconfig/mysqlclient.pc; compare the documented dependency setup with a fresh MySQL 5.7 installation on Big Sur and Xcode 12.4. Done means the package compiles without the mysql_server_init and related errors on that environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql, swift
Domain
build-system, databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.