LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-05-2013, 08:20 PM   #1
sniper8752
Member
 
Registered: Oct 2012
Posts: 564

Rep: Reputation: Disabled
creating and running app


Hello Everybody:

I am running a Raspberry Pi, and am following a tutorial to create a weather app. I was following this, and was stumped. I found the .desktop files in /usr/share/applications, so created the first file there. I was not sure where the .sh.in file went, so I put that there too, followed along with all the other files on that page. I click on the weather app under my accessories navigation, and click on the app, but it does nothing. I have the .js file located on my desktop. I am new to this, and would like to learn how this works. Much appreciated!

EDIT: https://developer.gnome.org/gnome-de...ols.js.html.en

Last edited by sniper8752; 04-05-2013 at 08:25 PM.
 
Old 04-06-2013, 01:56 AM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Don't put thise raw files in /usr/share/applications. Put them in a new subdir in your $HOME, for example.
You need to copy and paste these files there:
weatherapp.desktop
weatherapp.sh.in
Makefile.am
configure.ac
autogen.sh

Then, in that directory you need to run:
sh ./autogen.sh
./configure
make
make install

The 'make install' command will place the finished files in the proper place.
 
Old 04-06-2013, 10:48 AM   #3
sniper8752
Member
 
Registered: Oct 2012
Posts: 564

Original Poster
Rep: Reputation: Disabled
it says when I run the first command, that autoreconf cannot be found.
 
Old 04-07-2013, 01:49 AM   #4
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
So, you need to install the package 'autoconf'. You probably also are needing the package 'automake'.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a docked App Bar for Linux. peddler38 Programming 1 08-19-2008 07:17 AM
Check if an app is running and if it's not launch this app Coume Linux - General 3 07-28-2008 02:34 AM
Creating shortcut for installed app DeanAL Linux - Newbie 3 04-05-2006 05:18 PM
creating .so for JNI app on redhat 4 ilough Programming 1 02-24-2006 01:58 PM
What is a good app builder for creating portals? lostboy Programming 1 09-13-2003 09:46 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration