[asterisk-users] Inquiry:Installing Asterisk 1.4 on CentOS 5.2?

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Dec 22 03:23:10 CST 2009


On Tue, Dec 22, 2009 at 07:37:50AM +0000, hadi motamedi wrote:
> On Tue, Dec 22, 2009 at 7:28 AM, Warren Selby <wcselby at selbytech.com> wrote:
> 
> >  And what is the output of the ./configure?  Does it generate any errors?
> >
> >
> >
> > Thanks,
> > --Warren Selby
> >
> > On Dec 22, 2009, at 1:09 AM, hadi motamedi <motamedi24 at gmail.com> wrote:
> >
> >
> >
> > On Tue, Dec 22, 2009 at 6:56 AM, Warren Selby <wcselby at selbytech.com>wrote:
> >
> >>  On Mon, Dec 21, 2009 at 11:12 PM, hadi motamedi <motamedi24 at gmail.com>wrote:
> >>
> >>>
> >>> Please find below the error message that I got when issuing "make
> >>> install" :
> >>> [root at mss-0 asterisk-1.4.26]# make install
> >>> make: -F.: Command not found
> >>> ****
> >>> **** The configure script must be executed before running 'make'.
> >>> ****               Please run "./configure".
> >>> ****
> >>> make: *** [makeopts] Error 1
> >>>
> >>>
> >>
> >> And did you run ./configure like the error message says?
> >>
> >> --
> >> Thanks,
> >> --Warren Selby
> >> http://www.selbytech.com
> >>
> >> _______________________________________________
> >> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> >>
> >> asterisk-users mailing list
> >> To UNSUBSCRIBE or update options visit:
> >>   http://lists.digium.com/mailman/listinfo/asterisk-users
> >>
> >
> >
> > Yes , I did .
> >
> >
> >
> >  _______________________________________________
> > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> >   http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> >
> > _______________________________________________
> > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> >   http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> 
> 
> 
> Please find below the output of "./configure" :
> 
> [root at mss-0 asterisk-1.4.26]# ./configure
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking for gcc... gcc
> 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 gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking how to run the C preprocessor... gcc -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 minix/config.h usability... no
> checking minix/config.h presence... no
> checking for minix/config.h... no
> checking whether it is safe to define __EXTENSIONS__... yes
> checking for uname... /bin/uname
> checking for gcc... (cached) gcc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for gcc option to accept ISO C89... (cached) none needed
> checking for g++... no
> checking for c++... no
> checking for gpp... no
> checking for aCC... no
> checking for CC... no
> checking for cxx... no
> checking for cc++... no
> checking for cl.exe... no
> checking for FCC... no
> checking for KCC... no
> checking for RCC... no
> checking for xlC_r... no
> checking for xlC... no
> checking whether we are using the GNU C++ compiler... no
> checking whether g++ accepts -g... no
> checking how to run the C preprocessor... gcc -E
> checking how to run the C++ preprocessor... /lib/cpp
> configure: error: in `/usr/local/asterisk-1.4.26':
> configure: error: C++ preprocessor "/lib/cpp" fails sanity check
> See `config.log' for more details.

Do you have gcc and company installed? gxx, g++?

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list