bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cvs import: cannot lstat file : No such file or directory


From: melissa . fielding
Subject: Re: cvs import: cannot lstat file : No such file or directory
Date: Thu, 25 Jul 2002 13:07:35 -0400

Thanks for replying so quickly.  I'm taking your advice and starting all
over here is what I've done and what my output is:


I ran the make distclean

Then I ran:

./configure -prefix=/app/cvs

I got:
creating cache ./config.cache
checking for mawk... no
checking for gawk... no
checking for nawk... nawk
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH

So I ran:

CC=/usr/ucb/cc ./configure -prefix=/app/cvs

I got:

loading cache ./config.cache
checking for mawk... no
checking for gawk... no
checking for nawk... nawk
checking for gcc... /usr/ucb/cc
checking whether the C compiler (/usr/ucb/cc  ) works... yes
checking whether the C compiler (/usr/ucb/cc  ) is a cross-compiler... no
checking whether we are using GNU C... no
checking whether /usr/ucb/cc accepts -g... yes
checking for a BSD compatible install... ./install-sh -c
checking whether make sets ${MAKE}... yes
checking for ranlib... ranlib
checking for bison... no
checking for byacc... no
checking for perl... /usr/bin/perl
checking for csh... /usr/bin/csh
checking whether #! works in shell scripts... yes
checking how to run the C preprocessor... /usr/ucb/cc -E
checking for AIX... no
checking for minix/config.h... no
checking for POSIXized ISC... nochecking for dirent.h that defines DIR...
yes
checking for opendir in -ldir... no
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for errno.h... yes
checking for unistd.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for utime.h... yes
checking for fcntl.h... yes
checking for ndbm.h... yes
checking for limits.h... yes
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for sys/select.h... yes
checking for sys/time.h... yes
checking for sys/timeb.h... yes
checking for io.h... no
checking for direct.h... no
checking for sys/bsdtypes.h... no
checking for sys/resource.h... yes
checking whether stat file-mode macros are broken... no
checking whether time.h and sys/time.h may both be included... yes
checking for working const... nochecking for working const... no
checking for uid_t in sys/types.h... yes
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking return type of signal handlers... void
checking for st_blksize in struct stat... yes
checking for st_rdev in struct stat... yes
checking for mkdir... yes
checking for rename... yes
checking for strstr... yes
checking for dup2... yes
checking for strerror... yes
checking for valloc... yes
checking for waitpid... yes
checking for memmove... yes
checking for strtoul... yes
checking for fchmod... yes
checking for fsync... yes
checking for ftime... yes
checking for mktemp... yes
checking for putenv... yes
checking for vprintf... yes
checking for ftruncate... yeschecking for timezone... yes
checking for getpagesize... yes
checking for initgroups... yes
checking for fchdir... yes
checking for sigaction... yes
checking for sigprocmask... yes
checking for sigvec... yes
checking for sigsetmask... yes
checking for sigblock... yes
checking for tempnam... yes
checking for tzset... yes
checking for readlink... yes
checking for wait3... yes
checking for mknod... yes
checking for getpassphrase... yes
checking for vfork.h... yes
checking for working vfork... yes
checking whether closedir returns void... no
checking for library containing getspnam... none required
checking whether utime accepts a null argument... yes
checking for long file names... yes
checking for working fnmatch... yes
checking for main in -lnsl... yes
checking for library containing connect... none requiredchecking for
library containing gethostbyname... none required
default place for krb4 is /usr/kerberos
checking for krb.h...
checking for krb_get_err_text... no
default place for GSSAPI is /usr/cygnus/kerbnet
checking for krb5.h... no
checking for gssapi.h... no
checking for gssapi/gssapi.h... yes
checking for gssapi/gssapi_generic.h... no
checking for gethostname... yes
checking for library containing crypt... none required
checking for cygwin32... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating lib/Makefile
creating src/Makefile
creating zlib/Makefile
creating diff/Makefile
creating doc/Makefile
creating man/Makefile
creating tools/Makefile
creating contrib/Makefile
creating windows-NT/Makefilecreating windows-NT/SCC/Makefile
creating os2/Makefile
creating emx/Makefile
creating vms/Makefile
creating stamp-h
creating config.h
creating src/options.h

Then I performed:
$ make

I got this:

making all in lib
/usr/ucb/cc  -I.. -I. -I../src \
              -DHAVE_CONFIG_H -g -c argmatch.c
/usr/ucb/cc  -I.. -I. -I../src \
              -DHAVE_CONFIG_H -g -c getline.c
/usr/ucb/cc  -I.. -I. -I../src \
              -DHAVE_CONFIG_H -g -c getopt.c
/usr/ucb/cc  -I.. -I. -I../src \
              -DHAVE_CONFIG_H -g -c getopt1.c
/usr/ucb/cc  -I.. -I. -I../src \
              -DHAVE_CONFIG_H -g -c md5.c
/usr/ucb/cc  -I.. -I. -I../src \
              -DHAVE_CONFIG_H -g -c regex.c
"regex.c", line 1984: warning: end-of-loop code not reached
"regex.c", line 2039: warning: end-of-loop code not reached
"regex.c", line 2072: warning: end-of-loop code not reached
"regex.c", line 2172: warning: end-of-loop code not reached
"regex.c", line 2206: warning: end-of-loop code not reached
"regex.c", line 2213: warning: end-of-loop code not reached
"regex.c", line 2253: warning: end-of-loop code not reached
"regex.c", line 2286: warning: end-of-loop code not reached"regex.c", line
2292: warning: end-of-loop code not reached
"regex.c", line 2356: warning: end-of-loop code not reached
"regex.c", line 2360: warning: end-of-loop code not reached
"regex.c", line 2377: warning: end-of-loop code not reached
"regex.c", line 2389: warning: end-of-loop code not reached
"regex.c", line 2456: warning: end-of-loop code not reached
"regex.c", line 2521: warning: end-of-loop code not reached
"regex.c", line 2541: warning: end-of-loop code not reached
"regex.c", line 2648: warning: end-of-loop code not reached
"regex.c", line 2668: warning: end-of-loop code not reached
"regex.c", line 2673: warning: end-of-loop code not reached
"regex.c", line 2683: warning: end-of-loop code not reached
"regex.c", line 2692: warning: end-of-loop code not reached
"regex.c", line 2871: warning: end-of-loop code not reached
"regex.c", line 2969: warning: end-of-loop code not reached
"regex.c", line 3917: warning: statement not reached
/usr/ucb/cc  -I.. -I. -I../src \
              -DHAVE_CONFIG_H -g -c savecwd.c
/usr/ucb/cc  -I.. -I. -I../src \
              -DHAVE_CONFIG_H -g -c sighandle.c
/usr/ucb/cc  -I.. -I. -I../src \
              -DHAVE_CONFIG_H -g -c stripslash.c
/usr/ucb/cc  -I.. -I. -I../src \
              -DHAVE_CONFIG_H -g -c xgetwd.c/usr/ucb/cc  -I.. -I. -I../src
\
              -DHAVE_CONFIG_H -g -c yesno.c
/usr/ucb/cc  -I.. -I. -I../src \
              -DHAVE_CONFIG_H -g -c getdate.c
ar cr libcvs.a argmatch.o  getline.o  getopt.o  getopt1.o  md5.o  regex.o
savec
wd.o  sighandle.o  stripslash.o  xgetwd.o  yesno.o  getdate.o
ranlib libcvs.a
making all in zlib
/usr/ucb/cc -g  -c  adler32.c
/usr/ucb/cc -g  -c  compress.c
/usr/ucb/cc -g  -c  crc32.c
/usr/ucb/cc -g  -c  gzio.c
/usr/ucb/cc -g  -c  uncompr.c
/usr/ucb/cc -g  -c  deflate.c
/usr/ucb/cc -g  -c  trees.c
/usr/ucb/cc -g  -c  zutil.c
/usr/ucb/cc -g  -c  inflate.c
/usr/ucb/cc -g  -c  infblock.c
/usr/ucb/cc -g  -c  inftrees.c
/usr/ucb/cc -g  -c  infcodes.c
/usr/ucb/cc -g  -c  infutil.c
/usr/ucb/cc -g  -c  inffast.c
ar rc libz.a adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o
trees.o  zu
til.o inflate.o infblock.o inftrees.o infcodes.o infutil.o inffast.omaking
all in diff
/usr/ucb/cc -c  -DHAVE_CONFIG_H  -I. -I.. -I. -I../lib -g diff.c
/usr/ucb/cc -c  -DHAVE_CONFIG_H  -I. -I.. -I. -I../lib -g diff3.c
/usr/ucb/cc -c  -DHAVE_CONFIG_H  -I. -I.. -I. -I../lib -g analyze.c
/usr/ucb/cc -c  -DHAVE_CONFIG_H  -I. -I.. -I. -I../lib -g cmpbuf.c
/usr/ucb/cc -c  -DHAVE_CONFIG_H  -I. -I.. -I. -I../lib -g dir.c
/usr/ucb/cc -c  -DHAVE_CONFIG_H  -I. -I.. -I. -I../lib -g io.c
/usr/ucb/cc -c  -DHAVE_CONFIG_H  -I. -I.. -I. -I../lib -g -DPR_PROGRAM
=\"/bin/pr
\" util.c
/usr/ucb/cc -c  -DHAVE_CONFIG_H  -I. -I.. -I. -I../lib -g context.c
/usr/ucb/cc -c  -DHAVE_CONFIG_H  -I. -I.. -I. -I../lib -g ed.c
/usr/ucb/cc -c  -DHAVE_CONFIG_H  -I. -I.. -I. -I../lib -g ifdef.c
/usr/ucb/cc -c  -DHAVE_CONFIG_H  -I. -I.. -I. -I../lib -g normal.c
/usr/ucb/cc -c  -DHAVE_CONFIG_H  -I. -I.. -I. -I../lib -g side.c
/usr/ucb/cc -c  -DHAVE_CONFIG_H  -I. -I.. -I. -I../lib -g version.c
ar cr libdiff.a diff.o diff3.o analyze.o cmpbuf.o dir.o io.o util.o
context.o e
d.o ifdef.o normal.o side.o version.o
ranlib libdiff.a
making all in src
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c add.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c admin.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c buffer.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c checkin.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c
checkout.c/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c
classify.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c client.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c commit.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c create_adm.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c cvsrc.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c diff.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c edit.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c entries.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c expand_path.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c fileattr.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c find_names.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c hardlink.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c hash.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c history.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c ignore.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c import.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c lock.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c log.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c login.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c logmsg.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c main.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c mkmodules.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c modules.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c
myndbm.c/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c no_diff.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c parseinfo.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c patch.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c rcs.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -I../diff -DHAVE_CONFIG_H -g -c
./rcscmds.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c recurse.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c release.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c remove.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c repos.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c root.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c rtag.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c scramble.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c server.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c status.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c tag.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c update.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c watch.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c wrapper.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c vers_ts.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c subr.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c filesubr.c
"filesubr.c", line 700: warning: improper pointer/integer combination: op "
="
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c run.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c
version.c/usr/ucb/cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -c error.c
/usr/ucb/cc  -I. -I.. -I. -I../lib -I../zlib -DHAVE_CONFIG_H -g -c ./zlib.c
/usr/ucb/cc add.o admin.o buffer.o checkin.o checkout.o classify.o client.o
com
mit.o create_adm.o cvsrc.o diff.o edit.o entries.o expand_path.o
fileattr.o fin
d_names.o hardlink.o hash.o history.o ignore.o import.o  lock.o log.o
login.o lo
gmsg.o main.o mkmodules.o modules.o myndbm.o no_diff.o  parseinfo.o patch.o
rcs.
o rcscmds.o recurse.o release.o remove.o repos.o  root.o rtag.o scramble.o
serve
r.o status.o tag.o update.o  watch.o wrapper.o vers_ts.o  subr.o filesubr.o
run.
o version.o error.o zlib.o ../lib/libcvs.a ../zlib/libz.a ../diff/libdiff.a
-o
 cvs
echo > .fname \
  cvs-`sed < ./version.c \
     -e '/version_string/!d' \
     -e 's/[^0-9.]*\([0-9.]*\).*/\1/' \
     -e q`
sed -e 's,xLIBDIRx,/app/cvs/lib/cvs,g' \
    -e "s,xVERSIONx,`cat .fname`,g" ./cvsbug.sh > cvsbug-t
rm -f .fname
mv cvsbug-t cvsbug
chmod a+x cvsbug
making all in man
making all in doc
making all in contrib
rm -f rcs2logcp rcs2log.sh rcs2log
chmod +x rcs2log
rm -f clmerge
sed -e 's,xPERL_PATHx,/usr/bin/perl,' clmerge.pl > clmerge-t
mv clmerge-t clmerge
chmod +x clmerge
rm -f cln_hist
sed -e 's,xPERL_PATHx,/usr/bin/perl,' cln_hist.pl > cln_hist-t
mv cln_hist-t cln_hist
chmod +x cln_hist
rm -f commit_prep
sed -e 's,xPERL_PATHx,/usr/bin/perl,' commit_prep.pl > commit_prep-t
mv commit_prep-t commit_prep
chmod +x commit_prep
rm -f cvs2vendor
cp cvs2vendor.sh cvs2vendor
chmod +x cvs2vendor
rm -f cvs_acls
sed -e 's,xPERL_PATHx,/usr/bin/perl,' cvs_acls.pl > cvs_acls-t
mv cvs_acls-t cvs_acls
chmod +x cvs_acls
rm -f cvscheck
cp cvscheck.sh cvscheck
chmod +x cvscheckrm -f log
sed -e 's,xPERL_PATHx,/usr/bin/perl,' log.pl > log-t
mv log-t log
chmod +x log
rm -f log_accum
sed -e 's,xPERL_PATHx,/usr/bin/perl,' log_accum.pl > log_accum-t
mv log_accum-t log_accum
chmod +x log_accum
rm -f mfpipe
sed -e 's,xPERL_PATHx,/usr/bin/perl,' mfpipe.pl > mfpipe-t
mv mfpipe-t mfpipe
chmod +x mfpipe
rm -f rcs-to-cvs
cp rcs-to-cvs.sh rcs-to-cvs
chmod +x rcs-to-cvs
rm -f rcslock
sed -e 's,xPERL_PATHx,/usr/bin/perl,' rcslock.pl > rcslock-t
mv rcslock-t rcslock
chmod +x rcslock
rm -f sccs2rcs
sed -e 's,xCSH_PATHx,/usr/bin/csh,' sccs2rcs.csh > sccs2rcs-t
mv sccs2rcs-t sccs2rcs
chmod +x sccs2rcs
making all in toolsmaking all in windows-NT
making all in os2
making all in emx
making all in vms

$ make install

making all in lib
making all in zlib
making all in diff
making all in src
making all in man
making all in doc
making all in contrib
making all in tools
making all in windows-NT
making all in os2
making all in emx
making all in vms
cd doc && make AR='ar'  CC='/usr/ucb/cc'  CFLAGS='-g'  LDFLAGS=''  LIBPROGS
=''
LIBS=''  MAKE='make'  MAKEINFO='makeinfo'  RANLIB='ranlib'  TEXI2DVI
='texi2dvi'
 YACC='yacc'  bindir='/app/cvs/bin'  infodir='/app/cvs/info'
  libdir='/app/cvs/lib'  mandir='/app/cvs/man'  prefix='/p01
/app/share/cvs'  exec_prefix='/p01/app/share/cvs' install-info || exit 1
/bin/sh ../mkinstalldirs /app/cvs/info
if test -f cvs.info ; then docdir=.; else docdir=.;fi; \
for i in $docdir/*.info* ; do \
  .././install-sh -c -m 644 $i /app/cvs/info/`basename $i` ; \
done
making install in lib
making install in zlibmaking install in diff
making install in src
/bin/sh ../mkinstalldirs /app/cvs/bin
Installing cvs in /app/cvs/bin
Installing cvsbug in /app/cvs/bin
making install in man
/bin/sh ../mkinstalldirs /app/cvs/man/man1 /app/cvs/man/man5
 /app/cvs/man/man8
for f in cvs.1; do \
 .././install-sh -c -m 644 ./$f /app/cvs/man/man1/$f; \
done
for f in cvs.5; do \
 .././install-sh -c -m 644 ./$f /app/cvs/man/man5/$f; \
done
for f in cvsbug.8; do \
 .././install-sh -c -m 644 ./$f /app/cvs/man/man8/$f; \
done
making install in doc
making install in contrib
../mkinstalldirs /app/cvs/lib/cvs/contrib
for f in README intro.doc cvscheck.man ; do\
 .././install-sh -c -m 644 ./$f /app/cvs/lib/cvs/contrib/$f; \
done
for f in clmerge cln_hist commit_prep cvs2vendor cvs_acls cvscheck  log
log_accum mfpipe rcs-to-cvs rcs2log rcslock sccs2rcs ; do\
 .././install-sh -c $f /app/cvs/lib/cvs/contrib/$f; \
done
for f in rcs2log ; do\
 .././install-sh -c $f /app/cvs/bin/$f; \
done
making install in tools
pcl-cvs not installed
making install in windows-NT
making install in os2
making install in emx
making install in vms


cd /export /home/melissa
mkdir junk
mkdir junk/junkdir
touch junk/junkfile
touch junk/junkdir/junkdirfile

address@hidden:/export/home/melissa/junk> cvs import -m "Import Test" junkCVS
oyo start
N junkCVS/
cvs import: cannot lstat file : No such file or directory
N junkCVS/
cvs import: cannot lstat file : No such file or directory
N junkCVS/nkdir
cvs import: cannot lstat file nkdir: No such file or directory
N junkCVS/nkfile
cvs import: cannot lstat file nkfile: No such file or directory

No conflicts created by this import



                                                                                
                             
                    lawrence.jones                                              
                             
                    @eds.com             To:     address@hidden                 
              
                    (Larry Jones)        cc:     address@hidden, 
address@hidden, address@hidden         
                                         Subject:     Re: cvs import: cannot 
lstat file : No such file or    
                    07/25/2002            directory                             
                             
                    11:24 AM                                                    
                             
                                                                                
                             
                                                                                
                             




address@hidden writes:
>
> Does anyone know what might cause CVS to cut off the first half of all of
> my files when I try an import?  I'm running this on a Solaris 8 machine.

That looks like the kind of weirdness you get when you mix and match the
regular and BSD-compatible libraries.  Did you build CVS yourself?  If
so, make sure you don't have /usr/ucb in your path when you run
configure and make.  You should use "make distclean" to start over, then
run configure and make.  If you still have the same problem, post the
output from running configure.

-Larry Jones

What better way to spend one's freedom than eating chocolate
cereal and watching cartoons! -- Calvin








reply via email to

[Prev in Thread] Current Thread [Next in Thread]