zedeus / nitter

Alternative Twitter front-end
https://nitter.net
GNU Affero General Public License v3.0
10.05k stars 533 forks source link

implementation of 'ptr' expected. #391

Closed emezeta closed 3 years ago

emezeta commented 3 years ago

my installation is over ububtu bionic following the readme instruction

# apt install libsass-dev, redis-server
# useradd -m nitter
# su nitter 
$ git clone https://github.com/zedeus/nitter
$ cd nitter
$ nimble build -d:release
-su: 2: nimble: not found

then I do:

# apt install nim

and

# su nitter
$ nimble build -d:release
       Info Hint: used config file '/etc/nim.cfg' [Conf]
     Error: Could not read package info file in /home/nitter/nitter/nitter.nimble;
        ...   Reading as ini file failed with: 
        ...     Invalid section: .
        ...   Evaluating as NimScript file failed with: 
        ...     usr/local/lib/nim/system.nim(42, 3) Error: implementation of 'ptr' expected.
$ 

what's am I doing wrong? tks

osresearch commented 3 years ago

I ran into a similar problem with the Ubuntu 20.04 nim package (1.0.6), likely due to the age of the distribution package. After removing the package, I downloaded 1.4.8 from https://nim-lang.org/install_unix.html and ran ./nim-1.4.8/bin/nimble from there instead.