EasyCwmp - easycwmp
View Issue Details
0000093easycwmp[All Projects] Bugpublic2015-10-09 10:022015-10-22 21:59
resolvedno change required 
Linux x64Ubuntuubuntu 14.04.3
0000093: Can't install libubox
I can't install libubox. After 'make' I have error (see prntscrn in attache)
Installation proceeds according manual on http://www.easycwmp.org/index.php/manual [^]
installed dependences: curl, libtool, autoconf, git, cmake
No tags attached.
png libubox.png (71,851) 2015-10-09 10:02
Issue History
2015-10-09 10:02kp.seekerNew Issue
2015-10-09 10:02kp.seekerFile Added: libubox.png
2015-10-09 23:02mohamed.kallelNote Added: 0000307
2015-10-12 18:59kp.seekerNote Added: 0000308
2015-10-13 10:28mohamed.kallelNote Added: 0000310
2015-10-13 10:46kp.seekerNote Added: 0000311
2015-10-13 10:48kp.seekerNote Added: 0000312
2015-10-13 11:03mohamed.kallelNote Added: 0000313
2015-10-13 11:03mohamed.kallelNote Edited: 0000313bug_revision_view_page.php?bugnote_id=313#r215
2015-10-13 12:44kp.seekerNote Added: 0000314
2015-10-13 15:49mohamed.kallelNote Added: 0000315
2015-10-14 08:34kp.seekerNote Added: 0000317
2015-10-14 10:45mohamed.kallelNote Added: 0000318
2015-10-14 11:40kp.seekerNote Added: 0000319
2015-10-15 11:09mohamed.kallelNote Added: 0000320
2015-10-15 11:13mohamed.kallelNote Added: 0000321
2015-10-15 11:15mohamed.kallelNote Edited: 0000321bug_revision_view_page.php?bugnote_id=321#r217
2015-10-22 21:59mohamed.kallelStatusnew => resolved
2015-10-22 21:59mohamed.kallelResolutionopen => no change required
2015-10-22 21:59mohamed.kallelAssigned To => mohamed.kallel

2015-10-09 23:02   
this issue is the same of 0000078

This is because you are building libubox with a newest version of json-c.
try to rebuild json-c with version 0.11
2015-10-12 18:59   
Thanks, it passed. But I have error after 'make' in section "easycwmp". There's

>>> 'make: *** No targets specified and no makefile found. Stop.'
2015-10-13 10:28   
check if you have selected easycwmp in the make menuconfig (under utilities)
2015-10-13 10:46   
I have the same error for 'make menuconfig'. Version easycwmp-1.2.0
2015-10-13 10:48   
'make: *** No rule to make target 'menuconfig'. Stop.'
2015-10-13 11:03   
Forget "make menuconfig". It's for openwrt. you are building for ubuntu.

to build easycwmp, check if you are under easycwmp folder. and check if you called the following commands before make

Generate configuration files:

autoreconf -i


./configure --enable-debug --enable-devel --enable-acs=multi --enable-jsonc=1

Please follow carefully the instructions under http://easycwmp.org/index.php/manual [^]

2015-10-13 12:44   
Yes, I do all operation according to manual. There aren't errors on each steps early.
2015-10-13 15:49   
What is the output of the commands (for easycwmp build)

autoreconf -i
./configure --enable-debug --enable-devel --enable-acs=multi --enable-jsonc=1
2015-10-14 08:34   
Hello, I tried to install new version 1.2.1 and got error:

tr069@ip-dev-nb:/opt/dev/easycwmp$ autoreconf -i
configure.ac:20: installing './compile'
configure.ac:2: installing './install-sh'
configure.ac:2: installing './missing'
Makefile.am: installing './INSTALL'
bin/Makefile.am: installing './depcomp' - Everything is OK

tr069@ip-dev-nb:/opt/dev/easycwmp$ ./configure --enable-debug --enable-devel --enable-acs=multi --enable-jsonc=1
configure: WARNING: unrecognized options: --enable-acs
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking dependency style of gcc... (cached) gcc3
./configure: line 4106: syntax error near unexpected token `LIBCURL,'
./configure: line 4106: `PKG_CHECK_MODULES(LIBCURL, libcurl)' - There is error!

I have CURL-utility
2015-10-14 10:45   
you have to install libcurl and libcurl-dev
2015-10-14 11:40   
All packages installed in system

kirill@ip-dev-nb:~$ aptitude search libcurl
v libcurl-dev
v libcurl-dev:i386
p libcurl-ocaml
p libcurl-ocaml:i386
v libcurl-ocaml-d6l49
p libcurl-ocaml-dev
p libcurl-ocaml-dev:i386
v libcurl-ocaml-dev-d6l49
v libcurl-ocaml-dev-ephj1:i386
v libcurl-ocaml-ephj1:i386
v libcurl-ssl-dev
v libcurl-ssl-dev:i386
i libcurl3
p libcurl3:i386
p libcurl3-dbg
p libcurl3-dbg:i386
v libcurl3-dev
v libcurl3-dev:i386
i libcurl3-gnutls
p libcurl3-gnutls:i386
v libcurl3-gnutls-dev
v libcurl3-gnutls-dev:i386
p libcurl3-nss
p libcurl3-nss:i386
v libcurl3-nss-dev
v libcurl3-nss-dev:i386
v libcurl3-openssl-dev
v libcurl3-openssl-dev:i386
v libcurl4-dbg
v libcurl4-dbg:i386
v libcurl4-dev
v libcurl4-dev:i386
p libcurl4-doc
p libcurl4-gnutls-dev
p libcurl4-gnutls-dev:i386
p libcurl4-nss-dev
p libcurl4-nss-dev:i386
p libcurl4-openssl-dev
p libcurl4-openssl-dev:i386
p libcurlpp-dev
p libcurlpp-dev:i386
p libcurlpp0
p libcurlpp0:i386
2015-10-15 11:09   
could you provide the generated file ./configure
2015-10-15 11:13   
(edited on: 2015-10-15 11:15)
What's the version of your autoreconf

autoreconf -V

I m uusing autoreconf 2.69 and it works without any problem