<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Did you install ‘clang’? E.g.(from instructions):<div class=""><br class=""></div><div class=""><br class=""></div><div class="">On Linux<br class=""><br class="">First, install clang:<br class=""><br class="">$ sudo apt-get install clang</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jul 31, 2016, at 5:57 AM, Liyu Cai via swift-users <<a href="mailto:swift-users@swift.org" class="">swift-users@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">So I was trying to install swift 3 (RC3) on a Ubuntu 14.04 LTS (64 bits) laptop, but get an REPL missing error.</div><div class=""><br class=""></div><div class=""># What happened</div><div class="">```bash</div><div class="">cd /usr/local/lib</div><div class="">tar xvf swift-3.0-PREVIEW-3-ubuntu14.04.tar.gz</div><div class="">sudo ln -s swift-3.0-PREVIEW-3-ubuntu14.04 swift</div><div class="">```</div><div class=""><br class=""></div><div class="">then, created "/etc/profile.d/swift.sh" with following content:</div><div class="">```bash</div><div class="">export SWIFT_HOME=/usr/local/lib/swift</div><div class="">export PATH=$SWIFT_HOME/usr/bin:$PATH</div><div class="">export LD_LIBRARY_PATH=$SWIFT_HOME/usr/lib:$LD_LIBRARY_PATH</div><div class="">export LIBRARY_PATH=$SWIFT_HOME/usr/lib:$LIBRARY_PATH</div><div class="">```</div><div class=""><br class=""></div><div class="">then, 'source' the .sh file in a terminal and start `swift` :</div><div class="">```bash</div><div class="">source /etc/profile.d/swift.sh</div><div class="">swift</div><div class="">```</div><div class=""><br class=""></div><div class="">and get following error:</div><div class="">```bash</div><div class="">error: REPL executable does not exist: '/usr/local/bin/repl_swift'</div><div class="">```</div><div class=""><br class=""></div><div class="">However, 'swift --version' works with following output:</div><div class="">```bash</div><div class="">Swift version 3.0 (swift-3.0-PREVIEW-3)</div><div class="">Target: x86_64-unknown-linux-gnu</div><div class="">```</div><div class=""><br class=""></div><div class=""># Try to solve</div><div class="">Thoughts there are some steps may be missed, so I re-checked the </div><div class="">docs on <a href="http://swift.org/" class="">swift.org</a> and <a href="http://swift.org/lldb" class="">swift.org/lldb</a> , but no lucks. Neither does the</div><div class="">blogs I found on how to set up Swift on Ubuntu OS.</div><div class=""><br class=""></div><div class="">(One can just create a sybolic link of repl_swift under /usr/local/bin, but it bring more works to uninstall/reconfigure Swfit dev env)</div><div class=""><br class=""></div><div class="">Did anyone have met this before? Anything I can try? Or,possibly, there are sth to be done with the release itself...</div></div>
_______________________________________________<br class="">swift-users mailing list<br class=""><a href="mailto:swift-users@swift.org" class="">swift-users@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-users<br class=""></div></blockquote></div><br class=""></div></body></html>