LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-30-2008, 06:06 PM   #1
eolmsan
LQ Newbie
 
Registered: Nov 2008
Posts: 5

Rep: Reputation: 0
installing qmake X11/Xlib.h: No such file or directory


Hello to everyone, I am trying to install the packet qt-x11 to get qmake, and I am getting the error X11/Xlib.h: No such file or directory

I have in my path a directory with the Xlib library, but I still get the error that library not found, where do I have to add the library to allow make find it?.

And another question I just need the qmake utility is there a way to get it without install X11?

Thanks in advance.
 
Old 11-30-2008, 06:56 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
You may have the library installed, but do you have the header file installed? qt-x11 is looking for /usr/include/X11/Xlib.h or /usr/X11R6/include/X11/Xlib.h. Do you have that file?
 
Old 11-30-2008, 08:07 PM   #3
eolmsan
LQ Newbie
 
Registered: Nov 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Hello, I am working in a cluster and there is no X windows installed, is there any way to tell qt or make to look in the directory in which I have Xlib?, I have them in a local directory from another user. I only want the qmake utility, do you know any package in which I can get qmake without installing qt?.

Thx
 
Old 12-01-2008, 05:09 AM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
Qt has hard coded X11 paths in its files. This is how I change them to tell Qt to look elsewhere for the X11 files it needs
Code:
for file in $(grep -lr "X11R6" *)
do
  sed -i "s@/usr/X11R6@${XORG_PREFIX}@g" $file
done
However, as I stated in my first post, Qt is looking for the header file, not the library.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot stat /etc/X11/X (no such file or directory) theabyyss Linux - Software 2 02-12-2008 08:15 PM
Installing GD: error: jpeglib.h: No such file or directory guarriman Linux - Software 1 07-20-2007 06:58 AM
Installing Qmake on SuSe 10.0 josh_o_1 SUSE / openSUSE 5 02-14-2006 10:12 PM
Can someone please send me a copy of their qmake.conf file? uman Linux - Software 0 01-04-2005 08:56 PM
error while trying to install program: "X11/Xlib.h: No such file or directory" nate1 Linux - Newbie 3 05-21-2004 09:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:00 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration