Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 29 Aug 2014, 08:37
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Games
Magicor game.
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 3 [43 Posts]   Goto page: Previous 1, 2, 3 Next
Author Message
Semme

Joined: 07 Aug 2011
Posts: 3770
Location: World_Hub

PostPosted: Sun 30 Mar 2014, 17:57    Post subject:  

Good, so maybe you have it. If it weren't there, you would've got a different response.

Onward..

If you've unpacked the Magicor src, go into it's directory and hit the " ` " character..

It should open a shell.. correct?

==

Tell me too what this returns: python -V
Back to top
View user's profile Send private message 
giannis4

Joined: 28 Jun 2013
Posts: 72

PostPosted: Sun 30 Mar 2014, 18:03    Post subject:  

Semme wrote:
Good, so maybe you have it. If it weren't there, you would've got a different response.

Onward..

If you've unpacked the Magicor src, go into it's directory and hit the " ` " character..

It should open a shell.. correct?

==

Tell me too what this returns: python -V


Yes,it opens a shell and second I get Python 2.7.3 as a response
Back to top
View user's profile Send private message 
Semme

Joined: 07 Aug 2011
Posts: 3770
Location: World_Hub

PostPosted: Sun 30 Mar 2014, 18:08    Post subject:  

OK, if your shell's still open in that same directory, run: make install

Makefile defaults looked OK as far as I could tell. I usually get right into it and let shell errors lead the way.

If you have trouble with copy and paste, you hightlight what you want, minimize, then right/left together to paste.

Let's see what it says....

==

PS >> You got mail!
Back to top
View user's profile Send private message 
giannis4

Joined: 28 Jun 2013
Posts: 72

PostPosted: Sun 30 Mar 2014, 18:15    Post subject:  

I typed make install but nothing happens again.
Back to top
View user's profile Send private message 
Semme

Joined: 07 Aug 2011
Posts: 3770
Location: World_Hub

PostPosted: Sun 30 Mar 2014, 18:18    Post subject:  

Did you *load* the devx?
Back to top
View user's profile Send private message 
giannis4

Joined: 28 Jun 2013
Posts: 72

PostPosted: Sun 30 Mar 2014, 18:19    Post subject:  

Yes,it is loaded.
Back to top
View user's profile Send private message 
Semme

Joined: 07 Aug 2011
Posts: 3770
Location: World_Hub

PostPosted: Sun 30 Mar 2014, 18:24    Post subject:  

Then the shell that's opened in magicor-1.1, type: pwd

Does it say we're there?

These files, right?
Code:
drwxr-xr-x 2 ftp ftp 4096 2008-07-08 15:39 etc
-rw-r--r-- 1 ftp ftp 2558 2008-07-08 16:37 INSTALL
-rw-r--r-- 1 ftp ftp 1775 2008-07-08 16:37 LICENSE
drwxr-xr-x 5 ftp ftp 4096 2008-07-08 15:39 magicor
-rw-r--r-- 1 ftp ftp 1408 2008-07-08 16:37 Magicor-LevelEditor.py
-rw-r--r-- 1 ftp ftp 2825 2008-07-08 16:37 Magicor.py
-rw-r--r-- 1 ftp ftp 3602 2008-07-08 16:37 Makefile
-rw-r--r-- 1 ftp ftp 2310 2008-07-08 16:37 README
drwxr-xr-x 2 ftp ftp 4096 2008-07-08 15:39 scripts
Back to top
View user's profile Send private message 
giannis4

Joined: 28 Jun 2013
Posts: 72

PostPosted: Sun 30 Mar 2014, 18:31    Post subject:  

etc LICENSE Magicor-LevelEditor.py Makefile scripts
INSTALL magicor Magicor.py README
# " ` "
> pwd
>


This is what I have but not exacty as shown in your post.Am I doing something wrong?
Back to top
View user's profile Send private message 
Semme

Joined: 07 Aug 2011
Posts: 3770
Location: World_Hub

PostPosted: Sun 30 Mar 2014, 18:40    Post subject:  

Does the shell output look the same if you type: ls -l

Wink Commands are always lowercase unless dealing with items that have CAPS.
Back to top
View user's profile Send private message 
giannis4

Joined: 28 Jun 2013
Posts: 72

PostPosted: Sun 30 Mar 2014, 18:47    Post subject:  

ok,I typed againg make install and I got these now:

drwxr-xr-x 2 ftp ftp 4096 Jul 8 2008 etc
-rw-r--r-- 1 ftp ftp 2558 Jul 8 2008 INSTALL
-rw-r--r-- 1 ftp ftp 1775 Jul 8 2008 LICENSE
drwxr-xr-x 5 ftp ftp 4096 Jul 8 2008 magicor
-rw-r--r-- 1 ftp ftp 1408 Jul 8 2008 Magicor-LevelEditor.py
-rw-r--r-- 1 ftp ftp 2825 Jul 8 2008 Magicor.py
-rw-r--r-- 1 ftp ftp 3602 Jul 8 2008 Makefile
-rw-r--r-- 1 ftp ftp 2310 Jul 8 2008 README
drwxr-xr-x 2 ftp ftp 4096 Jul 8 2008 scripts
# make install
mkdir -p /usr/local/lib/python2.7/site-packages/magicor
cp -fr magicor/* /usr/local/lib/python2.7/site-packages/magicor
cat Magicor.py | python scripts/replacer.py "###CONFIG_PATH###" /usr/local/etc/magicor.conf > /usr/local/games/magicor
/bin/sh: /usr/local/games/magicor: No such file or directory
make: *** [install] Error 1
Back to top
View user's profile Send private message 
Semme

Joined: 07 Aug 2011
Posts: 3770
Location: World_Hub

PostPosted: Sun 30 Mar 2014, 18:52    Post subject:  

Type'n enter: mkdir /usr/local/games and rerun: make install

Very Happy I'm on a shoestring here..
Back to top
View user's profile Send private message 
giannis4

Joined: 28 Jun 2013
Posts: 72

PostPosted: Sun 30 Mar 2014, 18:58    Post subject:  

# mkdir /usr/local/games
# make install
mkdir -p /usr/local/lib/python2.7/site-packages/magicor
cp -fr magicor/* /usr/local/lib/python2.7/site-packages/magicor
cat Magicor.py | python scripts/replacer.py "###CONFIG_PATH###" /usr/local/etc/magicor.conf > /usr/local/games/magicor
cat etc/magicor.conf | python scripts/replacer.py "###SHARE_PATH###" /usr/local/share/magicor > /usr/local/etc/magicor.conf
cat Magicor-LevelEditor.py | python scripts/replacer.py "###CONFIG_PATH###" /usr/local/etc/magicor-editor.conf > /usr/local/games/magicor-editor
cat etc/magicor-editor.conf | python scripts/replacer.py "###SHARE_PATH###" /usr/local/share/magicor > /usr/local/etc/magicor-editor.conf
chmod a+x /usr/local/games/magicor
chmod a+x /usr/local/games/magicor-editor
mkdir -p /usr/local/share/magicor
cp -fr data/* /usr/local/share/magicor
cp: cannot stat ‘data/*’: No such file or directory
make: *** [install] Error 1
Back to top
View user's profile Send private message 
Semme

Joined: 07 Aug 2011
Posts: 3770
Location: World_Hub

PostPosted: Sun 30 Mar 2014, 19:07    Post subject:  

Break time.. I'd like to regroup. Maybe later or the next day or so >> unless someone else steps in..

I will however take a closer look.
Back to top
View user's profile Send private message 
giannis4

Joined: 28 Jun 2013
Posts: 72

PostPosted: Sun 30 Mar 2014, 19:09    Post subject:  

Ok thank you very much for your time,take care.
Back to top
View user's profile Send private message 
Semme

Joined: 07 Aug 2011
Posts: 3770
Location: World_Hub

PostPosted: Sun 30 Mar 2014, 19:19    Post subject:  

Come back in a bit, I believe I've got the next step.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 3 [43 Posts]   Goto page: Previous 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Games
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0705s ][ Queries: 12 (0.0088s) ][ GZIP on ]