Re: [rpm-list] problems compiling rpm on solaris

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Jan 3, 2007, at 8:47 AM, Edward Quick wrote:


I fixed that with a malloc:

diff /tmp/rpm-4.4.7/lua/local/lrexlib.c /tmp/rpm-4.4.7/lua/local/ lrexlib.c.orig
43,44c43
<     /*char errbuf[sz];*/
<     char *errbuf=malloc(sz);
---
    char errbuf[sz];



alloca is better, fixed in my next checkin.


I'm not entirely sure on the best fix though. I have got beecrypt headers in /usr/local/include/beecrypt but if I add this include path in the compile, it gives another error:

gmake
source='digest.c' object='digest.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/bash ../depcomp \
/bin/bash ../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../lua/include -I../lua/local -I../syck/lib - I../popt -I../misc -I../zlib -I/usr/local/include/beecrypt - D_REENTRANT -g -c -o digest.lo digest.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../lua/include -I../lua/ local -I../syck/lib -I../popt -I../misc -I../zlib -I/usr/local/ include/beecrypt -D_REENTRANT -g -c digest.c -KPIC -DPIC -o .libs/ digest.o "./rpmio_internal.h", line 15: cannot find include file: <beecrypt.api.h> "/usr/local/include/beecrypt/beecrypt.h", line 33: cannot find include file: "beecrypt/api.h" "/usr/local/include/beecrypt/beecrypt.h", line 35: cannot find include file: "beecrypt/memchunk.h" "/usr/local/include/beecrypt/beecrypt.h", line 36: cannot find include file: "beecrypt/mpnumber.h" "/usr/local/include/beecrypt/beecrypt.h", line 82: undefined or not a type: BEECRYPTAPI "/usr/local/include/beecrypt/beecrypt.h", line 82: parameter not in identifier list: entropySourceCount "/usr/local/include/beecrypt/beecrypt.h", line 92: cannot recover from previous errors
cc: acomp failed for digest.c
gmake: *** [digest.lo] Error 1


This should be fixed by diddling -I/usr/local/include/beecrypt somehow.

Does /usr/local/include/beecrypt/beecrypt.api.h exist?

Are you using latest (well, 2+ years old) beecrypt-4.1.2 or something else?

hth

73 de Jeff

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux