From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Michaels Newsgroups: gmane.emacs.bugs Subject: Prob & Solution: Emacs 21.4 - configure guesses wrong OS for AIX 5.2 Date: Fri, 05 Aug 2005 16:51:40 -0600 Organization: Raytheon - NPOESS Program Message-ID: <42F3ED7C.4070107@raytheon.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1969787418==" X-Trace: sea.gmane.org 1123283990 23870 80.91.229.2 (5 Aug 2005 23:19:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 5 Aug 2005 23:19:50 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 06 01:19:47 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E1BTF-0001GI-OY for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Aug 2005 01:19:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E1BW7-0002I4-Qc for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Aug 2005 19:22:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E1BRo-0007yE-G2 for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2005 19:17:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E1BMu-0006uw-1b for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2005 19:12:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E1BMt-0006jO-OR for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2005 19:12:47 -0400 Original-Received: from [199.46.200.232] (helo=lax-gate3.raytheon.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E1BFl-000835-S2 for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2005 19:05:26 -0400 Original-Received: from ds02w00.directory.ray.com (ds02w00.directory.ray.com [147.25.146.118]) by lax-gate3.raytheon.com (8.12.10/8.12.10) with ESMTP id j75MppLN026838 for ; Fri, 5 Aug 2005 15:51:51 -0700 (PDT) Original-Received: from ds02w00 (localhost [127.0.0.1]) by ds02w00.directory.ray.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id j75MpkWF004851 for ; Fri, 5 Aug 2005 22:51:46 GMT Original-Received: from ds02w00.directory.ray.com with LMTP by ds02w00 (2.0.6/sieved-2-0-build-559) for ; Fri, 5 Aug 2005 22:51:45 +0000 Original-Received: from redwood.rsc.raytheon.com (redwood.RSC.RAYTHEON.COM [155.157.138.42]) by ds02w00.directory.ray.com (Switch-3.1.7/Switch-3.1.0) with ESMTP id j75Mpe6k004807 sender dragon@raytheon.com for ; Fri, 5 Aug 2005 22:51:41 GMT Original-Received: from [155.157.207.69] (zuoken [155.157.207.69]) by redwood.rsc.raytheon.com (8.12.8/8.12.8) with ESMTP id j75MpeHN008512 for ; Fri, 5 Aug 2005 16:51:40 -0600 (MDT) User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en Original-To: bug-gnu-emacs@gnu.org X-SPAM: 0.00 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:12656 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:12656 This is a multi-part message in MIME format. --===============1969787418== Content-Type: multipart/alternative; boundary="------------000201030604090903050105" This is a multi-part message in MIME format. --------------000201030604090903050105 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit In the emacs-21.4 distro, the configure script guesses AIX 3.2 when run on an AIX 5.2 machine. The problem is that the configure script does not recognize 5.x versions other than 5.0 and 5.1. AIX 5.2 and 5.3 both exist, and should be accounted for. The fix is simple. After implementing this fix, I ran "./configure", with no arguments, and then "make", and it compiled fine. There are virtually no other GNU products on this machine (autoconf, automake, etc), because it's very difficult to get GPL stuff approved for install anymore. *sigh* My guess is that this fix also works on 5.3. I have a 5.3 box, but it's not ready yet for this kind of test. I'll get back to you on that. diff code: *** configure.broken Tue Mar 18 14:19:12 2003 --- configure Fri Aug 5 22:41:18 2005 *************** *** 1212,1218 **** rs6000-ibm-aix4.2* | powerpc-ibm-aix4.2* ) machine=ibmrs6000 opsys=aix4-2 ;; ! rs6000-ibm-aix5.1* | powerpc-ibm-aix5.1* ) machine=ibmrs6000 opsys=aix4-2 ;; rs6000-ibm-aix4.0* | powerpc-ibm-aix4.0* ) --- 1212,1218 ---- rs6000-ibm-aix4.2* | powerpc-ibm-aix4.2* ) machine=ibmrs6000 opsys=aix4-2 ;; ! rs6000-ibm-aix5.[123]* | powerpc-ibm-aix5.[123]* ) machine=ibmrs6000 opsys=aix4-2 ;; rs6000-ibm-aix4.0* | powerpc-ibm-aix4.0* ) prtconf: dmichael@npddev20 <~/build/emacs-21.4><103> prtconf System Model: IBM,9119-595 Machine Serial Number: 021784E Processor Type: PowerPC_POWER5 Number Of Processors: 4 Processor Clock Speed: 1904 MHz CPU Type: 64-bit Kernel Type: 64-bit LPAR Info: 2 npddev20 Memory Size: 8192 MB Good Memory Size: 8192 MB Firmware Version: IBM,SF225_096 Console Login: enable Auto Restart: false Full Core: false Network Information Host Name: npddev20.dn.rsc.raytheon.com IP Address: 155.157.234.87 Sub Netmask: 255.255.255.0 Gateway: 155.157.234.1 Name Server: 155.157.138.44 Domain Name: dn.rsc.raytheon.com Paging Space Information Total Paging Space: 24192MB Percent Used: 13% Volume Groups Information ============================================================================== rootvg: PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION hdisk0 active 546 414 109..87..00..109..109 hdisk1 active 546 405 110..07..70..109..109 ============================================================================== uname -a: dmichael@npddev20 <~/build/emacs-21.4><104> uname -a AIX npddev20 2 5 00C1784E4C00 -- Raytheon *David P. Michaels* Senior Multi-Disciplined Engineer II W.H. NPOESS IS Platform OS Unix 303.344.6840 720.858.5952 fax 720.521.0561 pager dragon@raytheon.com *aka "Dragon"* "I wonder what news is doing..." news@newshost <29> ps -fu news news 18624 12367 2 0:00 makehistory "News is making history." --------------000201030604090903050105 Content-Type: multipart/related; boundary="------------060904010105080406060102" --------------060904010105080406060102 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
In the emacs-21.4 distro, the configure script guesses AIX 3.2 when run on an AIX 5.2 machine.  The problem is that the configure script does not recognize 5.x versions other than 5.0 and 5.1.  AIX 5.2 and 5.3 both exist, and should be accounted for.  The fix is simple.  After implementing this fix, I ran "./configure", with no arguments, and then "make", and it compiled fine.  There are virtually no other GNU products on this machine (autoconf, automake, etc), because it's very difficult to get GPL stuff approved for install anymore.  *sigh*

My guess is that this fix also works on 5.3.  I have a 5.3 box, but it's not ready yet for this kind of test.  I'll get back to you on that.

diff code:
*** configure.broken    Tue Mar 18 14:19:12 2003
--- configure   Fri Aug  5 22:41:18 2005
***************
*** 1212,1218 ****
    rs6000-ibm-aix4.2* | powerpc-ibm-aix4.2*  )
      machine=ibmrs6000 opsys=aix4-2
    ;;
!   rs6000-ibm-aix5.1* | powerpc-ibm-aix5.1*  )
      machine=ibmrs6000 opsys=aix4-2
    ;;
    rs6000-ibm-aix4.0* | powerpc-ibm-aix4.0*  )
--- 1212,1218 ----
    rs6000-ibm-aix4.2* | powerpc-ibm-aix4.2*  )
      machine=ibmrs6000 opsys=aix4-2
    ;;
!   rs6000-ibm-aix5.[123]* | powerpc-ibm-aix5.[123]*  )
      machine=ibmrs6000 opsys=aix4-2
    ;;
    rs6000-ibm-aix4.0* | powerpc-ibm-aix4.0*  )

prtconf:

dmichael@npddev20 <~/build/emacs-21.4><103> prtconf
System Model: IBM,9119-595
Machine Serial Number: 021784E
Processor Type: PowerPC_POWER5
Number Of Processors: 4
Processor Clock Speed: 1904 MHz
CPU Type: 64-bit
Kernel Type: 64-bit
LPAR Info: 2 npddev20
Memory Size: 8192 MB
Good Memory Size: 8192 MB
Firmware Version: IBM,SF225_096
Console Login: enable
Auto Restart: false
Full Core: false

Network Information
        Host Name: npddev20.dn.rsc.raytheon.com
        IP Address: 155.157.234.87
        Sub Netmask: 255.255.255.0
        Gateway: 155.157.234.1
        Name Server: 155.157.138.44
        Domain Name: dn.rsc.raytheon.com

Paging Space Information
        Total Paging Space: 24192MB
        Percent Used: 13%

Volume Groups Information
==============================================================================
rootvg:
PV_NAME           PV STATE          TOTAL PPs   FREE PPs    FREE DISTRIBUTION
hdisk0            active            546         414         109..87..00..109..109
hdisk1            active            546         405         110..07..70..109..109
==============================================================================

uname -a:
dmichael@npddev20 <~/build/emacs-21.4><104> uname -a
AIX npddev20 2 5 00C1784E4C00


--
signature

Raytheon

David P. Michaels
Senior Multi-Disciplined Engineer II W.H.
NPOESS IS
Platform OS Unix
303.344.6840
720.858.5952 fax
720.521.0561 pager
dragon@raytheon.com
aka "Dragon"
"I wonder what news is doing..."

 news@newshost <29> ps -fu news      
 news 18624 12367 2 0:00 makehistory 

"News is making history."
      
--------------060904010105080406060102 Content-Type: image/gif; name="Raytheon.gif" Content-Transfer-Encoding: base64 Content-ID: Content-Disposition: inline; filename="Raytheon.gif" R0lGODlhdAAdAKIAAP/////MzP/Mmf+Zmf+ZZv9mZv9mM/8zACwAAAAAdAAdAAAD/wi63P4w ykmrnSfrnYu4IHcYCiEGYKouYnsMK8aRwHDGeOW2OSTSJg6qR3S0CIabIjBAGgwEwjBArQ4B 1sCPahMyCYNP4/uESh+DQRk6uGapNScMwEsKFfaWIZDP0LQ7GlAiBTMMhS57C10uBAqMgid1 N316kBklgYKXLgV4mn+aB45BmohClSSAG6UarRkolYmcLjWSHI6ppxpMor68WCJ0HE24w4EG aa8jsgG7mD/HgqsaxRwFsr40C1Rgy1IzAtfRtkLL1K4t6CPrYCfZ2o+iMJXP4oYA55zrO+t7 ItY28PGF5MS9DbIc0RIkzY88c7d8+Wu3Dx4HAM1kNXyhIK6QI3L6Im6AMBHgOYsjMwoT4Qhj v4009p1cKdIPxXe+XKLyNYffAU8wMwmRWfOnzk0nZoo6ymvZERYtxJAj6kViPlEkKuZsxq/S nHIIoYa9OvSGz2oLns1AoZRVk7cK4TYZ4iQZFm9zubFcgBdMz75tAgC+ombGV27L7C4ZLEBu yyIPzkGeTHlyvcqYM6tYJ0az588Pnm0DTbq06dOoU6tezbq169ewY8ueTbt27AQAOw== --------------060904010105080406060102-- --------------000201030604090903050105-- --===============1969787418== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bug-gnu-emacs mailing list Bug-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs --===============1969787418==--