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

Non release banter
Black ninja
Black ninja
Posts: 63
Joined: 18 Jan 2011, 15:51
Distribution: xfce 32bits/64bits
Location: internet

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

Post#1 by feng » 07 May 2011, 12:37

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!
Last edited by feng on 25 Feb 2012, 13:52, edited 2 times in total.

User avatar
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

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

Post#2 by Hamza » 07 May 2011, 20:44

Sorry , your title is incorrect.

This script is by brokenman.

User avatar
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

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

Post#3 by brokenman » 07 May 2011, 23:36

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:

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.
How do i become super user?
Wear your underpants on the outside and put on a cape.

Post Reply