Argus-client fails on Ubuntu 14.04.1 LTS

John Gerth gerth at graphics.stanford.edu
Thu Mar 5 15:09:00 EST 2015


Compiling clients requires more dev packages, in this case you need to install
   libreadline6-dev
--
John Gerth      gerth at graphics.stanford.edu  Gates 378   (650) 725-3273

On 3/5/15 11:51 AM, Monah Baki wrote:
> Argus compiled with no issue, however running make in argus-client
> 
> 
> make[2]: Entering directory `/home/mbaki/argus-clients-3.0.8/examples/ratop'
> gcc -O -I. -I../../include -I../../common   -DHAVE_CONFIG_H -c ./raclient.c
> In file included from ./raclient.c:38:0:
> ./racurses.h:87:31: fatal error: readline/readline.h: No such file or directory
>  #include <readline/readline.h>
>                                ^
> compilation terminated.
> make[2]: *** [raclient.o] Error 1
> make[2]: Leaving directory `/home/mbaki/argus-clients-3.0.8/examples/ratop'
> making in ./ratimerange
> make[2]: Entering directory `/home/mbaki/argus-clients-3.0.8/examples/ratimerange'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/home/mbaki/argus-clients-3.0.8/examples/ratimerange'
> making in ./ratemplate
> make[2]: Entering directory `/home/mbaki/argus-clients-3.0.8/examples/ratemplate'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/home/mbaki/argus-clients-3.0.8/examples/ratemplate'
> making in ./ramysql
> make[2]: Entering directory `/home/mbaki/argus-clients-3.0.8/examples/ramysql'
> gcc -O -I. -I../../include -I../../common  -I/usr/include/mysql -DHAVE_CONFIG_H -c ./raclient.c
> In file included from ./raclient.c:54:0:
> ./rasqlinsert.h:87:31: fatal error: readline/readline.h: No such file or directory
>  #include <readline/readline.h>
>                                ^
> compilation terminated.
> make[2]: *** [raclient.o] Error 1
> make[2]: Leaving directory `/home/mbaki/argus-clients-3.0.8/examples/ramysql'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/mbaki/argus-clients-3.0.8/examples'
> make: *** [all] Error 2
> 
> 
> 
> In my config.log
> Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.2-19ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs
> --enable-languages=c,c++,java,go,d,fortran,ob
> jc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext
> --enable-threads=posix --with-gxx-include-di
> r=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes
> --enable-gnu-unique-object --disable
> -libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo
> --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-
> java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64
> --with-arch-directory=amd64 --with-ecj-jar=/usr/
> share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32
> --with-tune=generic --enable-che
> cking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
> Thread model: posix
> gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
> configure:3081: $? = 0
> configure:3070: gcc -V >&5
> gcc: error: unrecognized command line option '-V'
> gcc: fatal error: no input files
> compilation terminated.
> configure:3081: $? = 4
> configure:3070: gcc -qversion >&5
> gcc: error: unrecognized command line option '-qversion'
> gcc: fatal error: no input files
> compilation terminated.
> configure:3081: $? = 4
> configure:3101: checking whether the C compiler works
> configure:3123: gcc    conftest.c  >&5
> configure:3127: $? = 0
> configure:3175: result: yes
> configure:3178: checking for C compiler default output file name
> configure:3180: result: a.out
> 
> 



More information about the argus mailing list