Bug 7391 - possible missing file (jpegint.h)
Summary: possible missing file (jpegint.h)
Status: CLOSED NOTABUG
Alias: None
Product: Sisyphus
Classification: Development
Component: libjpeg (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Sergey Bolshakov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-18 22:41 MSD by Alex Murygin
Modified: 2006-07-14 14:59 MSD (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Murygin 2005-07-18 22:41:56 MSD
во время сборки новой версии feh вылазят следующие ошибки.
---
In file included from transupp.c:42:
/usr/include/jpeglib.h:1096:65: jpegint.h: No such file or directory
---

egrep jpegint.h /usr/include/jpeglib.h
#ifndef JPEG_INTERNALS          /* will be defined in jpegint.h */
 * Applications using the library should not include jpegint.h, but may wish
#include "jpegint.h"            /* fetch private declarations */
 
в jpegsrc.v6b.tar.bz2 в корне находится jpegint.h, после копирования его в
/usr/include/ все замечательно собирается.

Возможно про jpegint.h было забыто в install-headers?
Или это ошибка разработчика feh?
Спасибо.
Comment 1 Dmitry V. Levin 2005-07-23 00:20:33 MSD
В jpeglib.h написано:
/*
 * The JPEG library modules define JPEG_INTERNALS before including this file.
 * The internal structure declarations are read only when that is true.
 * Applications using the library should not include jpegint.h, but may wish
 * to include jerror.h.
 */

#ifdef JPEG_INTERNALS
#include "jpegint.h"            /* fetch private declarations */
#include "jerror.h"             /* fetch error codes too */
#endif

Таким образом, поскольку "Applications using the library should not include
jpegint.h", а feh - это и есть приложение, то непонятно, зачем ему этот файл.
Comment 2 Alex Murygin 2006-07-14 14:59:01 MSD
feh исправился и больше не требует чего ему не надо :)