How to compile & install an application, with pictures

discuss compiling applications for Puppy
Post Reply
Message
Author
bill
Posts: 490
Joined: Wed 28 May 2008, 15:32

How to compile & install an application, with pictures

#1 Post by bill »

I hope this will be informative for new Puppy users.If i missed the mark,please sing out.
Attachments
HowToCompileAnApp.jpg
(67.89 KiB) Downloaded 1386 times

mrpete
Posts: 12
Joined: Fri 11 Oct 2013, 13:24

#2 Post by mrpete »

This is a good starter for new users who want to try compiling for the 1st time..
Mention of dependencies and the DevX kit was a good point to add as well.

Thanx for the post. :D

User avatar
puppyluvr
Posts: 3470
Joined: Sun 06 Jan 2008, 23:14
Location: Chickasha Oklahoma
Contact:

#3 Post by puppyluvr »

:D Hello,
With Puppy "configure" is not always enough.
Try "./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-pc-linux-gnu"

Also better to untar directly:
"tar -xvf file" in the directory as xarchive can occasionally miss things due to permissions other distros use.

Look into "src2pkg"
It can compile pets from source automagically..
Brilliant really. But Im old school. Like getting my hands dirty!
Close the Windows, and open your eyes, to a whole new world
I am Lead Dog of the
Puppy Linux Users Group on Facebook
Join us!

Puppy since 2.15CE...

bill
Posts: 490
Joined: Wed 28 May 2008, 15:32

How to compile & install an application, with pictures

#4 Post by bill »

Thanks mrpete and puppyluvr for your input.I am certainly not the first to do a picture "how to" and I hope I won't be the last as this idea was nicked from others. There are many who have forgotten more than I will ever know or have time enough left to learn :cry: but if only a few will take the time and effort to
instruct new inductees to Puppy with understandable,step by steps then I believe Puppy Linux will "Live long and prosper" (Spock) :D cheers

bill
Posts: 490
Joined: Wed 28 May 2008, 15:32

How to compile & install an application, with pictures

#5 Post by bill »

Hello,
Attachments
puppyluvrPart1.jpg
(58.71 KiB) Downloaded 822 times

User avatar
puppyluvr
Posts: 3470
Joined: Sun 06 Jan 2008, 23:14
Location: Chickasha Oklahoma
Contact:

#6 Post by puppyluvr »

:D Hello,
src2pkg is not required to compile stuff manually, as in your demonstration.
src2pkg is a program which allows, when installed, you to open a terminal and do:
"src2pkg directory"
and it does it all for you..
(Configure/make/install to directory/convert to package)
Close the Windows, and open your eyes, to a whole new world
I am Lead Dog of the
Puppy Linux Users Group on Facebook
Join us!

Puppy since 2.15CE...

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#7 Post by greengeek »

I have tried to compile several programs including 'soundjack' using this method but always get an error message:

Code: Select all

# ./configure
bash: ./configure: No such file or directory
Any tips about what I am doing wrong? I'm using Slacko 5.6

***
EDIT : - Sorry - my bad. I haven't installed the devx yet. I guess that must be the problem
***


Here is what I see inside the extracted soundjack source directory:
Attachments
Screenshot.jpg
(24.3 KiB) Downloaded 565 times

Post Reply