[19. April 2013] A-400 Advanced Network Setup now available | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Thread Closed 
How-to: Install and Configure Dropbear on the PCH
11-26-2009, 10:05 PM
Post: #61
RE: How-to: Install and Configure Dropbear on the PCH
(10-03-2008 12:32 AM)fbv2 Wrote:  The output of the file I will show here:
Quote:
*** configure 2008-10-02 01:04:35.000000000 -0400
--- configure 2008-10-02 19:20:32.000000000 -0400
***************
*** 3637,3643 ****
# For an installed makeinfo, we require it to be from texinfo 4.4 or
# higher, else we use the "missing" dummy.
if ${MAKEINFO} --version \
! | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; then
:
else
MAKEINFO="$MISSING makeinfo"
--- 3637,3643 ----
# For an installed makeinfo, we require it to be from texinfo 4.4 or
# higher, else we use the "missing" dummy.
if ${MAKEINFO} --version \
! | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.([4-9]|[1-9][0-9])|[5-9])' >/dev/null 2>&1; then
:
else
MAKEINFO="$MISSING makeinfo"

I then moved the configure.diff file to the toolchain/binutils/2.17 directory, and renamed it configure.patch

I'm stuck at this point. I want to try compile irssi for the PCH, but can't do this as I don't get the toolchain working.

I tried to copy the code into a configure.patch file in my folder, but it says it have wrong format.
I've tried to manually change this to look as the other patch files, but I then get an error saying:
Code:
Applying toolchain/binutils/2.17/configure.patch using plaintext:
missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|+++ configure 2008-10-02 01:04:35.000000000 -0400
|--- configure 2008-10-02 19:20:32.000000000 -0400
|***************
--------------------------
File to patch: configure
patching file configure
patch: **** unexpected end of file in patch
Patch failed!  Please fix toolchain/binutils/2.17/configure.patch!
make: *** [/home/popcorn/smp86xx_toolchain.20080505/toolchain_build_mipsel_nofpu/binutils-2.17/.patched] Error 1

My new configure.patch looks like this:
Code:
+++ configure 2008-10-02 01:04:35.000000000 -0400
--- configure 2008-10-02 19:20:32.000000000 -0400
***************
@@ -3637,3643 +3637,3643 @@
+# For an installed makeinfo, we require it to be from texinfo 4.4 or
+# higher, else we use the "missing" dummy.
+if ${MAKEINFO} --version \
+! | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; then
+:
+else
+MAKEINFO="$MISSING makeinfo"

-# For an installed makeinfo, we require it to be from texinfo 4.4 or
-# higher, else we use the "missing" dummy.
-if ${MAKEINFO} --version \
-! | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.([4-9]|[1-9][0-9])|[5-9])' >/dev/null 2>&1; then
-:
-else
-MAKEINFO="$MISSING makeinfo"

Could anyone help me out?
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Playing music with Winamp from PC to PCH alvoryx 39 29,778 11-21-2012 10:27 PM
Last Post: joedalton101
  Web browser access to the PCH from your PC cheaper_popcorn 67 115,280 01-23-2010 06:43 PM
Last Post: bluecat
Game Tutorial: How to use the Xbox360 to play files off the PCH? victorakkersdijk 0 4,006 08-01-2009 10:04 PM
Last Post: victorakkersdijk
Thumbsup How-To: Convert Apple HD Trailers to PCH friendly luckyy 2 4,261 07-11-2009 05:32 AM
Last Post: BuddyBoy
  Optimising memory on your PCH Delphy 16 18,021 05-29-2009 11:46 AM
Last Post: Funksoldier
  What can the PCH do for me - Popcornhour FAQ Philos 38 105,452 05-25-2009 12:46 AM
Last Post: landoncube
  [DOC] UPnP PCH-A100 Media Server A/V controlled by Nokia N95 8GB Kasimodo 7 15,094 04-21-2009 10:39 PM
Last Post: javierPopCorn
  HowTo Setup Harmony Remote for use with PCH-A100 journey4712 62 45,399 04-20-2009 08:34 PM
Last Post: woutersa
  success: mlb.tv playing off the PCH! (in ubuntu) eliotw 1 7,668 04-05-2009 07:33 PM
Last Post: tracerhand
  [DOC] Telnet(d) with PCH-A100 and vi commands Kasimodo 4 12,073 08-27-2008 08:27 PM
Last Post: Kasimodo

Forum Jump: