ok, i just installed LFS 6.1 and know want to use RPM as my package manager (please don't ask why, i have my reasons ;-) )
i downloaded a source rpm and extracted the source (tar.gz) archive from it (version 4.2)
as i tried to compile it, i got some errors... searching on the net, i found out, that it had to do with libelf, i didn't hat that installed. after installing libelf, i got another error withing rpmmodule.c. again searching, i found out, that it had to do with the "python-part" of rpm.
so i installed python, but that didn't solve the problem, so i disabled python support (configure --without-python)
after that another error arised, and this time i could not find any informations on the net, so you are my last hope

make fails with the following error(s):
Quote:
debugedit.c:23:22: byteswap.h: No such file or directory
debugedit.c:24:20: endian.h: No such file or directory
In file included from /usr/include/gelf.h:11,
from debugedit.c:36:
/usr/include/libelf.h:28:2: #error "large files are not supported by libelf"
debugedit.c:37:19: dwarf.h: No such file or directory
debugedit.c: In function `read_abbrev':
debugedit.c:289: `DW_FORM_indirect' undeclared (first use in this function)
debugedit.c:289: (Each undeclared identifier is reported only once
debugedit.c:289: for each function it appears in.)
debugedit.c: In function `edit_dwarf2_line':
debugedit.c:479: warning: implicit declaration of function `alloca'
debugedit.c: In function `edit_attributes':
debugedit.c:676: `DW_AT_stmt_list' undeclared (first use in this function)
debugedit.c:678: `DW_FORM_data4' undeclared (first use in this function)
debugedit.c:685: `DW_AT_comp_dir' undeclared (first use in this function)
debugedit.c:686: `DW_FORM_strp' undeclared (first use in this function)
debugedit.c:711: `DW_TAG_compile_unit' undeclared (first use in this function)
debugedit.c:713: `DW_AT_name' undeclared (first use in this function)
debugedit.c:751: `DW_FORM_addr' undeclared (first use in this function)
debugedit.c:754: `DW_FORM_ref1' undeclared (first use in this function)
debugedit.c:755: `DW_FORM_flag' undeclared (first use in this function)
debugedit.c:756: `DW_FORM_data1' undeclared (first use in this function)
debugedit.c:759: `DW_FORM_ref2' undeclared (first use in this function)
debugedit.c:760: `DW_FORM_data2' undeclared (first use in this function)
debugedit.c:763: `DW_FORM_ref4' undeclared (first use in this function)
debugedit.c:767: `DW_FORM_ref8' undeclared (first use in this function)
debugedit.c:768: `DW_FORM_data8' undeclared (first use in this function)
debugedit.c:771: `DW_FORM_sdata' undeclared (first use in this function)
debugedit.c:772: `DW_FORM_ref_udata' undeclared (first use in this function)
debugedit.c:773: `DW_FORM_udata' undeclared (first use in this function)
debugedit.c:776: `DW_FORM_ref_addr' undeclared (first use in this function)
debugedit.c:780: `DW_FORM_string' undeclared (first use in this function)
debugedit.c:783: `DW_FORM_indirect' undeclared (first use in this function)
debugedit.c:786: `DW_FORM_block1' undeclared (first use in this function)
debugedit.c:789: `DW_FORM_block2' undeclared (first use in this function)
debugedit.c:793: `DW_FORM_block4' undeclared (first use in this function)
debugedit.c:797: `DW_FORM_block' undeclared (first use in this function)
debugedit.c: In function `fdopen_dso':
debugedit.c:1017: `ELF_C_RDWR_MMAP' undeclared (first use in this function)
make: *** [debugedit.o] Error 1
|
oh, the only information i could find was a hint to installing libdwarf, but that didn't solve these errors
i hope you can help me, thanks in advance
oh and: if this isn't the right forum for this thread, sorry for that.
and sorry for my very very very very very ....... baaaad english

i'm from germany