Sziasztok
Gyors segítségre lenne szükségem.
Egy telepítés során az alábbi üzenetet kapom, pedig a ./configure szépen lefut, és minden fájl is megtalélható:
root@asterisk:/usr/src/asterisk2# make
make: -F.: Command not found
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
****
**** The configure script must be executed before running 'make'.
**** Please run "./configure".
****
make: *** [makeopts] Error 1
root@asterisk:/usr/src/asterisk2#
ha van valakinek gyors ötlete légyszives írjatok.
üdv
- 1020 megtekintés
Hozzászólások
build-essentials és hasonlók fenn vannak?
- A hozzászóláshoz be kell jelentkezni
Eloszor is:
./configure -t kell futtatni, irja. Azt normalisan parameterezni, alapesetben eleg szokott lenni a:
./configure --prefix=/usr
Masik dolog, fuggosegeket igy pakolod fel (Ha az asterisk csomagrol van szo):
sudo apt-get build-dep asterisk
- A hozzászóláshoz be kell jelentkezni
c fordító (pl gcc ) és a make fel van telepítve? debianon jártam így...
- A hozzászóláshoz be kell jelentkezni
köszönöm mindenkinek a gyors választ.
röviden a válaszok:
ezt a linket csináltam végig egy teljesen szűz rendszeren, és csak asterisk compile nem futott le szépen:(
ami itt van azt felraktam.
persze amit írtok azt is felpakolom.
ha van még ötlet segítsetek
előre is köszi üdv
How to Install Asterisk on Ubuntu 9.04 / 9.10 from Scratch
DrDamnit
Posted on 08/12/09 at 6:15 PM
3 of 3 members found this article helpful.
The point of this post is to give you a copy/paste installation solution to setting up Asterisk 1.6 on Ubuntu 9.04 (or similar) server.
#Setup the system
apt-get install subversion
apt-get install make
apt-get install linux-source kernel-package
apt-get install linux-kernel-headers
apt-get install linux-headers
apt-get install linux-headers-2.6.28-11-server #<-- or whatever matches your version.
#Install other needed stuff
aptitude install libconfig-tiny-perl libcupsimage2 libcups2 libmime-lite-perl libemail-date-format-perl libfile-sync-perl libfreetype6 libspandsp1 libtiff-tools libtiff4 libjpeg62 libmime-types-perl libpaper-utils psutils libpaper1 ncurses ncurses-dev libncurses-dev libncurses-gst ncurses-term libnewt libnewt-dev libnewt-pic libxml2 libxml2-dev libspandsp-dev libspandsp1
#Change to the proper directory
cd /usr/src/
# Get asterisk
svn co http://svn.digium.com/svn/asterisk/trunk asterisk
#or for 1.6.2 comment out the above line, and uncomment the line below.
#svn co http://svn.digium.com/svn/asterisk/branches/1.6.2/ asterisk
# Get DAHDI Kernel
svn co http://svn.digium.com/svn/dahdi/linux/trunk dahdi-kernel
# Get DAHDI Tools
svn co http://svn.digium.com/svn/dahdi/tools/trunk dahdi-tools
# Get libpri
svn co http://svn.digium.com/svn/libpri/branches/1.4/ libpri
# Compile libpri
cd /usr/src/libpri
make
# Compile the DAHDI kernel
cd /usr/src/dahdi-kernel
make
make install
# Compile the tools
cd /usr/src/dahdi-tools
./configure
make
make install
make config
# Compile asterisk
cd /usr/src/asterisk
./configure
make
make install
That's it! Hopefully that should take some of the configuration headaches out of installing Asterisk on a fresh Ubuntu system.
My original post was first published at the link below, which has some debugging discussion you may find useful.
- A hozzászóláshoz be kell jelentkezni