Cannot build libosmocore git master for debian 7.8
I'm trying to make a Docker image to install network in a box and am having some trouble getting libosmocore to build.
From a base debian image, I'm running
apt-get update && apt-get -y upgrade && apt-get -y install wget libopencore-amrwb0 libopencore-amrnb0 libortp8 libortp-dev libopencore-amrnb-dev libopencore-amrwb-dev sqlite3 libdbi-dev libdbi1 libdbd-sqlite3 git build-essential automake libtool libpcsclite1 libpcsclite-dev then: git clone git://git.osmocom.org/libosmocore.git cd libosmocore autoreconf -i ./configure The error I'm currently getting is: checking whether struct tm has tm_gmtoff member... yes ./configure: line 12023: syntax error near unexpected token `PCSC,' ./configure: line 12023: ` PKG_CHECK_MODULES(PCSC, libpcsclite)' Any advice? Thanks, Stephen
On Mon, Mar 16, 2015 at 07:14:25PM +0000, Stephen Groat wrote: Hi!
./configure: line 12023: syntax error near unexpected token `PCSC,' ./configure: line 12023: ` PKG_CHECK_MODULES(PCSC, libpcsclite)'
Any advice? Thanks,
build the debian package with cowbuilder or such and then install it. You are missing the pkg-config m4 files which means the macro PKG_CHECK_MODULES is not expanded.. which means when you run the configure shell script you do see the above. The best way forward is to build debian packages and install them.
participants (2)
-
Holger Hans Peter Freyther -
Stephen Groat