Link to home
Start Free TrialLog in
Avatar of shkumbin
shkumbin

asked on

make error installing sendmail or openssl

Hi xperts,

Does anybody has solved the make error on AIX 5.3. The error is as follow

make: 1254-004 The error code from the last command is 1. (2,127 etc)

I think is the compiler problem or maybe i need to install perl or something else or to switch in another shell. I'm currently using ksh.

Best regards


Avatar of gheist
gheist
Flag of Belgium image

And what was that last command ???
Avatar of shkumbin
shkumbin

ASKER

thanks again gheist
ok when im sh Build
... Making in  /sendmail/sendmail-8.13.6/obj.AIX.5.3.0PPC/libsm
        /usr/vac/bin/xlc -03 -qstrict -I. -I../..//include -DNBM -DMAP_REGEX -D_AIX5=50300  -c assert.c
/bin/sh: /usr/vac/bin/xlc: not found.
make: 1254-004 The error code from the last command is 127.
Stop.
make: 1254-004 The error code from the last command is 2.



ASKER CERTIFIED SOLUTION
Avatar of Sandy_it
Sandy_it
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
gheist what you think. I think Sandy is right. But please if this is a problem please tell me what is the right compiler for aix (the name). I have all the cds for AIX maybe there is the compiler.

Thanks in advance for both.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I think that sendmail is already installed in your system. no need to build additional one.
IBM xlc xompiler is sold by IBM.
Another is gcc which you can get from AIX Linux toolbox, bullfreeware or aixpdslib ( sak google what are they)
thanks gheist (and all the athers)i know that, but i removed because it was an old one and i don't know if u have read that thare is a whole in the sendmail. the only fix came with later 8.13.6. Thanks again i have a good support from IBM and i think thay maybe will install there compiler. or i will install gcc.  but let we hope that that is a problem.
I was thinking...

Installing gcc by downloading from the websites by gheist and then
CC=gcc ./configure
....

I think it should work normally.

Rgds
-Sandy
Apply latest maintenance level patch to AIX sendmail and it will be fixed.
hi everybody.
i still cant solve my problem. what i found in internet is this. And i think this is the solution

***
I tried the manual install setting the environment variable CC to /usr/bin/gcc (gcc v3.3.5) and got exactly the same errors and error codes, which was odd. So, I checked the Makefile that is produced by perl Makefile.PL and found that CC is forced to "cc_r", which was in my path linked to xlc (/usr/vac/bin/xlc). So I set CC in Makefile to /usr/bin/gcc and got a clean "make test". 

What this probably means is that to install SpamAssassin on AIX using CPAN your will need to get cc_r in your path pointed to gcc before hand or install it manually with a twiddle to Makefile to get it to use gcc.
****
Gheist can u explain me what to configure to do this. I tried to install  gcc form
http://aixpdslib.seas.ucla.edu/ and i tried with zcat "[product].[version].tar.Z"| (cd /; tar xvpf -). the gcc is in the /usr/bin but i cant run the compand  CC=gcc ./configure
.... as Sandy wrote and eventhogh i don't know where to change the link of the path as the solution explains.
ref.http://mail-archives.apache.org/mod_mbox/spamassassin-users/200509.mbox/%3C4320CC50.7040803@sabus.com%3E
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Gheist the solution above explains that even by installing the gcc the users still had a problem to install some software. In my case is the sendmail or openssl. I think maybe there is some way to force AIX to use gcc compiling. Maybe this is not the issue but im stucked with that error. Please if u have a any clue please write me.

best regards.
I'd suggest Postfix instead - mail server made by IBM Employee, to make AIX build of quality mailserver more likely.
(And it's config file is 100 times easier to write and understand)
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.
I will leave the following recommendation for this question in the Cleanup topic area:

split between Sandy_it http:#16499316, sjm_ee http:#16502306 and gheist http:#16524380

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

gheist
EE Cleanup Volunteer