Re: [Zephyr Main] WEST File Initialization Problem
M Rizwan Ghori <rizwanghori@...>
Dear All,
Thank you very much for your response. That problem is resolved by following your advised step. Moreover, now i was moving towards the HelloWorld example i received the following error.
mrg@mrg-Lenovo-ideapad-110-15ISK:~/zephyrproject/zephyr/samples/hello_world/build$ cmake -GNinja -DBOARD=qemu_x86 ..
Zephyr version: 1.14.0
CMake Error at /home/mrg/zephyrproject/zephyr/cmake/app/boilerplate.cmake:104 (message):
Source directory equals build directory. In-source builds are not
supported. Please specify a build directory, e.g. cmake -Bbuild -H.
Call Stack (most recent call first):
CMakeLists.txt:3 (include)
Kindly advise.....
Best Regards
Muhammad Rizwan Ghori
USM Fellow,
Universiti Sains Malaysia (USM),
From: Cufi, Carles <Carles.Cufi@...>
Sent: Sunday, March 31, 2019 6:07 PM To: rizwanghori@...; VanCutsem, Geoffroy; Marti Bolivar Cc: devel@... Subject: RE: [Zephyr-devel] [Zephyr Main] WEST File Initialization Problem Hi there,
This has been a bug that has popped up several times in the past with Ubuntu: https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1588562
As mentioned by others, please add the following line you your ~/.bashrc:
export PATH=$PATH:~/.local/bin
Regards,
Carles
From: devel@... <devel@...>
On Behalf Of via Lists.Zephyrproject.Org
Dear,
Thank you all for the quick response. Here is the copy paste code.
runs fine, after this i have run the following command and it echos the error shown below.
Command 'west' not found, did you mean:
command 'test' from deb coreutils
Try: sudo apt install <deb name>
Name: west Version: 0.5.7 Summary: Zephyr RTOS Project meta-tool (wrapper and bootstrap) Home-page: https://github.com/zephyrproject-rtos/west Author: Zephyr Project Author-email: devel@... License: UNKNOWN Location: /home/mrg/.local/lib/python3.6/site-packages Requires: configobj, PyYAML, colorama, pykwalify Files: ../../../bin/west west-0.5.7.dist-info/DESCRIPTION.rst west-0.5.7.dist-info/INSTALLER west-0.5.7.dist-info/METADATA west-0.5.7.dist-info/RECORD west-0.5.7.dist-info/WHEEL west-0.5.7.dist-info/entry_points.txt west-0.5.7.dist-info/metadata.json west-0.5.7.dist-info/top_level.txt west/_bootstrap/__init__.py west/_bootstrap/__pycache__/__init__.cpython-36.pyc west/_bootstrap/__pycache__/main.cpython-36.pyc west/_bootstrap/__pycache__/version.cpython-36.pyc west/_bootstrap/main.py west/_bootstrap/version.py west/_bootstrap/west-schema.yml
Kindly advise
Best Regards Muhammad Rizwan Ghori USM Fellow, School of Computer Sciences,
Universiti Sains Malaysia (USM),
From: VanCutsem, Geoffroy <geoffroy.vancutsem@...>
Can you paste on this thread what the output of “pip3 show –f west” and “echo $PATH” return?
From: devel@... [mailto:devel@...]
On Behalf Of M Rizwan Ghori
Dear, I am using Ubuntu 18.04. Moreover, the path of West file is after running the command "pip3 show -f west" is home/rizwan/.local/python 3.6/packages Subsequently, i have installed all the stuff related to Zephyr including Cmake and Zephyr sdk in a path /home/rizwan/zaphyr Kindly advise.
Rizwan
From: Marti Bolivar Sent: Friday, 29 March, 12:43 pm Subject: Re: [Zephyr-devel] [Zephyr Main] WEST File Initialization Problem To: M Rizwan Ghori Cc: Brett Preston, devel@... What version of Ubuntu are you using? If you ran "pip3 install --user west" and west cannot be run afterwards, it sounds like the directory that the west binary was installed into is not on your $PATH. Older versions of Ubuntu sometimes have this issue; I forget which ones. Usually this directory is ~/.local/bin. Please ensure this directory is on your PATH environment variable and try again. If that doesn't work, you can confirm where west was installed by running "pip3 show -f west"; check both the Location: value and the [...]/bin/west relative path in the Files: list that follows. Marti On Thu, Mar 28, 2019, 10:22 PM M Rizwan Ghori <rizwanghori@...> wrote:
|
|