Skip to content

Fix build scripts for 16.04 installation

Fix build scripts for 16.04 installation.

Input from Laurent: Rohit,

Even if I didn't start from disk formating and ubuntu installation, I try a quite fresh installation on ubuntu 15.04 (last update), branch develop (last update)

remarks:

  1. wvdial package

doesn't work on ubuntu 15.04: bug let it pending: Unpacking wvdial (1.61-4.1) ... Processing triggers for man-db (2.7.0.2-5) ... Setting up wvdial (1.61-4.1) ... I finished to install to package with debian dpkg, nevertheless it creates some issues and i don't understand why we may this package ...

  1. libasn1-3-dev (tools/build_helper file)

fails, should be replaced by libasn1-dev

  1. when a package is not found

the script continues and provide obscure errors

  1. https://gitlab.eurecom.fr/oai/openairinterface5g/wikis/AutoBuild

option described: -K ... doesn't exist

  1. build_oai script suggestion is badly wrong

text: These scripts ASSUME that user is in /etc/sudoers and can execute commands without PASSWORD prompt Add the following lines in /etc/sudoers file to make your user_name sudo without password prompt your_user_name ALL = (ALL:ALL) NOPASSWD: ALL If you do so, the file /etc/sudoers becomes syntax corrupted, nobody can anymore become root on this machine ...

  1. ./build_oai --eNB -w EXMIMO -c -s -x -V

fails to build softmodem: in file openair2/UTIL/OCG/OCG_parse_XML.c remove these three lines (useless and failing with new gcc) #ifndef HAVE_STRNDUP char * strndup (const char *s, size_t size); #endif these were coming from autotools, now we use cmake

  1. auto tests

Runs for 2 hours without any information

  1. auto tests destroy the compilation results

Erase binaries produced by the example given in the manual: ./build_oai --eNB -w EXMIMO -c -s Erase log files of the regular building, so for example log/lte-softmodem.Rel10.txt is lost

  1. Auto tests fails

A lot of auto tests declare itself failed The USRP ones: ok, i didn't install uhd driver But many other fail with in clue related to the error: see attached logs

  1. https://gitlab.eurecom.fr/oai/openairinterface5g/wikis/OpenAirExpressMimo2

about enb conf files cosmetic: i would suggest to set root dir as $OPENAIR_TARGET/GENERIC-LTE-EPC/CONF/xxxxxxxxxx not cosmetic: example files seems not consistent neither up to date for example diff enb.band7.tm1.exmimo2.conf enb.band7.exmimo2.conf shows differences that have no relation to tm1 mode I think we need a short text to explain this .conf file parameters, at least the non trivial ones (means enhance the chapter 5 of this page)

Regards,

-- Open Cells Project Laurent THOMAS