Hello,

 I am getting this error, can anyone tell me what I need to do from studying the error message

lab@openair4G:~/dev/open-gsm/osmo-bsc$ autoreconf -fi
configure.ac:9: installing './install-sh'
configure.ac:9: installing './missing'
src/ipaccess/Makefile.am: installing './depcomp'
src/libbsc/Makefile.am:16: error: library used but 'RANLIB' is undefined
src/libbsc/Makefile.am:16:   The usual way to define 'RANLIB' is to add 'AC_PROG_RANLIB'
src/libbsc/Makefile.am:16:   to 'configure.ac' and run 'autoconf' again.
src/libcommon-cs/Makefile.am:16: error: library used but 'RANLIB' is undefined
src/libcommon-cs/Makefile.am:16:   The usual way to define 'RANLIB' is to add 'AC_PROG_RANLIB'
src/libcommon-cs/Makefile.am:16:   to 'configure.ac' and run 'autoconf' again.
src/libcommon/Makefile.am:16: error: library used but 'RANLIB' is undefined
src/libcommon/Makefile.am:16:   The usual way to define 'RANLIB' is to add 'AC_PROG_RANLIB'
src/libcommon/Makefile.am:16:   to 'configure.ac' and run 'autoconf' again.
src/libfilter/Makefile.am:17: error: library used but 'RANLIB' is undefined
src/libfilter/Makefile.am:17:   The usual way to define 'RANLIB' is to add 'AC_PROG_RANLIB'
src/libfilter/Makefile.am:17:   to 'configure.ac' and run 'autoconf' again.
src/libtrau/Makefile.am:23: error: library used but 'RANLIB' is undefined
src/libtrau/Makefile.am:23:   The usual way to define 'RANLIB' is to add 'AC_PROG_RANLIB'
src/libtrau/Makefile.am:23:   to 'configure.ac' and run 'autoconf' again.
src/utils/Makefile.am:114: warning: compiling 'meas_json.c' with per-target flags requires 'AM_PROG_CC_C_O' in 'configure.ac'
autoreconf: automake failed with exit status: 1


Thanks
Anindya

On Thu, Sep 14, 2017 at 5:39 AM, Neels Hofmeyr <nhofmeyr@sysmocom.de> wrote:
On Tue, Sep 12, 2017 at 06:20:33PM +0530, Anindya Sankar Roy wrote:
> Hello,
>
>  I have gone through some of the documentations and now trying to install
> osmoBSC i.e just the BSC part not the openBSC or osmoNITB. I am kind of
> confused , can anyone please tell me if I can build just the BSC part and
> in order to do that what are the packages that I have to configure.

Before you build, be aware of the
https://osmocom.org/projects/cellular-infrastructure/wiki/Nightly_Builds
that may get you started without even installing a compiler.

If you really want to build:

We have the old/current osmo-bsc in openbsc.git.
There you need to explicitly enable osmo-bsc:
  ./configure --enable-osmo-bsc

We now also have the new osmo-bsc.git where you may build it on its own, but be
aware that it has moved to an actual M3UA SIGTRAN towards the MSC and is
currently not capable of SCCPlite, which the old osmo-bsc supports.

Find more detail at
https://osmocom.org/projects/cellular-infrastructure/wiki/Build_from_Source

HTH!

~N