[asterisk-dev] Beginner question - Opening project in kdevelop
Thiago Paiva Flores
tloginbh at yahoo.com.br
Mon Apr 30 07:14:26 MST 2007
Thanks a lot for your reply and the script.
I'm pretty new in development in linux, but I'm a user
of slackware for some time now. Most of my questions
are related to not knowing how to work with kdevelop
or any other IDE in linux since I never worked in a
development project in linux before (only really small
things that I manage my self just using GCC...).
If there is a easier way than using kdevelop like I'm
doind, I'd be pleased to know.
I dont know if the user list would be the best place
to ask these questions, but if it is there I should go
It's ok for me.
> > "Slackware is not currently supported, although an
> > init script does exist for it. else echo We could
> not
> > install init scripts for your distribution."
>
> Generally those running Slackware create their own
> startup scripts, as it is
> a fairly bare-bones distribution.
>
> This is my rc.asterisk script, which you may adapt:
>
> #!/bin/bash
>
> hw_start() {
> /sbin/modprobe zaptel
> /sbin/modprobe wct4xxp
> sleep 1
> /sbin/ztcfg
> }
>
> asterisk_start() {
> su - root -c '/usr/bin/screen -d -m
> /usr/sbin/asterisk -vvvgc'
> }
>
> hw_stop() {
> rmmod wct4xxp zaptel
> sleep 1
> }
>
> asterisk_stop() {
> /usr/sbin/asterisk -rx 'stop when convenient'
> }
>
> asterisk_stopnow() {
> /usr/sbin/asterisk -rx 'stop now'
> }
>
> ############
> ### MAIN ###
> ############
>
> case "$1" in
> 'start') # "start" brings up the hardware and
> starts asterisk
> hw_start
> asterisk_start
> ;;
> 'stop') # "stop" takes down asterisk and the
> hardware
> asterisk_stop
> hw_stop
> ;;
> 'stopnow') # "stop" takes down asterisk and does
> not wait nicely
> asterisk_stopnow
> hw_stop
> ;;
> *) # The default is to bring up all interfaces:
> hw_start
> asterisk_start
> esac
>
> > After running for a while. Seems like the problem
> is
> > with the last comand (make config).
> > When I run it alone I get the same message and
> when I
> > the line without it there is no error message...
>
> ? There is no make config. Please read the
> documentation.
>
> > I'm usind slackware 11. I just installed to work
> with
> > asterisk, so if this is really a problem with
> > slackware I could use some other distribution...
>
> I have numerous Slackware installations. I'm not
> knocking another Slacker,
> but what drew you to Slackware? Your comments
> indicate that you are fairly
> new to Linux, and Slackware's not known for its
> friendliness nor ease of use
> for the uninitiated.
__________________________________________________
Fale com seus amigos de graça com o novo Yahoo! Messenger
http://br.messenger.yahoo.com/
More information about the asterisk-dev
mailing list