Re: klone package project compile error

2017-03-21 Thread vlpoliakov
Dear Sirs!Hello! I made some test on LinuxMint 18.1 (4.4.0-67-generic #88-Ubuntu SMP Wed Mar 8 16:34:45 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux) Default gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4)  make project klone 3.1.0  with some errors: libu/party.log: :0:8: error: expected identifier or ‘(’ before numeric constanttoolbox/misc.c:41:1: note: in expansion of macro ‘inline’inline int u_isblank (int c)^..  but other versions gcc from repository, gcc version 4.7.4 (Ubuntu/Linaro 4.7.4-3ubuntu12)  compile OK!gcc version 4.8.5 (Ubuntu 4.8.5-4ubuntu2)  compile OK!gcc version 4.9.3 (Ubuntu 4.9.3-13ubuntu2)  compile OK! brgds,Vladimir  

-- 
Ubuntu-motu mailing list
Ubuntu-motu@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu


Re: klone package project compile error

2017-03-16 Thread vlpoliakov

15.03.2017, 16:06, "Steve Kowalik" :
> On 14/03/17 11:21, vlpoliakov wrote:
>>  /bin/sh: 1: g++: not found
>
> That is the cause of the failed build -- you need to install the
> 'build-essential' package, it is assumed to be installed for every build.
>
> --
>  Steve
> "I'm a doctor, not a doorstop!"
>   - EMH, USS Enterprise



Hi!

'build-essential' package installed, I try compile many time on other system,
sorry for my mistake...


My system Linuxmint 18.1

Package: build-essential 
State: installed
Automatically installed: no
Version: 12.1ubuntu2
Priority: optional
Section: devel
Maintainer: Ubuntu Developers 
Architecture: amd64

do make:
...
...
...

make[5]: Entering directory 
'/home/vnp/WORK/customkloneapp-0.1/build/target/klone-core-2.1.0rc1/webapp'
touch .depend
/home/vnp/WORK/customkloneapp-0.1/build/target/klone-core-2.1.0rc1/makl/helpers/mkdep.gcc.sh
 -f .depend 
-I/home/vnp/WORK/customkloneapp-0.1/build/target/klone-core-2.1.0rc1/libu/include
 -I/home/vnp/WORK/customkloneapp-0.1/build/target/klone-core-2.1.0rc1 
-DHAVE_CONF_H -Dinline="" -I/usr/local/include -I/usr/local/include -O2  -a 
webapp.c 
gcc: error: unrecognized command line option '-a'
mkdep: compile failed
priv/deps.mk:24: recipe for target 'realdepend' failed
make[5]: *** [realdepend] Error 1
make[5]: Leaving directory 
'/home/vnp/WORK/customkloneapp-0.1/build/target/klone-core-2.1.0rc1/webapp'
/home/vnp/WORK/customkloneapp-0.1/build/target/klone-core-2.1.0rc1/makl/mk/subdir.mk:32:
 recipe for target 'webapp' failed
make[4]: *** [webapp] Error 2
make[4]: Leaving directory 
'/home/vnp/WORK/customkloneapp-0.1/build/target/klone-core-2.1.0rc1'
/home/vnp/WORK/customkloneapp-0.1/build/target/klone-core-2.1.0rc1/makl/mk/subdir.mk:38:
 recipe for target 'depend' failed
make[3]: *** [depend] Error 2
make[3]: Leaving directory 
'/home/vnp/WORK/customkloneapp-0.1/build/target/klone-core-2.1.0rc1'
build/mk/klone-app.mk:143: recipe for target 'klone-setup' failed
make[2]: *** [klone-setup] Error 2
make[2]: Leaving directory '/home/vnp/WORK/customkloneapp-0.1'
target-options.mk:33: recipe for target '.real-klone-setup' failed
make[1]: *** [.real-klone-setup] Error 2
make[1]: Leaving directory '/home/vnp/WORK/customkloneapp-0.1'
/home/vnp/WORK/customkloneapp-0.1/build/makl/mk/target-options.mk:14: recipe 
for target 'target-options-default' failed
make: *** [target-options-default] Error 1


-- 
WP

-- 
Ubuntu-motu mailing list
Ubuntu-motu@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu


Re: klone package project compile error

2017-03-14 Thread Steve Kowalik

On 14/03/17 11:21, vlpoliakov wrote:

/bin/sh: 1: g++: not found


That is the cause of the failed build -- you need to install the 
'build-essential' package, it is assumed to be installed for every build.


--
Steve
"I'm a doctor, not a doorstop!"
 - EMH, USS Enterprise

--
Ubuntu-motu mailing list
Ubuntu-motu@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu


klone package project compile error

2017-03-14 Thread vlpoliakov
Diar Sirs!

Package: klone
 Version: 2.1.0~rc1-1
 Architecture: all
 Maintainer: Ubuntu MOTU Developers 
 Original-Maintainer: Kari Pahula 
 Installed-Size: 572
 Recommends: klone-package
 Suggests: klone-doc
 Conflicts: klone-package (<= 0.2), klone-source
 Replaces: klone-source
 Section: web
 Priority: extra
 Homepage: http://www.koanlogic.com/klone/
 Description: embedded web application development framework
  This package contains KLone's source code, to be used to build custom
  kloned servers.


Compile with errors:


mdnas customkloneapp-0.1 # LANG=C make
make[1]: Entering directory '/data/scripts/rdocs/customkloneapp-0.1'
make[1]: Nothing to be done for 'host-setup-make'.
make[1]: Leaving directory '/data/scripts/rdocs/customkloneapp-0.1'
make[1]: Entering directory '/data/scripts/rdocs/customkloneapp-0.1'
make[2]: Entering directory '/data/scripts/rdocs/customkloneapp-0.1'
make[2]: Nothing to be done for 'klone-setup-pre'.
==> setup...
make[3]: Entering directory 
'/data/scripts/rdocs/customkloneapp-0.1/build/target'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/data/scripts/rdocs/customkloneapp-0.1/build/target'
checking for basic required tools
setting package name to klone
setting version to 2.1.0rc1
checking for header stdint
checking for header getopt
checking for header unistd
checking for header sys_select
checking for header sys_wait
checking for header sys_dir
checking for symbol SA_RESTART
adding optional lib dependency openssl
adding optional lib dependency openssl_psk
adding optional lib dependency z
checking for type pid_t
checking for tm_gmtoff in struct tm
checking for function syslog
checking for function mkstemp
checking for function localtime_r
checking for inline keyword support
compilation failed
[wrn] failed check on optional inline keyword support
adding optional featx dependency doxygen
handling command-line arguments
checking dependencies
searching for optional lib feature openssl
searching for optional lib feature openssl_psk
searching for optional lib feature z
searching for optional featx feature doxygen
[wrn] could not find optional featx dependency doxygen
processing configuration output from cache
make[3]: Entering directory 
'/data/scripts/rdocs/customkloneapp-0.1/build/target/klone-core-2.1.0rc1'
make[4]: Entering directory 
'/data/scripts/rdocs/customkloneapp-0.1/build/target/klone-core-2.1.0rc1/build/libu'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory 
'/data/scripts/rdocs/customkloneapp-0.1/build/target/klone-core-2.1.0rc1/build/libu'
make[4]: Entering directory 
'/data/scripts/rdocs/customkloneapp-0.1/build/target/klone-core-2.1.0rc1/webapp'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory 
'/data/scripts/rdocs/customkloneapp-0.1/build/target/klone-core-2.1.0rc1/webapp'
make[4]: Entering directory 
'/data/scripts/rdocs/customkloneapp-0.1/build/target/klone-core-2.1.0rc1/site'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory 
'/data/scripts/rdocs/customkloneapp-0.1/build/target/klone-core-2.1.0rc1/site'
make[4]: Entering directory 
'/data/scripts/rdocs/customkloneapp-0.1/build/target/klone-core-2.1.0rc1/src'
make[5]: Entering directory 
'/data/scripts/rdocs/customkloneapp-0.1/build/target/klone-core-2.1.0rc1/src/libutils'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory 
'/data/scripts/rdocs/customkloneapp-0.1/build/target/klone-core-2.1.0rc1/src/libutils'
make[5]: Entering directory 
'/data/scripts/rdocs/customkloneapp-0.1/build/target/klone-core-2.1.0rc1/src/libbackend'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory 
'/data/scripts/rdocs/customkloneapp-0.1/build/target/klone-core-2.1.0rc1/src/libbackend'
make[5]: Entering directory 
'/data/scripts/rdocs/customkloneapp-0.1/build/target/klone-core-2.1.0rc1/src/libcodec'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory 
'/data/scripts/rdocs/customkloneapp-0.1/build/target/klone-core-2.1.0rc1/src/libcodec'
make[5]: Entering directory 
'/data/scripts/rdocs/customkloneapp-0.1/build/target/klone-core-2.1.0rc1/src/libemb'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory 
'/data/scripts/rdocs/customkloneapp-0.1/build/target/klone-core-2.1.0rc1/src/libemb'
make[5]: Entering directory 
'/data/scripts/rdocs/customkloneapp-0.1/build/target/klone-core-2.1.0rc1/src/libhttp'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory 
'/data/scripts/rdocs/customkloneapp-0.1/build/target/klone-core-2.1.0rc1/src/libhttp'
make[5]: Entering directory 
'/data/scripts/rdocs/customkloneapp-0.1/build/target/klone-core-2.1.0rc1/src/libio'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory 
'/data/scripts/rdocs/customkloneapp-0.1/build/target/klone-core-2.1.0rc1/src/libio'
make[5]: Entering directory 
'/data/scripts/rdocs/customkloneapp-0.1/build/target/klone-core-2.1.0rc1/src/libpage'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory 
'/data/scripts/rdoc