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

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

 




Tim,

Thanks for the pointers. I have downloaded rpm 4.4.7 and am trying to compile it on solaris 8 with C workshop compiler 4.2. I spent a while this morning reading through the mailing list and have applied the patches from October.

Is there a reason why you're using such an ancient C compiler?  Workshop
10 & 11 are available at no charge from Sun.  Workshop 11 (Sun C 5.8) has
support for C99 (though the headers and libraries on Solaris 8 are not
fully C99 compliant), so some of the issues you've encountered will be
non-issues with that compiler.

"./rpmio_internal.h", line 15: cannot find include file: <beecrypt.api.h>
"./rpmio_internal.h", line 22: cannot find include file: <beecrypt.h>
"./rpmio_internal.h", line 23: cannot find include file: <base64.h>
"./rpmio_internal.h", line 24: cannot find include file: <dsa.h>
"./rpmio_internal.h", line 25: cannot find include file: <endianness.h>
"./rpmio_internal.h", line 28: cannot find include file: <rsa.h>
"./rpmio_internal.h", line 29: cannot find include file: <rsapk.h>
"./rpmio_internal.h", line 30: cannot find include file: <sha1.h>
"./rpmio_internal.h", line 91: syntax error before or at: mpbarrett
"./rpmio_internal.h", line 91: cannot recover from previous errors
cc: acomp failed for digest.c
gmake[2]: *** [digest.lo] Error 1
gmake[2]: Leaving directory `/tmp/rpm-4.4.7/rpmio'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tmp/rpm-4.4.7'
gmake: *** [all] Error 2

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:

You have the newer Beecrypt (that installs its headers in a beecrypt
subdirectory under include, and that has api.h instead of beecrypt.api.h),
but RPM didn't detect that (you didn't have /usr/local/include/beecrypt in
CFLAGS and CPPFLAGS at configure time) so it's defaulting to expecting the
older headers.

Either fix CFLAGS and CPPFLAGS to include /usr/local/include/beecrypt and
then completely reconfigure, or modify the Makefiles (as you've already
done in one case) adding -I/usr/local/include/beecrypt where needed.  In
addition, you need to modify the top level config.h so that

#define HAVE_BEECRYPT_API_H 1

is present, since you have beecrypt/api.h, not beecrypt.api.h.


Tim
--
Tim Mooney                              mooney@xxxxxxxxxxxxxxxxxxxxxxxxx
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164

_______________________________________________

Tim,

Thanks, I'll try and get the C compiler upgraded and rerun the configure.

Ed.

_________________________________________________________________
MSN Hotmail is evolving ? check out the new Windows Live Mail http://ideas.live.com

_______________________________________________
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