Initial Instal on Ubuntu 14.04

Post Reply
zeldatp151
Posts: 3
Joined: Mon Nov 10, 2014 8:51 pm

Initial Instal on Ubuntu 14.04

Post by zeldatp151 » Tue Nov 11, 2014 3:27 pm

I am trying to instal on Ubuntu 14.04. When I run autogen.sh , configure, and make I get the following error. I can't seem to find the source of this error.

Code: Select all

configure.ac:128: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:128: the top level
configure.ac:140: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:140: the top level
configure.ac:152: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:152: the top level
main::scan_file() called too early to check prototype at /usr/bin/aclocal line 616.
configure.ac:128: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:128: the top level
configure.ac:140: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:140: the top level
configure.ac:152: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:152: the top level
configure.ac:128: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:128: the top level
configure.ac:140: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:140: the top level
configure.ac:152: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:152: the top level
configure.ac:128: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:128: the top level
configure.ac:140: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:140: the top level
configure.ac:152: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:152: the top level
configure.ac:5: installing `./config.guess'
configure.ac:5: installing `./config.sub'
configure.ac:6: installing `./install-sh'
configure.ac:6: installing `./missing'
Makefile.am: installing `./depcomp'
root@FF11:/ff11/darkstar# ./configure --enable-debug
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
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... no
checking for mawk... mawk
checking whether make sets $(MAKE)... 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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LUA... yes
checking for mysql_config... no
checking for mysql_config5... no
checking whether to enable assertions... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether g++ supports -Wno-unused-parameter... yes
checking whether g++ supports -Wno-pointer-sign... yes
checking whether g++ supports -Wno-switch... yes
checking for setrlimit... yes
checking for sqrt in -lm... yes
checking for clock_gettime in -lrt... yes
Building Linux targets
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/common/config.h
config.status: executing depfiles commands
root@FF11:/ff11/darkstar# make
g++ -std=gnu++0x -DHAVE_CONFIG_H -I. -I./src/common      -DdsUDPSERV   -I/usr//include/luajit-2.0     -g -O2 -MT dsgame-blowfish.o -MD -MP -MF .deps/dsgame-blowfish.Tpo -c -o dsgame-blowfish.o `test -f 'src/common/blowfish.cpp' || echo './'`src/common/blowfish.cpp
mv -f .deps/dsgame-blowfish.Tpo .deps/dsgame-blowfish.Po
g++ -std=gnu++0x -DHAVE_CONFIG_H -I. -I./src/common      -DdsUDPSERV   -I/usr//include/luajit-2.0     -g -O2 -MT dsgame-DetourAlloc.o -MD -MP -MF .deps/dsgame-DetourAlloc.Tpo -c -o dsgame-DetourAlloc.o `test -f 'src/common/detour/DetourAlloc.cpp' || echo './'`src/common/detour/DetourAlloc.cpp
mv -f .deps/dsgame-DetourAlloc.Tpo .deps/dsgame-DetourAlloc.Po
g++ -std=gnu++0x -DHAVE_CONFIG_H -I. -I./src/common      -DdsUDPSERV   -I/usr//include/luajit-2.0     -g -O2 -MT dsgame-DetourCommon.o -MD -MP -MF .deps/dsgame-DetourCommon.Tpo -c -o dsgame-DetourCommon.o `test -f 'src/common/detour/DetourCommon.cpp' || echo './'`src/common/detour/DetourCommon.cpp
mv -f .deps/dsgame-DetourCommon.Tpo .deps/dsgame-DetourCommon.Po
g++ -std=gnu++0x -DHAVE_CONFIG_H -I. -I./src/common      -DdsUDPSERV   -I/usr//include/luajit-2.0     -g -O2 -MT dsgame-DetourNavMesh.o -MD -MP -MF .deps/dsgame-DetourNavMesh.Tpo -c -o dsgame-DetourNavMesh.o `test -f 'src/common/detour/DetourNavMesh.cpp' || echo './'`src/common/detour/DetourNavMesh.cpp
mv -f .deps/dsgame-DetourNavMesh.Tpo .deps/dsgame-DetourNavMesh.Po
g++ -std=gnu++0x -DHAVE_CONFIG_H -I. -I./src/common      -DdsUDPSERV   -I/usr//include/luajit-2.0     -g -O2 -MT dsgame-DetourNavMeshBuilder.o -MD -MP -MF .deps/dsgame-DetourNavMeshBuilder.Tpo -c -o dsgame-DetourNavMeshBuilder.o `test -f 'src/common/detour/DetourNavMeshBuilder.cpp' || echo './'`src/common/detour/DetourNavMeshBuilder.cpp
mv -f .deps/dsgame-DetourNavMeshBuilder.Tpo .deps/dsgame-DetourNavMeshBuilder.Po
g++ -std=gnu++0x -DHAVE_CONFIG_H -I. -I./src/common      -DdsUDPSERV   -I/usr//include/luajit-2.0     -g -O2 -MT dsgame-DetourNavMeshQuery.o -MD -MP -MF .deps/dsgame-DetourNavMeshQuery.Tpo -c -o dsgame-DetourNavMeshQuery.o `test -f 'src/common/detour/DetourNavMeshQuery.cpp' || echo './'`src/common/detour/DetourNavMeshQuery.cpp
mv -f .deps/dsgame-DetourNavMeshQuery.Tpo .deps/dsgame-DetourNavMeshQuery.Po
g++ -std=gnu++0x -DHAVE_CONFIG_H -I. -I./src/common      -DdsUDPSERV   -I/usr//include/luajit-2.0     -g -O2 -MT dsgame-DetourNode.o -MD -MP -MF .deps/dsgame-DetourNode.Tpo -c -o dsgame-DetourNode.o `test -f 'src/common/detour/DetourNode.cpp' || echo './'`src/common/detour/DetourNode.cpp
mv -f .deps/dsgame-DetourNode.Tpo .deps/dsgame-DetourNode.Po
g++ -std=gnu++0x -DHAVE_CONFIG_H -I. -I./src/common      -DdsUDPSERV   -I/usr//include/luajit-2.0     -g -O2 -MT dsgame-dsprand.o -MD -MP -MF .deps/dsgame-dsprand.Tpo -c -o dsgame-dsprand.o `test -f 'src/common/dsprand.cpp' || echo './'`src/common/dsprand.cpp
mv -f .deps/dsgame-dsprand.Tpo .deps/dsgame-dsprand.Po
g++ -std=gnu++0x -DHAVE_CONFIG_H -I. -I./src/common      -DdsUDPSERV   -I/usr//include/luajit-2.0     -g -O2 -MT dsgame-kernel.o -MD -MP -MF .deps/dsgame-kernel.Tpo -c -o dsgame-kernel.o `test -f 'src/common/kernel.cpp' || echo './'`src/common/kernel.cpp
src/common/kernel.cpp: In function ‘const char* get_git_revision()’:
src/common/kernel.cpp:170:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
         fgets(line, 1024, fp);
                              ^
mv -f .deps/dsgame-kernel.Tpo .deps/dsgame-kernel.Po
g++ -std=gnu++0x -DHAVE_CONFIG_H -I. -I./src/common      -DdsUDPSERV   -I/usr//include/luajit-2.0     -g -O2 -MT dsgame-malloc.o -MD -MP -MF .deps/dsgame-malloc.Tpo -c -o dsgame-malloc.o `test -f 'src/common/malloc.cpp' || echo './'`src/common/malloc.cpp
mv -f .deps/dsgame-malloc.Tpo .deps/dsgame-malloc.Po
g++ -std=gnu++0x -DHAVE_CONFIG_H -I. -I./src/common      -DdsUDPSERV   -I/usr//include/luajit-2.0     -g -O2 -MT dsgame-md52.o -MD -MP -MF .deps/dsgame-md52.Tpo -c -o dsgame-md52.o `test -f 'src/common/md52.cpp' || echo './'`src/common/md52.cpp
mv -f .deps/dsgame-md52.Tpo .deps/dsgame-md52.Po
g++ -std=gnu++0x -DHAVE_CONFIG_H -I. -I./src/common      -DdsUDPSERV   -I/usr//include/luajit-2.0     -g -O2 -MT dsgame-showmsg.o -MD -MP -MF .deps/dsgame-showmsg.Tpo -c -o dsgame-showmsg.o `test -f 'src/common/showmsg.cpp' || echo './'`src/common/showmsg.cpp
mv -f .deps/dsgame-showmsg.Tpo .deps/dsgame-showmsg.Po
g++ -std=gnu++0x -DHAVE_CONFIG_H -I. -I./src/common      -DdsUDPSERV   -I/usr//include/luajit-2.0     -g -O2 -MT dsgame-socket.o -MD -MP -MF .deps/dsgame-socket.Tpo -c -o dsgame-socket.o `test -f 'src/common/socket.cpp' || echo './'`src/common/socket.cpp
mv -f .deps/dsgame-socket.Tpo .deps/dsgame-socket.Po
g++ -std=gnu++0x -DHAVE_CONFIG_H -I. -I./src/common      -DdsUDPSERV   -I/usr//include/luajit-2.0     -g -O2 -MT dsgame-sql.o -MD -MP -MF .deps/dsgame-sql.Tpo -c -o dsgame-sql.o `test -f 'src/common/sql.cpp' || echo './'`src/common/sql.cpp
In file included from src/common/sql.cpp:30:0:
src/common/sql.h:16:27: fatal error: mysql/mysql.h: No such file or directory
   #include <mysql/mysql.h>
                           ^
compilation terminated.
make: *** [dsgame-sql.o] Error 1
Any help is greatly appreciated.

User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: Initial Instal on Ubuntu 14.04

Post by kjLotus » Tue Nov 11, 2014 3:46 pm

you didn't install the mysql development package most likely

zeldatp151
Posts: 3
Joined: Mon Nov 10, 2014 8:51 pm

Re: Initial Instal on Ubuntu 14.04

Post by zeldatp151 » Tue Nov 11, 2014 3:53 pm

Wasn't able to find the dev version for U14.04. Do you know where I can find it?

zeldatp151
Posts: 3
Joined: Mon Nov 10, 2014 8:51 pm

Re: Initial Instal on Ubuntu 14.04

Post by zeldatp151 » Tue Nov 11, 2014 4:09 pm

Ok. I found the dev libs for mysql and instlaled them. seems to have resolved the issue. Thank you.

Post Reply