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

Non release banter
Post Reply
feng
Black ninja
Black ninja
Posts: 62
Joined: 18 Jan 2011, 15:51
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
Hamza
Warlord
Warlord
Posts: 1846
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.
NjVFQzY2Rg==

User avatar
brokenman
Site Admin
Site Admin
Posts: 5436
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

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

Post Reply