Hello guys,
I installed a newly fresh Debian Lenny, downloaded openbsc project using git. But when running ./configure after autoreconf -i (which went well), I get the following message: ./configure: line 3551: syntax error near unexpected token `LIBOSMOCORE,' ./configure: line 3551: `PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore)'
I know the osmocomBB project has a bit of the focus now and that some sources in openbsc are also used in osmocomBB, hence the libosmocore? But can someone helping me out to get the openbsc build?
Thank you.
On Friday 05 March 2010 15:58:17 Nordin Bouchtaoui wrote:
Hello guys,
I installed a newly fresh Debian Lenny, downloaded openbsc project using git. But when running ./configure after autoreconf -i (which went well), I get the following message: ./configure: line 3551: syntax error near unexpected token `LIBOSMOCORE,' ./configure: line 3551: `PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore)'
Please check the archives. I can't look it up for your right now as I'm about to board an airplane...
z.
On 05-Mar-10 8:28 PM, Nordin Bouchtaoui wrote:
Hello guys,
I installed a newly fresh Debian Lenny, downloaded openbsc project using git. But when running ./configure after autoreconf -i (which went well), I get the following message: ./configure: line 3551: syntax error near unexpected token `LIBOSMOCORE,' ./configure: line 3551: `PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore)'
I know the osmocomBB project has a bit of the focus now and that some sources in openbsc are also used in osmocomBB, hence the libosmocore? But can someone helping me out to get the openbsc build?
Thank you.
Hi,
I had the exactly same problem, and as recent as this week. There was no libosmocore installed. It is solved now.
Two simple things to be done -
1. Get the libosmocore - So downloaded from (git://git.osmocom.org/libosmocore.git), autoreconf -i && ./configure && make && make install.
2. Get the OpenBSC rebased - "git pull --rebase" OpenBSC and compile it again.
I think after this you will be comfortable. In case of further doubts, can help out since I solved it very recently.
with Regards, ASHWIN
Ashwin schreef:
On 05-Mar-10 8:28 PM, Nordin Bouchtaoui wrote:
Hello guys,
I installed a newly fresh Debian Lenny, downloaded openbsc project using git. But when running ./configure after autoreconf -i (which went well), I get the following message: ./configure: line 3551: syntax error near unexpected token `LIBOSMOCORE,' ./configure: line 3551: `PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore)'
I know the osmocomBB project has a bit of the focus now and that some sources in openbsc are also used in osmocomBB, hence the libosmocore? But can someone helping me out to get the openbsc build?
Thank you.
Hi,
I had the exactly same problem, and as recent as this week. There was no libosmocore installed. It is solved now.
Two simple things to be done -
- Get the libosmocore - So downloaded from
(git://git.osmocom.org/libosmocore.git), autoreconf -i && ./configure && make && make install.
- Get the OpenBSC rebased - "git pull --rebase" OpenBSC and compile
it again.
I've done the two steps you provided me, but still the same situation. I did even git clone libosmocore repo and git clone openbsc repo. First started to buil libosmocore, which was succefully done. After that I tried to build openbsc and than the same two errormessage I stated in the first mail returns again. So, I think it can't find the libosmocore that's installed (guess somewhere in usr/local/...
What do you think?
On Tue, Mar 09, 2010 at 10:24:20AM +0100, Nordin wrote:
I've done the two steps you provided me, but still the same situation. I did even git clone libosmocore repo and git clone openbsc repo. First started to buil libosmocore, which was succefully done. After that I tried to build openbsc and than the same two errormessage I stated in the first mail returns again. So, I think it can't find the libosmocore that's installed (guess somewhere in usr/local/...
Hi Nordin,
did you actually do 'make install' with libosmocore before running ./configure of openbsc? Only the 'make install' step installs it into /usr/local/include and /usr/local/lib
I've just done the same steps (clone + autoreconf + configure + make install of libosmocore, then clone openbsc followed by autoreconf + configure + make of OpenBSC). Works fine here (debian unstable on x86_64)
./configure: line 3551: syntax error near unexpected token `LIBOSMOCORE,' ./configure: line 3551: `PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore)'
If you really get this error message, then something is wrong with your autotools/pkgconfig installation.
============== $ autoreconf --version autoreconf (GNU Autoconf) 2.65 Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+/Autoconf: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html, http://gnu.org/licenses/exceptions.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
Written by David J. MacKenzie and Akim Demaille. --- Autoconf 2.50 chosen by Debian wrapper script. For information and tuning advice see autoconf(1). ==============
furthermore, I'm using automake-1.11
Regards, Harald
did you actually do 'make install' with libosmocore before running ./configure of openbsc? Only the 'make install' step installs it into /usr/local/include and /usr/local/lib
I've checked these directories and they seem to be installed, at least I can see them.
I've just done the same steps (clone + autoreconf + configure + make install of libosmocore, then clone openbsc followed by autoreconf + configure + make of OpenBSC). Works fine here (debian unstable on x86_64)
Ok, mine is running as a virtual machine, I don't know whether the virtual environment has to do something with the problem. I'll try out on my old Linux box which is also running Debian Lenny (stable). If it installed well, than things get exciting...
./configure: line 3551: syntax error near unexpected token `LIBOSMOCORE,' ./configure: line 3551: `PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore)'
If you really get this error message, then something is wrong with your autotools/pkgconfig installation.
Do you think so? Cause libosmocore installed well, I've checked usr/local/include and usr/local/lib.
============== $ autoreconf --version autoreconf (GNU Autoconf) 2.65 Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+/Autoconf: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html, http://gnu.org/licenses/exceptions.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
Written by David J. MacKenzie and Akim Demaille.
Autoconf 2.50 chosen by Debian wrapper script. For information and tuning advice see autoconf(1). ==============
furthermore, I'm using automake-1.11
Thnx for your reponse.
Regards, Harald
Hi,
FYI: I am running OpenBSC on Debian Lenny on a virtual machine (VirtualBox) with no problems.
./configure: line 3551: syntax error near unexpected token `LIBOSMOCORE,' ./configure: line 3551: `PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore)'
Just a thought, have you installed pkg-config? (apt-get install pkg-config)
-BSS
On Tue, Mar 9, 2010 at 3:20 PM, Nordin bouchtaoui@gmail.com wrote:
did you actually do 'make install' with libosmocore before running ./configure of openbsc? Only the 'make install' step installs it into /usr/local/include and /usr/local/lib
I've checked these directories and they seem to be installed, at least I can see them.
I've just done the same steps (clone + autoreconf + configure + make install of libosmocore, then clone openbsc followed by autoreconf + configure + make of OpenBSC). Works fine here (debian unstable on x86_64)
Ok, mine is running as a virtual machine, I don't know whether the virtual environment has to do something with the problem. I'll try out on my old Linux box which is also running Debian Lenny (stable). If it installed well, than things get exciting...
./configure: line 3551: syntax error near unexpected token `LIBOSMOCORE,' ./configure: line 3551: `PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore)'
If you really get this error message, then something is wrong with your autotools/pkgconfig installation.
Do you think so? Cause libosmocore installed well, I've checked usr/local/include and usr/local/lib.
============== $ autoreconf --version autoreconf (GNU Autoconf) 2.65 Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+/Autoconf: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html, http://gnu.org/licenses/exceptions.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
Written by David J. MacKenzie and Akim Demaille.
Autoconf 2.50 chosen by Debian wrapper script. For information and tuning advice see autoconf(1). ==============
furthermore, I'm using automake-1.11
Thnx for your reponse.
Regards, Harald
Bjarni S. Sigurðsson schreef:
Hi,
FYI: I am running OpenBSC on Debian Lenny on a virtual machine (VirtualBox) with no problems.
./configure: line 3551: syntax error near unexpected token `LIBOSMOCORE,' ./configure: line 3551: `PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore)'
Just a thought, have you installed pkg-config? (apt-get install pkg-config)
Hehehe, pkg-config did the trick Bjarni. Thnx boys. I was searching pkgconfig with apt instead of pkg-config, but didn't come with usable results. Anyway, problem solved and gained extra knowledge :)