Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 29 Jul 2014, 00:43
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Compiling
How to name dependencies?
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [6 Posts]  
Author Message
darkcity


Joined: 23 May 2010
Posts: 2435
Location: near here

PostPosted: Tue 15 May 2012, 06:47    Post subject:  How to name dependencies?  

If I make a package which needs the libs below, how would I name the dependencies for the PET file?

Code:
libFLAC++.so.6.2.0
libSoundTouch.so.1.0.0
libwx_baseu-2.8.so.0.6.0
libwx_baseu_net-2.8.so.0.6.0
libwx_baseu_xml-2.8.so.0.6.0
libwx_gtk2u_adv-2.8.so.0.6.0
libwx_gtk2u_aui-2.8.so.0.6.0
libwx_gtk2u_core-2.8.so.0.6.0
libwx_gtk2u_fl-2.8.so.0.6.0
libwx_gtk2u_gizmos-2.8.so.0.6.0
libwx_gtk2u_gizmos_xrc-2.8.so.0.6.0
libwx_gtk2u_gl-2.8.so.0.6.0
libwx_gtk2u_html-2.8.so.0.6.0
libwx_gtk2u_media-2.8.so.0.6.0
libwx_gtk2u_ogl-2.8.so.0.6.0
libwx_gtk2u_plot-2.8.so.0.6.0
libwx_gtk2u_qa-2.8.so.0.6.0
libwx_gtk2u_richtext-2.8.so.0.6.0
libwx_gtk2u_stc-2.8.so.0.6.0
libwx_gtk2u_svg-2.8.so.0.6.0
libwx_gtk2u_xrc-2.8.so.0.6.0

_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send private message Visit poster's website 
jamesbond

Joined: 26 Feb 2007
Posts: 2046
Location: The Blue Marble

PostPosted: Tue 15 May 2012, 06:57    Post subject:  

You need to collect all these libs into one PET file, say libwxgtk-2.8.pet (just a guess - I don't know what these libs are). Then when you build the your apps pet, add +libwxgtk to the "dependency" section. Note: Put your libs pet name without version number.
_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13
Back to top
View user's profile Send private message 
darkcity


Joined: 23 May 2010
Posts: 2435
Location: near here

PostPosted: Tue 15 May 2012, 09:30    Post subject:  

so it would be something like this:-

+libFLAC++,+libSoundTouch,+libwx_baseu,+libwx_gtk2u

?

I'm unsure whether I need to put lib in front of all the dependencies . . .

_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send private message Visit poster's website 
jamesbond

Joined: 26 Feb 2007
Posts: 2046
Location: The Blue Marble

PostPosted: Fri 18 May 2012, 04:05    Post subject:  

Yes, assuming that's how you name your library pets.
Let's say you keep your libraries in 3 pets:
- libwxgtk-2.8pet
- libflac-3.7-git.pet
- soundtouch-5.0.pet

Then in your app you put the depedency as:
+libwxgt,+libflac,+soundtouch

The name of the libs doesn't matter; it is the name of the pet that must match (the name before the first "-" dash character).

If on the other hand you decide to combine all the libs into one big pet, say my_big_lib_collection-1.0.pet; you need to add "+my_big_lib_collection" as your dependency.

cheers!

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13
Back to top
View user's profile Send private message 
snayak

Joined: 14 Sep 2011
Posts: 229

PostPosted: Wed 06 Nov 2013, 15:43    Post subject:  

Dear All,

I downloaded code::blocks from http://www.smokey01.com/software/Fatdog64-600/.
While I try to run, it asks for

Code:
~# codeblocks       
codeblocks: error while loading shared libraries: libwx_gtk2_richtext-2.8.so.0: cannot open shared object file: No such file or directory
~#


Please help in getting this library for fatdog611.

Sincerely,
Srinivas Nayak

_________________
Machine: Wary 530, AMD Athlon 2000+, ASUS A7N266-VM board, 512MB DDR RAM, 40GB HDD, 52xCDRW, PS/2 Mouse/Keyboard, USB 2.0.
Home: http://www.mathmeth.com/sn/
Blog: http://srinivas-nayak.blogspot.com/
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2221

PostPosted: Thu 07 Nov 2013, 02:29    Post subject:  

You need: wxgtk
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [6 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Compiling
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0499s ][ Queries: 12 (0.0043s) ][ GZIP on ]