gcc - Unable to install openssl in AIX due to "cc: unrecognized option" -
so installed openssl in 1 of 3 aix servers wouldn't work in other 2 servers.
i'm trying install openssl-1.0.1h on aix.
step 1: ran config file -
./config -–prefix=/appl/peoplesoft/apache/openssl
output: makefile generated.
step 2: run make command.
output of command make:
$ make making in crypto... ( echo "#ifndef mk1mf_build"; echo ' /* auto-generated crypto/makefile crypto/cversion.c */'; echo ' #define cflags "cc -dopenssl_threads -qthreaded -d_thread_safe -ddso_dlfcn -dhave_dlfcn_h -q32 -o -db_endian -qmaxmem=16384 -qro -qroconst -dopenssl_bn_asm_mont -dsha1_asm -dsha256_asm -daes_asm"'; echo ' #define platform "aix-cc"'; echo " #define date \"`lc_all=c lc_time=c date`\""; echo '#endif' ) >buildinf.h cc -i. -i.. -i../include -dopenssl_threads -qthreaded -d_thread_safe -ddso_dlfcn -dhave_dlfcn_h -q32 -o -db_endian -qmaxmem=16384 -qro -qroconst -dopenssl_bn_asm_mont -dsha1_asm -dsha256_asm -daes_asm -c cryptlib.c cc: unrecognized option '-qthreaded' cc: unrecognized option '-q32' cc: unrecognized option '-qmaxmem=16384' cc: unrecognized option '-qro' cc: unrecognized option '-qroconst'
i don't know what's wrong.
i'm using gcc version 4.2.0 , cc has softlink gcc.
should try copying makefile file server works?
i'll try previous comments: gcc doesn't understands xlc's options, use either this:
./configure -–prefix=/appl/peoplesoft/apache/openssl -maix32 \ ... aix-gcc
or
./configure -–prefix=/appl/peoplesoft/apache/openssl -maix64 \ ... aix64-gcc
where ... set of compiler/linker options can think of, eg:
-mtune=native -pthread -lpthreads -wl,-brtl
Comments
Post a Comment