RE: Ncurses Fails on AIX - WORKING

2007-05-09 Thread Simon Mudd \(Mailing address\)
Also works fine on AIX 5.3

Name: ncurses   Source RPM:   
ncurses-5.6.20070505-20070508.src.rpm
Version:  5.6.20070505  Signature:
md5:62acbfb0e4d88cd6b0fddae44b2a03e2
Release:  20070508  Build Host:   xxx
Group:Terminal  Build System: powerpc-aix5.3
Class:BASE  Build Time:   Tue May  8 10:11:54 2007
Distrib:  OpenPKG Community Install Time: Tue May  8 10:14:33 2007
License:  MIT-style Install Size: 6317488 bytes
Packager: OpenPKG Foundation e.V.   Relocations:  /openpkg
Vendor:   Free Software Foundation
Summary:  Terminal Capability and Display Library
URL:  http://www.gnu.org/software/ncurses/

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Doug Summers
Sent: 10 May 2007 06:34
To: openpkg-users@openpkg.org
Subject: Re: Ncurses Fails on AIX - WORKING


Ralf S. Engelschall wrote:
> On Sat, May 05, 2007, Doug Summers wrote:
> 
>>>>  /usr/vac/bin/cc /usr/vac/bin/cc ../objects/ansi.o ../objects/charset.o
>>>>  ../objects/color.o ../objects/control.o ../objects/crum.o
>>>> ../objects/edit.o
>>>>  ../objects/fun.o ../objects/init.o ../objects/menu.o ../objects/modes.o
>>>>  ../objects/output.o ../objects/pad.o ../objects/scan.o ../objects/sync.o
>>>>  ../objects/sysdep.o ../objects/tack.o -L../lib -lncurses
>>>> -DHAVE_CONFIG_H
>>>>  -I../tack -I. -I. -I../include-D_ALL_SOURCE -D_LARGE_FILES
>>>>  -I/openpkg/include/ncurses  -o tack
>>>>  ld: 0711-710 ERROR: Input file /usr/vac/bin/cc
>>>>  is stripped. The file is being ignored.
>>>>  make[1]: *** [tack] Error 8
>>>>  make: *** [all] Error 2
>>>>  error: Bad exit status from /openpkg/RPM/TMP/rpm-tmp.13458 (%build)
>>>>
>>>>  I built version 5.5.20061021 without any problems (GCC-build).
>>> That's interesting. Neither the upstream sources nor out OpenPKG
>>> packaging contains anything related to this /usr/vac stuff. Even a "grep
>>> -r vac" doesn't show up anything. I've no clue from where does comes.
>>> But my guess is this: you have the OpenPKG "gcc" package still not
>>> installed and /usr/vac/bin/cc is the "system" compiler ncurses finds.
>>> Because of a bug in the Makefiles or whatever this compiler is expanded
>>> twice(!) and hence the problem occurs. Can you retry with the OpenPKG
>>> "gcc" package installed?
> 
>>  I should have been clearer on this error; it's happening with XLC & GCC.
>>  Substitute /usr/vac/bin/cc with /openpkg/bin/gcc and the results are the
>>  same.
> 
> Ok, I've now found the problem. The NCURSES' tack/Makefile.in was just
> broken. I've fixed it now with ncurses-5.6.20070505-20070508 and higher.

That did the trick; just got done building on AIX 5.1.
__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org
__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org


Re: Ncurses Fails on AIX - WORKING

2007-05-09 Thread Doug Summers

Ralf S. Engelschall wrote:

On Sat, May 05, 2007, Doug Summers wrote:


 /usr/vac/bin/cc /usr/vac/bin/cc ../objects/ansi.o ../objects/charset.o
 ../objects/color.o ../objects/control.o ../objects/crum.o
../objects/edit.o
 ../objects/fun.o ../objects/init.o ../objects/menu.o ../objects/modes.o
 ../objects/output.o ../objects/pad.o ../objects/scan.o ../objects/sync.o
 ../objects/sysdep.o ../objects/tack.o -L../lib -lncurses
-DHAVE_CONFIG_H
 -I../tack -I. -I. -I../include-D_ALL_SOURCE -D_LARGE_FILES
 -I/openpkg/include/ncurses  -o tack
 ld: 0711-710 ERROR: Input file /usr/vac/bin/cc
 is stripped. The file is being ignored.
 make[1]: *** [tack] Error 8
 make: *** [all] Error 2
 error: Bad exit status from /openpkg/RPM/TMP/rpm-tmp.13458 (%build)

 I built version 5.5.20061021 without any problems (GCC-build).

That's interesting. Neither the upstream sources nor out OpenPKG
packaging contains anything related to this /usr/vac stuff. Even a "grep
-r vac" doesn't show up anything. I've no clue from where does comes.
But my guess is this: you have the OpenPKG "gcc" package still not
installed and /usr/vac/bin/cc is the "system" compiler ncurses finds.
Because of a bug in the Makefiles or whatever this compiler is expanded
twice(!) and hence the problem occurs. Can you retry with the OpenPKG
"gcc" package installed?



 I should have been clearer on this error; it's happening with XLC & GCC.
 Substitute /usr/vac/bin/cc with /openpkg/bin/gcc and the results are the
 same.


Ok, I've now found the problem. The NCURSES' tack/Makefile.in was just
broken. I've fixed it now with ncurses-5.6.20070505-20070508 and higher.


That did the trick; just got done building on AIX 5.1.
__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org


Re: Ncurses Fails on AIX

2007-05-07 Thread Ralf S. Engelschall
On Sat, May 05, 2007, Doug Summers wrote:

> >>  /usr/vac/bin/cc /usr/vac/bin/cc ../objects/ansi.o ../objects/charset.o
> >>  ../objects/color.o ../objects/control.o ../objects/crum.o
> >> ../objects/edit.o
> >>  ../objects/fun.o ../objects/init.o ../objects/menu.o ../objects/modes.o
> >>  ../objects/output.o ../objects/pad.o ../objects/scan.o ../objects/sync.o
> >>  ../objects/sysdep.o ../objects/tack.o -L../lib -lncurses
> >> -DHAVE_CONFIG_H
> >>  -I../tack -I. -I. -I../include-D_ALL_SOURCE -D_LARGE_FILES
> >>  -I/openpkg/include/ncurses  -o tack
> >>  ld: 0711-710 ERROR: Input file /usr/vac/bin/cc
> >>  is stripped. The file is being ignored.
> >>  make[1]: *** [tack] Error 8
> >>  make: *** [all] Error 2
> >>  error: Bad exit status from /openpkg/RPM/TMP/rpm-tmp.13458 (%build)
> >>
> >>  I built version 5.5.20061021 without any problems (GCC-build).
> > That's interesting. Neither the upstream sources nor out OpenPKG
> > packaging contains anything related to this /usr/vac stuff. Even a "grep
> > -r vac" doesn't show up anything. I've no clue from where does comes.
> > But my guess is this: you have the OpenPKG "gcc" package still not
> > installed and /usr/vac/bin/cc is the "system" compiler ncurses finds.
> > Because of a bug in the Makefiles or whatever this compiler is expanded
> > twice(!) and hence the problem occurs. Can you retry with the OpenPKG
> > "gcc" package installed?

>  I should have been clearer on this error; it's happening with XLC & GCC.
>  Substitute /usr/vac/bin/cc with /openpkg/bin/gcc and the results are the
>  same.

Ok, I've now found the problem. The NCURSES' tack/Makefile.in was just
broken. I've fixed it now with ncurses-5.6.20070505-20070508 and higher.

   Ralf S. Engelschall
   [EMAIL PROTECTED]
   www.engelschall.com

__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org


Re: Ncurses Fails on AIX

2007-05-05 Thread Doug Summers

Ralf S. Engelschall wrote:

On Thu, May 03, 2007, Doug Summers wrote:


 Got this with both GCC & XLC:

 /usr/vac/bin/cc -DHAVE_CONFIG_H -I../tack -I. -I. -I../include -D_ALL_SOURCE
 -D_LARGE_FILES  -I/openpkg/include/ncurses  -c ../tack/pad.c -o
 ../objects/pad.o
 /usr/vac/bin/cc -DHAVE_CONFIG_H -I../tack -I. -I. -I../include -D_ALL_SOURCE
 -D_LARGE_FILES  -I/openpkg/include/ncurses  -c ../tack/scan.c -o
 ../objects/scan.o
 /usr/vac/bin/cc -DHAVE_CONFIG_H -I../tack -I. -I. -I../include -D_ALL_SOURCE
 -D_LARGE_FILES  -I/openpkg/include/ncurses  -c ../tack/sync.c -o
 ../objects/sync.o
 /usr/vac/bin/cc -DHAVE_CONFIG_H -I../tack -I. -I. -I../include -D_ALL_SOURCE
 -D_LARGE_FILES  -I/openpkg/include/ncurses  -c ../tack/sysdep.c -o
 ../objects/sysdep.o
 /usr/vac/bin/cc -DHAVE_CONFIG_H -I../tack -I. -I. -I../include -D_ALL_SOURCE
 -D_LARGE_FILES  -I/openpkg/include/ncurses  -c ../tack/tack.c -o
 ../objects/tack.o
 /usr/vac/bin/cc /usr/vac/bin/cc ../objects/ansi.o ../objects/charset.o
 ../objects/color.o ../objects/control.o ../objects/crum.o ../objects/edit.o
 ../objects/fun.o ../objects/init.o ../objects/menu.o ../objects/modes.o
 ../objects/output.o ../objects/pad.o ../objects/scan.o ../objects/sync.o
 ../objects/sysdep.o ../objects/tack.o -L../lib -lncurses-DHAVE_CONFIG_H
 -I../tack -I. -I. -I../include-D_ALL_SOURCE -D_LARGE_FILES
 -I/openpkg/include/ncurses  -o tack
 ld: 0711-710 ERROR: Input file /usr/vac/bin/cc
 is stripped. The file is being ignored.
 make[1]: *** [tack] Error 8
 make: *** [all] Error 2
 error: Bad exit status from /openpkg/RPM/TMP/rpm-tmp.13458 (%build)

 I built version 5.5.20061021 without any problems (GCC-build).


That's interesting. Neither the upstream sources nor out OpenPKG
packaging contains anything related to this /usr/vac stuff. Even a "grep
-r vac" doesn't show up anything. I've no clue from where does comes.
But my guess is this: you have the OpenPKG "gcc" package still not
installed and /usr/vac/bin/cc is the "system" compiler ncurses finds.
Because of a bug in the Makefiles or whatever this compiler is expanded
twice(!) and hence the problem occurs. Can you retry with the OpenPKG
"gcc" package installed?

   Ralf S. Engelschall
   [EMAIL PROTECTED]
   www.engelschall.com

__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org
I should have been clearer on this error; it's happening with XLC & GCC. 
Substitute /usr/vac/bin/cc with /openpkg/bin/gcc and the results are the 
same.

__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org


Re: Ncurses Fails on AIX

2007-05-05 Thread Ralf S. Engelschall
On Thu, May 03, 2007, Doug Summers wrote:

>  Got this with both GCC & XLC:
>
>  /usr/vac/bin/cc -DHAVE_CONFIG_H -I../tack -I. -I. -I../include -D_ALL_SOURCE
>  -D_LARGE_FILES  -I/openpkg/include/ncurses  -c ../tack/pad.c -o
>  ../objects/pad.o
>  /usr/vac/bin/cc -DHAVE_CONFIG_H -I../tack -I. -I. -I../include -D_ALL_SOURCE
>  -D_LARGE_FILES  -I/openpkg/include/ncurses  -c ../tack/scan.c -o
>  ../objects/scan.o
>  /usr/vac/bin/cc -DHAVE_CONFIG_H -I../tack -I. -I. -I../include -D_ALL_SOURCE
>  -D_LARGE_FILES  -I/openpkg/include/ncurses  -c ../tack/sync.c -o
>  ../objects/sync.o
>  /usr/vac/bin/cc -DHAVE_CONFIG_H -I../tack -I. -I. -I../include -D_ALL_SOURCE
>  -D_LARGE_FILES  -I/openpkg/include/ncurses  -c ../tack/sysdep.c -o
>  ../objects/sysdep.o
>  /usr/vac/bin/cc -DHAVE_CONFIG_H -I../tack -I. -I. -I../include -D_ALL_SOURCE
>  -D_LARGE_FILES  -I/openpkg/include/ncurses  -c ../tack/tack.c -o
>  ../objects/tack.o
>  /usr/vac/bin/cc /usr/vac/bin/cc ../objects/ansi.o ../objects/charset.o
>  ../objects/color.o ../objects/control.o ../objects/crum.o ../objects/edit.o
>  ../objects/fun.o ../objects/init.o ../objects/menu.o ../objects/modes.o
>  ../objects/output.o ../objects/pad.o ../objects/scan.o ../objects/sync.o
>  ../objects/sysdep.o ../objects/tack.o -L../lib -lncurses-DHAVE_CONFIG_H
>  -I../tack -I. -I. -I../include-D_ALL_SOURCE -D_LARGE_FILES
>  -I/openpkg/include/ncurses  -o tack
>  ld: 0711-710 ERROR: Input file /usr/vac/bin/cc
>  is stripped. The file is being ignored.
>  make[1]: *** [tack] Error 8
>  make: *** [all] Error 2
>  error: Bad exit status from /openpkg/RPM/TMP/rpm-tmp.13458 (%build)
>
>  I built version 5.5.20061021 without any problems (GCC-build).

That's interesting. Neither the upstream sources nor out OpenPKG
packaging contains anything related to this /usr/vac stuff. Even a "grep
-r vac" doesn't show up anything. I've no clue from where does comes.
But my guess is this: you have the OpenPKG "gcc" package still not
installed and /usr/vac/bin/cc is the "system" compiler ncurses finds.
Because of a bug in the Makefiles or whatever this compiler is expanded
twice(!) and hence the problem occurs. Can you retry with the OpenPKG
"gcc" package installed?

   Ralf S. Engelschall
   [EMAIL PROTECTED]
   www.engelschall.com

__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org


Ncurses Fails on AIX

2007-05-03 Thread Doug Summers

Got this with both GCC & XLC:

/usr/vac/bin/cc -DHAVE_CONFIG_H -I../tack -I. -I. -I../include 
-D_ALL_SOURCE -D_LARGE_FILES  -I/openpkg/include/ncurses  -c 
../tack/pad.c -o ../objects/pad.o
/usr/vac/bin/cc -DHAVE_CONFIG_H -I../tack -I. -I. -I../include 
-D_ALL_SOURCE -D_LARGE_FILES  -I/openpkg/include/ncurses  -c 
../tack/scan.c -o ../objects/scan.o
/usr/vac/bin/cc -DHAVE_CONFIG_H -I../tack -I. -I. -I../include 
-D_ALL_SOURCE -D_LARGE_FILES  -I/openpkg/include/ncurses  -c 
../tack/sync.c -o ../objects/sync.o
/usr/vac/bin/cc -DHAVE_CONFIG_H -I../tack -I. -I. -I../include 
-D_ALL_SOURCE -D_LARGE_FILES  -I/openpkg/include/ncurses  -c 
../tack/sysdep.c -o ../objects/sysdep.o
/usr/vac/bin/cc -DHAVE_CONFIG_H -I../tack -I. -I. -I../include 
-D_ALL_SOURCE -D_LARGE_FILES  -I/openpkg/include/ncurses  -c 
../tack/tack.c -o ../objects/tack.o
/usr/vac/bin/cc /usr/vac/bin/cc ../objects/ansi.o ../objects/charset.o 
../objects/color.o ../objects/control.o ../objects/crum.o 
../objects/edit.o ../objects/fun.o ../objects/init.o ../objects/menu.o 
../objects/modes.o ../objects/output.o ../objects/pad.o 
../objects/scan.o ../objects/sync.o ../objects/sysdep.o 
../objects/tack.o -L../lib -lncurses-DHAVE_CONFIG_H -I../tack -I. 
-I. -I../include-D_ALL_SOURCE -D_LARGE_FILES  -I/openpkg/include/ncurses 
 -o tack

ld: 0711-710 ERROR: Input file /usr/vac/bin/cc
is stripped. The file is being ignored.
make[1]: *** [tack] Error 8
make: *** [all] Error 2
error: Bad exit status from /openpkg/RPM/TMP/rpm-tmp.13458 (%build)

I built version 5.5.20061021 without any problems (GCC-build).
__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org