Page 1 of 1

[SOLVED]problem i met [SCRIPT] Build porteus module from sou

Posted: 07 May 2011, 12:37
by feng
I got the problem while running this script

http://porteus.org/component/content/ar ... -code.html

[SCRIPT] Build porteus module from source code

my command is:

Code: Select all

root@porteus:/tmp# ./mybuild gcin-1.6.1.tar.bz2  
(the source: http://cle.linux.org.tw/gcin/download/g ... .1.tar.bz2)

the errors are:

Code: Select all

./mybuild: line 44: unexpected EOF while looking for matching `''
./mybuild: line 109: syntax error: unexpected end of file
in line 44 in the script is:

Code: Select all

PKG=`echo $1 | sed 's/.......$//g'`
how can I solve this problem?
thanks a lot!

Re: problem i met [SCRIPT] Build porteus module from source

Posted: 07 May 2011, 20:44
by Hamza
Sorry , your title is incorrect.

This script is by brokenman.

Re: problem i met [SCRIPT] Build porteus module from source

Posted: 07 May 2011, 23:36
by brokenman
The problem comes from copying the text from the code box into your text file. For some reason the formatting is breaking. You can download the script from here:
http://porteus.org/distro-download/porteus-scripts.html

This won't help your problem though. This script is only reliable for basic source code that contains the DESTDIR variable in the Makefile. This source file you have does not fit this requirement.