LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-13-2003, 09:41 AM   #1
ganninu
Member
 
Registered: Jul 2003
Distribution: RH 7.3/8.0/9.0, Debian Stable 3.0, FreeBSD 5.2, Solaris 8/9/10,HP-UX
Posts: 340

Rep: Reputation: 30
Unhappy gd library problem!


I'm trying to compile the gd library from the sources because I need a patched version for redhat 7.1 since the one which comes with the distro is compiled against an older version of libpng... However in doing so, I'm having some problems in making the files:


[root@BW gd-1.8.4]# make
gcc -I. -I/usr/include/freetype2 -I/usr/include/libpng12 -L/usr/X11R6/lib -fPIC -O -DHAVE_LIBXPM -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -c -o gd_jpeg.o gd_jpeg.c
gd_jpeg.c:26:21: jpeglib.h: No such file or directory
gd_jpeg.c:27:20: jerror.h: No such file or directory
gd_jpeg.c:193:2: #error IJG JPEG library BITS_IN_JSAMPLE value must be 8 or 12
gd_jpeg.c:368:2: #error IJG JPEG library BITS_IN_JSAMPLE value must be 8 or 12
make: *** [gd_jpeg.o] Error 1


I tried to find jpeglib.h and jerror.h but with now success (neither from the net) - so the first error was trivial (if you tell me a location where i could find them i will really appreciate it!!)

But I cannot understand the last two errors!!!!!!!! I have encountered similar errors when trying to compile libpng from the sources one day until I gave up. But from now onwards I don't want to give up!!!!!!!!! Help me up pls...


Ganninu
 
Old 03-13-2004, 12:22 PM   #2
HELLIXXX-69
LQ Newbie
 
Registered: Mar 2004
Posts: 1

Rep: Reputation: 0
Same problem

hi,

did you resolve your problem.... i have teh same and spend 4 days without any solution !!!
please ??!!

Thierry
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
howto compile bin with my library using all-static and shared linked standart library stpg Programming 4 06-29-2004 04:20 AM
what is the function library of the basic graphics library in rethat9.0? zerwolve Red Hat 0 04-29-2004 09:18 PM
library problem Santas Linux - Software 3 06-29-2003 09:51 AM
Shared library problem (BIG problem) jlg Slackware 1 03-25-2003 10:56 PM
Library Problem, legend23 Linux - General 3 09-24-2002 05:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:32 PM.

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