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 Mon 28 Jul 2014, 14:47
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 [10 Posts]  
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
Subject description: 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: 4280

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: 6426
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: 2221

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: 4280

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: 6426
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: 4280

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 from previous:   Sort by:   
Page 1 of 1 [10 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
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.0711s ][ Queries: 12 (0.0038s) ][ GZIP on ]