No subject
Mon Dec 22 09:37:56 EST 2008
>>>> import sys
>>>> print sys.path
- jsok
On 01/12/2009, at 6:27 PM, dsl wrote:
>=20
> Hi Jonathan,
>=20
> Thanks for your quick response. Here is the data:
>=20
> Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)=20
> [GCC 4.3.3] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import site
>>>>=20
>=20
> It seems to work fine without errors.
>=20
> Does elfweaver change some environment variables like PYTHONHOME?
>=20
> I say this because if I put that variable wrong, i obtain the same error:
>=20
> export PYTHONHOME=3Dbadpath
>=20
> user at pc:~$ python
> 'import site' failed; use -v for traceback
> Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)=20
> [GCC 4.3.3] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>>=20
>=20
>>>> import site
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> ImportError: No module named site
>=20
> I have tried with previous versions that come in Ubuntu 9.04 (2.4 and 2.5=
)
> but I got the same result.
>=20
> Thanks,
> Dani
>=20
>=20
>=20
> Jonathan Sokolowski wrote:
>>=20
>> Hi Dani,
>>=20
>> The error you are seeing appears to be related to your version of python=
.
>>=20
>> Can you try the following:
>> 1) From a shell run python
>> 2) In the python interactive shell run "import site"
>>=20
>> Could you also tell us which version of python you are running?
>>=20
>> Thanks,
>> Jonathan
>>=20
>> On 01/12/2009, at 4:56 PM, dsl wrote:
>>=20
>>>=20
>>> Hello,
>>>=20
>>> I am trying to get started with OKL4 so I downloaded the arm1136 SDK. I
>>> understand that an SDK is just the same as the OKL4 package but with th=
e
>>> kernel and libraries already compiled plus the headers that the
>>> application
>>> may need.
>>>=20
>>> I am using Ubuntu 9.04 and I installed the toolchain from OKL4 website.
>>>=20
>>> I tried to compile the singlecell example included in the SDK with the
>>> following steps:
>>>=20
>>> export OKL4_SDK_ROOT=3D/home/user/sdk-arm1136/
>>> cd sdk-arm1136/okl4/arm1136js/examples/singlecell/
>>> make
>>> TOOLPREFIX=3D/home/user/arm-unknown-linux-gnueabi/bin/arm-unknown-linux=
-gnueabi-
>>>=20
>>> But I am getting the following error by elfweaver:
>>>=20
>>> bin/elfweaver --traceback merge -obuild.micro-debug/images/image.elf
>>> build.micro-debug/images/image.xml
>>> 'import site' failed; use -v for traceback
>>>=20
>>> I have tried using other ARM toolchain (arm-none-eabi- by Codesourcery)
>>> but
>>> it gives the same result.
>>>=20
>>> Also I tried using Ubuntu dapper. The toolchain in the OKL4 could not b=
e
>>> used as it requires a glibc2.4 but i tried with another arm toolchain a=
nd
>>> the result was the same.
>>>=20
>>> Is this a known problem?
>>>=20
>>> Thank you very much
>>> Dani
>>> --=20
>>> View this message in context:
>>> http://n2.nabble.com/sdk-arm1136-singlecell-example-fails-tp4092120p409=
2120.html
>>> Sent from the OKL4 Community Forum mailing list archive at Nabble.com.
>>>=20
>>> _______________________________________________
>>> Developer mailing list
>>> Developer at okl4.org
>>> https://lists.okl4.org/mailman/listinfo/developer
>>>=20
>>>=20
>>=20
>>=20
>> _______________________________________________
>> Developer mailing list
>> Developer at okl4.org
>> https://lists.okl4.org/mailman/listinfo/developer
>>=20
>>=20
>=20
> --=20
> View this message in context: http://n2.nabble.com/sdk-arm1136-singlecell=
-example-fails-tp4092120p4092303.html
> Sent from the OKL4 Community Forum mailing list archive at Nabble.com.
>=20
> _______________________________________________
> Developer mailing list
> Developer at okl4.org
> https://lists.okl4.org/mailman/listinfo/developer
>=20
>=20
More information about the Developer
mailing list