Can't find the game I just installed... [Solved]

Anything that pertains to Portage

Moderator: Moderators

Can't find the game I just installed... [Solved]

Postby simpleblue » Fri Jul 01, 2011 16:39

I decided to install pacmanarena just to try out installing something using the emerge command.

Code: Select all
sabayon user # emerge pacmanarena

 * IMPORTANT: 5 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) games-arcade/pacmanarena-0.15
 * pacman-arena-0.15.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...        [ ok ]
 * pacman-data-0.0.zip RMD160 SHA1 SHA256 size ;-) ...              [ ok ]
 * Package:    games-arcade/pacmanarena-0.15
 * Repository: gentoo
 * Maintainer: games@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   preserve-libs sandbox splitdebug
>>> Unpacking source...
>>> Unpacking pacman-arena-0.15.tar.bz2 to /var/tmp/portage/games-arcade/pacmanarena-0.15/work
>>> Unpacking pacman-data-0.0.zip to /var/tmp/portage/games-arcade/pacmanarena-0.15/work/pacman
>>> Source unpacked in /var/tmp/portage/games-arcade/pacmanarena-0.15/work
>>> Preparing source in /var/tmp/portage/games-arcade/pacmanarena-0.15/work/pacman ...
 * Applying pacmanarena-0.15-underlink.patch ...                    [ ok ]
 * Running eautoreconf in '/var/tmp/portage/games-arcade/pacmanarena-0.15/work/pacman' ...
 * Running aclocal ...                                              [ ok ]
 * Running autoconf ...                                             [ ok ]
 * Running autoheader ...                                           [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/games-arcade/pacmanarena-0.15/work/pacman ...
 * econf: updating pacman/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating pacman/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr/games --libdir=/usr/games/lib64 --datadir=/usr/share/games --sysconfdir=/etc/games --localstatedir=/var/games
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking whether make sets $(MAKE)... yes
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether x86_64-pc-linux-gnu-gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for memmove... yes
checking for memset... yes
checking for pow... no
checking for select... yes
checking for sqrt... no
checking for strdup... yes
checking for strerror... yes
checking for strstr... yes
checking for strtol... yes
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking if compiler recognizes -pthread... yes
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
checking for Mix_OpenAudio in -lSDL_mixer... yes
checking for SDLNet_Init in -lSDL_net... yes
checking for glEnable in -lGL... yes
checking for gluNewQuadric in -lGLU... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  'Makefile.in' seems to ignore the --datarootdir setting
config.status: creating config.h
>>> Source configured.
>>> Compiling source in /var/tmp/portage/games-arcade/pacmanarena-0.15/work/pacman ...
make -j16 -s
file.c: In function ‘file_write_values32’:
file.c:65:8: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
file.c: In function ‘file_read_values32’:
file.c:50:7: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
gfx.c: In function ‘gfx_read_targa’:
gfx.c:60:5: warning: cast from pointer to integer of different size
gfx.c:61:7: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
gfx.c:62:7: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
gfx.c:72:7: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
gfx.c:73:7: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
gfx.c:74:7: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
gfx.c:108:9: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
object.c: In function ‘object_read_file’:
object.c:426:8: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
object.c: In function ‘object_write_file’:
object.c:331:10: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
net.c: In function ‘net_client_init’:
net.c:74:25: warning: ‘p.player_id’ may be used uninitialized in this function
>>> Source compiled.
>>> Test phase [not enabled]: games-arcade/pacmanarena-0.15

>>> Install pacmanarena-0.15 into /var/tmp/portage/games-arcade/pacmanarena-0.15/image/ category games-arcade
>>> Completed installing pacmanarena-0.15 into /var/tmp/portage/games-arcade/pacmanarena-0.15/image/

strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment
   usr/games/bin/pacmanarena

>>> Installing (1 of 1) games-arcade/pacmanarena-0.15
 * Remember, in order to play games, you have to
 * be in the 'games' group.

 * Just run 'gpasswd -a <USER> games', then have <USER> re-login.

 * For more info about Gentoo gaming in general, see our website:
 *    http://games.gentoo.org/


 * Messages for package games-arcade/pacmanarena-0.15:

 * Remember, in order to play games, you have to
 * be in the 'games' group.
 * Just run 'gpasswd -a <USER> games', then have <USER> re-login.
>>> Auto-cleaning packages...
portage: COUNTER for sys-apps/entropy-1.0_rc18 was corrupted; resetting to value of 0
portage: COUNTER for sys-apps/entropy-1.0_rc18 was corrupted; resetting to value of 0
portage: COUNTER for sys-power/powertop-1.13 was corrupted; resetting to value of 0
portage: COUNTER for sys-power/powertop-1.13 was corrupted; resetting to value of 0

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.

 * IMPORTANT: config file '/etc/etc-update.conf' needs updating.
 * See the CONFIGURATION FILES section of the emerge
 * man page to learn how to update config files.

 * IMPORTANT: 5 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

sabayon user #


Code: Select all
sabayon user # gpasswd -a user games
Adding user user to group games
sabayon user #


* Logged out and back in again and I don't know how to find and run the game


Also, if there is a good tutorial on using the emerge command and finding/running installed software that would be great to know.


* edit *

It comes up in the search:

Code: Select all
user@sabayon ~ $ emerge -s pacmanarena
Searching...   
[ Results for search key : pacmanarena ]
[ Applications found : 1 ]

*  games-arcade/pacmanarena
      Latest version available: 0.15
      Latest version installed: 0.15
      Size of files: 11,811 kB
      Homepage:      http://pacmanarena.sourceforge.net/
      Description:   a Pacman clone in full 3D with a few surprises. Rockets, bombs and explosions abound.
      License:       GPL-2

user@sabayon ~ $ ls



Root>var>lib>portage>world.txt says its in games-arcade/pacmanarena


The installer said it was here:
/var/tmp/portage/games-arcade/pacmanarena-0.15/image/

...but I cannot see any directories past portage. its empty
simpleblue
Baby Hen
 
Posts: 4
Joined: Fri Jul 01, 2011 16:27

Re: Can't find the game I just installed...

Postby dunsurfin » Fri Jul 01, 2011 20:35

simpleblue wrote:* Logged out and back in again and I don't know how to find and run the game


Have you tried entering "pacmanarena" (without the quotes) in a terminal (as user - not root)?

If it runs then you can add that command to a menu entry.

This is a good read for using portage: http://wiki.sabayon.org/index.php?title ... ge_Manager
Self-righteousness is a loud din raised to drown
the voice of guilt within us - Eric Hoffer
User avatar
dunsurfin
Sagely Hen
 
Posts: 1245
Joined: Sun Jan 07, 2007 21:38
Location: Newcastle upon Tyne UK

Re: Can't find the game I just installed...

Postby Fitzcarraldo » Fri Jul 01, 2011 21:00

Odd. I installed Pacman Arena 0.15 last yeear via Portage, and an entry for it (including icon) was automatically put in my menu (Kickoff > Applications > Games > Arcade).
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7328
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Can't find the game I just installed...

Postby simpleblue » Fri Jul 01, 2011 21:21

dunsurfin wrote:
simpleblue wrote:* Logged out and back in again and I don't know how to find and run the game


Have you tried entering "pacmanarena" (without the quotes) in a terminal (as user - not root)?

If it runs then you can add that command to a menu entry.

This is a good read for using portage: http://wiki.sabayon.org/index.php?title ... ge_Manager


I've tried entering pacmanarena in terminal and the result is file not found. :?

Btw, thanks for the link. Was a great read and I've learned some new commands with it, but does not mention this specific problem.


Odd. I installed Pacman Arena 0.15 last yeear via Portage, and an entry for it (including icon) was automatically put in my menu (Kickoff > Applications > Games > Arcade).


I've looked in the games catagory with no luck. Also searched in lancelot.


I installed pacmanarena using entropy and it worked just fine. It was added to the games catagory as you said, but it's not the game that I'm interested in. I just want to know that portage works. I was able to use portage to successfully install konqueror. It was added to the lancelot menu just fine. I'll try installing another game and post back.

I think it has something to do with this 'Groups' thing. Perhaps it's only available under a different user so I cannot see it or there's something else I'm missing?
simpleblue
Baby Hen
 
Posts: 4
Joined: Fri Jul 01, 2011 16:27

Re: Can't find the game I just installed...

Postby Fitzcarraldo » Fri Jul 01, 2011 21:33

Have you checked that you are indeed in the games group, i.e. that the command you used actually worked? Here are the groups my user account is a member of on my main laptop (which does not have Entropy installed):

Code: Select all
fitzcarraldo@meshedgedx ~ $ groups
disk lp wheel floppy uucp cron audio cdrom dialout video games cdrw usb users kismet clamav haldaemon plugdev scanner entropy pulse-access pulse-rt pulse kvm crontab vboxusers polkituser
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7328
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Can't find the game I just installed...

Postby Fitzcarraldo » Fri Jul 01, 2011 21:39

I notice from what you posted that you appear to be using a user name of "user". I wonder if that is causing any problems. Someone had a problem with the user name "operator" in the past (see Re: Problems Loggin in).
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7328
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Can't find the game I just installed...

Postby simpleblue » Fri Jul 01, 2011 23:08

Fitzcarraldo wrote:Have you checked that you are indeed in the games group, i.e. that the command you used actually worked? Here are the groups my user account is a member of on my main laptop (which does not have Entropy installed):

Code: Select all
fitzcarraldo@meshedgedx ~ $ groups
disk lp wheel floppy uucp cron audio cdrom dialout video games cdrw usb users kismet clamav haldaemon plugdev scanner entropy pulse-access pulse-rt pulse kvm crontab vboxusers polkituser

Yes, 'games' is in there..

..I uninstalled the Entropy installed version of pacmanarena and reinstalled pacmanarena using Portage (emerge command), added the groups and logged back in, as I did last time, and it worked fine. I tried 3 others small games and an app and all are working fine now, so I'll leave it as is.


I notice from what you posted that you appear to be using a user name of "user". I wonder if that is causing any problems. Someone had a problem with the user name "operator" in the past (see Re: Problems Loggin in).


That is possible, though I've used 'user' ever since using linux 2 years ago. If I have anymore issues I'll try using a different name. Right now since things are working I wouldn't see a difference.

Anyways, it's working and thanks for all the support. :D
simpleblue
Baby Hen
 
Posts: 4
Joined: Fri Jul 01, 2011 16:27



Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 1 guest

cron