hello all 2day i decided to install openbsc completely neu (had some trouble with the bs11_config), according to the website. libosmocore went thru without problems, openbsc came to the ./configure when the problem occured. the error was: ./configure: line 3673: syntax error near unexpected token `LIBOSMOSCCP,' ./configure: line 3673: ` PKG_CHECK_MODULES(LIBOSMOSCCP, libosmo-sccp >= 0.0.2)' of course i looked at line 3673, but i'm a linux newbie, so i didnt really understand.
in the /usr/local/lib/pkgconfig are 3 files: libosmocodec.pc: prefix=/usr/local exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include
Name: Osmocom Codec related utilities Library Description: C Utility Library Version: 0.1.27.16-ab12 Libs: -L${libdir} -losmocodec Cflags: -I${includedir}/
libosmocore.pc: prefix=/usr/local exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include
Name: Osmocom Core Library Description: C Utility Library Version: 0.1.27.16-ab12 Libs: -L${libdir} -losmocore Cflags: -I${includedir}/
and libosmovty.pc: prefix=/usr/local exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include
Name: Osmocom VTY Interface Library Description: C Utility Library Version: 0.1.27.16-ab12 Libs: -L${libdir} -losmovty Cflags: -I${includedir}/
up to the configure call, everything worked fine, libosmocore was complete installed. a makefile wasnt created -> bad!
what went wrong?
T.
On Wed, Dec 15, 2010 at 02:05:18PM +0100, Thomas Ansorg wrote:
hello all 2day i decided to install openbsc completely neu (had some trouble with the bs11_config), according to the website. libosmocore went thru without problems, openbsc came to the ./configure when the problem occured. the error was: ./configure: line 3673: syntax error near unexpected token `LIBOSMOSCCP,' ./configure: line 3673: ` PKG_CHECK_MODULES(LIBOSMOSCCP, libosmo-sccp >= 0.0.2)' of course i looked at line 3673, but i'm a linux newbie, so i didnt really understand.
I think you may simply be missing the pkg-config program itself. Make sure that is installed, and then do the "autoreconf -i" again, as well as the ./configure, make, etc...