Reply
Thread Tools
Posts: 18 | Thanked: 0 times | Joined on Mar 2011
#1
Hey guys,

Some time ago I started developing a front-end GUI for the truecrypt commandline util. My program is working pretty well, so I started packaging it for Maemo5. I couldn't find a real good tutorial that worked, so I tried a bit myself. I now have a .deb package (packaged with MADDE), which installs without problems. When I try to run the application from the menu, it never starts.

I also tried to run it straight from the /usr/bin, than I get a permission denied error. I also chmodded the program to 755, and root had all the necessary permissions, yet the program doesn't start even with root permissions...

I really hope that someone can help me with this problem, because it is becoming pretty annoying xD Because i'm sort of new to the developing on a UNIX system, please let me know what files i need to post, because I have no idea what you guys need as additional info.

Thanks in advance,
Mark
 
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#2
When you do "ls -l /path/to/file" you will see the files permissions.

It should look like this "rxwr-wr-w root root filename"

r = read
x= executable
w= write

Do you see the "x" on the file?

Edit: Oops.. missed that you chmodded to 755...
__________________
You like what i do? Donate!

Make your desktop look awesome - use the AwOken Theme with the AwOken Icon Theme.

Add me on twitter @almehdin
Visit the swedish maemo/meego community forums

Last edited by AlMehdi; 2011-03-29 at 13:03.
 
Posts: 18 | Thanked: 0 times | Joined on Mar 2011
#3
Yeah, it returns something like:

-rwxr-xr-x 1 root root [date] [file]
 
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#4
Did you use python? How are you trying to launch the program?

Did you use /usr/bin/python /path/to/file


(I am no expert either)
__________________
You like what i do? Donate!

Make your desktop look awesome - use the AwOken Theme with the AwOken Icon Theme.

Add me on twitter @almehdin
Visit the swedish maemo/meego community forums
 
Posts: 18 | Thanked: 0 times | Joined on Mar 2011
#5
I'm using QT Creator, so it's written in C++. I then packaged it with MADDE. Installed it with admin permissions through XTerm, then tried to launch it using the menu (which only highlights the icon, nothing more), when that didn't work, i tried to launch the program by executing /usr/bin/truecryptgui (the location where the program is installed) as root.
 
Banned | Posts: 358 | Thanked: 160 times | Joined on Dec 2010
#6
Originally Posted by darkmdmn View Post
I'm using QT Creator, so it's written in C++. I then packaged it with MADDE. Installed it with admin permissions through XTerm, then tried to launch it using the menu (which only highlights the icon, nothing more), when that didn't work, i tried to launch the program by executing /usr/bin/truecryptgui (the location where the program is installed) as root.
Recently I got this mail from the ovi-store:

Thank you for submitting your content to Ovi Publish.

We are unable to process your content because it is not installing properly. Please fill in the following fields in the control file:

Section: Must be user/hidden.

Please rebuild your content with the above information filled in and resubmit.
The Section field in the control file must hold to there needs. I think their is a wiki about packaging and information about the section field.

I hope this helps!

Last edited by epitaph; 2011-03-29 at 13:52.
 
Posts: 18 | Thanked: 0 times | Joined on Mar 2011
#7
Originally Posted by epitaph View Post
The Section field in the control file must hold to there needs. I think their is a wiki about packaging and information about the section field.

I hope this helps!
Didn't solve the problem. I have followed the wiki about packaging to create the package, however I think I have done somethink wrong. Just don't know where. I basically copy-pasted almost all of the codes and just edited some program-specific info.
 
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#8
Originally Posted by darkmdmn View Post
I'm using QT Creator, so it's written in C++. I then packaged it with MADDE. Installed it with admin permissions through XTerm, then tried to launch it using the menu (which only highlights the icon, nothing more), when that didn't work, i tried to launch the program by executing /usr/bin/truecryptgui (the location where the program is installed) as root.
And what is the error message?

And can you post the output of
dpkg -L <your_package>

I guess some files are missing in you .deb
 
Posts: 18 | Thanked: 0 times | Joined on Mar 2011
#9
Originally Posted by nicolai View Post
And what is the error message?

And can you post the output of
dpkg -L <your_package>

I guess some files are missing in you .deb
The error message is just 'permission denied, that's it'.

The output is:
/usr
/usr/bin
/usr/bin/truecryptgui
/usr/bin/truecryptgui/TruecryptGUI
/usr/share
/usr/share/applications
/usr/share/applications/hildon
/usr/share/applications/truecryptgui.desktop
/usr/share/doc
/usr/share/doc/truecryptgui
/usr/share/doc/truecryptgui/copyright
 
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#10
and your command is
/usr/bin/truecryptgui/TruecryptGUI or
/usr/bin/truecryptgui ?
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 13:57.