How to compile programs from source in Puppy?

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
eMeRy
Posts: 86
Joined: Sun 22 Jan 2006, 20:22
Location: Hungary,Europe

How to compile programs from source in Puppy?

#1 Post by eMeRy »

Jwm new version (1.6) had been issued a few days ago and still no one of the puppy-gurus made the dotpup or pupget package of it.
I thought I try to compile jwm 1.6 with the suggested configure_make_make-install tools. I recognise soon the 'make' tool is missing from puppy.
Searching this forum and different pup repositories I haven't found any clue how to get a proper 'make'.
Would you explain what kind of 'make' program should I use?
:?:

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#2 Post by sunburnt »

Hi eMeRy; Get a file called: usr_devx.sfs from:
http://ftp.nluug.nl/ftp/pub/os/Linux/di ... r_devx.sfs

Read Wiki (Wikka?) page at: http://puppylinux.org/wikka/Compiling

Basically, put the usr_devx.sfs file in: /mnt/home with the "pup001 file" (if it's called that) & your ready to go..

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#3 Post by MU »

Jwm 1.6 can be installed as alien package I think:
http://grafpup.com/puppydev/
It was packed for puppy 109, but might work in 108, too.
Install it using a new pup001 for testing.

Some info:
http://forum.puppylinux.net/viewtopic.php?t=32

Mark

User avatar
eMeRy
Posts: 86
Joined: Sun 22 Jan 2006, 20:22
Location: Hungary,Europe

#4 Post by eMeRy »

Thank you for your help. I'll go and try both way.

Edited:
I've read the PuppyLinuxWiki about compiling that was very instructive for me. So I have the clue how to start next I'll meet similar difficulties.
This time I started with Mark's hint downloading jwm-1.6.tar.gz from http://grafpup.com/puppydev/ . It was easy to install. Altogether the new version of jwm works fine. I met of course the known bug with the clock on tray. Hope the bug-fix update will be ready soon.
Unfortunately I still have the problem with full screen xine-ui and the jwm tray-bar that even remains on screen. I'm sorry because I like jwm very much.
:!:

User avatar
eMeRy
Posts: 86
Joined: Sun 22 Jan 2006, 20:22
Location: Hungary,Europe

#5 Post by eMeRy »

Well, I compiled with success the new jwm v1.7 as it was written above by sunburnt. The bugs in v1.7 definately were fixed and everything seems working fine.
Only one small but strange detail: the size of the file become more then 3.1 Mb instead of 131 Kb, the size of Puppy's jwm.
I didn't modify the default options (all options are yes but debug) so I guess that's the reason of the hudge file. Would you confirm it? What should I change to reduce the file size?
Thnx,
eMeRy
:?:

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#6 Post by MU »

run the command
strip jwm

For a reason I did not find out yet, this is not run automatically, different to other Linux-systems.

strip removes debuggercode, that is just needed by the developper himself.
Mark

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#7 Post by MU »

xines crashes seem to have to do with kernel 2.4.

In the Puppy2-forum it was reported, gxine does not crash any more with Kernel 2.6.

workarounds:
http://www.murga.org/~puppy/viewtopic.php?p=47239#47239
http://www.murga.org/~puppy/viewtopic.php?t=7460

Mark

User avatar
eMeRy
Posts: 86
Joined: Sun 22 Jan 2006, 20:22
Location: Hungary,Europe

#8 Post by eMeRy »

MU wrote:run the command
strip jwm
Mark
Great, strip stripped my fat jwm to its normal size :)

xine:
I'll check the topics you suggested.
Also I'm waiting for the more-less stable version puppy2 with 2.6 kernel.

Thanks for your fine hints!
eMeRy
:!:

Post Reply