Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-08-2011, 08:03 PM   #1
Registered: Nov 2010
Posts: 114

Rep: Reputation: 6
what is gcc include path/ linux include path

I'm trying to install tgrep package. I ran the configure file and this is what i get.

denish@ubuntu:~/Downloads/tgrep/bin$ ./configure 
	   Please answer all questions with full pathnames
I cannot determine the gcc include path on your system.
  Please enter the gcc include path if it is available: 
/usr/src/linux/include was not found on your system.
  Please enter a substitute include path if it is available: 
/usr/X11R6/include was not found on your system.
  Please enter a substitute include path if it is available: 
/usr/X11R6/lib was not found on your system.
  Please enter a substitute include path if it is available: 
Warning: /Xm was not found.  The X progress display will
not be available.
The perl command is   :: /usr/bin/perl
The bison command is  :: /usr/bin/bison
The flex command is   :: /usr/bin/flex
The imake command is  :: /usr/bin/imake
gcc include path is   :: 
linux include path is :: 
standard include path :: /usr/include
standard library path :: /usr/lib
Are these parameters correct? [y/n/q]
The problem is I don't know what gcc include path and linux include path is.
Also, I'm using ubuntu.

Last edited by ghantauke; 03-08-2011 at 08:09 PM.
Old 03-08-2011, 08:34 PM   #2
Registered: Jul 2006
Location: VPN Tunnel, USA
Distribution: Slackware64
Posts: 938

Rep: Reputation: 116Reputation: 116
When you attempt to compile an application for Linux from source code, you must have the prerequisite applications and libraries installed on your system. These are known as "dependencies". It is much safer and easier to install applications into your Linux distribution using your distribution's native software repositories. In your case, this would be Ubuntu's repos. You can start your synaptic package application and check to see if tgrep is available.

If it isn't, the next method I would attempt is to see if there is an already compiled .deb version somewhere (Debian's repos, possibly).

The last method I would attempt is the one you're using above... compiling from source. To find all the dependencies needed to make that application run on your system is what is known in the Linux world as "Dependency H3LL". You'll spiral down the black hole trying to satisfy dependencies when attempting to install apps this way. It can be done, but it can be H3LL to do it.

See THIS post here at LQ. If you're not very competent with compiling apps from source, I would not attempt this.
1 members found this post helpful.


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
Need to edit $PATH to include gcc thesinnick Linux - Newbie 3 02-20-2011 07:41 AM
how to include the path of exe in the ld library path? malli42108 Linux - Networking 10 09-17-2009 09:21 AM
include path for multiple versions of gcc hydrogeek Linux - General 5 11-18-2007 02:08 PM
GCC include path. jwilson Linux - General 1 04-02-2001 03:58 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:40 AM.

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