Firmware: A-410 [01 Apr. 2014] | A-400 [12 Mar. 2014] | C-300 [13 Feb. 2014] | A-300 [24 Feb. 2014] | C-200 [11 July 2013] | A-200/A-210 [11 July 2013] | Popbox V8 [3 Dec 2013]

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 


Forum Jump: