Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

1
Compiling software: A few (very..) basic questions
Post Body

Hey!

I work in UX design, so my Linux / Unix proficiency is very basic. As part of a project at my university however I do need to compile some software used here and I'm desperately stuck. I'm using elementary OS (Ubuntu 14.04). I'll just get right into it:

  • When compiling the software on one machine, I do need quite a few packages and dependencies. After the build is completed sucessfully, can I just take the generated files and use them on another machine? Same OS, same hardware - but basically just a blank OS without all the packages I needed for the build. Does it then work stand-alone or would I have to repeat the whole build process on that machine?
  • When working with dependencies, I am presented with a MakeFile in which I can specify certain paths to needed third-party tools. Do I just put the path, in which the build is located (i.e. /home/toolXY/build) or would I need to make an installation of it to work?
  • Speaking of it: What is the opposite of make and make install? Sometimes I don't really see a difference here.
  • More specifically about my ongoing project: I got all the source files I needed from Git but now I'm presented with the following error: [BISON][pars] Building parser with bison 1.21.9-1 pars.yacc:87 parser name defined to default :"parse" pars.yacc:510: warning: type clash ('' 'ptr') on default action"

Is this something I can actually fix or would I need to contact the developer?

I do understand that those are really basic questions but I am super overwhelmed right now and can't really find anything on the web about those specific questions. Thanks in advance!

Comments
[not loaded or deleted]

Thanks!

Nope. If your programs depends on libxml2 for example that library must be installed on the new system as well.

Practically speaking: I could take all generated files from my build, copy them onto my other system and would "just" need to find out, which packages are needed for it to run? In case of the libxml2 example - if I tried to launch the software without the package being installed, would I recieve a "libxml2 not found"-error (something that is easily understood and fixable) or would it be less specific? Or does this again depend completely on the software in question?

Author
Account Strength
100%
Account Age
12 years
Verified Email
Yes
Verified Flair
No
Total Karma
6,823
Link Karma
5,804
Comment Karma
991
Profile updated: 5 days ago
Posts updated: 4 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
7 years ago