I am new to building packages and have some questions. So far I have built hplip version needed for my printer. Had some problems but questions asked and answered so I thought I would try another package. I want to build extreme tux racer. My granddaughter loves it. I looked at the .SlackBuild at slackbuild.org. I also downloaded and did the "normal" install (./configure, make, make install). Then I did ./configure --help and used that info to make some adjustments to SLKBUILD. When I did the make install it put the binary executable file in /usr/share/applications. No desktop configuration file was made. When I ran slkbuild -x the package built okay and I installed it. The problems I encountered was there was no desktop configuration file made and none of the icons were installed.
When I extracted the .tar.gz there were files etracericons.zip and etracericon.svg all in the same directory as the configure, Makefile, INSTALL files.
Where did I go wrong? any help appreciated.
john
SOLVED - slkbuild questions
SOLVED - slkbuild questions
Last edited by jbs1136 on 15. Apr 2010, 15:39, edited 1 time in total.
Re: slkbuild questions
I'm sure there's something wrong with that statement.jbs1136 wrote:When I did the make install it put the binary executable file in /usr/share/applications.
Maybe the makefile doesn't actually install any .desktop files and you'll need to do it yourself. It's not unusual for applications to not install a .desktop file, although they should. Same goes for icon files. Sometimes they are included in the source, but they don't get installed, sometimes they're not included at all.jbs1136 wrote:No desktop configuration file was made. When I ran slkbuild -x the package built okay and I installed it. The problems I encountered was there was no desktop configuration file made and none of the icons were installed.
Re: slkbuild questions
Okay, thanks for that info. I know how to make a .desktop file but where do I put it? Would that be in the same place as the slkbuild? How do I include it, do I put something in the slkbuild or edit the makefile? Would I put instructions in the slkbuild in the do inst section?
john
john
Re: slkbuild questions
Thanks, that answered those questions. I saved a copy to go by, if that's okay.
See, that's why I like this OS and this forum, people helping you to learn and not preaching to you.
Thanks for your help, and my granddaughter thanks you also.
john
See, that's why I like this OS and this forum, people helping you to learn and not preaching to you.
Thanks for your help, and my granddaughter thanks you also.
john