Install Problem

I am trying to install Asteriskv6 on a Ubuntu 6.10 Edgy box.

I did: make clean
then: make

But it said the configure script must be executed before running ‘make’

I ran the configure script and it failed. Here’s some of the config.log:

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.60. Invocation command line was

$ ./configure

---------

Platform.

---------

hostname = Asterisk-IPv6
uname -m = i686
uname -r = 2.6.17-10-generic
uname -s = Linux
uname -v = #2 SMP Fri Oct 13 18:45:35 UTC 2006

/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
PATH: /usr/games

-----------

Core tests.

-----------

configure:1992: checking build system type
configure:2010: result: i686-pc-linux-gnulibc1
configure:2032: checking host system type
configure:2047: result: i686-pc-linux-gnulibc1
configure:2134: checking for gcc
configure:2150: found /usr/bin/gcc
configure:2161: result: gcc
configure:2399: checking for C compiler version
configure:2406: gcc --version >&5
gcc (GCC) 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
Copyright © 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:2409: $? = 0
configure:2416: 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 --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
configure:2419: $? = 0
configure:2426: gcc -V >&5
gcc: ‘-V’ option must have argument
configure:2429: $? = 1
configure:2452: checking for C compiler default output file name
configure:2479: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2482: $? = 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. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2521: error: C compiler cannot create executables
See `config.log’ for more details.

Any help would be appreciated!!!

Thanks,

Ray

Seems you don’t have the gcc (gnu c compiler) package installed, you have to install it to build Asterisk.

Regards.

Marco Bruni

As Marko mentioned - you have no gcc and some other development tools preinstalled.
Follow:
voip-info.org/tiki-index.php … nux+Ubuntu

Why don’t you go for dedicated Asterisk server.YOu can use ISO image for installation of asterisk.

Thanks
kgs_namboothiri@yahoo.co.in M.C.A,RHCE,CCNA,CIC,DISM,CISA