[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with cp-command
From: |
Peter Landgren |
Subject: |
Re: problem with cp-command |
Date: |
Fri, 6 Jul 2007 17:36:30 +0200 |
User-agent: |
KMail/1.9.6 |
Den Thursday 05 July 2007 17.02.38 skrev Eric Blake:
I have done some more tests. It seems that the problem only appears when I
copy from one specific user. I created a new user copied sip-4.6.tar.gz,
unpacked it and run pytgon configure.py, make did a su and "make install" and
now everything worked just fine. So there is some problem with the "old"
user, but I cant' figure out what it is.
However, I tried to install PyQt-X11-4.2 from this new user, and at the end
of the install process I got the same error again, when there were just two
files left to copy! There were hundreds of cp-commands in this install.
What's going on? Is it a problem with cp or is it a problem with the Mandriva
Spring distro?
/Peter
> Please keep replies on the list, so that others may contribute or see the
> resolution.
>
> According to Peter Landgren on 7/5/2007 8:55 AM:
> > OK, I know that, but my problems come when I do a normal su and "make
> > install":
> >
> > The first three cp-commands are OK, but not the fourth:
> >
> > address@hidden sip-4.6]$ su
> > Password:
> > address@hidden sip-4.6]# make install
> > make[1]: Entering directory `/home/progman/src/sip-4.6/sipgen'
> > cp -f sip /usr/bin/sip
> > make[1]: Leaving directory `/home/progman/src/sip-4.6/sipgen'
> > make[1]: Entering directory `/home/progman/src/sip-4.6/siplib'
> > cp -f sip.so /usr/lib/python2.5/site-packages/sip.so
> > strip /usr/lib/python2.5/site-packages/sip.so
> > cp -f sip.h /usr/include/python2.5/sip.h
> > make[1]: Leaving directory `/home/progman/src/sip-4.6/siplib'
> > cp -f sipconfig.py /usr/lib/python2.5/site-packages/sipconfig.py
> > cp: setting attributes for
> > "/usr/lib/python2.5/site-packages/sipconfig.py": Operationen stöds ej
> > make: *** [install] Fel 1
> > address@hidden sip-4.6]#
>
> Can you run the same command via strace, and see which syscall was failing?
>
> > The files is copied:
> > address@hidden site-packages]$ ls -l sipconfig.py
> > -rw-r--r-- 1 root root 81902 jul 5 16:45 sipconfig.py
> > address@hidden site-packages]$
> >
> > As I do this as root, cp should not complain?
>
> It makes no difference whether you are root - when cp encounters problems,
> it must report them. Instead, we need to figure out why cp encountered a
> problem as root.
--
Peter Landgren
Talken Hagen
671 94 Brunskog
0570-530 21
070 -635 4719
address@hidden
Skype: pgl4820
- problme with cp-command, Peter Landgren, 2007/07/05
- Re: problme with cp-command, Eric Blake, 2007/07/05
- Message not available
- Re: problme with cp-command, Eric Blake, 2007/07/05
- Re: problme with cp-command, Peter Landgren, 2007/07/05
- Re: problem with cp-command,
Peter Landgren <=
- Re: problem with cp-command, Bob Proulx, 2007/07/06
- Re: problem with cp-command, Peter Landgren, 2007/07/06
- Re: problem with cp-command, Bob Proulx, 2007/07/07
- Re: problem with cp-command, Peter Landgren, 2007/07/07
- Re: problem with cp-command, Bob Proulx, 2007/07/07
- Re: problem with cp-command, Peter Landgren, 2007/07/07
- Re: problem with cp-command, Bob Proulx, 2007/07/07
- Re: problem with cp-command, Peter Landgren, 2007/07/08
- Re: problem with cp-command, Jim Meyering, 2007/07/08
- Re: problem with cp-command, Peter Landgren, 2007/07/07