Re: compiling rpm 4.4.4 on Solaris 2.9

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

 




On Jan 18, 2006, at 3:30 PM, Aleksandar Milivojevic wrote:

Quoting Jeff Johnson <n3npq.jbj@xxxxxxxxx>:



... snip ...

Thanks for the Solaris fixing.

Send a patch to rpm-devel@xxxxxxxxxxxxxxxxxxxx when you finish and I will merge
Now, one thing I wasn't able to fix yet. The sysconf on Solaris doesn't have _SC_ULONG_MAX and _SC_UINT_MAX. They are referenced from lib/rpmds.c file (around line 2430). Not sure what the code around them does exactly and what I can replace them with on Solaris. Any hints?


Add wrappers like
    #ifdef _SC_ULONG_MAX
    ...
    #endif

You don't/won't need the getconf(...) dependency name space on solaris, particularly
if solaris does not define those variables.

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