LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices



Reply
 
Search this Thread
Old 06-07-2011, 12:54 PM   #1
randalleg
LQ Newbie
 
Registered: Apr 2011
Posts: 23

Rep: Reputation: 0
/usr/X11R6/bin/patch no such file?!?


Hi all. I have found that searching these forums has solved every issue Ive come across so thanks for all the great info.

However this morning I am stumped!

I built LFS 6.8 on my HPdv5000 laptop.
It worked. So I've moved on to BLFS and been successful in all the packages I've done so far, including Xwindows.

I moved on to covering all the dependcies for Firefox and repeatedly get an error for all that require patch.

bash: /usr/X11R6/bin/patch no such file or directory

But it IS there and its in my $PATH.

I googled and googled and searched here and am not sure what this means.
As is obvious I'm sure I am very novice and doing this to learn so it's been a slow ride!!!

Thanks in advance for your suggestions.
 
Old 06-07-2011, 01:33 PM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Centos6.3/Debain
Posts: 1,762
Blog Entries: 1

Rep: Reputation: 245Reputation: 245Reputation: 245
What dependencies are showing the error for the patch. And what commands did you use
 
Old 06-07-2011, 01:38 PM   #3
randalleg
LQ Newbie
 
Registered: Apr 2011
Posts: 23

Original Poster
Rep: Reputation: 0
patch

Its returning that error on anything with a patch. I was trying to install nss-3.12.8 and it did it, so I tried Xulrunner with the internal nspr,nss patch and its doing the same thing. I barely know what all this means so the code was straight out of the BLFS development book.

bash

export BUILD_OPT=1 &&
export NSS_USE_SYSTEM_SQLITE=1 &&
export NSPR_INCLUDE_DIR=/usr/include/nspr &&
export USE_SYSTEM_ZLIB=1 &&
export ZLIB_LIBS=-lz &&
patch -Np1 -i ../nss-3.12.8-standalone-1.patch &&
make -C mozilla/security/nss nss_build_all
 
Old 06-07-2011, 01:42 PM   #4
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Centos6.3/Debain
Posts: 1,762
Blog Entries: 1

Rep: Reputation: 245Reputation: 245Reputation: 245
It dose say that nss requires nspr maybe you should install that
 
Old 06-07-2011, 01:43 PM   #5
randalleg
LQ Newbie
 
Registered: Apr 2011
Posts: 23

Original Poster
Rep: Reputation: 0
what!!

OK so for the sake of, I went back to LFS chpter 6, redownloaded and reinstalled Patch.
Retried the nss code and it didn't error and is making right now.

That said WHAT in the Hell happened!!
 
Old 06-07-2011, 01:44 PM   #6
randalleg
LQ Newbie
 
Registered: Apr 2011
Posts: 23

Original Poster
Rep: Reputation: 0
Yep NSPR installed OK last night. I went to bed and got started again this AM to find the error! Maybe my cats learned how to code was I was sleeping!
 
Old 06-07-2011, 01:48 PM   #7
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Centos6.3/Debain
Posts: 1,762
Blog Entries: 1

Rep: Reputation: 245Reputation: 245Reputation: 245
I take it you are talking about
http://www.linuxfromscratch.org/lfs/...r06/patch.html
 
Old 06-07-2011, 01:50 PM   #8
randalleg
LQ Newbie
 
Registered: Apr 2011
Posts: 23

Original Poster
Rep: Reputation: 0
Exactly. How would it just stop working like that!
 
Old 06-07-2011, 02:02 PM   #9
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Centos6.3/Debain
Posts: 1,762
Blog Entries: 1

Rep: Reputation: 245Reputation: 245Reputation: 245
Thats not the Patch you require the patch is at the top of each page of blfs if it requires a patch
Additional Downloads

Optional patch: http://www.linuxfromscratch.org/patc...pr_nss-1.patch (Required if using the included NSPR and NSS libraries as system versions for other packages)

this will be the patch required for xulrunner.Each 1 has it,s own patch listed
 
Old 06-07-2011, 02:56 PM   #10
randalleg
LQ Newbie
 
Registered: Apr 2011
Posts: 23

Original Poster
Rep: Reputation: 0
I get that, I misanswered your question! I actually recompiled the patch program from LFS 6.8
Then I reinstalled nss and ran the nss patch which was the part that was returning no such file error.
After reinstalling Patch-2.6.1 it ran the nss patch just fine. Why? I dont know!
 
Old 06-07-2011, 05:06 PM   #11
randalleg
LQ Newbie
 
Registered: Apr 2011
Posts: 23

Original Poster
Rep: Reputation: 0
YAY

Well I still don't know what happened with the patch program BUT!
Its fixed and I'm posting for the first time from Firefox on my BLFS system!!!
 
Old 06-07-2011, 05:14 PM   #12
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Centos6.3/Debain
Posts: 1,762
Blog Entries: 1

Rep: Reputation: 245Reputation: 245Reputation: 245
Glad it all worked out ok. Sometimes I have found that if it didn't work the 1st time if I went back and redone it, it worked maybe a typo you missed?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
echo $PATH = /home/g3rc4n/bin:/usr/local/bin:/usr/bin:/bin:/usr/games ? i_heart_pandas Linux - Software 7 09-18-2009 09:33 AM
Probelm with /usr/X11R6/bin/X file wild_oscar Linux - Software 5 05-22-2007 08:38 AM
/usr/bin/X11/ and /usr/X11R6/bin/ the same? linuxtesting2 Linux - Newbie 2 11-16-2004 11:57 AM
Installation failed: file /usr/X11R6/lib/libGL.so.1.2 from install of fglrx-glc22-4. witchy2k1 Linux - Newbie 13 01-25-2004 06:26 AM
dependency - /usr/X11R6/bin/xauth ?? init-5 Linux - Software 1 09-16-2003 08:36 AM


All times are GMT -5. The time now is 09:00 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration