LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-11-2009, 09:07 PM   #31
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405

Quote:
Originally Posted by vibinlakshman View Post
Sorry for my mistake , but can i explain one thing , if u dont mind

OK here it is , i have properly edited my conf file , and done accordingly u specified , Ok , it was my first step
Second i emerged pv -xorg server
Third emerge xorg-x11

env-update
# source /etc/profile
as fourth and fifth .

This is my final step
#Xorg -configure
but command doesnt exist shows .. Can u explain it why ?
/usr/bin/Xorg is installed as part of xorg-server, so, if the package has been installed it should be there. Can you paste here the output of this command, please?

Code:
emerge -pv xorg-server
That will tell me if the package is installed and a few other things that might be useful to diagnose what the problem is.
 
Old 05-11-2009, 10:35 PM   #32
vibinlakshman
Member
 
Registered: Dec 2008
Location: Kerala, India
Distribution: Ubuntu 11.10
Posts: 334

Original Poster
Rep: Reputation: 33
Wink

Quote:
Originally Posted by i92guboj View Post
/usr/bin/Xorg is installed as part of xorg-server, so, if the package has been installed it should be there. Can you paste here the output of this command, please?

Code:
emerge -pv xorg-server
That will tell me if the package is installed and a few other things that might be useful to diagnose what the problem is.
Ok done!!!!
vibin-laptop / # emerge -pv xorg-server

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ] x11-libs/libX11-1.1.5 USE="ipv6 -debug -xcb" 1,548 kB
[ebuild N ] x11-apps/mkfontscale-1.0.5 USE="-debug" 99 kB
[ebuild N ] x11-libs/libICE-1.0.4 USE="ipv6 -debug" 247 kB
[ebuild N ] x11-proto/trapproto-3.4.3 40 kB
[ebuild N ] x11-libs/pixman-0.14.0-r1 USE="(-altivec) -debug -mmx -sse2" 345 kB
[ebuild N ] x11-libs/libpciaccess-0.10.5 USE="-debug -minimal" 255 kB
[ebuild N ] x11-misc/xbitmaps-1.0.1 55 kB
[ebuild N ] x11-proto/xf86rushproto-1.1.2 37 kB
[ebuild N ] x11-apps/rgb-1.0.3 USE="-debug" 102 kB
[ebuild N ] x11-proto/evieext-1.0.2 37 kB
[ebuild N ] sys-apps/pciutils-3.0.2 USE="zlib -network-cron" 265 kB
[ebuild N ] x11-proto/fontcacheproto-0.1.2 38 kB
[ebuild N ] dev-libs/libpthread-stubs-0.1 USE="-debug" 0 kB
[ebuild N ] net-misc/netkit-rsh-0.17-r9 USE="pam" 0 kB
[ebuild N ] sys-libs/libutempter-1.1.5 0 kB
[ebuild N ] dev-util/intltool-0.40.5 138 kB
[ebuild N ] x11-misc/makedepend-1.0.1 USE="-debug" 0 kB
[ebuild N ] x11-proto/dri2proto-1.99.3 0 kB
[ebuild N ] x11-libs/libXext-1.0.4 USE="-debug" 259 kB
[ebuild N ] x11-libs/libxkbfile-1.0.5 USE="-debug" 254 kB
[ebuild N ] x11-libs/libXrender-0.9.4 USE="-debug" 222 kB
[ebuild N ] x11-libs/libdrm-2.4.5 USE="-debug" 551 kB
[ebuild N ] x11-libs/libXfont-1.3.4 USE="ipv6 -debug" 558 kB
[ebuild N ] x11-apps/iceauth-1.0.2 USE="-debug" 95 kB
[ebuild N ] x11-libs/libSM-1.1.0 USE="ipv6 -debug" 247 kB
[ebuild N ] x11-apps/luit-1.0.3 USE="-debug" 103 kB
[ebuild N ] x11-libs/libXfixes-4.0.3 USE="-debug" 210 kB
[ebuild N ] x11-apps/mkfontdir-1.0.4 USE="-debug" 69 kB
[ebuild N ] media-fonts/encodings-1.0.2 USE="-debug" 559 kB
[ebuild N ] media-fonts/font-alias-1.0.1 USE="-debug" 42 kB
[ebuild N ] x11-libs/libXt-1.0.5 USE="-debug" 489 kB
[ebuild N ] x11-libs/libXi-1.2.1 USE="-debug" 274 kB
[ebuild N ] x11-libs/libXxf86vm-1.0.2 USE="-debug" 235 kB
[ebuild N ] x11-libs/libXxf86misc-1.0.1 USE="-debug" 218 kB
[ebuild N ] x11-libs/libXtst-1.0.3 USE="-debug" 220 kB
[ebuild N ] x11-libs/libXres-1.0.3 USE="-debug" 214 kB
[ebuild N ] x11-apps/xkbcomp-1.0.5 USE="-debug" 197 kB
[ebuild N ] x11-libs/libXdamage-1.1.1 USE="-debug" 197 kB
[ebuild N ] x11-apps/bdftopcf-1.0.0 USE="-debug" 74 kB
[ebuild N ] x11-libs/libXmu-1.0.4 USE="ipv6 -debug" 299 kB
[ebuild N ] x11-libs/libXpm-3.5.7 USE="-debug" 350 kB
[ebuild N ] x11-libs/libxkbui-1.0.2 USE="-debug" 217 kB
[ebuild N ] x11-misc/xkeyboard-config-1.5 559 kB
[ebuild N ] x11-libs/libXaw-1.0.5 USE="-debug" 502 kB
[ebuild N ] x11-apps/xauth-1.0.3 USE="ipv6 -debug" 110 kB
[ebuild N ] media-libs/mesa-7.3-r1 USE="nptl -debug -doc -motif -pic -xcb" VIDEO_CARDS="-intel -mach64 -mga -none -r128 -radeon -s3virge -savage -sis (-sunffb) -tdfx -trident -via" 3,323 kB
[ebuild N ] x11-apps/xrdb-1.0.5 USE="-debug" 100 kB
[ebuild N ] x11-wm/twm-1.0.4 USE="-debug" 237 kB
[ebuild N ] x11-apps/xsm-1.0.1-r1 USE="-debug" 115 kB
[ebuild N ] x11-apps/xmessage-1.0.2-r1 USE="-debug" 93 kB
[ebuild N ] media-libs/fontconfig-2.6.0-r2 USE="-doc" 1,371 kB
[ebuild N ] app-admin/eselect-fontconfig-1.0 0 kB
[ebuild N ] x11-libs/libXft-2.1.13 USE="-debug" 262 kB
[ebuild N ] media-fonts/font-adobe-75dpi-1.0.0 USE="nls -X" 827 kB
[ebuild N ] x11-terms/xterm-242 USE="unicode -Xaw3d -toolbar -truetype" 850 kB
[ebuild N ] x11-apps/xclock-1.0.3-r1 USE="-debug" 112 kB
[ebuild N ] x11-apps/xinit-1.0.8-r4 USE="pam -debug -hal -minimal" 115 kB
[ebuild N ] x11-base/xorg-server-1.5.3-r5 USE="ipv6 nptl xorg -3dfx -debug -dmx -hal -kdrive -minimal -sdl -tslib" INPUT_DEVICES="evdev keyboard mouse synaptics -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit -hyperpen -jamstudio -joystick -magellan -microtouch -mutouch -palmax -penmount -spaceorb -summa -tek4957 -tslib -ur98 -virtualbox -vmmouse -void -wacom" VIDEO_CARDS="nvidia vesa -apm -ark -ast -chips -cirrus -dummy -epson -fbdev -fglrx -geode -glint -i128 -i740 (-impact) -imstt -intel -mach64 -mga -neomagic (-newport) -nv -r128 -radeon -radeonhd -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -vermilion -via -virtualbox -vmware -voodoo -xgi" 5,546 kB
[ebuild N ] x11-drivers/xf86-video-vesa-2.2.0 USE="-debug" 243 kB
[ebuild N ] x11-drivers/nvidia-drivers-180.29 USE="-acpi -custom-cflags -gtk (-multilib)" 12,986 kB
[ebuild N ] x11-drivers/xf86-input-synaptics-1.0.0 USE="-debug -hal" 280 kB
[ebuild N ] x11-drivers/xf86-input-evdev-2.1.3 USE="-debug -hal" 272 kB
[ebuild N ] x11-drivers/xf86-input-mouse-1.4.0 USE="-debug" 286 kB
[ebuild N ] x11-drivers/xf86-input-keyboard-1.3.2 USE="-debug" 264 kB

Total: 64 packages (64 new), Size of downloads: 37,783 kB
 
Old 05-11-2009, 11:14 PM   #33
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
I'll try to explain in simple terms.

This command that you just used:

Code:
emerge -pv xorg-server
Can be written in this long form:

Code:
emerge --pretend --verbose xorg-server
Maybe that way you can understand better what it does. It doesn't really install anything, it tells us what would be done if you emerge this package for real.

Look at the output, it is telling us that if you want to emerge xorg-server it will emerge all those packages. Even more, the string "[ebuild N ]" at the beginning of each line tells us that those packages are not installed on your system (here the 'N' stands for 'new').

So this confirms what I told you before. You haven't installed Xorg at all.

You need to run this:

Code:
emerge xorg-x11
Without -p, let it do the job (it will take some time, it's big).

When it finishes, carefully read the output and make sure that there's no error or warning. This is something that you must do *always* when you emerge something.
 
Old 05-12-2009, 12:13 AM   #34
vibinlakshman
Member
 
Registered: Dec 2008
Location: Kerala, India
Distribution: Ubuntu 11.10
Posts: 334

Original Poster
Rep: Reputation: 33
Talking

Quote:
Originally Posted by i92guboj View Post
I'll try to explain in simple terms.

This command that you just used:

Code:
emerge -pv xorg-server
Can be written in this long form:

Code:
emerge --pretend --verbose xorg-server
Maybe that way you can understand better what it does. It doesn't really install anything, it tells us what would be done if you emerge this package for real.

Look at the output, it is telling us that if you want to emerge xorg-server it will emerge all those packages. Even more, the string "[ebuild N ]" at the beginning of each line tells us that those packages are not installed on your system (here the 'N' stands for 'new').

So this confirms what I told you before. You haven't installed Xorg at all.

You need to run this:

Code:
emerge xorg-x11
Without -p, let it do the job (it will take some time, it's big).

When it finishes, carefully read the output and make sure that there's no error or warning. This is something that you must do *always* when you emerge something.

Only last portion i've been copied and paste , coz others where working fine , but this part i think , little bit of problem arised
Plz verify it !!!!



>>> Installing x11-libs/libICE-1.0.4

>>> Emerging (4 of 86) net-misc/netkit-rsh-0.17-r9
* netkit-rsh-0.17.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* netkit-rsh-0.17-patches-2.tar.lzma RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* rexec-1.5.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking rexec-1.5.tar.gz to /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/work
>>> Unpacking netkit-rsh-0.17-patches-2.tar.lzma to /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/work
>>> Unpacking netkit-rsh-0.17.tar.gz to /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/work
rm: cannot remove directory `rexec': Directory not empty
* Applying various patches (bugfixes/updates) ...
* 000_all_sectty.patch ... [ ok ]
* 010_all_rexec.patch ...

* Failed Patch: 010_all_rexec.patch !
* ( /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/work/patch/010_all_rexec.patch )
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/temp/010_all_rexec.patch-5091.out

*
* ERROR: net-misc/netkit-rsh-0.17-r9 failed.
* Call stack:
* ebuild.sh, line 49: Called src_unpack
* environment, line 2273: Called epatch '/var/tmp/portage/net-misc/netkit-rsh-0.17-r9/work/patch'
* environment, line 1166: Called die
* The specific snippet of code:
* die "Failed Patch: ${patchname}!";
* The die message:
* Failed Patch: 010_all_rexec.patch!
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/net-misc/netkit-rsh-0.17-r9/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-misc/netkit-rsh-0.17-r9/temp/environment'.
*

>>> Failed to emerge net-misc/netkit-rsh-0.17-r9, Log file:

>>> '/var/tmp/portage/net-misc/netkit-rsh-0.17-r9/temp/build.log'

* Messages for package net-misc/netkit-rsh-0.17-r9:

* Failed Patch: 010_all_rexec.patch !
* ( /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/work/patch/010_all_rexec.patch )
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/temp/010_all_rexec.patch-5091.out
*
* ERROR: net-misc/netkit-rsh-0.17-r9 failed.
* Call stack:
* ebuild.sh, line 49: Called src_unpack
* environment, line 2273: Called epatch '/var/tmp/portage/net-misc/netkit-rsh-0.17-r9/work/patch'
* environment, line 1166: Called die
* The specific snippet of code:
* die "Failed Patch: ${patchname}!";
* The die message:
* Failed Patch: 010_all_rexec.patch!
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/net-misc/netkit-rsh-0.17-r9/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-misc/netkit-rsh-0.17-r9/temp/environment'.
*

* GNU info directory index is up-to-date.
vibin-laptop / # Xorg -configure
bash: Xorg: command not found
 
Old 05-12-2009, 12:34 AM   #35
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by vibinlakshman View Post
Only last portion i've been copied and paste , coz others where working fine , but this part i think , little bit of problem arised
Plz verify it !!!!
Indeed, that's an error. You can stop trying "Xorg -configure" for now, as you see on this line:

Quote:
>>> Emerging (4 of 86) net-misc/netkit-rsh-0.17-r9
This is the 4th package of a total of 86, so you have still a long way to go until Xorg is installed

Now, to the problem. For some reason it fails while patching the netkit-rsh package. Please, do "emerge --sync" to update portage, maybe the problem has been solved.

After that try "emerge xorg-x11" again, and if it still fails, post the contents of the log file that is mentioned in the error message (which I highlighted in bold letters below):

Quote:
* Failed Patch: 010_all_rexec.patch !
* ( /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/work/patch/010_all_rexec.patch )
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/temp/010_all_rexec.patch-5091.out
 
Old 05-12-2009, 02:22 AM   #36
vibinlakshman
Member
 
Registered: Dec 2008
Location: Kerala, India
Distribution: Ubuntu 11.10
Posts: 334

Original Poster
Rep: Reputation: 33
Talking

Quote:
Originally Posted by i92guboj View Post
Indeed, that's an error. You can stop trying "Xorg -configure" for now, as you see on this line:



This is the 4th package of a total of 86, so you have still a long way to go until Xorg is installed

Now, to the problem. For some reason it fails while patching the netkit-rsh package. Please, do "emerge --sync" to update portage, maybe the problem has been solved.

After that try "emerge xorg-x11" again, and if it still fails, post the contents of the log file that is mentioned in the error message (which I highlighted in bold letters below):
Oops sorry i'm not able to get the content u had mentioned
Tried this much things

vibin-laptop / # nano /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/temp/010_all_rexec.patch-5091.out
vibin-laptop / # /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/temp/010_all_rexec.patch-5091.out
bash: /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/temp/010_all_rexec.patch-5091.out: No such file or directory
vibin-laptop / # cat /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/temp/010_all_rexec.patch-5091.out
cat: /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/temp/010_all_rexec.patch-5091.out: No such file or directory
vibin-laptop / # nano /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/temp/010_all_rexec.patch-5091.out
vibin-laptop / # nano /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/temp/
vibin-laptop / # cd /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/temp/
vibin-laptop temp # ls
010_all_rexec.patch-12558.out eclass-debug.log logging
build.log environment
vibin-laptop temp # ./ 010_all_rexec.patch-12558.out
bash: ./: is a directory
vibin-laptop temp # cd 010_all_rexec.patch-12558.out
bash: cd: 010_all_rexec.patch-12558.out: Not a directory


while 'nano 'ing i get as new file ..
Sorry for my ignorance!!!
 
Old 05-12-2009, 02:30 AM   #37
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
The name of the file might be a bit different each time you run "emerge xorg-x11", in your ls output it's 010_all_rexec.patch-12558.out

You tried to "cd" into it, but cd is to change to another directory, it doesn't work on files. To see the contents of a file open it with nano, or use 'cat'.

Code:
cat 010_all_rexec.patch-12558.out
In any case the name of the file is shown on the emerge error.
 
Old 05-12-2009, 03:05 AM   #38
vibinlakshman
Member
 
Registered: Dec 2008
Location: Kerala, India
Distribution: Ubuntu 11.10
Posts: 334

Original Poster
Rep: Reputation: 33
Wink

Quote:
Originally Posted by i92guboj View Post
The name of the file might be a bit different each time you run "emerge xorg-x11", in your ls output it's 010_all_rexec.patch-12558.out

You tried to "cd" into it, but cd is to change to another directory, it doesn't work on files. To see the contents of a file open it with nano, or use 'cat'.

Code:
cat 010_all_rexec.patch-12558.out
In any case the name of the file is shown on the emerge error.
vibin-laptop temp # cat 010_all_rexec.patch-12558.out
***** 010_all_rexec.patch *****

===============================

PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch < /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/work/patch/010_all_rexec.patch

===============================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- netkit-rsh-0.10/rexecd/rexecd.8.rexec Mon Jul 15 03:53:47 1996
|+++ netkit-rsh-0.10/rexecd/rexecd.8 Fri Jul 30 19:13:15 1999
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 17
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- netkit-rsh-0.10/rexec/Makefile.rexec Thu Jul 29 23:32:28 1999
|+++ netkit-rsh-0.10/rexec/Makefile Fri Jul 30 19:14:15 1999
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
===============================

PATCH COMMAND: patch -p1 -g0 -E --no-backup-if-mismatch < /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/work/patch/010_all_rexec.patch

===============================
patching file rexecd/rexecd.8
patching file rexec/Makefile
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file rexec/Makefile.rej
===============================

PATCH COMMAND: patch -p2 -g0 -E --no-backup-if-mismatch < /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/work/patch/010_all_rexec.patch

===============================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- netkit-rsh-0.10/rexecd/rexecd.8.rexec Mon Jul 15 03:53:47 1996
|+++ netkit-rsh-0.10/rexecd/rexecd.8 Fri Jul 30 19:13:15 1999
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
patching file Makefile
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
===============================

PATCH COMMAND: patch -p3 -g0 -E --no-backup-if-mismatch < /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/work/patch/010_all_rexec.patch

===============================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- netkit-rsh-0.10/rexecd/rexecd.8.rexec Mon Jul 15 03:53:47 1996
|+++ netkit-rsh-0.10/rexecd/rexecd.8 Fri Jul 30 19:13:15 1999
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 17 of patch
can't find file to patch at input line 17
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- netkit-rsh-0.10/rexec/Makefile.rexec Thu Jul 29 23:32:28 1999
|+++ netkit-rsh-0.10/rexec/Makefile Fri Jul 30 19:14:15 1999
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
===============================

PATCH COMMAND: patch -p4 -g0 -E --no-backup-if-mismatch < /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/work/patch/010_all_rexec.patch

===============================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- netkit-rsh-0.10/rexecd/rexecd.8.rexec Mon Jul 15 03:53:47 1996
|+++ netkit-rsh-0.10/rexecd/rexecd.8 Fri Jul 30 19:13:15 1999
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 17 of patch
can't find file to patch at input line 17
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- netkit-rsh-0.10/rexec/Makefile.rexec Thu Jul 29 23:32:28 1999
|+++ netkit-rsh-0.10/rexec/Makefile Fri Jul 30 19:14:15 1999
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
 
Old 05-12-2009, 11:59 AM   #39
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
One question, did you try "emerge --sync"?


The problem is that it fails to patch a file, and I can't think a reason why that would happen on a sane system (I just tried the same exact version of the ebuild and it patches without a problem so...).

Just a wild thought, can you try to delete the temporal files under /usr/var? Look closely and tell me if the rm command fails or gives some warning or error:

Code:
rm -rf /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/
 
Old 05-12-2009, 12:55 PM   #40
NeddySeagoon
Gentoo support team
 
Registered: May 2009
Location: 56N 3W
Distribution: Gentoo
Posts: 178

Rep: Reputation: 41
vibinlakshman,

Please post the output of
Code:
emerge --info
so we can see your setup and the output of
Code:
tail -n 300 /var/log/emerge.log | grep completed[
Its not that we don't believe you have done it correctly, its just very difficult to spot your own mistakes.
The last command shows about the last 30 packages you have installed.
 
Old 05-12-2009, 07:36 PM   #41
vibinlakshman
Member
 
Registered: Dec 2008
Location: Kerala, India
Distribution: Ubuntu 11.10
Posts: 334

Original Poster
Rep: Reputation: 33
Wink

Quote:
Originally Posted by NeddySeagoon View Post
vibinlakshman,

Please post the output of
Code:
emerge --info
so we can see your setup and the output of
Code:
tail -n 300 /var/log/emerge.log | grep completed[
Its not that we don't believe you have done it correctly, its just very difficult to spot your own mistakes.
The last command shows about the last 30 packages you have installed.
vibin-laptop / # emerge --info
Portage 2.1.6.11 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.27-11-generic i686)
=================================================================
System uname: Linux-2.6.27-11-generic-i686-with-glibc2.0
Timestamp of tree: Tue, 12 May 2009 07:00:01 +0000
app-shells/bash: 3.2_p39
dev-lang/python: 2.5.4-r2
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.6-r2
sys-devel/autoconf: 2.63
sys-devel/automake: 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_IN"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl alsa at4 berkdb bzip2 cdr cli cracklib crypt cups dri dvd fortran gdbm gpm iconv ipv6 isdnlog midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python qt3 readline reflection session spl ssl sysfs tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

vibin-laptop / # tail -n 300 /var/log/emerge.log | grep completed
1242043665: ::: completed emerge (2 of 112) x11-proto/inputproto-1.5.0 to /
1242092348: ::: completed emerge (1 of 114) x11-proto/xextproto-7.0.4 to /
1242092357: ::: completed emerge (2 of 114) x11-proto/kbproto-1.0.3 to /
1242092367: ::: completed emerge (3 of 114) x11-proto/randrproto-1.2.2 to /
1242092379: ::: completed emerge (4 of 114) x11-libs/xtrans-1.2.3 to /
1242092410: ::: completed emerge (5 of 114) x11-libs/libXau-1.0.4 to /
1242092419: ::: completed emerge (6 of 114) x11-proto/renderproto-0.9.3 to /
1242092443: ::: completed emerge (7 of 114) x11-libs/libfontenc-1.0.4 to /
1242092453: ::: completed emerge (8 of 114) x11-proto/xf86vidmodeproto-2.2.2 to /
1242092462: ::: completed emerge (9 of 114) x11-proto/fontsproto-2.0.2 to /
1242092472: ::: completed emerge (10 of 114) x11-proto/videoproto-2.2.2 to /
1242092481: ::: completed emerge (11 of 114) x11-proto/xf86bigfontproto-1.1.2 to /
1242092492: ::: completed emerge (12 of 114) x11-proto/bigreqsproto-1.0.2 to /
1242092541: ::: completed emerge (13 of 114) x11-libs/libXdmcp-1.0.2 to /
1242092552: ::: completed emerge (14 of 114) x11-proto/xcmiscproto-1.1.2 to /
1242092562: ::: completed emerge (15 of 114) x11-proto/damageproto-1.1.0 to /
1242092572: ::: completed emerge (16 of 114) x11-proto/xf86dgaproto-2.0.3 to /
1242092581: ::: completed emerge (17 of 114) x11-proto/xineramaproto-1.1.2 to /
1242092591: ::: completed emerge (18 of 114) x11-proto/compositeproto-0.4 to /
1242092600: ::: completed emerge (19 of 114) x11-proto/xf86driproto-2.0.4 to /
1242092612: ::: completed emerge (20 of 114) x11-proto/glproto-1.4.9 to /
1242092622: ::: completed emerge (21 of 114) x11-proto/xf86miscproto-0.9.2 to /
1242092631: ::: completed emerge (22 of 114) x11-proto/fixesproto-4.0 to /
1242092640: ::: completed emerge (23 of 114) x11-proto/recordproto-1.13.2 to /
1242092650: ::: completed emerge (24 of 114) x11-proto/resourceproto-1.0.2 to /
1242092659: ::: completed emerge (25 of 114) x11-proto/scrnsaverproto-1.1.0 to /
1242092672: ::: completed emerge (26 of 114) media-fonts/font-util-1.0.1 to /
1242092771: ::: completed emerge (27 of 114) app-doc/xorg-docs-1.4-r1 to /
1242092780: ::: completed emerge (28 of 114) x11-proto/printproto-1.0.4 to /
1242104787: ::: completed emerge (1 of 86) x11-libs/libX11-1.1.5 to /
1242104801: ::: completed emerge (2 of 86) x11-apps/mkfontscale-1.0.5 to /
1242104836: ::: completed emerge (3 of 86) x11-libs/libICE-1.0.4 to /
1242112268: === Sync completed with rsync://134.68.220.73/gentoo-portage
1242112383: ::: completed emerge (1 of 1) sys-apps/portage-2.1.6.11 to /
1242112436: ::: completed emerge (1 of 83) sys-libs/libutempter-1.1.5 to /
1242112474: ::: completed emerge (2 of 83) x11-libs/libXext-1.0.4 to /
1242112510: ::: completed emerge (3 of 83) x11-libs/libxkbfile-1.0.5 to /
1242112538: ::: completed emerge (4 of 83) x11-libs/libXrender-0.9.4 to /
1242112562: ::: completed emerge (5 of 83) x11-libs/libXfixes-4.0.3 to /
1242112572: ::: completed emerge (6 of 83) x11-apps/mkfontdir-1.0.4 to /
1242112583: ::: completed emerge (7 of 83) media-fonts/encodings-1.0.2 to /
1242112593: ::: completed emerge (8 of 83) media-fonts/font-alias-1.0.1 to /
1242112618: ::: completed emerge (9 of 83) x11-libs/libSM-1.1.0 to /
1242112631: ::: completed emerge (10 of 83) x11-apps/xmodmap-1.0.3 to /
 
Old 05-12-2009, 07:57 PM   #42
vibinlakshman
Member
 
Registered: Dec 2008
Location: Kerala, India
Distribution: Ubuntu 11.10
Posts: 334

Original Poster
Rep: Reputation: 33
Wink

Quote:
Originally Posted by i92guboj View Post
One question, did you try "emerge --sync"?


The problem is that it fails to patch a file, and I can't think a reason why that would happen on a sane system (I just tried the same exact version of the ebuild and it patches without a problem so...).

Just a wild thought, can you try to delete the temporal files under /usr/var? Look closely and tell me if the rm command fails or gives some warning or error:

Code:
rm -rf /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/
Ahhhhh.. No use .. I havent done anything wrong , just followed the handbook .. By the way ,How to update config files?
 
Old 05-13-2009, 01:32 AM   #43
vibinlakshman
Member
 
Registered: Dec 2008
Location: Kerala, India
Distribution: Ubuntu 11.10
Posts: 334

Original Poster
Rep: Reputation: 33
May be i need to redo what all i've done .. Any way thanks i92guboj who had given valid support for all these days .
Thanks alot ..
 
Old 05-13-2009, 05:19 AM   #44
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,368

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
have just installed gentoo myself from mininimal cd configured kernel manually. I did the kernel configuration without no modules and selected only the what i needed for my hardware to work. had to disables root=nfs under the nfs section of file selection to get gentoo to boot. Also I, don't think it matters what distro you chroot from, as long as it's done correctly. I chrooted from puppy a few times while setting up gentoo. I figure once I got gentoo to boot I can always go back later and redo my kernel configuration. Maybe this will help.

never mind only read the first page of posts

Last edited by colorpurple21859; 05-13-2009 at 08:56 AM.
 
Old 05-13-2009, 09:10 AM   #45
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,368

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
sorry for butting in again but I had a problem installing xorg also. I think with the same file. not sure. but after i changed my download mirror for other reasons. I was able to get xorg installed and running. maybe changeing mirrors will help. I used mirror select off the cd in auto mode to select a different mirror.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Installation Plzzzzzz Help!! kornoholio Linux - Laptop and Netbook 1 12-18-2006 03:10 AM
Help Me!!!!!! plzzzzzz dogslayer Linux - Software 9 03-02-2006 07:04 PM
Help Me!!!!!! plzzzzzz dogslayer Linux - Software 2 02-22-2006 11:34 AM
Need Help Plzzzzzz Jonasl Linux - Software 1 11-06-2003 10:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration