Magicor game.

Play with your Puppy.
Message
Author
User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#16 Post by Semme »

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

giannis4
Posts: 98
Joined: Fri 28 Jun 2013, 13:26

#17 Post by giannis4 »

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

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#18 Post by Semme »

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!

giannis4
Posts: 98
Joined: Fri 28 Jun 2013, 13:26

#19 Post by giannis4 »

I typed make install but nothing happens again.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#20 Post by Semme »

Did you *load* the devx?

giannis4
Posts: 98
Joined: Fri 28 Jun 2013, 13:26

#21 Post by giannis4 »

Yes,it is loaded.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#22 Post by Semme »

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

Does it say we're there?

These files, right?

Code: Select all

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

giannis4
Posts: 98
Joined: Fri 28 Jun 2013, 13:26

#23 Post by giannis4 »

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?

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#24 Post by Semme »

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

:wink: Commands are always lowercase unless dealing with items that have CAPS.

giannis4
Posts: 98
Joined: Fri 28 Jun 2013, 13:26

#25 Post by giannis4 »

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

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#26 Post by Semme »

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

:D I'm on a shoestring here..

giannis4
Posts: 98
Joined: Fri 28 Jun 2013, 13:26

#27 Post by giannis4 »

# 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

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#28 Post by Semme »

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.

giannis4
Posts: 98
Joined: Fri 28 Jun 2013, 13:26

#29 Post by giannis4 »

Ok thank you very much for your time,take care.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#30 Post by Semme »

Come back in a bit, I believe I've got the next step.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#31 Post by Semme »

Dwnld this and extract into the same directory you dwnldd.

What you'll have is a "usr" directory. Go down into /usr/share/games and leave the magicor directory in ROX.

Open another ROX and drill down to /usr/local/share on Slacko.

From the first, drag the magicor directory into the second >> /usr/local/share.

Rerun: make install
Attachments
magicor_inplace.jpg
(22.1 KiB) Downloaded 323 times
Last edited by Semme on Sun 30 Mar 2014, 23:37, edited 2 times in total.

giannis4
Posts: 98
Joined: Fri 28 Jun 2013, 13:26

#32 Post by giannis4 »

ok ready

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#33 Post by Semme »

See my previous post..

giannis4
Posts: 98
Joined: Fri 28 Jun 2013, 13:26

#34 Post by giannis4 »

Did that,here the resault

# 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

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#35 Post by Semme »

Tmrw or the next day we'll continue, OK.

Post Reply