I received following error while compling osmo-trx on rasbian, i have already build libosmocore-0-11-0 from source and installed but despite this still unable to compile osmo-trx, any one can help to resolve the issue! configure: error: Package requirements (libosmocore >= 0.11.0) were not met: Requested ‘libosmocore >= 0.11.0’ but version of Osmocom Core Library is UNKNOWN Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.”
I have already build following components on Rasbian from source successfully LimeSuite SoapySDR SoapyUHD libosmocore-0.11.0/ libosmocore-0.96.0 RegardsBabar
Hi Babar,
On Wed, May 23, 2018 at 10:23:48PM +0000, Babar Ali wrote:
I received following error while compling osmo-trx on rasbian, i have already build libosmocore-0-11-0 from source and installed but despite this still unable to compile osmo-trx, any one can help to resolve the issue!
You must have been doing something wrong either during building that version, or during installation.
The problem you are describing is a rather generic problem when building FOSS from source using autotools and pkg-config, nothing that really seems to related to a problem with the Osmocom stack.
configure: error: Package requirements (libosmocore >= 0.11.0) were not met:
I can assure you that if you actually built a 0.11.0 version, the dependency check will work. We have automatic compile tests of every single change we make, and we're automatically building debian packages every night in Osmocom, and there have not been any issues with missed dependencies or wrong versions.
Please thoroughly check your local system or start from a clean system.
Requested ‘libosmocore >= 0.11.0’ but version of Osmocom Core Library is UNKNOWN
This clearly shows that you have somehow messed up the compilation/installation process, and that the pkg-config file for libosmocore was generated wrongly.
On Thu, May 24, 2018 at 08:47:26AM +0200, Harald Welte wrote:
Requested ‘libosmocore >= 0.11.0’ but version of Osmocom Core Library is UNKNOWN
An idea here is that we determine the version from git, or otherwise put a .version file in a tar when generating a tar. If you were to take the source code and autoconf/configure it without either of those, you should get UNKNOWN.
HTH ~N
On Thu, May 24, 2018 at 03:54:40PM +0200, Neels Hofmeyr wrote:
On Thu, May 24, 2018 at 08:47:26AM +0200, Harald Welte wrote:
Requested ‘libosmocore >= 0.11.0’ but version of Osmocom Core Library is UNKNOWN
An idea here is that we determine the version from git, or otherwise put a .version file in a tar when generating a tar. If you were to take the source code and autoconf/configure it without either of those, you should get UNKNOWN.
yes, but where would you "take" related source code from? * git repository contains .git and thus git-version-gen works * "make dist" generates a tarball with .version (just verified)
Where else would you get the source code from?
Hi Neels & Harald Thanks your for your help & support, i just grabbed tar file direct using wget wget https://github.com/osmocom/libosmocore/archive/0.11.0.tar.gz and extracted and build Regards
Babar Ali
On Thursday, 24 May 2018, 7:10:06 PM GMT+5, Harald Welte laforge@gnumonks.org wrote:
On Thu, May 24, 2018 at 03:54:40PM +0200, Neels Hofmeyr wrote:
On Thu, May 24, 2018 at 08:47:26AM +0200, Harald Welte wrote:
Requested ‘libosmocore >= 0.11.0’ but version of Osmocom Core Library is UNKNOWN
An idea here is that we determine the version from git, or otherwise put a .version file in a tar when generating a tar. If you were to take the source code and autoconf/configure it without either of those, you should get UNKNOWN.
yes, but where would you "take" related source code from? * git repository contains .git and thus git-version-gen works * "make dist" generates a tarball with .version (just verified)
Where else would you get the source code from?
Hi Babar,
On Thu, May 24, 2018 at 03:14:32PM +0000, Babar Ali wrote:
Thanks your for your help & support, i just grabbed tar file direct using wget wget https://github.com/osmocom/libosmocore/archive/0.11.0.tar.gz
Where did you find instructions that this would work?
Hi Harald i just tired myself, no one has suggested to compile this way, I am newbie in this radio world, and much eager to learn about gsm, Would you please suggest me the right way to dig into this world, as i have no prerequisite knowledge about this world, but just and little much I've just searched on internet and tried to start learning.
Regards
Babar Ali
On Thursday, 24 May 2018, 8:30:09 PM GMT+5, Harald Welte laforge@gnumonks.org wrote:
Hi Babar,
On Thu, May 24, 2018 at 03:14:32PM +0000, Babar Ali wrote:
Thanks your for your help & support, i just grabbed tar file direct using wget wget https://github.com/osmocom/libosmocore/archive/0.11.0.tar.gz
Where did you find instructions that this would work?
Oh geez -- if one goes to github, clicks on "releases", one gets a link to a tar that obviously is just the source tree without a .version file.
Maybe we should add an explicit check to our build that errors out if the version is unknown?
Babar, the best course would be to install the latest packages from our feeds, or to build from source using a git clone.
http://osmocom.org/projects/cellular-infrastructure/wiki/Binary_Packages http://osmocom.org/projects/cellular-infrastructure/wiki/Build_from_Source
~N
Thank You Neels Now i’ll try to build the source using git clone But git tag -l does not shows 0.11.0 version it only shows the version till 0.96.0
Sent from Yahoo Mail for iPhone
On Friday, May 25, 2018, 4:49 PM, Neels Hofmeyr nhofmeyr@sysmocom.de wrote:
Oh geez -- if one goes to github, clicks on "releases", one gets a link to a tar that obviously is just the source tree without a .version file.
Maybe we should add an explicit check to our build that errors out if the version is unknown?
Babar, the best course would be to install the latest packages from our feeds, or to build from source using a git clone.
http://osmocom.org/projects/cellular-infrastructure/wiki/Binary_Packages http://osmocom.org/projects/cellular-infrastructure/wiki/Build_from_Source
~N
hi harald i am still unable complie & install osmotrx here attached complete compile log, would you please point out where is mistake.
Regards
Babar Ali
On Thursday, 24 May 2018, 8:30:09 PM GMT+5, Harald Welte laforge@gnumonks.org wrote:
Hi Babar,
On Thu, May 24, 2018 at 03:14:32PM +0000, Babar Ali wrote:
Thanks your for your help & support, i just grabbed tar file direct using wget wget https://github.com/osmocom/libosmocore/archive/0.11.0.tar.gz
Where did you find instructions that this would work?
On Thu, May 24, 2018 at 04:10:17PM +0000, Babar Ali wrote:
hi harald i am still unable complie & install osmotrx here attached complete compile log, would you please point out where is mistake.
I can't see any mistake there. 'make install' went through fine and succeeded. If there are errors besides the compiler warnings, they are not in your mail. Errors are usually given away by the word "error" :P
You should find stuff installed in /usr/local/bin/, might need to add that to your PATH env.
Are you aware that you built as 'root'? You usually don't want to do that, except maybe the 'make install' step.
Your system's name is "nanoBTS" -- you are aware that osmo-trx is used for SDR hardware and is not applicable to a nanoBTS in the slightest?
~N
I just make it using root user and then make install, Did you noticed in complier log which shows “Nothing to be done for install..... in most cases ! What does its mean? I just changed my raspbian host name as nanoBTS, i already aware that osmos-trx works for SDR! Presently i am compiling it to work with LimeSDR mini, would you please suggest which version will work perfectly with LimeSDR mini?? Thank You Regards Babar
On Friday, May 25, 2018, 5:06 PM, Neels Hofmeyr nhofmeyr@sysmocom.de wrote:
On Thu, May 24, 2018 at 04:10:17PM +0000, Babar Ali wrote:
hi harald i am still unable complie & install osmotrx here attached complete compile log, would you please point out where is mistake.
I can't see any mistake there. 'make install' went through fine and succeeded. If there are errors besides the compiler warnings, they are not in your mail. Errors are usually given away by the word "error" :P
You should find stuff installed in /usr/local/bin/, might need to add that to your PATH env.
Are you aware that you built as 'root'? You usually don't want to do that, except maybe the 'make install' step.
Your system's name is "nanoBTS" -- you are aware that osmo-trx is used for SDR hardware and is not applicable to a nanoBTS in the slightest?
~N
Hi Neels I just made fresh insallation rasbian, again tried to build osmot-trx I am able to make and install only following binaries. 1:- osmo-trx-uhd2:- osmo-trx-lms <— build with limesdr support But make install did not build osmo-trx binary, nither i have found in /usr/local/bin Would you please help/guide me the right way. Regards Babar
On Friday, May 25, 2018, 5:06 PM, Neels Hofmeyr nhofmeyr@sysmocom.de wrote:
On Thu, May 24, 2018 at 04:10:17PM +0000, Babar Ali wrote:
hi harald i am still unable complie & install osmotrx here attached complete compile log, would you please point out where is mistake.
I can't see any mistake there. 'make install' went through fine and succeeded. If there are errors besides the compiler warnings, they are not in your mail. Errors are usually given away by the word "error" :P
You should find stuff installed in /usr/local/bin/, might need to add that to your PATH env.
Are you aware that you built as 'root'? You usually don't want to do that, except maybe the 'make install' step.
Your system's name is "nanoBTS" -- you are aware that osmo-trx is used for SDR hardware and is not applicable to a nanoBTS in the slightest?
~N
I already pointed you at the wiki page describing how to build from source, and already commented that your build log looks perfectly fine.
"Nothing to be done for install" happens only in source directories where, hold your breath, nothing needs to be installed. If you get no "error", then there is no error, as I did actually mention before.
The problem you are having should be super trivial -- it doesn't seem to be specific to Osmocom.
I will not try to solve it by email, which is very inefficient for this kind of problem. I hope you can get someone to help you out with it, maybe taking a peek over your shoulder. For all I can tell you're already done.
~N
I am able to make and install only following binaries.
1:- osmo-trx-uhd 2:- osmo-trx-lms <— build with limesdr support
But make install did not build osmo-trx binary, nither i have found in /usr/local/bin
As of current master, osmo-trx no longer exists. It was replaced by osmo-trx-uhd, so you should use that one most probably.
HI Babar, just use git clone. here is some example / tips for you https://osmocom.org/projects/cellular-infrastructure/wiki/OpenBSC_with_Aster...
hope that helps.
regards, DUO
On Thu, May 24, 2018 at 10:26 PM, Harald Welte laforge@gnumonks.org wrote:
Hi Babar,
On Thu, May 24, 2018 at 03:14:32PM +0000, Babar Ali wrote:
Thanks your for your help & support, i just grabbed tar file direct
using wget
wget https://github.com/osmocom/libosmocore/archive/0.11.0.tar.gz
Where did you find instructions that this would work?
--
- Harald Welte laforge@gnumonks.org
http://laforge.gnumonks.org/
================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6)