[ILUG] Help with source compiling, havn't a clue.

Frank Murphy frankly3d.ilug at gmail.com
Sun Jul 13 12:38:30 IST 2008


2008/7/13 Gavin McCullagh <gmccullagh at gmail.com>:

> On Sun, 13 Jul 2008, Frank Murphy wrote:
>
> >  g++ -c -Isrc ./src/RPM.cc  -fPIC -DPIC -o ./build/obj/.libs/RPM.o
> > ./src/RPM.cc:33:24: error: rpm/rpmlib.h: No such file or directory
> > ./src/RPM.cc:34:23: error: rpm/rpmio.h: No such file or directory
> > ./src/RPM.cc:35:23: error: rpm/rpmts.h: No such file or directory
> > ./src/RPM.cc:36:24: error: rpm/header.h: No such file or directory
>
> looks like you need the RPM headers package installed.  I'm not used to
> centos so I'm not sure what it would be called.  It would be librpm-dev on
> debian/ubuntu.  Maybe try searching the package repository for "rpm
> headers"
>
> did yum install rpm\*

got further:
In file included from ./src/GzipInputStream.cc:23:
src/GzipInputStream.h:32:41: error: zlib.h: No such file or directory
src/GzipInputStream.h:63: error: 'gzFile' does not name a type
./src/GzipInputStream.cc: In constructor
'GzipInputStream::GzipInputStream(const std::string&)':
./src/GzipInputStream.cc:35: error: class 'GzipInputStream' does not have
any field named 'archive_'
./src/GzipInputStream.cc:40: error: 'archive_' was not declared in this
scope
./src/GzipInputStream.cc:40: error: 'gzopen' was not declared in this scope
./src/GzipInputStream.cc: In destructor
'GzipInputStream::~GzipInputStream()':
./src/GzipInputStream.cc:66: error: 'archive_' was not declared in this
scope
./src/GzipInputStream.cc:67: error: 'gzclose' was not declared in this scope
./src/GzipInputStream.cc: In member function 'std::streamsize
GzipInputStream::readsome(char*, std::streamsize)':
./src/GzipInputStream.cc:78: error: 'archive_' was not declared in this
scope
./src/GzipInputStream.cc:78: error: 'gzread' was not declared in this scope

Frank



More information about the ILUG mailing list