ok perl built successfully with my rpmmacros change.
uploaded to the usual location :
http://rpm.world.free.fr/rpms/openpkg-2.3.0-powerpc-2.0-Qop/
2005/5/19, Henri Gomez <[EMAIL PROTECTED]>:
> Ok found the problem in aix hints.
>
> There is a check for C compiler name. If named gcc, the correct
Ok found the problem in aix hints.
There is a check for C compiler name. If named gcc, the correct flags
are used (-b suffixed by -Wl,).
/QOpenSys/openpkg/bin/cc -o try -D_ALL_SOURCE -D_ANSI_C_SOURCE
-D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN
-L/QOpenSys/openpkg/lib -Wl,-brtl
Here is the faulty cc discovery command :
/QOpenSys/openpkg/bin/cc -o try -D_ALL_SOURCE -D_ANSI_C_SOURCE
-D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN
-L/QOpenSys/openpkg/lib -brtl -bdynamic -bmaxdata:0x8000 try.c
Any idea ?
2005/5/19, Henri Gomez <[EMAIL PROTECTED]>:
> Here
Here is the configure generated by spec :
+ ./Configure -d -e -s -Dprefix=/QOpenSys/openpkg
-Dvendorprefix=/QOpenSys/openpkg
-Dinstallprefix=/QOpenSys/openpkg/RPM/TMP/perl-5.8.6-root/QOpenSys/openpkg
-Dinstallstyle=lib/perl5 -Dman1dir=/QOpenSys/openpkg/man/man1
-Dman3dir=/QOpenSys/openpkg/man/man3
I'm trying to build perl on AIX with the newly created gcc 3.4.3 and
go this error :
uild a threading Perl? [n]
Build Perl for multiplicity? [n]
Use which C compiler? [/QOpenSys/openpkg/bin/cc]
cc: `-b' must come at the start of the command line
Uh-oh, the C compiler '/QOpenSys/openpkg/bin/cc' doe