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 Sun 21 Sep 2014, 18:19
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 Posts_count   Goto page: Previous 1, 2, 3 Next
Author Message
Semme

Joined: 07 Aug 2011
Posts: 3907
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: 79

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: 3907
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: 79

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: 3907
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: 79

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: 3907
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: 79

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: 3907
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: 79

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: 3907
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: 79

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: 3907
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: 79

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: 3907
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:   Sort by:   
Page 2 of 3 Posts_count   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:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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