[swift-users] REPL failed

Daniel Dunbar daniel_dunbar at apple.com
Thu Dec 10 10:43:05 CST 2015

Dmitri, this seems to be a common problem. What would you think about creating symlinks in the build tree (when building the appropriate projects), just to smooth over the development process?

 - Daniel

> On Dec 6, 2015, at 12:14 AM, Dmitri Gribenko via swift-users <swift-users at swift.org> wrote:
> On Sun, Dec 6, 2015 at 12:10 AM, Thomas# Chiang via swift-users
> <swift-users at swift.org> wrote:
>> Hi,
>> I built swift for Linux(openSUSE 13.2) from source code, by "./utils/build-script -R" command.
>> It works for run test.swift file, but can not run on REPL mode,
>> the error message is:
>> "LLVM ERROR: Compiler-internal integrated REPL unimplemented for this platform; use the LLDB-enhanced REPL instead."
>> since I always failed to build for Debug mode,  I need some help to run REPL,
> Hi Thomas,
> To run the REPL, the 'swift' and 'lldb' binaries need to be next to
> each other. This is not the case in the build tree. Either create a
> symlink, or build the package using 'build-script
> --preset=buildbot_linux_1404 installable_package=/tmp/swift.tar.gz
> install_destdir=/tmp/swift-install', and try again from the package.
> Dmitri
> -- 
> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
> _______________________________________________
> swift-users mailing list
> swift-users at swift.org
> https://lists.swift.org/mailman/listinfo/swift-users

More information about the swift-users mailing list