Comments (5)
Hold the presses ;). I think I've figured this out. I had a dependency conflict on different versions of Perfect. The version of the Swift PM I was using under Linux didn't help resolve the issue, but the one I was using under MacOS did. A little more testing to do and I should be able to mark this as closed.
from perfect-mysql.
Nope. Spoke too fast. Still having issue. On Linux, this is what happens:
root@175f7a9e4155:~/Apps/repos/Test# swift build
Fetching /root/Apps/repos/CredentialsDropbox
Fetching /root/Apps/repos/SyncServer-Shared
Fetching /root/Apps/repos/SMServerLib
Fetching https://github.com/PerfectlySoft/Perfect.git
Fetching https://github.com/PerfectlySoft/Perfect-Thread.git
Fetching /root/Apps/repos/Perfect-MySQL
Fetching https://github.com/crspybits/Gloss.git
Fetching https://github.com/IBM-Swift/Kitura.git
Fetching https://github.com/IBM-Swift/Kitura-Credentials.git
Fetching https://github.com/IBM-Swift/Kitura-CredentialsFacebook.git
Fetching https://github.com/IBM-Swift/Kitura-CredentialsGoogle.git
Fetching https://github.com/IBM-Swift/HeliumLogger.git
Fetching https://github.com/IBM-Swift/Kitura-Session.git
Fetching https://github.com/IBM-Swift/BlueCryptor.git
Fetching https://github.com/IBM-Swift/Kitura-TemplateEngine.git
Fetching https://github.com/IBM-Swift/TypeDecoder.git
Fetching https://github.com/IBM-Swift/KituraContracts.git
Fetching https://github.com/IBM-Swift/Kitura-net.git
Fetching https://github.com/IBM-Swift/BlueSSLService.git
Fetching https://github.com/IBM-Swift/BlueSocket.git
Fetching https://github.com/IBM-Swift/CCurl.git
Fetching https://github.com/IBM-Swift/LoggerAPI.git
Fetching https://github.com/IBM-Swift/CEpoll.git
Fetching https://github.com/IBM-Swift/BlueSignals.git
Fetching https://github.com/IBM-Swift/OpenSSL.git
(hangs here).
from perfect-mysql.
Actually, may not have anything to do with Kitura. With just a basic Package.swift, I get:
# swift build
Updating https://github.com/PerfectlySoft/Perfect.git
error: dependency graph is unresolvable; found these conflicting requirements:
Dependencies:
https://github.com/PerfectlySoft/Perfect.git @ 3.1.1..<4.0.0
-------------
VERSIONS
# swift --version
Swift version 4.0 (swift-4.0-RELEASE)
Target: x86_64-unknown-linux-gnu
# uname -a
Linux 175f7a9e4155 4.9.87-linuxkit-aufs #1 SMP Wed Mar 14 15:12:16 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
from perfect-mysql.
Ah. Interesting. At least on MacOS, when I use Swift version 4.1.2, this problem does not come up.
from perfect-mysql.
Tested this on Swift 4.1.2 on Linux, and problem is resolved. You might think about putting a Swift version dependency in your README docs.
from perfect-mysql.
Related Issues (20)
- Missing required module 'mysqlclient' HOT 9
- Compile Swift Module 'PerfectMySQL' Error! HOT 4
- May you support the latest version of MySQL?
- swift 4.1.2 build error HOT 1
- 现在的Perfect-MySQL好像不兼容最新的swift HOT 12
- Support long JSONs
- warning: dependency 'PerfectMySQL' is not used by any target. HOT 2
- "mysqlclient.pc" not found HOT 2
- Package.swift:19:14: error: expression type '[Target].Type' is ambiguous without more context targets: [ ^
- Connect/Close
- Crash when try launch high load test
- warning: dependency 'PerfectMySQL' is not used by any target warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed HOT 1
- mysql unresolved identifier 'my_bool' HOT 3
- dyld: Library not loaded: @rpath/PerfectMySQL.framework HOT 1
- error: use of unresolved identifier 'MYSQL_OPT_SSL_MODE'
- Can someone create "Perfect" and "server-side-swift" tags on Server Fault?
- Is this project abandoned? HOT 1
- Add the ability to use libmysql-dev beyond 5.7 (Perfect-MySQL work around in the comments) HOT 2
- Wont compile on Big Sur / Xcode 12.4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from perfect-mysql.