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 Thu 24 Jul 2014, 23:56
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
new2dir getting the 'program_DEV-i486' folder automatically
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
charlie6

Joined: 30 Jun 2008
Posts: 992
Location: South of Belgium

PostPosted: Fri 19 Mar 2010, 15:48    Post_subject:  new2dir getting the 'program_DEV-i486' folder automatically
Sub_title: compiling with new2dir : how to get a Program_DEV-i486.pet automatically ?
 

Hi,
I maybe have missed something...but...
I did'nt get the _DEV directory at the end of the compiling process.

(I did well select wheter option 2 or 'exe,dev,nls,doc' to get the separated archives, but only the dev one was missing)

I finally experienced to create it manually (getting the dependency list by doing ldd ; afterwards by populating the program_DEV-i486.pet one file at a time and verifying which was missing on a live-cd session with program.pet installed ; and doing that till no dependency was missing)

So I wonder if there is a way to get the _DEV directory automatically using new2dir?

Many thanks for any answer

Cheers, Charlie
Back to top
View user's profile Send_private_message 
technosaurus


Joined: 18 May 2008
Posts: 4278

PostPosted: Sat 20 Mar 2010, 01:31    Post_subject:  

here is an older version of pcompile that should do the trick - the newer versions have some parts built in to the gui

2dirs will build all directories by default
just use:
Code:
2dirs make install
[/quote]
pcompile-0.1.0.pet
Description 
pet

 Download 
Filename  pcompile-0.1.0.pet 
Filesize  7.7 KB 
Downloaded  213 Time(s) 

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
charlie6

Joined: 30 Jun 2008
Posts: 992
Location: South of Belgium

PostPosted: Sat 20 Mar 2010, 03:00    Post_subject:  

Hi technosaurus,
technosaurus wrote:
here is an older version of pcompile ....

Nice !
downloaded ! 'll get a try soon.
Many thanks for your prompt reply.
Cheers, Charlie
Back to top
View user's profile Send_private_message 
disciple

Joined: 20 May 2006
Posts: 6425
Location: Auckland, New Zealand

PostPosted: Sat 20 Mar 2010, 04:46    Post_subject:  

Quote:
So I wonder if there is a way to get the _DEV directory automatically using new2dir?

It should work, but I've found occasionally new2dir misses a lot of stuff, including the dev files. I've never looked into what about a program causes this.
Quote:
I did well select wheter option 2

I thought the right one was option 3, but maybe I'm misremembering Smile

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send_private_message 
amigo

Joined: 02 Apr 2007
Posts: 2217

PostPosted: Sat 20 Mar 2010, 04:51    Post_subject:  

http://distro.ibiblio.org/pub/linux/distributions/amigolinux/download/src2pkg/src2pkg-2.1/src2pkg-2.1-noarch-7.pet

src2pkg --splitpkg=devel tarball-name
Back to top
View user's profile Send_private_message 
technosaurus


Joined: 18 May 2008
Posts: 4278

PostPosted: Sat 20 Mar 2010, 10:32    Post_subject:  

disciple wrote:
Quote:
So I wonder if there is a way to get the _DEV directory automatically using new2dir?

It should work, but I've found occasionally new2dir misses a lot of stuff, including the dev files. I've never looked into what about a program causes this.
Quote:
I did well select wheter option 2

I thought the right one was option 3, but maybe I'm misremembering Smile


I am pretty sure you are right about option 3 - 2dirs doesn't even bother to ask you if you want to separate them - it just automatically builds all 4 & the included dump2pet builds your pet as is without asking any questions such as menu entry or dependencies (it is useful for rebuilding a batch of pets from their dirs)

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
disciple

Joined: 20 May 2006
Posts: 6425
Location: Auckland, New Zealand

PostPosted: Sat 20 Mar 2010, 17:01    Post_subject:  

Quote:
& the included dump2pet builds your pet as is without asking any questions such as menu entry or dependencies (it is useful for rebuilding a batch of pets from their dirs)

You've lost me there. I guess you're saying it is included with the package you posted?

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send_private_message 
technosaurus


Joined: 18 May 2008
Posts: 4278

PostPosted: Sat 20 Mar 2010, 19:33    Post_subject:  

disciple wrote:
Quote:
& the included dump2pet builds your pet as is without asking any questions such as menu entry or dependencies (it is useful for rebuilding a batch of pets from their dirs)

You've lost me there. I guess you're saying it is included with the package you posted?


exactly - the later versions also have 2dirs, but combine the terminal based menu entry and description dialog with the petspecs dialog into a single gtkdialog gui.

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
charlie6

Joined: 30 Jun 2008
Posts: 992
Location: South of Belgium

PostPosted: Sun 21 Mar 2010, 02:17    Post_subject:  

Hi disciple,
disciple wrote:
...
Quote:
I did well select wheter option 2

I thought the right one was option 3, but maybe I'm misremembering Smile


I apologize about option whether 2 or 3 ... sure I was misremembering when I wrote the post - why I did: I anyway choosed the option to get all exe, dev, nls and doc folders.

I formerly got a try using src2pkg (on puppy 4.1.2 with dev_412.sfs and pkg-config-0.23 both installed) without success ... I did not longer manage to get it running as I thought I had missed something.

Many thanks again to all for your replies.

Cheers, Charlie
Back to top
View user's profile Send_private_message 
charlie6

Joined: 30 Jun 2008
Posts: 992
Location: South of Belgium

PostPosted: Mon 22 Mar 2010, 03:20    Post_subject:  

Hi,
many thanks for all your replies !

I just went to recompile the same program I formely compiled with new2dir. This program requires additional wxPython libs which I had manually filled into a _DEV folder (exactly in program_DEV-i486/usr/lib/ )

Now,using pcompile, it straightfully has genetated the exe, nls, and doc folders but no dev one.

(Coolpup sent me a PM telling that there is not always a dev file generated with new2dir - thanks Coolpup !).

I also mention the configure command I used: (=the one given in http://www.puppylinux.org/wikka/Compiling
Code:
./configure CFLAGS="-mtune=generic -march=prescott -O2 -pipe -fomit-frame-pointer" CXXFLAGS="${CFLAGS}" --prefix=/usr --sysconfdir=/etc --localstatedir=/var


Thanks for any further advice
Cheers, Charlie
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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