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 Wed 23 Apr 2014, 14:16
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Compiling
Buildpet
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 3 [42 Posts]   Goto page: Previous 1, 2, 3
Author Message
anikin

Joined: 10 May 2012
Posts: 391

PostPosted: Wed 25 Sep 2013, 22:52    Post subject:  

Hi Tman,

Done it.
Must have been a fault in the source. It's version 869 now, and the script worked on it with flying colors. The only other thing I did differently this time, was the sequence of actions. Loaded devx first and then installed buildpet (pupmode 5 here, compiling in RAM). Great tool, it can/should reshape the way this community interacts. Instead of posting/downloading pets, one can have a script that will compile him a perfect app/proggram. Predefine "march=native" cflag, and the user will have the fastest, neatest code compiled exactly for his and only his processor. As for GUI, I'm against it for two reasons. We all will be better off if devs' time is spent on things that matter. Secondly, we noobs can learn a lot more if/when pushed to see what's going on under the hood.

Thank you.
success.jpeg
 Description   
 Filesize   13.82 KB
 Viewed   606 Time(s)

success.jpeg

Back to top
View user's profile Send private message 
Tman


Joined: 22 Jan 2011
Posts: 811
Location: Toronto

PostPosted: Thu 26 Sep 2013, 00:51    Post subject:  

I find it very puzzling that the modified script still gave you errors, whereas it work okay for me. But at least it works for you now. When I gave you advice about, modifying /usr/bin/buildpet to keep the directory structures, I tried it myself will the Jwm build, and it would give me problems after the second time I tried to compile it.
So my advice now, is allow the directory structures to be deleted... in other words, keep it the way it was before.
If you really want to see the directory structure inside a pet, you can use the rox right-click option to "extract pet", or you can try my alternative: pet2dir_ROXrightclick-1.1.pet

anikin wrote:
As for GUI, I'm against it for two reasons. We all will be better off if devs' time is spent on things that matter. Secondly, we noobs can learn a lot more if/when pushed to see what's going on under the hood.

My opinion is; first try the gui if you don't know what you are doing.
When you want to learn, then read the scripts and try to compile manually. After you understand how to compile and build pets, make your own scripts and use the terminal to debug.
After your script is finalized, use the gui to save time Smile.
Back to top
View user's profile Send private message 
Jasper


Joined: 25 Apr 2010
Posts: 1034
Location: England

PostPosted: Thu 26 Sep 2013, 12:43    Post subject:  

Hi Tman,

I was somewhat slow witted in understanding how to use your pet, but then I tried it to make a pet of the latest JWM version (869 test) and it was really smooth and easy and its size is only 74K (v 845 test - 96K).

Also, anikin's screen shot (two posts above) shows a jwm cog which suggests, to me, it is compiled machine code; whereas mine looks like a pet and installed as a pet?

My regards and thanks

I use Precise 5.6 with JWM and ROX from a Multi-session-Live-CD and have made an sfs from your pet as that will suit my personal needs best.
Back to top
View user's profile Send private message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2368
Location: UK

PostPosted: Thu 03 Oct 2013, 14:05    Post subject:  

it just occured to me the problem with the jwm buildscript i made is almost certainly cos it uses which to find the 'old' jwm... it's dumb of me... jwm might not be installed.. that is off the top of my head..
_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
anikin

Joined: 10 May 2012
Posts: 391

PostPosted: Thu 03 Oct 2013, 16:34    Post subject:  

Hi sc0ttman,
... and I thought, why Akita was mentioned in that script Smile

One more thing I forgot to mention. I have removed these:
Code:
--disable-static --enable-shared --disable-debug --without-pic"
from my profile. Don't they belong to individual build scripts? They also show up in the compile log
Code:
configure: WARNING: unrecognized options: --disable-static, --enable-shared, --without-pic
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 3645
Location: Earth

PostPosted: Fri 04 Oct 2013, 00:11    Post subject:  

Tman, Your GUI approach (@Sc0ttman) is going to revolutionize how things build in PUPs for both newbies and experienced alike! Users of the toolset will spend less time figuring things out and more time actually expanding their PUPPY experience and making things which move forward in use in this community.

Thanks as you move the needle in this community. Great...great....grrreeatt!

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send private message 
bpuppy


Joined: 13 Apr 2009
Posts: 21
Location: Montreal, Quebec

PostPosted: Wed 15 Jan 2014, 18:03    Post subject: Compiling
Subject description: Buildpet update
 

This project is very interesting to me. Great work to you all.

We are now in January 2014, whatever happened to it? Can someone give us an update on this subject please?
Back to top
View user's profile Send private message 
Jasper


Joined: 25 Apr 2010
Posts: 1034
Location: England

PostPosted: Sun 19 Jan 2014, 08:10    Post subject:
Subject description: jwm
 

Hi,

I would like to make a pet of the latest jwm v. 885, however in his ChangeLog on 4th Jan 2014 Joe wrote “Use xz instead of bz2“.

So in the jwm.bp file, in the three places where I found “bz2“ I substituted “xz” and to avoid a “404 not found” error I substituted “885“ for “current”.

Then, when I used the code in the first line of the screen shot below the build failed with the “bzip2“ message shown.

I used buildpet successfully on some four occasions in the second half of last year to make the latest pet versions of jwm using that code.

I would greatly appreciate any advice on how to make the jwm v. 885 pet.

My regards
Shot.png
 Description   
 Filesize   31.8 KB
 Viewed   245 Time(s)

Shot.png

Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2171

PostPosted: Sun 19 Jan 2014, 10:12    Post subject:  

src2pkg -PET URL-of-source
Back to top
View user's profile Send private message 
anikin

Joined: 10 May 2012
Posts: 391

PostPosted: Sun 19 Jan 2014, 10:46    Post subject:  

/usr/bin/buildpet
line 107, haven't looked any further yet.
Code:
#tar up the source if a dir
if [ -d $WORK_DIR/$PKG_NAME-$PKG_VER ] && [ ! -f $WORK_DIR/$PKG_NAME-$PKG_VER.tar.bz2 ];then
   cd $WORK_DIR
   tar -cjf $PKG_NAME-$PKG_VER.tar.bz2 $PKG_NAME-$PKG_VER
   cd $BUILD_DIR
fi
Back to top
View user's profile Send private message 
Jasper


Joined: 25 Apr 2010
Posts: 1034
Location: England

PostPosted: Sun 26 Jan 2014, 07:24    Post subject:
Subject description: jwm
 

Hi amigo,

Your src2pkg compiled the latest jwm versions 885 and 886.

My regards and thanks
Back to top
View user's profile Send private message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2368
Location: UK

PostPosted: Sun 26 Jan 2014, 07:28    Post subject:
Subject description: jwm
 

Jasper wrote:
Hi amigo,

Your src2pkg compiled the latest jwm versions 885 and 886.

My regards and thanks

yeah the buildpet script needs to be updated, as Joe moved the source, and now uses a different archive format... the re-write should take about 2 mins... at work right now tho...

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 of 3 [42 Posts]   Goto page: Previous 1, 2, 3
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.0674s ][ Queries: 13 (0.0060s) ][ GZIP on ]