LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem with compiling programs (https://www.linuxquestions.org/questions/linux-newbie-8/problem-with-compiling-programs-199918/)

UDflyer 07-01-2004 10:11 AM

Problem with compiling programs
 
okay i am fairly new to linux i only have suse 9.1 pro on my computer for a week but i been reading linux books for about the last month. anyways i faced with this problem when compling programs and was hoping someone with a bit more know how could help. I have a nforce chip set and as i was researching before posting seems that nvidia some tiems doesn't play nice with linux is this true. anyways in the shell this is the error i get can someone help me to correct it.

checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!

Thanks

linmix 07-01-2004 11:17 AM

I had the same problem recently and it was because I hadn't installed the Xwindows development packages (Xwindows-devel-**.rpm ??)

UDflyer 07-01-2004 01:19 PM

where can i find the package
 
Can you point me in the direction of this package cause i can't find it in a google search

darthtux 07-01-2004 01:46 PM

With yast you should be able to install the x development packages

linmix 07-01-2004 02:15 PM

... or look for a SuSE ftp site and find the rpm (I don't know the exact name!!)

rylan76 07-02-2004 03:04 AM

Hi

With Linux, for all packages/programs, you most often get three types of distributions:

1. Binary distribution

This means that the file(s) you download are binaries, i. e. programs (Windows programs usually come only in this type of distribution - i. e. Windows Binary) that you can just run and use.

2. Source distribution

This means the file(s) you download are source files (usually C/C++) that must be 'compiled' on your system to get them to work. They usually require 'libraries' that you are responsible to provide.

3. Development distribution.

This means the file(s) you download are for development - i. e. they are libraries that you can compile, that are then used by other libraries, that are used by source distributed programs that need them to compile.

This is what you want - a "development distribution" of Xwindows. Check the xfree86 website for the relevant X "development" libraries, or reinstall your distro and explicitly specify XWindows development files to be included in the installation.

On my Rh9 install, the X libraries had to be specifically included in a section called X Development, and took about 42 MB (I think!) to install. Without them I would not have been able to compile several programs that I am using now.


All times are GMT -5. The time now is 07:23 AM.