Asterisk compile error make: *** [makeopts] Error 1
Hi All,
i am getting the following eroor...please help me.
Error:
--------------------------------------
debian:/usr/src/asterisk-1.4.11# make
****
**** The configure script must be executed before running 'make'.
**** Please run "./configure".
****
make: *** [makeopts] Error 1
--------------------------------------------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = debian
uname -m = i686
uname -r = 2.6.18-4-686
uname -s = Linux
uname -v = #1 SMP Mon Mar 26 17:17:36 UTC 2007
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/bin/X11
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2021: checking build system type
configure:2039: result: i686-pc-linux-gnu
configure:2061: checking host system type
configure:2076: result: i686-pc-linux-gnu
configure:2163: checking for gcc
configure:2179: found /usr/bin/gcc
configure:2190: result: gcc
configure:2428: checking for C compiler version
configure:2435: gcc --version >&5
gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2438: $? = 0
configure:2445: gcc -v >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-tune=i686 --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
configure:2448: $? = 0
configure:2455: gcc -V >&5
gcc: '-V' option must have argument
configure:2458: $? = 1
configure:2481: checking for C compiler default output file name
configure:2508: gcc conftest.c >&5
configure:2511: $? = 0
configure:2549: result: a.out
configure:2566: checking whether the C compiler works
configure:2576: ./a.out
configure:2579: $? = 0
configure:2596: result: yes
configure:2603: checking whether we are cross compiling
configure:2605: result: no
configure:2608: checking for suffix of executables
configure:2615: gcc -o conftest conftest.c >&5
configure:2618: $? = 0
configure:2642: result:
configure:2648: checking for suffix of object files
configure:2674: gcc -c conftest.c >&5
configure:2677: $? = 0
configure:2700: result: o
configure:2704: checking whether we are using the GNU C compiler
configure:2733: gcc -c conftest.c >&5
configure:2739: $? = 0
configure:2756: result: yes
configure:2761: checking whether gcc accepts -g
configure:2791: gcc -c -g conftest.c >&5
configure:2797: $? = 0
configure:2896: result: yes
configure:2913: checking for gcc option to accept ISO C89
configure:2987: gcc -c -g -O2 conftest.c >&5
configure:2993: $? = 0
configure:3016: result: none needed
configure:3040: checking how to run the C preprocessor
configure:3080: gcc -E conftest.c
configure:3086: $? = 0
configure:3117: gcc -E conftest.c
conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
configure:3123: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define _GNU_SOURCE 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3156: result: gcc -E
configure:3185: gcc -E conftest.c
configure:3191: $? = 0
configure:3222: gcc -E conftest.c
conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
configure:3228: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define _GNU_SOURCE 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3266: checking for grep that handles long lines and -e
configure:3340: result: /bin/grep
configure:3345: checking for egrep
configure:3423: result: /bin/grep -E
configure:3429: checking for AIX
configure:3451: result: no
configure:3457: checking for ANSI C header files
configure:3487: gcc -c -g -O2 conftest.c >&5
configure:3493: $? = 0
configure:3592: gcc -o conftest -g -O2 conftest.c >&5
configure:3595: $? = 0
configure:3601: ./conftest
configure:3604: $? = 0
configure:3621: result: yes
configure:3645: checking for sys/types.h
configure:3666: gcc -c -g -O2 conftest.c >&5
configure:3672: $? = 0
configure:3688: result: yes
configure:3645: checking for sys/stat.h
configure:3666: gcc -c -g -O2 conftest.c >&5
configure:3672: $? = 0
configure:3688: result: yes
configure:3645: checking for stdlib.h
configure:3666: gcc -c -g -O2 conftest.c >&5
configure:3672: $? = 0
configure:3688: result: yes
configure:3645: checking for string.h
configure:3666: gcc -c -g -O2 conftest.c >&5
configure:3672: $? = 0
configure:3688: result: yes
configure:3645: checking for memory.h
configure:3666: gcc -c -g -O2 conftest.c >&5
configure:3672: $? = 0
configure:3688: result: yes
configure:3645: checking for strings.h
configure:3666: gcc -c -g -O2 conftest.c >&5
configure:3672: $? = 0
configure:3688: result: yes
configure:3645: checking for inttypes.h
configure:3666: gcc -c -g -O2 conftest.c >&5
configure:3672: $? = 0
configure:3688: result: yes
configure:3645: checking for stdint.h
configure:3666: gcc -c -g -O2 conftest.c >&5
configure:3672: $? = 0
configure:3688: result: yes
configure:3645: checking for unistd.h
configure:3666: gcc -c -g -O2 conftest.c >&5
configure:3672: $? = 0
configure:3688: result: yes
configure:3710: checking minix/config.h usability
configure:3727: gcc -c -g -O2 conftest.c >&5
conftest.c:52:26: error: minix/config.h: No such file or directory
configure:3733: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define _GNU_SOURCE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <minix/config.h>
configure:3747: result: no
configure:3751: checking minix/config.h presence
configure:3766: gcc -E conftest.c
conftest.c:19:26: error: minix/config.h: No such file or directory
configure:3772: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define _GNU_SOURCE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <minix/config.h>
configure:3786: result: no
configure:3814: checking for minix/config.h
configure:3821: result: no
configure:3860: checking whether it is safe to define __EXTENSIONS__
configure:3888: gcc -c -g -O2 conftest.c >&5
configure:3894: $? = 0
configure:3909: result: yes
configure:4034: checking for uname
configure:4052: found /bin/uname
configure:4064: result: /bin/uname
configure:4539: checking for gcc
configure:4566: result: gcc
configure:4804: checking for C compiler version
configure:4811: gcc --version >&5
gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:4814: $? = 0
configure:4821: gcc -v >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-tune=i686 --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
configure:4824: $? = 0
configure:4831: gcc -V >&5
gcc: '-V' option must have argument
configure:4834: $? = 1
configure:4837: checking whether we are using the GNU C compiler
configure:4889: result: yes
configure:4894: checking whether gcc accepts -g
configure:5029: result: yes
configure:5046: checking for gcc option to accept ISO C89
configure:5149: result: none needed
configure:5225: checking for g++
configure:5255: result: no
configure:5225: checking for c++
configure:5255: result: no
configure:5225: checking for gpp
configure:5255: result: no
configure:5225: checking for aCC
configure:5255: result: no
configure:5225: checking for CC
configure:5255: result: no
configure:5225: checking for cxx
configure:5255: result: no
configure:5225: checking for cc++
configure:5255: result: no
configure:5225: checking for cl.exe
configure:5255: result: no
configure:5225: checking for FCC
configure:5255: result: no
configure:5225: checking for KCC
configure:5255: result: no
configure:5225: checking for RCC
configure:5255: result: no
configure:5225: checking for xlC_r
configure:5255: result: no
configure:5225: checking for xlC
configure:5255: result: no
configure:5283: checking for C++ compiler version
configure:5290: g++ --version >&5
./configure: line 5291: g++: command not found
configure:5293: $? = 127
configure:5300: g++ -v >&5
./configure: line 5301: g++: command not found
configure:5303: $? = 127
configure:5310: g++ -V >&5
./configure: line 5311: g++: command not found
configure:5313: $? = 127
configure:5316: checking whether we are using the GNU C++ compiler
configure:5345: g++ -c conftest.cpp >&5
./configure: line 5346: g++: command not found
configure:5351: $? = 127
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define _GNU_SOURCE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| /* end confdefs.h. */
| int
| main ()
| {
| #ifndef __GNUC__
| choke me
| #endif
=| ;
| return 0;
| }
configure:5368: result: noAd
configure:5373: checking whether g++ accepts -g
configure:5403: g++ -c -g conftest.cpp >&5
./configure: line 5404: g++: command not found
configure:5409: $? = 127
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define _GNU_SOURCE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| /* end confdefs.h. */
|| int
| main ()
| {
|
| ;
| return 0;
| }
configure:5441: g++ -c conftest.cpp >&5
./configure: line 5442: g++: command not found
configure:5447: $? = 127
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define _GNU_SOURCE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| /* end confdefs.h. */
|| int
| main ()
| {
|
| ;
| return 0;
| }
configure:5480: g++ -c -g conftest.cpp >&5
./configure: line 5481: g++: command not found
configure:5486: $? = 127
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define _GNU_SOURCE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| /* end confdefs.h. */
|| int
| main ()
| {
|
| ;
| return 0;
| }
configure:5508: result: no
configure:5536: checking how to run the C preprocessor
configure:5652: result: gcc -E
configure:5681: gcc -E conftest.c
configure:5687: $? = 0
configure:5718: gcc -E conftest.c
conftest.c:22:28: error: ac_nonexistent.h: No such file or directory
configure:5724: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define _GNU_SOURCE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:5766: checking how to run the C++ preprocessor
configure:5802: g++ -E conftest.cpp
./configure: line 5803: g++: command not found
configure:5808: $? = 127
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define _GNU_SOURCE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:5802: g++ -E conftest.cpp
./configure: line 5803: g++: command not found
configure:5808: $? = 127
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define _GNU_SOURCE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|Syntax error
configure:5802: /lib/cpp conftest.cpp
cpp: error trying to exec 'cc1plus': execvp: No such file or directory
configure:5808: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define _GNU_SOURCE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:5802: /lib/cpp conftest.cpp
cpp: error trying to exec 'cc1plus': execvp: No such file or directory
configure:5808: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define _GNU_SOURCE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
|