Re: [Spock Proxy Devel] autoconf problem - now configure problem
Status: Alpha
Brought to you by:
kaotao
From: Burak B. <bur...@gm...> - 2009-03-21 01:48:36
|
Ok, I added AC_PROG_CXX to configure.in that worked, but now I get the following. I have lua5.1 installed. I am on Ubuntu 8.1. BTW: Would it be possible to make binary release like MySQL Proxy guys? ---- burak@bizdik:~/Desktop/0.8.0$ ./configure checking for g++... g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-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... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... gcc 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 dependency style of gcc... gcc3 ./configure: line 3995: AC_PROG_LD: command not found checking for a BSD-compatible install... /usr/bin/install -c checking for gawk... (cached) gawk checking for flex... no checking for lex... no checking how to run the C preprocessor... gcc -E checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking whether gcc and cc understand -c and -o together... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for AIX... no checking for library containing strerror... none required 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking for function prototypes... yes checking for string.h... (cached) yes ./configure: line 5573: AC_DISABLE_STATIC: command not found ./configure: line 5575: AC_PROG_LIBTOOL: command not found checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking sys/filio.h usability... no checking sys/filio.h presence... no checking for sys/filio.h... no checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking valgrind/valgrind.h usability... no checking valgrind/valgrind.h presence... no checking for valgrind/valgrind.h... no checking for an ANSI C-conforming const... yes checking for inline... inline checking whether char is unsigned... no checking return type of signal handlers... void checking whether lstat dereferences a symlink specified with a trailing slash... yes checking whether stat accepts an empty string... no checking for strftime... yes checking for library containing socket... none required checking for library containing gethostbyname... none required checking for library containing hstrerror... none required checking for socklen_t... yes checking for MySQL support... yes checking for mysql_config... /usr/bin/mysql_config checking for MySQL includes at... -I/usr/include/mysql checking errmsg.h usability... yes checking errmsg.h presence... yes checking for errmsg.h... yes checking mysql.h usability... yes checking mysql.h presence... yes checking for mysql.h... yes checking for mysqltest binary... /usr/bin/mysqltest checking for mysql libs... -Wl,-Bsymbolic-functions -rdynamic -L/usr/lib/mysql -lmysqlclient_r checking for pkg-config... /usr/bin/pkg-config checking for lua... yes checking pkg-config is at least version 0.9.0... yes checking for LUA... no checking for LUA... configure: error: Package requirements (lua5.1 >= 5.1) were not met: No package 'lua5.1' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables LUA_CFLAGS and LUA_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. Burak Bayramli wrote: > Hi, I downloaded the tarball, untarred and did ./autogen.sh. I get > > /usr/share/automake-1.10/am/depend2.am: am__fastdepCXX does not appear > in AM_CONDITIONAL > /usr/share/automake-1.10/am/depend2.am: The usual way to define > `am__fastdepCXX' is to add `AC_PROG_CXX' > /usr/share/automake-1.10/am/depend2.am: to `configure.in' and run > `aclocal' and `autoconf' again. > src/Makefile.am: C++ source seen but `CXX' is undefined > src/Makefile.am: The usual way to define `CXX' is to add `AC_PROG_CXX' > src/Makefile.am: to `configure.in' and run `autoconf' again. > configure.in: installing `./ylwrap' > > Any ideas? Any help will be much appreciated.. |