Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/bin/sh: 1: ./build_mme: not found #9

Open
WT4444 opened this issue Oct 29, 2020 · 8 comments
Open

/bin/sh: 1: ./build_mme: not found #9

WT4444 opened this issue Oct 29, 2020 · 8 comments

Comments

@WT4444
Copy link

WT4444 commented Oct 29, 2020

When Build MME Image,Execute the command “docker build --target oai-mme --tag oai-mme:production --file component/oai-mme/docker/Dockerfile.ubuntu18.04 .”

Prompt error:
Step 13/39 : RUN ./build_mme --check-installed-software --force
---> Running in 82ed5e2a5b1d
/bin/sh: 1: ./build_mme: not found
The command '/bin/sh -c ./build_mme --check-installed-software --force' returned a non-zero code: 127
How to solve it?

@lixiaofan182
Copy link

Me too
/bin/sh: 1: ./build_mme: not found
have you solved it ?

@WT4444
Copy link
Author

WT4444 commented Oct 30, 2020

Me too
/bin/sh: 1: ./build_mme: not found
have you solved it ?

NO,you can try reinstall the system of ubuntu.

@Iverson-Zheng
Copy link

Me too
/bin/sh: 1: ./build_mme: not found
have you solved it ?

NO,you can try reinstall the system of ubuntu.

Hello sir, I met the same question too. Did you solved this problem? I feel very confused and trapped for serveral days.
Would you mind taking some time to help me or give some suggestions?
Thanks a lot!

@dcollin5
Copy link

I also have the same problem.

:~/openair-epc-fed/component/oai-mme/scripts$ /bin/sh -c ./build_mme --check-installed-software --force
Build type is Debug
Architecture is x86_64
git found: /usr/bin/git
NETTLE VERSION_INSTALLED = 3.4
NETTLE_VERSION_MAJOR = 3
NETTLE_VERSION_MINOR = 4
CMake Error at /home/iristestbed/openair-epc-fed/component/oai-mme/build/CMakeLists.txt:870 (message):
LIB LFDS not found, please install it
Call Stack (most recent call first):
CMakeLists.txt:39 (include)

@dcollin5
Copy link

I have tried with a couple of different UBUNTU low-latency images (all latest dist-upgrade), but I got the same error.
This looks like a bug to me as that library is missing.
To solve this particular problem i had to run the following steps:

wget https://liblfds.org/downloads/liblfds%20release%207.1.0%20source.zip
mv 'liblfds release 7.1.0 source.zip' liblfds_source.zip
unzip liblfds_source.zip
cd ~/liblfds/liblfds7.1.0/liblfds710/build/gcc_gnumake
make
cd ../../bin
sudo cp liblfds710.a /usr/local/lib/

This set of steps solved that particular error.

@dcollin5
Copy link

you also need to run the following steps:
sudo cp ~/liblfds/liblfds7.1.0/liblfds710/inc/liblfds710.h /usr/include
sudo cp -r ~/liblfds/liblfds7.1.0/liblfds710/inc/liblfds710 /usr/include/

@0xastro
Copy link

0xastro commented Dec 21, 2020

Run the following command by appending component/oai-mme (remove the --build-arg EURECOM_PROXY=".." if you don't need to)

docker build --target oai-mme --tag oai-mme:production \
               --file component/oai-mme/docker/Dockerfile.ubuntu18.04 \
               --build-arg EURECOM_PROXY="http://proxy.eurecom.fr:8080" component/oai-mme

Instead of

docker build --target oai-mme --tag oai-mme:production \
               --file component/oai-mme/docker/Dockerfile.ubuntu18.04 \
               --build-arg EURECOM_PROXY="http://proxy.eurecom.fr:8080" .

@venkatesuluranjith
Copy link

Run the following command by appending component/oai-mme (remove the --build-arg EURECOM_PROXY=".." if you don't need to)

docker build --target oai-mme --tag oai-mme:production \
               --file component/oai-mme/docker/Dockerfile.ubuntu18.04 \
               --build-arg EURECOM_PROXY="http://proxy.eurecom.fr:8080" component/oai-mme

Instead of

docker build --target oai-mme --tag oai-mme:production \
               --file component/oai-mme/docker/Dockerfile.ubuntu18.04 \
               --build-arg EURECOM_PROXY="http://proxy.eurecom.fr:8080" .

thanks a lot
It worked, I did the same for SPGW C and SPGW U

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants