[nim-dev] Nimble install execution failed

  • From: notexistence <notexistence@xxxxxxxxx>
  • To: nim-dev@xxxxxxxxxxxxx
  • Date: Tue, 14 Jun 2016 17:25:14 +0000

Hi there.

I have install nimble using following commands:
```sh
$ git clone https://github.com/nim-lang/nimble.git
$ cd nimble
$ nim -d:release c -r src/nimble install
$ echo 'export PATH=$HOME/.nimble/bin:$PATH' >> ~/.profile
$ source ~/.profile
```
After installation (successful, as far as I can tell), whenever I'm trying to 
install any package, for example: 
```sh
nimble install nimble
```
the following error message is shown:
```sh
Searching in "official" package list...
Downloading https://github.com/nim-lang/nimble into ;
/tmp/nimble_31416/githubcom_nimlangnimble using git...
Found tags...
Cloning latest tagged version: e-https: /usr/local/lib/liblber-2.4.so.2: no 
version information available (required by 
/usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4)
sh: 1: Syntax error: "(" unexpected
FAILURE: Execution failed with exit code 2
```
I'm using the following versions of Nim and git on Linux Mint 17 (x64):
```sh
$ nim --version
Nim Compiler Version 0.14.2 (2016-06-11) [Linux: amd64]
Copyright (c) 2006-2016 by Andreas Rumpf

git hash: abf4e204c2f1a8a6915a8d32c970b5ce64f58e10
active boot switches: -d:release

$ git --version
git version 2.9.0
```
Version of nimble:
```sh
$ nimble --version
nimble v0.7.4 compiled at 2016-06-14 19:46:25
```

Any tips or suggestions what am I doing wrong?

----

*P.S. Sorry for my english, not native speaker. Also, sorry, if it's common 
problem, I've failed to find solution myself.*

Other related posts: