[gobolinux-users] CreateRootlessEnvironment script

Yaakov Nemoy loupgaroublond at gmail.com
Thu Nov 24 17:05:19 GMT 2005


On 11/24/05, Yaakov Nemoy <loupgaroublond at gmail.com> wrote:
> On 11/24/05, André Detsch <detsch at gmail.com> wrote:
> > On 11/24/05, Yaakov Nemoy <loupgaroublond at gmail.com> wrote:
> > > Hi all,
> > >
> > > For those of you paying attention on IRC, you've probably heard of
> > > this already.  I'm having problems (syntax errors) with the original
> > > script, so i converted it to python making it easier for me to debug.
> > > Problem is, now I have to debug all the other gobo scripts.  I would
> > > really like to try Gobo, but i don't want to reformat, and i don't
> > > have a second machine lying around.   So one of two options (or both)
> > >
> > > a) I'm gonna post my original errors with the orignal script here
> > > b) someone can tell me where to upload my pythonized version for
> > > everyone to debug
> > >
> > > ./CreateRootlessEnvironment: 194: Syntax error: "(" unexpected
> > >
> > > running this as a new user "gobo" that i created to sandbox things off a bit
> >
> > That's weird...
> > The 194 line is just:
> > function link_directory() {
> >
> > Sounds like a shell 'parse error'. What is your /bin/sh? Bash?
>
> dash, debian default i think, and supposedly posix compliant.  i guess
> i should try it in bash..... but yeah, then that needs to be fixed

I just ran it using bash, no problems until the very end, then I got
the same bugs I got with my python version.  I'm starting to think all
the scripts you guys wrote depend on zsh and not the posix sh (tsk
tsk).  Without further ado, here's a dumping.

gobo at rx7868:~$ /bin/bash CreateRootlessEnvironment
You have choose to create Rootless enviroment at
/home/gobo
Press any key to continue or Ctrl+C to abort.


Creating /home/gobo/System/Links/Manuals/man0
Creating /home/gobo/System/Links/Manuals/man1
Creating /home/gobo/System/Links/Manuals/man2
Creating /home/gobo/System/Links/Manuals/man3
Creating /home/gobo/System/Links/Manuals/man4
Creating /home/gobo/System/Links/Manuals/man5
Creating /home/gobo/System/Links/Manuals/man6
Creating /home/gobo/System/Links/Manuals/man7
Creating /home/gobo/System/Links/Manuals/man8
Pre-linking Scripts...
sed: can't read /etc/completion.bash: No such file or directory
cat: /home/gobo/System/Links/Environment/*: No such file or directory

Linking Scripts...
/home/gobo/System/Links/Executables/SymlinkProgram: 66: source: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 67: Import: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 68: Import: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 69: Import: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 70: Import: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 71: Import: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 83:
Add_Option_Entry: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 84:
Add_Option_Entry: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 85:
Add_Option_Entry: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 86:
Add_Option_Entry: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 87:
Add_Option_Entry: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 88:
Add_Option_Entry: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 89:
Add_Option_Entry: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 90:
Add_Option_Entry: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 91:
Add_Option_Boolean: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 92:
Add_Option_Boolean: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 93:
Add_Option_Boolean: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 94:
Add_Option_Boolean: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 95:
Add_Option_Entry: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 96:
Add_Option_Boolean: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 97:
Add_Option_Entry: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 98:
Add_Option_Boolean: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 99:
Add_Option_Boolean: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 102:
Add_Option_Boolean: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 105:
Parse_Options: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 123: Is_Entry: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 125: Is_Writable: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 125:
Verify_Superuser: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 127: Entry: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 128: Entry: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 129: Entry: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 130: Entry: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 131: Entry: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 132: Entry: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 133: Entry: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 134: Entry: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 139: Syntax error:
"(" unexpected

Linking Rootless...
/home/gobo/System/Links/Executables/SymlinkProgram: 66: source: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 67: Import: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 68: Import: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 69: Import: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 70: Import: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 71: Import: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 83:
Add_Option_Entry: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 84:
Add_Option_Entry: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 85:
Add_Option_Entry: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 86:
Add_Option_Entry: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 87:
Add_Option_Entry: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 88:
Add_Option_Entry: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 89:
Add_Option_Entry: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 90:
Add_Option_Entry: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 91:
Add_Option_Boolean: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 92:
Add_Option_Boolean: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 93:
Add_Option_Boolean: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 94:
Add_Option_Boolean: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 95:
Add_Option_Entry: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 96:
Add_Option_Boolean: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 97:
Add_Option_Entry: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 98:
Add_Option_Boolean: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 99:
Add_Option_Boolean: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 102:
Add_Option_Boolean: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 105:
Parse_Options: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 123: Is_Entry: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 125: Is_Writable: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 125:
Verify_Superuser: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 127: Entry: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 128: Entry: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 129: Entry: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 130: Entry: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 131: Entry: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 132: Entry: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 133: Entry: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 134: Entry: not found
/home/gobo/System/Links/Executables/SymlinkProgram: 139: Syntax error:
"(" unexpected

Done!

You can now restart your session in order to enjoy GoboLinux Rootless

Commands recommended to be executed afterwards:
  InstallPackage Atool
  InstallPackage Compile
  InstallPackage Mtail


More information about the gobolinux-users mailing list