[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 592
  • Last Modified:

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


0
shkumbin
Asked:
shkumbin
  • 6
  • 5
  • 2
  • +1
3 Solutions
 
gheistCommented:
And what was that last command ???
0
 
shkumbinAuthor Commented:
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.



0
 
Sandy_itCommented:
The IBM xlc compiler may not be installed on the system.

You can ask IBM support to install the compiler for you (for a price of course) or may install it yourself after downloading from here
https://www-927.ibm.com/search/SupportSearchWeb/SupportSearch?pageCode=SPD

Rgds
-Sandy

0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
shkumbinAuthor Commented:
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.
0
 
sjm_eeCommented:
The compiler is not free with AIX. You either need (free) gcc from the AIX Toolbox for Linux or the (chargeable) C/C++ for AIX from IBM.
0
 
gheistCommented:
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)
0
 
shkumbinAuthor Commented:
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.
0
 
Sandy_itCommented:
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
0
 
gheistCommented:
Apply latest maintenance level patch to AIX sendmail and it will be fixed.
0
 
shkumbinAuthor Commented:
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
0
 
gheistCommented:
I found no file named "Makefile.PL" in Sendmail 8.13.6 distribution.
Why are you compiling ???
Try
# perl -MCPAN -e install Mail::SpamAssassin
0
 
shkumbinAuthor Commented:
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.
0
 
gheistCommented:
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)
0
 
gheistCommented:
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
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 6
  • 5
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now