PDA

View Full Version : Problem Installing Asterisk....



rayj00
August 31st, 2007, 07:14 PM
I am trying to install Asteriskv6 on a Ubuntu 6.10 Edgy box.
This is a new install of Edgy. I did not do an update after intallation as I do not have an internet connection at this time.

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 (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: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

darsu
August 31st, 2007, 07:27 PM
What does config.log say?

rayj00
August 31st, 2007, 07:38 PM
What does config.log say?

config.log is included in my original post!

ajgreeny
August 31st, 2007, 08:07 PM
I think you need the package build-essentials installed to do what you're trying to do. Without an internet connection it's a bit of a problem, I suspect.

rayj00
August 31st, 2007, 08:35 PM
I think you need the package build-essentials installed to do what you're trying to do. Without an internet connection it's a bit of a problem, I suspect.

Guess I'll have to lug this box home tonight and install all of the updates as well as build-essentials

Thanks,

Ray