LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


View Poll Results: Have you ever compiled the source code of an open source application?
Yes 277 89.35%
No 31 10.00%
Not sure 2 0.65%
Voters: 310. You may not vote on this poll

Reply
  Search this Thread
Old 11-06-2019, 08:18 AM   #1
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,600

Rep: Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083
Have you ever compiled the source code of an open source application?


We recently asked if you've ever modified the source code of an open source application. This time we want to know: Have you ever compiled the source code of an open source application?

--jeremy
 
Old 11-06-2019, 08:41 AM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Yes, Audacity for one to get audio playback many years ago now. But while I can't remember what the exact issue was now, I had to compile it with a particular option enabled that wasn't enabled in the packaged version of it. I do remember it was openSUSE I was using at the time.

I've also compiled dvbcut, both the Qt3, 4 and 5 versions. In relation to the Qt3 version, while there are a couple of distros that have packages for that version of it; I found it better to compile and build it myself to get certain features that the packaged version of it was not built with - from memory I think that was video playback within dvbcut itself. I've not found any packaged version of it for the Qt4 version of it that I can remember, so I had no choice but to compile and build it myself. And as far as I know, the Qt5 version of it is only available on github, so again, no choice but to compile and build it myself. It's perfect for when you record DTV and it's recorded in MPEG TS, because dvbcut doesn't re-encode the file, and you can just save the parts of the video you actually want, then save it into MPEG PS to convert it to whatever other format you need.

As well as maybe a few other things that currently escape my memory.

I've also compiled my own code since I'm currently learning how to write my own software.
 
1 members found this post helpful.
Old 11-06-2019, 09:04 AM   #3
Jan K.
Member
 
Registered: Apr 2019
Location: Esbjerg
Distribution: Windows 7...
Posts: 773

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
 
Old 11-06-2019, 09:17 AM   #4
lawquest
LQ Newbie
 
Registered: Jan 2005
Location: Reno, Nevada
Distribution: Debian Buster
Posts: 17

Rep: Reputation: 2
No.
 
Old 11-06-2019, 09:17 AM   #5
Jayson
LQ Newbie
 
Registered: Aug 2006
Posts: 10

Rep: Reputation: 1
I had to recompile a note-taking app when I was performing updates, I didn't know what I was doing, but I entered the commands and poof-it worked again.

Long live the nerds that live online and help other nerds that need answers!!
 
1 members found this post helpful.
Old 11-06-2019, 09:24 AM   #6
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Ubuntu, Debian, Slackware
Posts: 2,178
Blog Entries: 6

Rep: Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470
Quote:
Originally Posted by jsbjsb001 View Post
Yes, Audacity for one to get audio playback many years ago now. But while I can't remember what the exact issue was now, I had to compile it with a particular option enabled that wasn't enabled in the packaged version of it. I do remember it was openSUSE I was using at the time.
Audacity is a right pain to compile.
 
Old 11-06-2019, 09:27 AM   #7
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,567
Blog Entries: 19

Rep: Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448
Yes, I frequently do that if I want to install something that isn't in the repository. There are sites that provide distro-specific packages but I always feel safer when something is compiled directly against my local libraries.

When I was using really old hardware, I frequently built my own kernels. And of course I've done quite a few LFS/BLFS builds.

Last edited by hazel; 11-06-2019 at 09:41 AM.
 
2 members found this post helpful.
Old 11-06-2019, 09:32 AM   #8
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by Lysander666 View Post
Audacity is a right pain to compile.
Like I said, it was many years ago now - although the packaged version of it I have now since I changed distros has problems just loading up (but I've been too lazy to try and fix it or build it again myself). But I haven't compiled it for a long time since I was using openSUSE many years ago. From what I remember (again, long time ago now), as long as you had all the deps installed it wasn't too bad. I just wish I could remember what the issue with the packaged version of it was, as well as exactly what build option it was that I needed, but for the life of me I cannot remember! I even tried doing a search before, but even that failed to jog my memory!
 
Old 11-06-2019, 09:38 AM   #9
FreonTrip
LQ Newbie
 
Registered: Nov 2007
Location: Dallas, TX
Distribution: Slackware
Posts: 8

Rep: Reputation: 0
Yep - I've compiled everything from kernels to Seismic Unix and MakeMKV.
 
Old 11-06-2019, 09:45 AM   #10
freemedia2018
Member
 
Registered: Mar 2019
Distribution: various automated remasters
Posts: 216

Rep: Reputation: 208Reputation: 208Reputation: 208
I recompiled a C program once, that hardcoded a mouse cursor into its source. I changed the graphics and recompiled it, though I've had more programs fail to compile than compile because I still don't understand the magic involved when it doesn't work.

I don't think there's a suitable guide for beginners-- you just do what it says, when it doesn't work you try a few other things that don't work, then you swear you'll never do it again. But maybe there's another way that doesn't involve 10 years of practice (and 15 years of patience.)

So many times it's supposed to "just work." And sometimes that's what happens.
 
1 members found this post helpful.
Old 11-06-2019, 09:46 AM   #11
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,567
Blog Entries: 19

Rep: Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448
If it doesn't "just work", that's the fault of the person who made the package.
 
2 members found this post helpful.
Old 11-06-2019, 09:52 AM   #12
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,137
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
Certainly.

https://github.com/ginggs/gelemental
https://www.dillo.org/download.html
http://www.gnu.org/software/units/units.html

To name a few.

But not with a make install. Compiled them into a package, so a package manager could install them and keep track of them with all dependencies. Even if they don't work when you're done, you can simply remove them. Also no conflicts with the already installed libraries.

Thanks to all the dev's that worked hard on, and maintain each distos package manager.
 
1 members found this post helpful.
Old 11-06-2019, 09:53 AM   #13
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by hazel View Post
If it doesn't "just work", that's the fault of the person who made the package.
I blame the packager for Audacity

It took ages too since that was on either a Pentium 4 or a cut down P4 (Celeron) processor from memory - I think it was on the Celeron processor (don't remember exactly which one it was tho).
 
Old 11-06-2019, 09:59 AM   #14
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,726

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
qmail, to apply John M. Simpson's patches.
clamav, before I discovered it was in the repositories (I was doing what the "Don't panic" message links to when the version changes).

I'm sure there were others over the years.
 
Old 11-06-2019, 10:22 AM   #15
jw_smith
LQ Newbie
 
Registered: Feb 2008
Posts: 1

Rep: Reputation: 1
Emacs and UW imap mail application

Needed emacs on systems with no binary. Also needed to 64 bit to edit big file.

Wanted imap mail on a Sun workstation.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Have you ever modified the source code of an open source application? jeremy Linux - General 146 04-16-2024 03:09 PM
Have you ever compiled the kernel? Any changes? Mr. Alex Linux - General 2 09-11-2010 09:15 AM
i think that i will never ever ever ever switch to mac teamstatic84 General 11 01-03-2004 12:25 PM
Have you ever made a donation or a purchase to an open source organisation/project ? dukeinlondon Linux - General 8 11-14-2003 05:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration