[solved]fakeroot problem in darkplaces_sharware_data?

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
ink3
Posts: 80
Joined: 9. Apr 2011, 14:16

[solved]fakeroot problem in darkplaces_sharware_data?

Post by ink3 »

Log from sourcery:
darkplaces_shareware_data.SlackBuild: line 27: 6075 Unicestwiony lha e resource.1
fakeroot -- sh darkplaces_shareware_data.SlackBuild Failed
Last edited by ink3 on 25. Dec 2011, 16:07, edited 1 time in total.
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: fakeroot problem in darkplaces_sharware_data?

Post by mimosa »

Is fakeroor installed? if so it may be a missing dependency, and that might well appear a few lines higher up in the log. Did you check the dependencies first?
User avatar
ink3
Posts: 80
Joined: 9. Apr 2011, 14:16

Re: fakeroot problem in darkplaces_sharware_data?

Post by ink3 »

yes

Code: Select all

# slapt-get --search fakeroot
fakeroot-1.14.5-i486-1gv [inst=tak]: fakeroot (provides a faked root environment suitable for many tasks)
dependencies - darkplaces
^installed
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: fakeroot problem in darkplaces_sharware_data?

Post by mimosa »

There might be dependencies not listed in the dependencies file. Please post a bit more of the log! The problem (even if it isn't dependencies) will probably have left a trace near the end, but not necessarily right at the end.
User avatar
ink3
Posts: 80
Joined: 9. Apr 2011, 14:16

Re: fakeroot problem in darkplaces_sharware_data?

Post by ink3 »

I try install with slapt-src (not sourcery) now.
And probably success!

Code: Select all

# slapt-src -i darkplaces_shareware_data:1.06
The following packages will be installed:
 darkplaces_shareware_data 
Do you want to continue? [y/N] y
Fetching README...Done
Fetching darkplaces_shareware_data.SlackBuild...Done
Fetching darkplaces_shareware_data.info...Done
Fetching slack-desc...Done
Archive:  /usr/src/slapt-src/games/darkplaces_shareware_data/quake106.zip
  inflating: resource.1              
  inflating: install.bat             
  inflating: deice.exe               
  inflating: resource.dat            
cwsdpmi.exe	- Melted   :  oooo
genvxd.dll	- Melted   :  ooo
help.txt	- Melted   :  o
id1/pak0.pak	- Melting  :  ..................................................id1/pak0.pak	- Melting  :  ooooooooooooooooooooooooooooooooooooooooooooooooooid1/pak0.pak	- Melted  
licinfo.txt	- Melted   :  oo
mgenvxd.vxd	- Melted   :  oo
order.txt	- Melted   :  o
pdipx.com	- Melted   :  oooo
q95.bat	- Melted   :  o
qlaunch.exe	- Melted   :  ooooooooooooooooooooooooooooooooooooooo
readv106.txt	- Melted   :  oo
quake.exe	- Melted   :  oooooooooooooooooooooooooooooooooooooooooooooooooo
quakeudp.dll	- Melted   :  oooo
readme.txt	- Melted   :  ooo
slicnse.txt	- Melted   :  oo
techinfo.txt	- Melted   :  oooooooooo

Slackware package maker, version 3.14159.

Searching for symbolic links:

No symbolic links were found, so we won't make an installation script.
You can make your own later in ./install/doinst.sh and rebuild the
package if you like.

This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!

Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n

Creating Slackware package:  /usr/src/slapt-src/games/darkplaces_shareware_data/darkplaces_shareware_data-1.06-noarch-1_SBo.txz

./
install/
install/slack-desc
usr/
usr/share/
usr/share/games/
usr/share/games/darkplaces/
usr/share/games/darkplaces/id1/
usr/share/games/darkplaces/id1/pak0.pak
usr/doc/
usr/doc/darkplaces_shareware_data-1.06/
usr/doc/darkplaces_shareware_data-1.06/order.txt
usr/doc/darkplaces_shareware_data-1.06/help.txt
usr/doc/darkplaces_shareware_data-1.06/licinfo.txt
usr/doc/darkplaces_shareware_data-1.06/slicnse.txt
usr/doc/darkplaces_shareware_data-1.06/readme.txt
usr/doc/darkplaces_shareware_data-1.06/techinfo.txt
usr/doc/darkplaces_shareware_data-1.06/darkplaces_shareware_data.SlackBuild
usr/doc/darkplaces_shareware_data-1.06/readv106.txt

Slackware package /usr/src/slapt-src/games/darkplaces_shareware_data/darkplaces_shareware_data-1.06-noarch-1_SBo.txz created.

Installing package darkplaces_shareware_data-1.06-noarch-1_SBo...
| darkplaces_shareware_data (Quake shareware data)
| 
| The shareware game data for idsoftware Quake. 
| Copyright idsoftware, inc.
| 
| 
| 
| 
| 
| 
| 
| 
| 
In sourcery package appears as installed http://www.zimagez.com/zimage/zrzutekra ... 082451.php

And how to run this game? (From menu xfce, games, quake not started)
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: fakeroot problem in darkplaces_sharware_data?

Post by Shador »

ink3 wrote:And how to run this game? (From menu xfce, games, quake not started)
??? Does that mean that there is a menuentry that does not work? Or is it missing?
In any case try launching the game from the commandline by quake or whatever the executable is called. This probably gives you some error messages in case the menuentry ain't working.

On a sidenote, I edited your post to use code tags, because they're more suited for long machine-outputted text like logs.
Image
User avatar
ink3
Posts: 80
Joined: 9. Apr 2011, 14:16

Re: fakeroot problem in darkplaces_sharware_data?

Post by ink3 »

quake in menu, games, If I click, nothing happens.
I find darkplaces script in /usr/games:

Code: Select all

$ ls
cowsay  cowthink  darkplaces-dedicated  darkplaces-glx  darkplaces-sdl

Code: Select all

$ darkplaces-dedicated 
./darkplaces-dedicated: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory
I haven't this library - libjpeg.so.62

I have only:

Code: Select all

ls -l /usr/lib/libjpeg*
-rw-r--r-- 1 root root 255590 kwi  5  2010 /usr/lib/libjpeg.a
-rwxr-xr-x 1 root root    914 kwi  5  2010 /usr/lib/libjpeg.la
lrwxrwxrwx 1 root root     16 lis  9  2010 /usr/lib/libjpeg.so -> libjpeg.so.8.0.1
lrwxrwxrwx 1 root root     16 lis  9  2010 /usr/lib/libjpeg.so.8 -> libjpeg.so.8.0.1
-rwxr-xr-x 1 root root 216524 kwi  5  2010 /usr/lib/libjpeg.so.8.0.1
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: fakeroot problem in darkplaces_sharware_data?

Post by mimosa »

You may need to create a symlink so that when the app looks for libjpeg.so.62, it finds libjpeg.so.8.0.2. Not sure if this will work or whether it is the correct approach in this case, but perhaps worth a try.

Notice there are already two symlinks among the items you list.
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: fakeroot problem in darkplaces_sharware_data?

Post by Shador »

Wasn't this application built from source? Then there usually are no such version mismatches, unless it's not actually built from source. Symlink CAN be a solution but it's a hackish workaround, which can very well fail or create other problems.

http://salixos.org/forum/viewtopic.php?p=5902
Image
User avatar
ink3
Posts: 80
Joined: 9. Apr 2011, 14:16

Re: fakeroot problem in darkplaces_sharware_data?

Post by ink3 »

hmm..
I try

Code: Select all

# ln -s /usr/lib/libjpeg.so.8 /usr/lib/libjpeg.so.62
and game run.

I have hope that it symlink will not be spoiled by other things.
Post Reply