Reply
 
Thread Tools Display Modes
  #1  
Old 08-02-2012, 09:56 AM
Petr Strajt Petr Strajt is offline
Junior Member
 
Join Date: Jun 2012
Location: Olomouc
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default New package with kbd plugin not worked
Hi,

I created a new package with kbd plugin. I installed it, but package not worked. How to determine the cause of the error? Package was build without errors. Installation package also.

Have a nice day

Petr Strajt
Reply With Quote
  #2  
Old 08-03-2012, 01:12 PM
Beanpole's Avatar
Beanpole Beanpole is offline
Senior Member
 
Join Date: May 2010
Posts: 1,605
Thanks: 2
Thanked 147 Times in 129 Posts
Default
Well, considering that you really gave no information about what type of package you were creating (port, PBI, pkg, etc...), I am going to assume that you are creating a PBI.

Generally to determine the cause of an error, you need to run the program from the command line, as many programs have additional debugging/error information that is printed to the terminal as the program is running. In the case of a PBI, this means that you want to run the proper binary from the /usr/pbi/(pbiname-architecture)/.sbin/ folder.
__________________
~ Ken Moore ~
PC-BSD/iXsystems
Reply With Quote
  #3  
Old 08-08-2012, 04:46 PM
Petr Strajt Petr Strajt is offline
Junior Member
 
Join Date: Jun 2012
Location: Olomouc
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default New package with kbd plugin not worked
Hi,

I did everything as you said, but the folder name sbin file contains only xfce4-kyosk-query file. Full path to pbi package is /usr/pbi/xfce4-xkb-plugin-amd64.

I tried to create the package aspell program. With this package, the folder sbin was empty.

Both packages were developed using EasyPBI.

Thanks for your patience
Petr Štrajt
Reply With Quote
  #4  
Old 08-08-2012, 05:14 PM
Beanpole's Avatar
Beanpole Beanpole is offline
Senior Member
 
Join Date: May 2010
Posts: 1,605
Thanks: 2
Thanked 147 Times in 129 Posts
Default
Make sure that you have the dot "." before the "sbin". In your case the path to where the binaries are located will be is:
"/usr/pbi/xfce4-xkb-plugin-amd64/.sbin"

However, from looking at the port itself[1] I do not see that the deskutils/xfce4-xkb-plugin port has any actual binaries. Instead, it is designed to be added to an existing installation of XFCE4. As such, I would recommend installing this one as a port install rather than as a PBI, that way it integrates properly into your existing installation of XFCE. I have added this plugin into our XFCE-Plugins System package for PC-BSD 9.1, so it should be easier to get this functionality once the next testing release for 9.1 comes out.

As for textproc/aspell, it looks like that port does have proper binaries (bin/aspell, bin/aspell-import). So the binaries to run in the PBI should be located in "/usr/pbi/aspell-amd64/.sbin/". Do *not* confuse this with the "/usr/pbi/aspell-amd64/sbin/" directory, as that one will not have any binaries because the port does not install any there.

I hope this helps!

[1] http://www.freshports.org/deskutils/xfce4-xkb-plugin/
__________________
~ Ken Moore ~
PC-BSD/iXsystems

Last edited by Beanpole; 08-08-2012 at 05:15 PM. Reason: Add link to port information
Reply With Quote
  #5  
Old 08-10-2012, 07:38 PM
Petr Strajt Petr Strajt is offline
Junior Member
 
Join Date: Jun 2012
Location: Olomouc
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default New package with kbd plugin not worked
Hi

I tried use port system to build the package. I received an error message:

===> Found xfce4-panel-4.8.6, but you need to upgrade to xfce4-panel>=4.10.0.
*** Error code 1


How solve it?

I thing that correct way is using this commands

portsnap fetch
portsnap update
portupgrade -a

Next step is installation of plugin. is it OK?


Thanks you and all team members for effort spend to development of PCBSD

Petr
Reply With Quote
  #6  
Old 08-13-2012, 01:35 PM
Beanpole's Avatar
Beanpole Beanpole is offline
Senior Member
 
Join Date: May 2010
Posts: 1,605
Thanks: 2
Thanked 147 Times in 129 Posts
Default
The way that you have mentioned will update/change the underlying XFCE installation as well (since it looks like the XFCE ports got updated since the release of PC-BSD 9.0). It should work just fine as far as I can tell (I am not very familiar with portupgrade usage however).

Just be warned that you will not want to add/remove any of your system packages through the PC-BSD System Manager after you do this, as you might lose these manual changes. This has been fixed for the PC-BSD 9.1 release (that way you can easily have a customized FreeBSD system package setup), so you will probably want to look at updating to the (soon to be released) PC-BSD 9.1-RC1 image if you plan on doing this again in the future (although this plugin will be included in the XFCE-Plugins system package for the new release as well).

Hope this helps!
__________________
~ Ken Moore ~
PC-BSD/iXsystems
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:24 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.