I followed directions here to clone the compiler source and build it on
Ubuntu 14.04:
All required packages seem to haven been installed successfully per the
README. When I get to the build step, the following build-script command
generates the errors below it. Have I missed something simple? Thanks.
Jeff
~/swift$ utils/build-script -t
Traceback (most recent call last):
File "utils/build-script", line 1848, in <module>
sys.exit(main())
File "utils/build-script", line 1844, in main
return main_normal()
File "utils/build-script", line 1053, in main_normal
default=StdlibDeploymentTarget.host_target().name)
AttributeError: 'NoneType' object has no attribute 'name'
All required packages seem to haven been installed successfully per the README. When I get to the build step, the following build-script command generates the errors below it. Have I missed something simple? Thanks.
Jeff
~/swift$ utils/build-script -t
Traceback (most recent call last):
File "utils/build-script", line 1848, in <module>
sys.exit(main())
File "utils/build-script", line 1844, in main
return main_normal()
File "utils/build-script", line 1053, in main_normal
default=StdlibDeploymentTarget.host_target().name)
AttributeError: 'NoneType' object has no attribute 'name'
Here you go Dmitri. It's an older Dell 1501 that was given to me; I wiped
it and put Ubuntu on it. Thanks.
Python 2.7.6 (default, Jun 22 2015, 18:00:18)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import platform
print(platform.system())
Linux
print(platform.machine())
i686
Here's some additional information if it's useful:
~/swift$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
~/swift$ uname -a
Linux Inspiron-1501 3.13.0-74-generic #118-Ubuntu SMP Thu Dec 17 22:52:02
UTC 2015 i686 athlon i686 GNU/Linux
···
On Fri, Jun 10, 2016 at 12:31 PM, Dmitri Gribenko <gribozavr@gmail.com> wrote:
On Fri, Jun 10, 2016 at 9:14 AM, Jeff Ramsey via swift-users > <swift-users@swift.org> wrote:
> I followed directions here to clone the compiler source and build it on
> Ubuntu 14.04:
>
> swift/README.md at main · apple/swift · GitHub
Hi Jeff,
Which architecture are you running on?
Could you run "python" in the terminal, type the following script, and
send me the output?
i686 is a 32-bit system, right? We don’t support Intel 32-bit on Linux (yet?). The only Intel Linux target is x86_64.
···
On 10 Jun 2016, at 20:18, Jeff Ramsey via swift-users <swift-users@swift.org> wrote:
Here you go Dmitri. It's an older Dell 1501 that was given to me; I wiped it and put Ubuntu on it. Thanks.
Python 2.7.6 (default, Jun 22 2015, 18:00:18)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import platform
>>> print(platform.system())
Linux
>>> print(platform.machine())
i686
>>>
Here's some additional information if it's useful:
~/swift$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
~/swift$ uname -a
Linux Inspiron-1501 3.13.0-74-generic #118-Ubuntu SMP Thu Dec 17 22:52:02 UTC 2015 i686 athlon i686 GNU/Linux
On Fri, Jun 10, 2016 at 12:31 PM, Dmitri Gribenko <gribozavr@gmail.com <mailto:gribozavr@gmail.com>> wrote:
On Fri, Jun 10, 2016 at 9:14 AM, Jeff Ramsey via swift-users > <swift-users@swift.org <mailto:swift-users@swift.org>> wrote:
> I followed directions here to clone the compiler source and build it on
> Ubuntu 14.04:
>
> swift/README.md at main · apple/swift · GitHub
Hi Jeff,
Which architecture are you running on?
Could you run "python" in the terminal, type the following script, and
send me the output?
Karl is right. Swift is not ported to 32-bit Linux right now --
sorry! We would welcome contributions from the community to fill this
gap. I would be happy to review the patches and discuss any issues
that come up.
Dmitri
···
On Fri, Jun 10, 2016 at 8:06 PM, Karl <razielim@gmail.com> wrote:
i686 is a 32-bit system, right? We don’t support Intel 32-bit on Linux
(yet?). The only Intel Linux target is x86_64.
On 10 Jun 2016, at 20:18, Jeff Ramsey via swift-users > <swift-users@swift.org> wrote:
Here you go Dmitri. It's an older Dell 1501 that was given to me; I wiped
it and put Ubuntu on it. Thanks.
Python 2.7.6 (default, Jun 22 2015, 18:00:18)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import platform
print(platform.system())
Linux
print(platform.machine())
i686
Here's some additional information if it's useful:
~/swift$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
~/swift$ uname -a
Linux Inspiron-1501 3.13.0-74-generic #118-Ubuntu SMP Thu Dec 17 22:52:02
UTC 2015 i686 athlon i686 GNU/Linux
On Fri, Jun 10, 2016 at 12:31 PM, Dmitri Gribenko <gribozavr@gmail.com> > wrote:
On Fri, Jun 10, 2016 at 9:14 AM, Jeff Ramsey via swift-users >> <swift-users@swift.org> wrote:
> I followed directions here to clone the compiler source and build it on
> Ubuntu 14.04:
>
> swift/README.md at main · apple/swift · GitHub
Hi Jeff,
Which architecture are you running on?
Could you run "python" in the terminal, type the following script, and
send me the output?
Can you point me to the general areas that would need changes for 32-bit and I'll look to see what would be needed? Thanks.
Jeff
···
On Jun 11, 2016, at 12:31 AM, Dmitri Gribenko <gribozavr@gmail.com> wrote:
Hi Jeff,
Karl is right. Swift is not ported to 32-bit Linux right now --
sorry! We would welcome contributions from the community to fill this
gap. I would be happy to review the patches and discuss any issues
that come up.
Dmitri
On Fri, Jun 10, 2016 at 8:06 PM, Karl <razielim@gmail.com> wrote:
i686 is a 32-bit system, right? We don’t support Intel 32-bit on Linux
(yet?). The only Intel Linux target is x86_64.
On 10 Jun 2016, at 20:18, Jeff Ramsey via swift-users >> <swift-users@swift.org> wrote:
Here you go Dmitri. It's an older Dell 1501 that was given to me; I wiped
it and put Ubuntu on it. Thanks.
Python 2.7.6 (default, Jun 22 2015, 18:00:18)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import platform
print(platform.system())
Linux
print(platform.machine())
i686
Here's some additional information if it's useful:
~/swift$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
~/swift$ uname -a
Linux Inspiron-1501 3.13.0-74-generic #118-Ubuntu SMP Thu Dec 17 22:52:02
UTC 2015 i686 athlon i686 GNU/Linux
On Fri, Jun 10, 2016 at 12:31 PM, Dmitri Gribenko <gribozavr@gmail.com> >> wrote:
On Fri, Jun 10, 2016 at 9:14 AM, Jeff Ramsey via swift-users >>> <swift-users@swift.org> wrote:
I followed directions here to clone the compiler source and build it on
Ubuntu 14.04:
On Sat, Jun 11, 2016 at 4:36 AM, Jeff Ramsey <jramsey123@gmail.com> wrote:
Dmitri,
Can you point me to the general areas that would need changes for 32-bit and I'll look to see what would be needed? Thanks.
Jeff
On Jun 11, 2016, at 12:31 AM, Dmitri Gribenko <gribozavr@gmail.com> wrote:
Hi Jeff,
Karl is right. Swift is not ported to 32-bit Linux right now --
sorry! We would welcome contributions from the community to fill this
gap. I would be happy to review the patches and discuss any issues
that come up.
Dmitri
On Fri, Jun 10, 2016 at 8:06 PM, Karl <razielim@gmail.com> wrote:
i686 is a 32-bit system, right? We don’t support Intel 32-bit on Linux
(yet?). The only Intel Linux target is x86_64.
On 10 Jun 2016, at 20:18, Jeff Ramsey via swift-users >>> <swift-users@swift.org> wrote:
Here you go Dmitri. It's an older Dell 1501 that was given to me; I wiped
it and put Ubuntu on it. Thanks.
Python 2.7.6 (default, Jun 22 2015, 18:00:18)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import platform
print(platform.system())
Linux
print(platform.machine())
i686
Here's some additional information if it's useful:
~/swift$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
~/swift$ uname -a
Linux Inspiron-1501 3.13.0-74-generic #118-Ubuntu SMP Thu Dec 17 22:52:02
UTC 2015 i686 athlon i686 GNU/Linux
On Fri, Jun 10, 2016 at 12:31 PM, Dmitri Gribenko <gribozavr@gmail.com> >>> wrote:
On Fri, Jun 10, 2016 at 9:14 AM, Jeff Ramsey via swift-users >>>> <swift-users@swift.org> wrote:
I followed directions here to clone the compiler source and build it on
Ubuntu 14.04: