Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-07-2008, 12:52 PM   #1
Registered: Nov 2007
Location: Puebla, Mexico
Distribution: Ubuntu, DSL, Fedora
Posts: 45
Blog Entries: 1

Rep: Reputation: 15
Compiling Guidelines

Hi everyone:

Hi have already read some similar post, and I now understand the general procedure to compile (reading documentation, runnint ./configure, checking for requisites, make , make install ... ) but some newbies often face problems not mentioned in documentation, and I would like to ask for some guidance:
  • The documentations ask for some packages ... well it is not the same package in all distros. How can we determine how the package is named in our distro
  • Perhaps sometimes there is an error on the ( source ? ) because it says "unexpected 'x'" or stuff like that. żDoes that mean that the person in charge of the package had an error or I made something wrong?
  • Sometimes the make command asks us to specify a directory (when it cannot find it), and sometimes asks us to add parameters to make command. Where can I find common examples about that?

Thanks for the support!
Old 01-08-2008, 12:50 PM   #2
LQ Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
1) Search the package repo for your distro for the name of the program. Or compile it all yourself.

2) It could mean that there is an error in the source code, but it is much more likely that the program simply does not comply to new coding standards and newer gcc versions, especially gcc-4.x refuses to compile it. In this case it usually tells you what to do to fix the code.

3) Always read the files called 'README' and 'INSTALL'. If those don't help, then it's usually harder to do this when running 'make', you may have to edit the 'Makefile'. Instead, if a 'configure' file exists, run './configure --help', that'll give you a list of all possible options.

Last edited by H_TeXMeX_H; 01-08-2008 at 12:51 PM.
Old 01-08-2008, 12:54 PM   #3
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
I'll add to 2) that sometimes you can get past such errors by viewing the configuration options (./configure --help) and disabling the problematic things in the source, if possible, and if you don't need them. This is of course a somewhat nasty way of escaping the reality, but sometimes it helps to get the program compile and work forward..
Old 01-08-2008, 11:00 PM   #4
Registered: Nov 2007
Location: Puebla, Mexico
Distribution: Ubuntu, DSL, Fedora
Posts: 45
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Question Thanks for the support

Some people recommend to use LFS , so you will learn to compile. What do you think if I try it in a Virtual Machine?


compile, how

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Posting guidelines... Answering guidelines? itsjustme LQ Suggestions & Feedback 14 07-22-2005 01:08 PM
guidelines to program a module eantoranz Programming 2 05-07-2005 12:38 PM
SLOC guidelines liguorir Programming 0 06-01-2004 08:01 PM
Debian security guidelines? zero79 Debian 2 04-29-2004 11:38 PM
Partitioning Guidelines question. rmount Linux - Hardware 3 10-08-2003 02:27 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:33 PM.

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