Linux didn't response to CVS code checkout


#1

Hi,

When I want to checkout the latest CVS repository after key-in “export CVSROOT=:pserver:anoncvs@cvs.digium.com:/usr/cvsroot” and hit enter, there is no response to the command.

My system distribution is Fedora Core 2 (kernel-2.6.5-1.358 ) with cvs-1.11.15 and firewall is disable at the time of checkout. What went wrong? :question:

Thanks.


#2

Maybe you did not open CVS port in your firewall ?


#3

Come on, what do you expect? The command you are executing is “export”. That does not get you the source. Re-read the instructions you are following. There should be at least another command following this one.


#4

You should not be so pushy !

He could use export with other parameters he did not mentioned…
Do you know what export means ?!.
It is used to export a CVS project without CVS directories.
Nothing to do with an CVS import ofcourse !


#5

I really want to be gentle.
Please type “help export” on the command line. If you are not using bash (highly unlikely), try “man export”.
He was not doing a “cvs export”.
Before you comment on my response, please at least read what I am responding to.

The export of CVSROOT is in preparation of an eventual “cvs co …”, the command that actually ‘gets’ the source. Quoting the export line allone suggests that he is following instructions, but not correctly.


#6

mkdir /usr/src/asterisk
cd /usr/src/asterisk
wget asterisk.org/html/downloads/ … 0.7.tar.gz
wget asterisk.org/html/downloads/ … 0.7.tar.gz
wget asterisk.org/html/downloads/ … 0.7.tar.gz
tar -zxf asterisk-1.0.7.tar.gz
tar -zxf zaptel-1.0.7.tar.gz
tar -zxf libpri-1.0.7.tar.gz
cd zaptel-1.0.7
make clean; make install
cd …/libpri-1.0.7
make clean; make install
cd …/asterisk-1.0.7
make clean; make install

if you want to use ztdummy it would look like this

mkdir /usr/src/asterisk
cd /usr/src/asterisk
wget asterisk.org/html/downloads/ … 0.7.tar.gz
wget asterisk.org/html/downloads/ … 0.7.tar.gz
wget asterisk.org/html/downloads/ … 0.7.tar.gz
tar -zxf asterisk-1.0.7.tar.gz
tar -zxf zaptel-1.0.7.tar.gz
tar -zxf libpri-1.0.7.tar.gz
cd zaptel-1.0.7
sed -e ‘s/.# ztdummy./“ztdynamic ztd-eth wct1xxp wct4xxp wcte11xp ztdummy”/g’ Makefile > Makefile2
mv Makefile2 Makefile
make clean; make install
cd …/libpri-1.0.7
make clean; make install
cd …/asterisk-1.0.7
make clean; make install


#7

The sequence is:

cd /usr/src

export \ CVSROOT=:pserver:anoncvs@cvs.digium.com:/usr/cvsroot

cvs login - the password is anoncvs.

cvs checkout zaptel libpri asterisk

As explained here:
asterisk.org/index.php?menu=download