LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 11-11-2002, 01:47 PM   #1
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
Why can't imlib fing the jpeg header files?


Is this a bug in the imlib configure file?

more /etc/ld.so.conf

# Begin /etc/ld.so.conf
/usr/local/lib
/opt/lib
/usr/lib
/usr/include
# End /etc/ld.so.conf

in the imlib directory, I do the following (first running ldconfig):

./configure --prefix=/usr --includedir=/usr/include && make && make install

which aborts with:

checking for sys/ipc.h... no
checking for sys/shm.h... no
checking X11/extensions/XShm.h... yes
checking for jpeg_destroy_decompress in -ljpeg... yes
checking for jpeglib.h... no
configure: error: *** JPEG header file not found ***

So with jpeglib.h sitting in both /usr/include and copied just in case to /usr/lib, why can't imlib see it?

Any ideas?
 
Old 11-11-2002, 02:06 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
try this

CPPFLAGS=-w ./configure --prefix=/usr --includedir=/usr/include
 
Old 11-11-2002, 02:27 PM   #3
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Original Poster
Rep: Reputation: 46
I am truly impressed.

Thanks DavidPhillips

PS. What does the preprocessor flag -w mean ? with?

Last edited by Bert; 11-11-2002 at 02:31 PM.
 
Old 11-11-2002, 03:01 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
not really sure what it stands for
 
Old 11-12-2002, 08:07 AM   #5
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
-w Inhibits all warning messages.
I assume you are compiling with a more recent version of gcc which will give an extra warning message which confuses the configure script. By disabling warning messages it continues without problems.
 
Old 05-05-2005, 12:27 PM   #6
varkey
LQ Newbie
 
Registered: Mar 2005
Location: India
Posts: 11

Rep: Reputation: 0
i am having the same problem.


i tried this

CPPFLAGS=-w ./configure --prefix=/usr --includedir=/usr/include


but still its not working.



wht might be the problem
 
Old 05-06-2005, 05:30 PM   #7
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
This thread is more than two years old. It's unlikely that you're having the same problem. Why don't you start your own thread and give more detail about what you did and what error message you got.
 
  


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
Software to repair corrupt or bad jpeg/gif files? blkcamarozr28 Linux - Software 3 11-13-2005 11:48 PM
Including header files and source files for classes Feenix Programming 8 09-28-2005 10:53 AM
gcc header files and cpp files? EchO Linux - Software 3 03-01-2005 01:14 AM
Unable to burn jpeg files to a VCD using K3b camorri Linux - Software 2 08-19-2004 06:19 PM
c header files in linux in place of header files in windows? harun_acs Programming 1 03-17-2004 02:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 12:54 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