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 24 Jul 2017, 20:37
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Compiling
When compiling is done, will dir2pet install the program?
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
belham2

Joined: 15 Aug 2016
Posts: 803

PostPosted: Fri 07 Oct 2016, 12:17    Post subject:  When compiling is done, will dir2pet install the program?  

Ok, serious nooooooooob question here about compiling. From the few times I've did in the past to today's successful compile in peebee's LXPupXenial (for a 32-bit openssl-1.0.2j) to tomorrow's attempted Quirky 8.0 compiling, I've a question:

---when a person is compiling (doing it on and for install to the pup OS he/she is on), and the terminal gets completely done after doing the ./config, make, new2dir make install routine, was (or is) whatever your compiling (i.e. the openssl-1.0.2j) automatically installed to your pup distro at the same time as it makes (assuming you select "dir2pet" in the terminal at the end) the nice, new shiny .pet?
Back to top
View user's profile Send private message 
april


Joined: 14 Sep 2013
Posts: 939
Location: Sydneyside for winter

PostPosted: Fri 07 Oct 2016, 16:41    Post subject:  

I've never used "dir2pet" but I assume it takes the compiled binaries and puts them in pet form , does it? I'll have to read up on that .

But I wondered what you were doing that for and where you are following to even get you there.

Normally my compiling is done by getting the source , "./config" in its opened directory and "make" and then "make install" this usually puts the binary in the right bin file somewhere in my PATH and I open it by running the binary (changing permissions if needed). The source and all the completed work is left where I put them when I downloaded them, usually a Software directory.

Maybe your "dir2pet" method creates a pet and you get a menu addition too does it?

Edit - hmm thats interesting .
Code:
Non-compulsory:
  -w="<description>"  quoted description of the application"
  -d=<+deps>  comma-delimited dependencies, with prepended "+" sign
  -c=<Category>  category of application; for package manager
 
LIST of allowed Categories: (default: BuildingBlock)
   Desktop
   System
   Setup
   Utility
   Filesystem
   Graphic
   Document
   Business
   Personal
   Network
   Internet
   Multimedia
   Fun

EXAMPLE
# dir2pet -x -s -w="fun game" -d=+gtk+,+ffmpeg,+cairo -p=my_fun_game-0.1-i486
Back to top
View user's profile Send private message Yahoo Messenger 
Sailor Enceladus

Joined: 22 Feb 2016
Posts: 1193

PostPosted: Fri 07 Oct 2016, 17:59    Post subject:  

new2dir make install actually strips it, installs it to your computer, makes a sub-folder for it (or more than 1 if you tell it to seperate the DOC, DEV, NLS), and creates a pet at the end with dir2pet if you press a key other than Enter at the last prompt (question 5 I think?). If you answered to seperate them in step 3 it will prompt you for each pet in step 5 instead of just once.
Back to top
View user's profile Send private message 
belham2

Joined: 15 Aug 2016
Posts: 803

PostPosted: Fri 07 Oct 2016, 18:17    Post subject:  

april wrote:
I've never used "dir2pet" but I assume it takes the compiled binaries and puts them in pet form , does it? I'll have to read up on that .

But I wondered what you were doing that for and where you are following to even get you there.

Normally my compiling is done by getting the source , "./config" in its opened directory and "make" and then "make install" this usually puts the binary in the right bin file somewhere in my PATH and I open it by running the binary (changing permissions if needed). The source and all the completed work is left where I put them when I downloaded them, usually a Software directory.

Maybe your "dir2pet" method creates a pet and you get a menu addition too does it?

Edit - hmm thats interesting .
Code:
Non-compulsory:
  -w="<description>"  quoted description of the application"
  -d=<+deps>  comma-delimited dependencies, with prepended "+" sign
  -c=<Category>  category of application; for package manager
 
LIST of allowed Categories: (default: BuildingBlock)
   Desktop
   System
   Setup
   Utility
   Filesystem
   Graphic
   Document
   Business
   Personal
   Network
   Internet
   Multimedia
   Fun

EXAMPLE
# dir2pet -x -s -w="fun game" -d=+gtk+,+ffmpeg,+cairo -p=my_fun_game-0.1-i486



Hi April,

I've only compiled in these pup distros:

Many different Phil, Micko & Peebee's versions, both 32 & 64-bit

Barry's Precise (32-bit) and his new Quirky 8.0 (64-bit)

And once in James & Kirk's Fatdog64.


Each time I have done it, I've had different results (Flash, in his good intentions, changed my subject title, and now it appears I am only asking one side of the compiling question when there's actually two):

To wit, using the new openssl-1.0.2j-tar.gz just released, patching a security flaw).

Everytime I compile, I follow this routine (that I've read, help docs here on Murga) in a terminal opened in that source's folder:

# ./compile
# make
# new2dir make install

When the 'new2dir' is done running, I've notice that in some it installed to the OS whatever it was compiling. I have to do nothing. In others, it says it installed, but it is not, as I've learned the install directory locations are different in the OSes and I am trying to learn how to identify them. So, the first part of my question, does when you run the three commands does that mean it is trying to install to your OS? I am thinking yes, but I am not sure, and maybe I am seeing things when I think they're installed (and they are not).

Second part of the question, every time I have run those commands above, after 'new2dir make install' finishes, before it closes out, in the terminal up pops a notice asking me if I want to run "dir2pet" to make a .pet too. It is in the terminal, and it even throws up a GUI asking you to enter any info about your pet, also asks you if you want it in menu or not, and then a few more questions, and quickly it sets about making your shiny, new .pet file. So on the systems where I think it did not install (when I check via terminal, using commands for that program), I run the new .pet and then it installs but again sometimes it seems I am fighting not understanding this all. so, this 2nd part of the question, as 'dir2pet' is doing its stuff, is it too trying to install that pet to your pup OS.


Sorry if this is all confusing....the more I learn, the less I know. I cannot believe I haven't crashed various pups over the past few years as it seems I am playing with fire in not understanding something here, so I am trying to learn. I've read so many 'Ho To" threads on Murga but none get into detail about this.....none of them actually explain what goes on in those 'how to(s)' and/or why.

I am first just trying to ascertain what happens in both of these instances before I try to learn more about every parameter that can be used in ./config, make, new2dir make install and also dir2pet.
Back to top
View user's profile Send private message 
belham2

Joined: 15 Aug 2016
Posts: 803

PostPosted: Fri 07 Oct 2016, 18:19    Post subject:  

Sailor Enceladus wrote:
new2dir make install actually strips it, installs it to your computer, makes a sub-folder for it (or more than 1 if you tell it to seperate the DOC, DEV, NLS), and creates a pet at the end with dir2pet if you press a key other than Enter at the last prompt (question 5 I think?). If you answered to seperate them in step 3 it will prompt you for each pet in step 5 instead of just once.



Thank you, Sailor! That makes a lot of sense with what I see going on...I thought this was happening, but I couldn't understand why some of them were actually getting installed and others weren't. LOL, I definitely need to learn some more as I've just been dumb lucky over the past few years Surprised
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
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.0383s ][ Queries: 11 (0.0034s) ][ GZIP on ]