[swift-infrastructure] Problems with Swift


(Jordan Rose) #1

Hi, Dmitri. I think this question may be more appropriate for swift-users; perhaps someone else has encountered the same problem. I've added that list and BCC'd swift-infrastructure.

Jordan

···

On Dec 5, 2015, at 6:28 , Dmitriy Marley <dmitriymarley@gmail.com> wrote:

Good afternoon, dear Swift developer!
My name is Dmitry and I have a problem with your Swift language on my
Ubuntu 15.10.
The problem is that I've added path to my swift usr/bin folder to the
PATH, but it's saying that "swift can be found in following packages:
python-swiftclient
python3-swiftclient
... "

I've installed all necessary libs (like clang and libicu-dev).
What can I do with this to make it work?

Sincerelly your,
Dmitry K.
_______________________________________________
swift-infrastructure mailing list
swift-infrastructure@swift.org
https://lists.swift.org/mailman/listinfo/swift-infrastructure


(David Farler) #2

Dmitriy,

Can you please share with us the output of:

echo $PATH

David

···

On Dec 5, 2015, at 11:12 AM, Jordan Rose via swift-users <swift-users@swift.org> wrote:

Hi, Dmitri. I think this question may be more appropriate for swift-users; perhaps someone else has encountered the same problem. I've added that list and BCC'd swift-infrastructure.

Jordan

On Dec 5, 2015, at 6:28 , Dmitriy Marley <dmitriymarley@gmail.com> wrote:

Good afternoon, dear Swift developer!
My name is Dmitry and I have a problem with your Swift language on my
Ubuntu 15.10.
The problem is that I've added path to my swift usr/bin folder to the
PATH, but it's saying that "swift can be found in following packages:
python-swiftclient
python3-swiftclient
... "

I've installed all necessary libs (like clang and libicu-dev).
What can I do with this to make it work?

Sincerelly your,
Dmitry K.
_______________________________________________
swift-infrastructure mailing list
swift-infrastructure@swift.org
https://lists.swift.org/mailman/listinfo/swift-infrastructure

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users


(David Farler) #3

Hi Dmitriy,

[Adding back swift-users in case anyone else hits this, if you don't mind]

All paths in $PATH need to be absolute so that the shell can find it from any directory, so it should be something like:

export PATH="/absolute/path/to/your/swift/usr/bin:$PATH"

Replace '/absolute/path/to/your/swift' with wherever you extracted the tar.gz file on your machine.

Hope this helps!
David

···

On Dec 6, 2015, at 4:52 AM, Dmitriy Marley <dmitriymarley@gmail.com> wrote:

David,

"swift/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"

Dmitry

2015-12-05 23:36 GMT+02:00 David Farler <dfarler@apple.com>:

Dmitriy,

Can you please share with us the output of:

echo $PATH

David

On Dec 5, 2015, at 11:12 AM, Jordan Rose via swift-users <swift-users@swift.org> wrote:

Hi, Dmitri. I think this question may be more appropriate for swift-users; perhaps someone else has encountered the same problem. I've added that list and BCC'd swift-infrastructure.

Jordan

On Dec 5, 2015, at 6:28 , Dmitriy Marley <dmitriymarley@gmail.com> wrote:

Good afternoon, dear Swift developer!
My name is Dmitry and I have a problem with your Swift language on my
Ubuntu 15.10.
The problem is that I've added path to my swift usr/bin folder to the
PATH, but it's saying that "swift can be found in following packages:
python-swiftclient
python3-swiftclient
... "

I've installed all necessary libs (like clang and libicu-dev).
What can I do with this to make it work?

Sincerelly your,
Dmitry K.
_______________________________________________
swift-infrastructure mailing list
swift-infrastructure@swift.org
https://lists.swift.org/mailman/listinfo/swift-infrastructure

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users