2005/5/23, Ralf S. Engelschall <[EMAIL PROTECTED]>:
> On Mon, May 23, 2005, Henri Gomez wrote:
>
> > here is what I added in openssl.patch to make it works on AIX 5.2 :
> >
> > --- fips/rand/fips_rand.c.orig 2005-05-23 17:39:36.000000000 +0200
> > +++ fips/rand/fips_rand.c 2005-05-23 17:39:29.000000000 +0200
> > @@ -56,7 +56,9 @@
> > /* If we don't define _XOPEN_SOURCE_EXTENDED, struct timeval won't
> > be defined and gettimeofday() won't be declared with strict compilers
> > like DEC C in ANSI C mode. */
> > +#ifndef _XOPEN_SOURCE_EXTENDED
> > #define _XOPEN_SOURCE_EXTENDED
> > +#endif
> >
> > #include <openssl/des.h>
> > #include <openssl/rand.h>
>
> This patch is already applied to the OpenSSL version we have in
> OpenPKG-CURRENT. Before submitting a patch we should take over, keep in
> mind that we _ALWAYS_ (and there are NO exceptions) apply changes to
> OpenPKG-CURRENT and only merge them onto RELEASE/SOLID branches. Hence,
> in those cases always check the OpenPKG-CURRENT package first. It safes
> you time.
I agree but I need to build a AIX distro from something stable and
select the 2.3.0 UPD.
My AIX (PASE) system is slow and I can't rebuild it all mandatory
packages (gcc, perl, ...) each days or I'll never finish a minimal
OpenPKG for AIX.
BTW, I'll take a look at HEAD / CURRENT next time I found a problem.
And I still have a problem with sed 4.1.4 on AIX 5.2 (sed 4.0.7 and
4.0.9 worked).
> > --- config.orig 2005-05-23 17:43:46.000000000 +0200
> > +++ config 2005-05-23 16:35:35.000000000 +0200
> > @@ -469,6 +469,7 @@
> >
> > if [ "${SYSTEM}" = "AIX" ]; then # favor vendor cc over gcc
> > (cc) 2>&1 | grep -iv "not found" > /dev/null && CC=cc
> > + (gcc) 2>&1 | grep -iv "not found" > /dev/null && CC=gcc
> > fi
> >
> > CCVER=${CCVER:-0}
>
> As the comment implies, OpenSSL prefers the vendor cc over gcc on AIX.
> What is the reason you prefer gcc on AIX? Is it just because you like
> gcc more or failed the vendor cc to compile OpenSSL?
because I don't have cc on AIX but only the gcc built from AIX Toolbox
for Linux and also the 3.4.3 from OpenPKG and don't want to pay for
xlc when a GNU GCC is available
My point is just, if the package specify gcc in the config/Config
script, just use his choice since it may be mandatory for him.
______________________________________________________________________
The OpenPKG Project www.openpkg.org
Developer Communication List [email protected]