| |
| Posted by RuZzz | PermalinkReply |
|
RuZzz
| Hi ppl!
When dub builds the project, he tries to load the http://code.dlang.org/packages/libevent/2.0.1+2.0.16.zip file, and dub gives out this error:
************ Running DUB build ************
dub build
@ /mnt/hdd2_3/ftp/workspace_eclipse/axt-d-base-application
The following changes will be performed:
Fetch dunit ~master, userWide
Fetch libevent >=2.0.1+2.0.16 <2.1.0, userWide
Fetch ddbc >=0.2.9, userWide
Fetch mysql-d >=0.3.0, userWide
Fetch hibernated >=0.2.11, userWide
Fetch openssl >=1.0.0+1.0.0e, userWide
Fetch libev >=4.0.0+4.04 <4.1.0, userWide
Fetch mysql-native 0.0.10, userWide
Package dunit ~master (/home/ruzzz/.dub/packages/) is already present with the latest version, skipping upgrade.
Fetching libevent 2.0.1+2.0.16..
Error executing command build: Failed to download http://code.dlang.org/packages/libevent/2.0.1%252B2.0.16.zip: 404 Not Found
How to fix it?
dub.json:
{
"name" : "axt-d-base-application",
"description" : "A minimal D bundle.",
"homepage": "https://axi.su",
"license": "GPL-2.0",
"targetType": "executable",
"targetPath": "bin",
"dependencies" : {
"hibernated": ">=0.2.11",
"toml-d": ">=0.3.0",
"vibe-d": "0.7.21-beta.4",
"ax-static-d": {
"version": "0.0.1",
"path": "../ax-static-d/"
}
},
"configurations": [
{
"name": "MySQL",
"versions": ["USE_MYSQL"],
"subConfigurations":
{
"hibernated": "MySQL"
}
},
{
"name": "SQLite",
"versions": ["USE_SQLITE"],
"libs-posix": ["sqlite3"],
"libs-windows": ["sqlite3"],
"subConfigurations":
{
"hibernated": "SQLite"
}
}
],
"buildTypes": {
"debug": {
"buildOptions": ["debugMode", "debugInfo", "optimize"]
},
"release": {
"buildOptions": ["releaseMode", "optimize"]
}
},
"versions": ["VibeCustomMain", "USE_MYSQL"]
}
|