Problem when building OsmoSGSN
Hi all, I built OsmoSGSN with the these following instructions. <build instructions> git clone git://git.osmocom.org/osmo-sgsn cd osmo-sgsn autoreconf -fi ./configure --enable-iu make -j5 make check make install sudo ldconfig <build instructions> And no error came out during building process, but no “osmo-sgsn” executable was found. Pls help me. Thank you in advance. Best Regards, Xinke
Hi all, I built OsmoSGSN with the these following instructions. <build instructions> git clone git://git.osmocom.org/osmo-sgsn cd osmo-sgsn autoreconf -fi ./configure --enable-iu make -j5 make check make install sudo ldconfig <build instructions> And no error came out during building process, but no “osmo-sgsn” executable was found. Pls help me. Thank you in advance. Best Regards, Xinke
Hi, it's difficult to say if you don't provide any log or detailed information other than "it is not working", but from your input I'd say that usually you need to run make install as root (sudo make install). If you check more closely you will see that it most probably is outputting some "Permission denied" error during that step. -- - Pau Espin Pedrol <pespin@sysmocom.de> http://www.sysmocom.de/ ======================================================================= * sysmocom - systems for mobile communications GmbH * Alt-Moabit 93 * 10559 Berlin, Germany * Sitz / Registered office: Berlin, HRB 134158 B * Geschaeftsfuehrer / Managing Director: Harald Welte
Hi, Thanks for your advice. I ran make install as root, and there was no "Permission denied" error. Log files are attached to this email. Pls help check this problem. Thank you. Best Regards, Xinke ________________________________ From: Pau Espin Pedrol <pespin@sysmocom.de> Sent: Monday, January 29, 2018 11:36 To: XINKE ZHANG; osmocom-net-gprs@lists.osmocom.org Subject: Re: Problem when building OsmoSGSN Hi, it's difficult to say if you don't provide any log or detailed information other than "it is not working", but from your input I'd say that usually you need to run make install as root (sudo make install). If you check more closely you will see that it most probably is outputting some "Permission denied" error during that step. -- - Pau Espin Pedrol <pespin@sysmocom.de> http://www.sysmocom.de/ sysmocom - custom-tailored mobile telephony solutions<http://www.sysmocom.de/> www.sysmocom.de News: sysmocom introduces new sysmoBTS 2100. The sysmoBTS 2100 is a new, low-power, small-formfactor IP-backhaul GSM BTS for medium coverage outdoor applications. ======================================================================= * sysmocom - systems for mobile communications GmbH * Alt-Moabit 93 * 10559 Berlin, Germany * Sitz / Registered office: Berlin, HRB 134158 B * Geschaeftsfuehrer / Managing Director: Harald Welte
Hi, I think you forgot to attach the "make install" log, which is the interesting one in this case. -- - Pau Espin Pedrol <pespin@sysmocom.de> http://www.sysmocom.de/ ======================================================================= * sysmocom - systems for mobile communications GmbH * Alt-Moabit 93 * 10559 Berlin, Germany * Sitz / Registered office: Berlin, HRB 134158 B * Geschaeftsfuehrer / Managing Director: Harald Welte
Hi, I add the "make install" log. Pls check it. Thank you. Best Regards, Xinke ________________________________ From: Pau Espin Pedrol <pespin@sysmocom.de> Sent: Tuesday, January 30, 2018 9:19 To: XINKE ZHANG; osmocom-net-gprs@lists.osmocom.org Subject: Re: Problem when building OsmoSGSN Hi, I think you forgot to attach the "make install" log, which is the interesting one in this case. -- - Pau Espin Pedrol <pespin@sysmocom.de> http://www.sysmocom.de/ sysmocom - custom-tailored mobile telephony solutions<http://www.sysmocom.de/> www.sysmocom.de News: sysmocom introduces new sysmoBTS 2100. The sysmoBTS 2100 is a new, low-power, small-formfactor IP-backhaul GSM BTS for medium coverage outdoor applications. ======================================================================= * sysmocom - systems for mobile communications GmbH * Alt-Moabit 93 * 10559 Berlin, Germany * Sitz / Registered office: Berlin, HRB 134158 B * Geschaeftsfuehrer / Managing Director: Harald Welte
On Tue, 30 Jan 2018 06:53:22 +0000 XINKE ZHANG <xinke.zhang@hotmail.com> wrote:
checking for LIBGTP... no checking for LIBCARES... no You need to install libc-ares-dev and libc-ares2 (debian package) and compile libgtp (also an osmocom project).
./configure should hard fail, when it's missing those depdencies. I'll fix this bug later. Best, lynxis
On 30/01/18 14:59, Alexander Couzens wrote:
On Tue, 30 Jan 2018 06:53:22 +0000 XINKE ZHANG <xinke.zhang@hotmail.com> wrote:
checking for LIBGTP... no checking for LIBCARES... no You need to install libc-ares-dev and libc-ares2 (debian package) and compile libgtp (also an osmocom project).
fyi, libgtp can be found and built/installed from osmo-ggsn.git. -- - Pau Espin Pedrol <pespin@sysmocom.de> http://www.sysmocom.de/ ======================================================================= * sysmocom - systems for mobile communications GmbH * Alt-Moabit 93 * 10559 Berlin, Germany * Sitz / Registered office: Berlin, HRB 134158 B * Geschaeftsfuehrer / Managing Director: Harald Welte
Hi, I didn't find the libgtp project int the url of "https://projects.osmocom.org/". Pls show me how to fetch the libgtp codes. Thank you. Best Regards, Xinke ________________________________ From: Alexander Couzens <lynxis@fe80.eu> Sent: Tuesday, January 30, 2018 13:59 To: XINKE ZHANG Cc: Pau Espin Pedrol; osmocom-net-gprs@lists.osmocom.org Subject: Re: Problem when building OsmoSGSN On Tue, 30 Jan 2018 06:53:22 +0000 XINKE ZHANG <xinke.zhang@hotmail.com> wrote:
checking for LIBGTP... no checking for LIBCARES... no You need to install libc-ares-dev and libc-ares2 (debian package) and compile libgtp (also an osmocom project).
./configure should hard fail, when it's missing those depdencies. I'll fix this bug later. Best, lynxis
On 31/01/18 01:57, XINKE ZHANG wrote:
Hi,
I didn't find the *libgtp* project int the url of "https://projects.osmocom.org/". Pls show me how to fetch the *libgtp* codes. Thank you.
As I said in my previous message, libgtp can be found, built and installed from osmo-ggsn.git. https://git.osmocom.org/osmo-ggsn/ -- - Pau Espin Pedrol <pespin@sysmocom.de> http://www.sysmocom.de/ ======================================================================= * sysmocom - systems for mobile communications GmbH * Alt-Moabit 93 * 10559 Berlin, Germany * Sitz / Registered office: Berlin, HRB 134158 B * Geschaeftsfuehrer / Managing Director: Harald Welte
Hi, Problem has been solved. Thanks. Best Regards, Xinke Zhang 发件人: Pau Espin Pedrol<mailto:pespin@sysmocom.de> 发送时间: 2018年1月31日 18:14 收件人: XINKE ZHANG<mailto:xinke.zhang@hotmail.com>; Alexander Couzens<mailto:lynxis@fe80.eu> 抄送: osmocom-net-gprs@lists.osmocom.org<mailto:osmocom-net-gprs@lists.osmocom.org> 主题: Re: Problem when building OsmoSGSN On 31/01/18 01:57, XINKE ZHANG wrote:
Hi,
I didn't find the *libgtp* project int the url of "https://projects.osmocom.org/". Pls show me how to fetch the *libgtp* codes. Thank you.
As I said in my previous message, libgtp can be found, built and installed from osmo-ggsn.git. https://git.osmocom.org/osmo-ggsn/ -- - Pau Espin Pedrol <pespin@sysmocom.de> http://www.sysmocom.de/ ======================================================================= * sysmocom - systems for mobile communications GmbH * Alt-Moabit 93 * 10559 Berlin, Germany * Sitz / Registered office: Berlin, HRB 134158 B * Geschaeftsfuehrer / Managing Director: Harald Welte
Hi Xinke, On Sun, Jan 28, 2018 at 03:22:47AM +0000, XINKE ZHANG wrote:
I built OsmoSGSN with the these following instructions.
My first curious question is: Why are you building from source rather than using the "latest" or "nightly" package feeds we are providing at osmocom.org?
<build instructions> git clone git://git.osmocom.org/osmo-sgsn cd osmo-sgsn autoreconf -fi ./configure --enable-iu make -j5 make check make install sudo ldconfig <build instructions>
And no error came out during building process, but no “osmo-sgsn” executable was found. Pls help me. Thank you in advance.
Please provide the log output generated by the build process. you can create this by something like ./configure --enable-iu 2>&1 | tee /tmp/configure.log make -j5 2>&1 | tee /tmp/make.log etc. which ensures that both stdout and stderr end up in the respective .log file. -- - 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)
participants (4)
-
Alexander Couzens -
Harald Welte -
Pau Espin Pedrol -
XINKE ZHANG