Skip to content

It is immposible to use this package anymore without libevent #199

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Kozzi11 opened this issue Sep 18, 2019 · 8 comments
Closed

It is immposible to use this package anymore without libevent #199

Kozzi11 opened this issue Sep 18, 2019 · 8 comments

Comments

@Kozzi11
Copy link

Kozzi11 commented Sep 18, 2019

Because of fixing vibe-d/vibe.d#2155 it is now immposible to use this package anymore without libevent.

I have to manualy edit ~/.dub/packages/mysql-native-2.3.0/mysql-native/dub.json and remove:

"subConfigurations": {
		"vibe-d:core": "libevent"
	},

to make it works again

@Kozzi11
Copy link
Author

Kozzi11 commented Sep 18, 2019

If you look at:
https://dub.pm/package-format-sdl.html#build-settings
to a subConfiguration part desvription it says:

Locks a dependency (first argument) to a specific configuration (second argument); see also the configurations section - this setting does not support the platform attribute

@Kozzi11
Copy link
Author

Kozzi11 commented Sep 18, 2019

ec85195

@itkfm
Copy link

itkfm commented Oct 8, 2019

Seems like this issue is getting more and more presence:

@itkfm
Copy link

itkfm commented Oct 10, 2019

Maybe this could be fixed in DUB. Is there a reason why subConfigurations does not support platform attributes?

@Kozzi11
Copy link
Author

Kozzi11 commented Oct 10, 2019

@itkfm Yes I believe it is:
https://github.com/dlang/dub/wiki/FAQ

@Abscissa
Copy link

Abscissa commented Oct 10, 2019 via email

@Abscissa
Copy link

Correction: The workaround does appear to still be needed on OSX after all (even with the latest vide-core), but it clearly causes too much trouble on other platforms so I'm still removing it anyway.

I think what I'm going to do is declare official OSX support to be phobos-sockets-only, not vibe, until vibe-core gets its out-of-the-box OSX support sorted out and working (Turns out, even vibe-core itself isn't even officially/successfully tested on OSX yet: vibe-d/vibe-core#183 ).

@Abscissa
Copy link

Now fixed. The munged osx "fix" has been removed in master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants