hi, i just recently tried to install the perl-rpm package on a slackware 10,
and 9.1 box and was unsuccessful at doing so, i was wondering if my problem
is common or its just my machine, after looking at some of the code and the
error messages it seems that there is suppose to be some other librarys in
that same folder because of the include statements #include "EXTERN.h"
#include "perl.h" #include "XSUB.h", looking them up i found that they where
part of the perl librarys and tried to move the actual files over after
doing that they make file was still complaing, i tried looking stuff up on
google and didnt find much nor much documentation is included to look at,
thanks for your time, error message included below.
Checking if your kit is complete...
Looks good
Local build detected. Generating Perl-RPM.spec...
Generating rpmrc...
Generating rpmmacros...
Writing Makefile for RPM
stalin@leningrad:~/Perl-RPM-0.40$ make
cp RPM.pm blib/lib/RPM.pm
cp RPM/Database.pm blib/lib/RPM/Database.pm
cp RPM/Constants.pm blib/lib/RPM/Constants.pm
cp RPM/Error.pm blib/lib/RPM/Error.pm
cp RPM/Header.pm blib/lib/RPM/Header.pm
/usr/bin/perl5.8.4 /usr/lib/perl5/5.8.4/ExtUtils/xsubpp -noversioncheck
-typemap /usr/lib/perl5/5.8.4/ExtUtils/typemap -typemap typemap
RPM/Database.xs > RPM/Database.xsc && mv RPM/Database.xsc RPM/Database.c
cc -c -I. -I/usr/include/rpm -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=i486 -mcpu=i686
-DVERSION=\"0.40\" -DXS_VERSION=\"0.40\" -fPIC
"-I/usr/lib/perl5/5.8.4/i486-linux/CORE" RPM/Database.c -o RPM/Database.o
Database.xs: In function `rpmdb_FETCH':
Database.xs:111: warning: assignment makes pointer from integer without a
castDatabase.xs:112: warning: assignment makes pointer from integer without
a castDatabase.xs:149: warning: assignment makes pointer from integer
without a castDatabase.xs:150: warning: assignment makes pointer from
integer without a castDatabase.xs: In function `rpmdb_FIRSTKEY':
Database.xs:200: warning: assignment makes pointer from integer without a
castDatabase.xs:201: warning: assignment makes pointer from integer without
a castDatabase.xs: In function `rpmdb_find_by_whatever':
Database.xs:306: warning: assignment makes pointer from integer without a
castDatabase.xs:311: warning: comparison between pointer and integer
/usr/bin/perl5.8.4 /usr/lib/perl5/5.8.4/ExtUtils/xsubpp -noversioncheck
-typemap /usr/lib/perl5/5.8.4/ExtUtils/typemap -typemap typemap
RPM/Constants.xs > RPM/Constants.xsc && mv RPM/Constants.xsc RPM/Constants.c
cc -c -I. -I/usr/include/rpm -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=i486 -mcpu=i686
-DVERSION=\"0.40\" -DXS_VERSION=\"0.40\" -fPIC
"-I/usr/lib/perl5/5.8.4/i486-linux/CORE" RPM/Constants.c -o RPM/Constants.o
Constants.xs: In function `constant':
Constants.xs:19: error: `CHECKSIG_GPG' undeclared (first use in this
function)Constants.xs:19: error: (Each undeclared identifier is reported
only once
Constants.xs:19: error: for each function it appears in.)
Constants.xs:21: error: `CHECKSIG_MD5' undeclared (first use in this
function)Constants.xs:23: error: `CHECKSIG_PGP' undeclared (first use in
this function)Constants.xs:240: error: `RPMFILE_DONOTUSE' undeclared (first
use in this function)
Constants.xs:322: error: `RPMSIG_BAD' undeclared (first use in this
function)
Constants.xs:324: error: `RPMSIG_NOKEY' undeclared (first use in this
function)
Constants.xs:326: error: `RPMSIG_NOTTRUSTED' undeclared (first use in this
function)
Constants.xs:328: error: `RPMSIG_OK' undeclared (first use in this function)
Constants.xs:330: error: `RPMSIG_UNKNOWN' undeclared (first use in this
function)
make: *** [RPM/Constants.o] Error 1
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar ? get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
|