On 09/25/08 06:37, Tzafrir Cohen wrote: >On Wed, Sep 24, 2008 at 05:02:53PM -0600, Joseph wrote: > >> I got this part: asterisk-1.4.21.2 but I need as add NVFaxDetect >> NVBackgroundDetect. >> There is an instruction on wiki to compile it from source but I need some >> instructions on how to compile it on Gentoo. >> When I try to compile current version from portage it keeps complaining it >> can not find /usr/bin/asterisk-config >> >> Any idea how to go about it. > >Look in the gentoo patches for a script called asterisk-config . It is >nor part of Asterisk. I also can't recall any pending patch to make it >so. >
Yes, I have that that file on my other box in: /usr/bin/asterisk-config (still running 1.2.27) I could try to to change it. I don't think I could change much except the AST_VERSION= see below: ---copy---- #!/bin/sh # # asterisk-config # # Copyright (C) 2004 Stefan Knoblich <[EMAIL PROTECTED]> # # /* # Changes: # # 0.0.2 (stkn: 20041121) # Clean-ups, renamed some options (more configure alike) # # 0.0.1 (stkn: 20041114) # Yeah it's ugly as hell, but it does it's job # */ ## # These get replaced by sed... # SOLINK='-shared -Xlinker -x' CFLAGS='-O2 -march=athlon-xp -fomit-frame-pointer -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -march=athlon-xp -fomit-frame-pointer -fomit-frame-pointer ' LIBS='-ldl -lpthread -lncurses -lm -lresolv -lssl' AST_PREFIX= AST_LIBDIR=/usr/lib/asterisk AST_ETCDIR=/etc/asterisk AST_MODDIR=/usr/lib/asterisk/modules AST_AGIDIR=/var/lib/asterisk/agi-bin AST_INCDIR=/usr/include/asterisk AST_MANDIR=/usr/share/man AST_LOGDIR=/var/log/asterisk AST_VARLIBDIR=/var/lib/asterisk AST_VARRUNDIR=/var/run/asterisk AST_SPOOLDIR=/var/spool/asterisk [EMAIL PROTECTED]@ AST_VERSION=1.2.27 ## # Don't even think about touching anything below... # ... so I won't even print it. My problme is that few lines in a source code needs to be modified before compiling it. Changing the source code is a simple thing but now the ebuild needs to be modified as well to point to the source code; too many problems. I think maybe it is time to dump Asterisk-ebuild version and get it from source. It is less problems and simpler solution. -- #Joseph _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
