Forums

POL_SetupWindow_Init: command not found

/lib/sources: No such file or directory

Auteur Réponses
pero12 Mercredi 14 Avril 2010 à 19:22
pero12Anonymous

Hello this is my first post here.
I installed playonlinux on ubuntu 9.10.
I followed the instructions on this site for creation scripts. I got this errors. I believe I am missing $PLAYONLINUX variable, and also POL_* is not coloured blue

I am noob and I just installed ubuntu last week.

Terminal output for both scripts:
predrag@predrag-desktop:~/Desktop$ ./pedjo.sh
playonlinux is nothing
predrag@predrag-desktop:~/Desktop$ ./Pero.sh
playonlinux is nothing
./Pero.sh: line 6: /lib/sources: No such file or directory
./Pero.sh: line 7: POL_SetupWindow_Init: command not found
./Pero.sh: line 10: POL_SetupWindow_message: command not found
./Pero.sh: line 14: POL_SetupWindow_Close: command not found
predrag@predrag-desktop:~/Desktop$


script pedjo.sh:
#!/bin/bash

if [ "$PLAYONLINUX" = "" ]
then
     echo "playonlinux is nothing"
exit 0
fi

source "$PLAYONLINUX/lib/sources"
POL_SetupWindow_Init

# od tu naprej dol se pise skripta
POL_SetupWindow_message "Hello World !" "My first message"

## Votre script ici
#od tu naprej dol se ne dodaja vec skripte ampak mora biti enako
POL_SetupWindow_Close
exit





Script Pero.sh:
#!/bin/bash

if [ "$PLAYONLINUX" = "" ]then
     echo "playonlinux is nothing"
     source "$PLAYONLINUX/lib/sources"
     POL_SetupWindow_Init

      # od tu naprej dol se pise skripta
     POL_SetupWindow_message "Hello World !" "My first message"

     ## Votre script ici
     #od tu naprej dol se ne dodaja vec skripte ampak mora biti enako
     POL_SetupWindow_Close
fi

exit




Looking forward for your replay.

Kind regards, pero12
Berillions Mercredi 14 Avril 2010 à 19:29
Berillions

You must to launch the script thanks to PoL.
With English version of PoL : Tools -> Execute a local script

pero12 Mercredi 14 Avril 2010 à 22:00
pero12Anonymous

hey thank you for you're help. It now works. Can I ask if it is possible to use an already existing script for games because I want to install fallout 3. And where can I get this game? And where can I get an already existing script for games because I want to install fallout 3, the Elder Scroll and Gothic?

Looking forward for your replay.
Kind regards, pero12

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmcayonlinux.com