Author Topic: Edgar 0.56 starting problems  (Read 662 times)

Offline Ertain

  • Sr. Member
  • ****
  • Posts: 365
  • I come in peace. And for some nachos.
Edgar 0.56 starting problems
« on: May 24, 2010, 04:43:19 PM »
I just made a package for the game Legend of Edgar v0.56.  The RPM builds and installs just fine, yet when I try to run it the program looks in the wrong directory (it looks in the build directory "/home/me/src/tmp/edgar-0.56-buildroot/usr/share/games/edgar/edgar.pak", when it should look in "/usr/share/games/edgar/edgar.pak").

If anyone wishes to look at it here's the source RPM.
"She's the boss, apple sauce!"
 -Frank Cho

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Edgar 0.56 starting problems
« Reply #1 on: May 24, 2010, 06:50:54 PM »
What did you set in %files?

Offline Ertain

  • Sr. Member
  • ****
  • Posts: 365
  • I come in peace. And for some nachos.
Re: Edgar 0.56 starting problems
« Reply #2 on: May 24, 2010, 08:43:11 PM »
The usual declarations:
Code: [Select]
%files
%defattr(-,root,root)
%_bindir/%{name}
%_datadir/applications/%{name}.desktop
%_datadir/doc/%{name}
%_datadir/games/%{name}
%_datadir/locale/*/LC_MESSAGES/%{name}.mo
%_datadir/pixmaps/%{name}.png
I think the problem is when the program is built.  Either the location of the *.pak file is hard-coded or one of the configuration files is wrong.
"She's the boss, apple sauce!"
 -Frank Cho

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Edgar 0.56 starting problems
« Reply #3 on: May 24, 2010, 08:54:25 PM »
Have you read the configuration files? You may need a patch.

Offline Ertain

  • Sr. Member
  • ****
  • Posts: 365
  • I come in peace. And for some nachos.
Re: Edgar 0.56 starting problems
« Reply #4 on: May 24, 2010, 10:58:30 PM »
Drat.  Looks like I'll have to message slick50 again.
"She's the boss, apple sauce!"
 -Frank Cho