zsh-workers
 help / color / mirror / code / Atom feed
From: Oliver Kiddle <opk@u.genie.co.uk>
To: dfavor@corridor.com
Cc: Zsh workers <zsh-workers@sunsite.auc.dk>
Subject: Re: How-to AIX + dynamic zsh?
Date: Fri, 07 Apr 2000 13:23:19 +0100	[thread overview]
Message-ID: <38EDD337.DC2B6B18@u.genie.co.uk> (raw)
In-Reply-To: <38ECAE56.97D758B3@austin.ibm.com>

"David R. Favor" wrote:
>  
> It appears that configure is failing due to a missing alloca.h, which of
> course doesn't exist on AIX.

Yes, though judging by the messsage below that accompanies that failure,
it certainly seems to be the fact that it thinks you have a cross-compiler
which is causing the problem later.

> checking whether getpgrp takes no argument... configure: error: cannot check getpgrp if cross compiling

> Let me know if you can do an 'lslpp -f | more' and search for alloca.h and
> find one.

I don't have one anywhere - either by searching for it or looking with lslpp.

You probably want to try to find the part of configure which it runs
to determine if you are using a cross-compiler. From looking here it
seems that it compiles a small program ( main(){return(0); } and runs
it to determine if it is a cross-compiler. Something is causing it to
fail. The test looks something like:

if (./conftest; exit) 2>/dev/null; then
  ac_cv_prog_cc_cross=no
else
  ac_cv_prog_cc_cross=yes
fi

It would have to be that the compile has succeeded but running
./conftest fails here. You might be able to edit parts of configure
here to see what is happening. For a start, removing the redirection to
/dev/null might help.

> > In the meantime, you should be able to create a cache (config.cache)
> > file which tells configure that you don't have a cross-compiler and it
> > should then atleast compile.
> I've never done this. Take a look at the attached files and let me know
> how to get around this.

It seems that configure doesn't use the cache for the initial basic
tests so you can't do that but what you can do is edit the configure
script and change any line which reads ac_cv_prog_cc_cross=no to
assign 'yes' to it instead. That should trick it and allow you to
carry on with building zsh but it is probably still worth
investigating why it thinks you have a cross-compiler in the first
place - it might be a problem which affects later configure checks.

> checking host system type... powerpc-ibm-aix4.3.3.0
I'm using rs6000-ibm-aix3.2.5 so I guess there will be a few differences.

> configure:1140: checking whether the C compiler (xlc -ma -O2 -qmaxmem=16384 -s) is a cross-compiler
            ^^^^
Incase you didn't notice this number might be a useful cross-
reference to in the configure script.

Oliver Kiddle


  parent reply	other threads:[~2000-04-07 12:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-06 11:22 The Corridor
2000-04-06 11:46 ` Oliver Kiddle
     [not found]   ` <38EC9FF3.B12EE9BE@austin.ibm.com>
     [not found]     ` <38ECA546.107A6D91@u.genie.co.uk>
     [not found]       ` <38ECAE56.97D758B3@austin.ibm.com>
2000-04-07 12:23         ` Oliver Kiddle [this message]
     [not found]           ` <38EE00D8.82FE48C@austin.ibm.com>
2000-04-07 16:11             ` Oliver Kiddle
2000-04-06 12:56 The Corridor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=38EDD337.DC2B6B18@u.genie.co.uk \
    --to=opk@u.genie.co.uk \
    --cc=dfavor@corridor.com \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).