Have you ever compiled the source code of an open source application?
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
View Poll Results: Have you ever compiled the source code of an open source application?
I did, but I always strongly disliked it.
The moment you compile, you know your program is not going to be patched against security flaws.
This should be a no-go in production.
Nothing big; small stuff like YAD, SCT - a tiny binary for setting night-time screen 'red tint' levels.....the most recent release of smartmontools, gKrellM, grip. Things of that nature.
These have been, by & large, successful.
(Oh, and the gimp-gap plugin for the G.I.M.P, some years ago, from a Slackware 'recipe', under the patient tutelage of another fellow 'Puppian'. I was really new to Linux in those days, yet wanted this particular plugin for a personal graphics project, so he tutored me, via TeamViewer, from the other end of the UK. I later found out that I could have obtained what I needed via a .deb package from the 12.04 'Precise Pangolin' Ubuntu repos.......but it was all valuable practice.)
And the most recent was the last but one release (1.8.0) of the DeaDBeeF audio player, including a couple of necessary dependencies, plus a few assorted plug-ins for same.....mainly to get the best performance out of an elderly integrated sound chip.
I'm happy to tackle anything that's not too hard, if I think I stand a chance of a successful outcome.
Mike.
Last edited by Mike_Walsh; 11-10-2019 at 07:32 PM.
Lol, funny question for a Linux forum 😎 Of course I compile things from the source code, as a Slackware guy I do that quite often... I also drink a lot of tea 😉
Lol, funny question for a Linux forum 😎 Of course I compile things from the source code, as a Slackware guy I do that quite often... I also drink a lot of tea 😉
I don't find it funny, I think it's interesting, as of right now about 10% of the voters voted no.
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
Quote:
Originally Posted by Mill J
I don't find it funny, I think it's interesting, as of right now about 10% of the voters voted no.
I also find the result somewhat interesting - you'd think on the one hand that given it's Linux we're talking about the result would be about right. But on the other hand, you'd think with the "newer generations" using Linux, they would stay within the package manager and be more likely to add extra software repo's rather than try and compile stuff themselves - therefore the "No" vote should be at least a little higher... interesting.
Yup, when I've wanted to run free software and my distro didn't have a package for it.
I've not done it in a while though. One of the reasons I came back to the Ubuntu family after a couple of years of Debian is the Ubuntu PPA system. Chances are if something's not in the main Ubuntu repos there's a PPA or a developer's repo for it. I don't particularly mind doing the classic configure, make, install routine; I do mind having to check for and install software updates manually.
I tend to make my own build of mpv, as there really aren't any good builds for Debian Stretch (the version in the repos is basically ancient). To build mpv using the build scripts from this separate repo, you also need to build libass and ffmpeg from source.
On most of the distros I've used, Roxterm (one of my favorite terminals) is either not in the repos, or the versions available are ancient builds from back when Roxterm was still hosted on Source Forge. (These versions suffer from a window sizing bug, which is a result of code rot). It's often easier for me to get the code from github, and stumble my way through compiling it, myself. (Why do developers almost never document which dev libraries the program needs to build successfully?)
Distribution: undecided (yet) probably ArchLinux and LinuxMint
Posts: 3
Rep:
Most recently I had to compile the Xilinx ISE application. Since the installation requires downloading a very large source file from the Xilinx website, and placing that into the compile directory, there is no option (currently) of compiling automatically.
I have manually compiled others just because I could.
Also, I regularly compile an android application when the upstream repository changes. Actually I have a script that does this automatically. I include this because you did not specify if the open-source application was for Linux ...
I'm not sure that gentoo counts. I used it briefly years ago and I remember being bewildered by the automated compilations going on under my nose. It seemed to work exactly like the binary package managers I was used to, right down to installing dependencies before the requested package, only with source code instead.
I think the thread is about compiling things by hand rather than installing them via a package manager.
Compiled (and modified) Kernel drivers, games application programs for Linux. Currently I use an Eclipse based open source IDE with GNUC to compile lwIP, FreeRTOS and an open source controller api into an application.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.