LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-02-2004, 12:43 PM   #1
slim27616
Member
 
Registered: Mar 2004
Posts: 30

Rep: Reputation: 15
Can't find X includes


here it is( and since im not so good at the whole terminal thing please make all solutions terminal lite)

i was attempting to install kde pager 2 so i downloaded the tar file and uncompressed. and i was going to run the standard configure, make, and make install. When i ran configure i was given this error:


Quote:
checking for size_t... yes
checking size of size_t... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking sizeof size_t == sizeof unsigned long... yes
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
checking for vsnprintf... yes
checking for snprintf... yes
checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!

now im not sure wht this means and wht i should do to slove the problem. since im running kde i dont understand why it can find x since kde runs on top of x. I may just be a problem with some config file but i dont know how to find it or begin to fix it. oh yeah im running 10.1 community. thanx for all yall help in advance
 
Old 10-02-2004, 12:54 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Go into the software installer for mandrake and install the X developement files. It is not enough when compiling to simply have the user libraries installed which is what you have when just using X or any other program for that matter. Just for future reference almost all packages require you to have installed the developement files for them, for you to be able to compile components to use with them.
 
Old 10-02-2004, 01:23 PM   #3
slim27616
Member
 
Registered: Mar 2004
Posts: 30

Original Poster
Rep: Reputation: 15
just to make sure i got this open up urpmi and look up the x dev stuff and install right.
note to mandrake: u should make this a default part of the install
 
Old 10-02-2004, 01:59 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally posted by slim27616
just to make sure i got this open up urpmi and look up the x dev stuff and install right.
note to mandrake: u should make this a default part of the install
Exactly in Debian you would be looking for the package xlibs-dev perhaps it is similar in Mandrake.
 
Old 10-02-2004, 02:11 PM   #5
slim27616
Member
 
Registered: Mar 2004
Posts: 30

Original Poster
Rep: Reputation: 15
okay im getting passed the X problem but now its telling me that libjpeg and libpng arent found

Quote:
checking for libXext... yes
checking for pthread_create in -lpthread... yes
checking for extra includes... no
checking for extra libs... no
checking for libz... -lz
checking for libpng... no
checking for libjpeg6b... no
checking for libjpeg... no
configure: WARNING: libjpeg not found. disable JPEG support.
now i tried the same urpmi libjpeg and libpng that had solved my problem before but it just told me that everything is installed. wht do i do now.
 
Old 10-02-2004, 02:38 PM   #6
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally posted by slim27616
okay im getting passed the X problem but now its telling me that libjpeg and libpng arent found



now i tried the same urpmi libjpeg and libpng that had solved my problem before but it just told me that everything is installed. wht do i do now.
And those were developement files?? If not and they were just the user libraries as I said before you need the -dev packages when compiling to get the support for them. Looking at my output here on Debian again it looks like you need libjpeg62-dev and most likely libpng12-dev whatever they are called in Mandrake you should search in urpmi for the same keywords I used and see if they show up.

Code:
[HappyTux:/home/stephen]# apt-cache search  libjpeg development
libjpeg-mmx-dev - Development files for the IJG JPEG library with mmx optimization
libjpeg62-dev - Development files for the IJG JPEG library
[HappyTux:/home/stephen]# apt-cache search  libpng development
gdk-imlib1-dev - Header files needed for Gdk-Imlib development (using libpng2)
imlib1-dev - Header files needed for Imlib development (using libpng2)
libpng10-dev - PNG library, older version - development
libpng12-dev - PNG library - development
libpng2-dev - PNG library, older version - development
libpng3-dev - PNG library - development, compatibility package
BTW to save the next question have you made sure that you have the kdelibs development files installed because you will need them as well.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't find X includes Anden008 Linux - Software 9 06-05-2006 10:57 PM
can't find x includes nicdee Linux - Newbie 2 07-31-2005 05:24 PM
Can't find X includes mythief Debian 1 12-19-2004 11:35 AM
Can't find X Includes Zb7 Linux - Newbie 3 12-13-2003 07:44 PM
Can't find X includes? Avatar Linux - Newbie 17 12-09-2003 01:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 10:50 AM.

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