OPENAIRINTERFACE / openair-epc-fed

Federation of all Open-Air-CN components
BSD 3-Clause "New" or "Revised" License
63 stars 67 forks source link

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

Open WT4444 opened 4 years ago

WT4444 commented 4 years ago

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 commented 4 years ago

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

WT4444 commented 4 years ago

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

NO,you can try reinstall the system of ubuntu.

Iverson-Zheng commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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