LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-26-2019, 02:03 PM   #91
pmv
Member
 
Registered: Apr 2018
Location: Germany
Distribution: OpenSuSE 15.4 Ubuntu 20.04 Archlinux 2022.08.05 Slackware 15.0
Posts: 86
Blog Entries: 5

Rep: Reputation: 31

Yes
qtrans, qdvdauthor, ffDiaporama:
http://download.opensuse.org/repositories/home:/tkb/
 
Old 12-26-2019, 02:43 PM   #92
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
I used to do this weekly when I ran a FreeBSD desktop and used ports. Also, ran Gentoo for several years and you compile everything during the install and every update. Would occasionally have breakages on Gentoo when updating but actually never had a compile failure on FreeBSD when building ports. I never compile anymore, not because I can't but because it is a PITA and I don't like waiting. Plus there is little benefit for me to compile anything: speed differences are negligible and the default build options for most packages on any platform I have used are fine for me.
 
Old 12-31-2019, 10:15 AM   #93
jmgibson1981
Senior Member
 
Registered: Jun 2015
Location: Tucson, AZ USA
Distribution: Debian
Posts: 1,140

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
Yes, but just recompiles from an Ubuntu ppa. Snapraid and Makemkv. Easiest way to get them on Debian and as a proper file managed by apt. I think at one point I recompiled Squid as well for ssl support on Ubuntu. No manual compilations from a tar.gz file though. Generally avoid compilation like the plague if I can.

Last edited by jmgibson1981; 12-31-2019 at 10:18 AM.
 
Old 12-31-2019, 10:43 AM   #94
Grobe
Member
 
Registered: Aug 2019
Location: Close to north
Distribution: Fedora
Posts: 117

Rep: Reputation: Disabled
This is a thing I want to learn.

I've done one attempt - but not successfuly. That was to try compile the newest version of GNumeric on a Linux Lite installation. However it stopped at "No package 'gtk+-3.0' found" -error, and I haven't being able to get past that point yet.
 
Old 12-31-2019, 11:42 AM   #95
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
So, the problem with compiling (./configure, make make install) a package on its own is that you have to figure out all dependencies manually. This could spiral out of control exponentially: package A requires dependency B, which also requires dependencies c,d,e, etc. It can certainly be done but you have to be patient and careful you don't overwrite something your distro uses that's older than what you are compiling and installing.

Also, there is no way to update the things you are installing without re-compiling the new versions. You will have to look manually to see if any security updates or code fix updates are available.

Not trying to discourage you, you just need to be aware of the potential pitfalls.
 
Old 12-31-2019, 12:24 PM   #96
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 Grobe View Post
This is a thing I want to learn.

I've done one attempt - but not successfuly. That was to try compile the newest version of GNumeric on a Linux Lite installation. However it stopped at "No package 'gtk+-3.0' found" -error, and I haven't being able to get past that point yet.
While sevendogsbsd makes a good point above, and not saying he's wrong in what he says... but while there may not be development packages available for all of the required dependencies for your particular distribution (depends on your distribution and the software you're trying to compile); if you're using a mainstream distribution like Ubuntu, Fedora, etc, then it's likely that it will have at least reasonably large software repositories that can provide at least most of the required dependencies, and therefore you can likely install those dependencies along with the respective "development packages" for those required dependencies (other than maybe some really non-standard libraries or similar) - which would likely have "devel" or maybe "dev" (depending on your particular distribution) appended to the end of the package name in relation to the respective "development packages".

If your distribution is a mainstream distribution, you can use your distibution's package manager to install the relevant packages along with their respective "development packages". This would be the best approach to take because it should ensure that you don't overwrite existing dependencies used by already installed software - provided you are careful in *not* going crazy enabling non-default software repositories. So be very careful when adding any software repositories to your package manager's "repolist" - and try to stick to default repositories wherever possible.
 
1 members found this post helpful.
Old 12-31-2019, 01:08 PM   #97
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
Good point, I had forgotten about the dev packages that can be installed. Thanks for the reminder/info jsbjsb001.
 
Old 01-01-2020, 04:32 AM   #98
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,570
Blog Entries: 19

Rep: Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451
@Grobe
Those "not found" messages in configure always refer to header files. The script doesn't actually check for the libraries themselves because they are only required at run time. You are aware, I hope, that most distros don't package the headers with the library but have a separate -dev or -devel package for them.
 
Old 01-06-2020, 04:04 PM   #99
Geist
Member
 
Registered: Jul 2013
Distribution: Slackware 14 / current
Posts: 442

Rep: Reputation: 196Reputation: 196
Almost daily, if my own software counts, even if it's not released, it's still all licensed with GPL or others if I don't want to be too strict.

Other software projects, as well. Technically, I'm also a KDE developer, but I haven't written anything for that in a long long long time and only for one piece of software and I'm completely out of the loop with KDE as a framework in general, hahaha.
Still, I have the tag. :P
 
Old 04-16-2020, 01:47 PM   #100
mephestopheles
LQ Newbie
 
Registered: Jul 2016
Posts: 6

Rep: Reputation: Disabled
Yes by following the included instructions in the "Read Me" file with a few applications I have installed .
 
Old 06-15-2020, 06:08 PM   #101
TheSingerMan
LQ Newbie
 
Registered: Apr 2020
Location: Brighton, MI
Distribution: OpenSuse 15.0
Posts: 7

Rep: Reputation: Disabled
Yes - but maybe a cheat

My third distro was GenToo. But, I've stuck with SUSE, then OpenSUSE for 12 years, and haven't had to compile source since. Come close to thinking I would have to make a mod somewhere to get something to work, but I've not had to compile source code.
 
  


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 07:25 PM.

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