LinuxQuestions.org
Help answer threads with 0 replies.
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
LQ Newbie
 
Registered: Apr 2018
Distribution: OpenSuSE Leap 15.0, Ubuntu 16.04, Ubuntu 18.04
Posts: 25
Blog Entries: 2

Rep: Reputation: 2

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: Slackware
Posts: 1,939

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
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
Member
 
Registered: Jun 2015
Location: Tucson, AZ USA
Distribution: Debian
Posts: 491

Rep: Reputation: Disabled
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
LQ Newbie
 
Registered: Aug 2019
Posts: 27

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: Slackware
Posts: 1,939

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
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
Registered User
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: Currently OpenMandriva. Previously openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,440

Rep: Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782
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: Slackware
Posts: 1,939

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
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
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 4,487
Blog Entries: 11

Rep: Reputation: 2570Reputation: 2570Reputation: 2570Reputation: 2570Reputation: 2570Reputation: 2570Reputation: 2570Reputation: 2570Reputation: 2570Reputation: 2570Reputation: 2570
@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: 435

Rep: Reputation: Disabled
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: 6

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 63 04-28-2020 06:24 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 11:59 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