#7164: readline-6.0 fails to build on HP-UX 11i (PA-RISC)
------------------------+---------------------------------------------------
   Reporter:  drkirkby  |       Owner:  tbd          
       Type:  defect    |      Status:  new          
   Priority:  minor     |   Milestone:  sage-wishlist
  Component:  porting   |    Keywords:  HP-UX        
Work_issues:            |      Author:               
   Reviewer:            |      Merged:               
------------------------+---------------------------------------------------
Description changed by drkirkby:

Old description:

> I decided to attempt a build of Sage on HP-UX. The setup is:
>
>  * HP C3600 workstation
>  * PS-RISC processor running at 552 MHz.
>  * 1 GB RAM
>  * 2 x 36 GB disks
>  * HP-UK 11i
>
> The first failure is readline-6.0
>

> {{{
>        gcc -c -DHAVE_CONFIG_H    -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2
> -g  -Wall  misc.c
> misc.c: In function '_rl_revert_all_lines':
> misc.c:456: warning: suggest parentheses around assignment used as truth
> value
>         rm -f compat.o
>         gcc -c -DHAVE_CONFIG_H    -I. -I. -DRL_LIBRARY_VERSION='"6.0"'
> -O2  -g  -Wall  compat.c
>         rm -f xmalloc.o
>         gcc -c -DHAVE_CONFIG_H    -I. -I. -DRL_LIBRARY_VERSION='"6.0"'
> -O2  -g  -Wall  xmalloc.c
>         rm -f history.o
>         gcc -c -DHAVE_CONFIG_H    -I. -I. -DRL_LIBRARY_VERSION='"6.0"'
> -O2  -g  -Wall  history.c
>         rm -f histexpand.o
>         gcc -c -DHAVE_CONFIG_H    -I. -I. -DRL_LIBRARY_VERSION='"6.0"'
> -O2  -g  -Wall  histexpand.c
> histexpand.c: In function 'get_history_event':
> histexpand.c:207: warning: suggest parentheses around assignment used as
> truth value
>         rm -f histfile.o
>         gcc -c -DHAVE_CONFIG_H    -I. -I. -DRL_LIBRARY_VERSION='"6.0"'
> -O2  -g  -Wall  histfile.c
> histfile.c: In function 'read_history_range':
> histfile.c:251: warning: array subscript has type 'char'
> histfile.c:268: warning: array subscript has type 'char'
> histfile.c: In function 'history_truncate_file':
> histfile.c:378: warning: array subscript has type 'char'
> histfile.c:390: warning: array subscript has type 'char'
>         rm -f histsearch.o
>         gcc -c -DHAVE_CONFIG_H    -I. -I. -DRL_LIBRARY_VERSION='"6.0"'
> -O2  -g  -Wall  histsearch.c
>         rm -f shell.o
>         gcc -c -DHAVE_CONFIG_H    -I. -I. -DRL_LIBRARY_VERSION='"6.0"'
> -O2  -g  -Wall  shell.c
>         rm -f mbutil.o
>         gcc -c -DHAVE_CONFIG_H    -I. -I. -DRL_LIBRARY_VERSION='"6.0"'
> -O2  -g  -Wall  mbutil.c
>         rm -f tilde.o
>         gcc -DHAVE_CONFIG_H    -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2
> -g  -Wall  -DREADLINE_LIBRARY -c ./tilde.c
> ./tilde.c: In function 'tilde_expand':
> ./tilde.c:199: warning: suggest parentheses around assignment used as
> truth value
>         rm -f libreadline.a
>         ar cr libreadline.a readline.o vi_mode.o funmap.o keymaps.o
> parens.o search.o  rltty.o complete.o bind.o isearch.o display.o
> signals.o  util.o kill.o undo.o macro.o input.o callback.o terminal.o
> text.o nls.o misc.o compat.o xmalloc.o history.o histexpand.o histfile.o
> histsearch.o shell.o mbutil.o tilde.o
>         test -n "ranlib" && ranlib libreadline.a
>         rm -f libhistory.a
>         ar cr libhistory.a history.o histexpand.o histfile.o histsearch.o
> shell.o mbutil.o xmalloc.o
>         test -n "ranlib" && ranlib libhistory.a
>         for f in readline.h chardefs.h keymaps.h history.h tilde.h
> rlstdc.h rlconf.h rltypedefs.h; do \
>                 ./support/install.sh -c -m 644 ./$f
> /home/drkirkby/sage-4.1.2.rc0/local/include/readline ; \
>         done
>         ( if test -d doc ; then \
>                 cd doc && \
>                 make b
> infodir=/home/drkirkby/sage-4.1.2.rc0/local/share/info DESTDIR= install;
> \
>           fi )
> Make: Don't know how to make b.  Stop.
> *** Error exit code 1 (ignored)
>         test -d shlib || mkdir shlib
>         ( cd shlib ; make b all )
> Make: Don't know how to make b.  Stop.
> *** Error exit code 1 (ignored)
>         ( cd examples ; make b DESTDIR= install )
> Make: Don't know how to make b.  Stop.
> *** Error exit code 1 (ignored)
>         mv /home/drkirkby/sage-4.1.2.rc0/local/lib/libreadline.a
> /home/drkirkby/sage-4.1.2.rc0/local/lib/libreadline.old
> mv: /home/drkirkby/sage-4.1.2.rc0/local/lib/libreadline.a: cannot access:
> No such file or directory
> *** Error exit code 1 (ignored)
>         ./support/install.sh -c -m 644 libreadline.a
> /home/drkirkby/sage-4.1.2.rc0/local/lib/libreadline.a
>         test -n "ranlib" && ranlib
> /home/drkirkby/sage-4.1.2.rc0/local/lib/libreadline.a
>         mv /home/drkirkby/sage-4.1.2.rc0/local/lib/libhistory.a
> /home/drkirkby/sage-4.1.2.rc0/local/lib/libhistory.old
> mv: /home/drkirkby/sage-4.1.2.rc0/local/lib/libhistory.a: cannot access:
> No such file or directory
> *** Error exit code 1 (ignored)
>         ./support/install.sh -c -m 644 libhistory.a
> /home/drkirkby/sage-4.1.2.rc0/local/lib/libhistory.a
>         test -n "ranlib" && ranlib
> /home/drkirkby/sage-4.1.2.rc0/local/lib/libhistory.a
>         ( cd shlib ; make b DESTDIR= install )
> Make: Don't know how to make b.  Stop.
> *** Error exit code 1 (ignored)
> Readline's build claims to have finished, but files that should have been
> built weren't.
>
> real    7m22.286s
> user    1m7.990s
> sys     0m15.820s
> sage: An error occurred while installing readline-6.0
>
> }}}

New description:

 I decided to attempt a build of Sage on HP-UX. The setup is:

  * HP C3600 workstation
  * PA-RISC processor running at 552 MHz.
  * 1 GB RAM
  * 2 x 36 GB disks
  * HP-UK 11i

 The first failure is readline-6.0


 {{{
        gcc -c -DHAVE_CONFIG_H    -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2
 -g  -Wall  misc.c
 misc.c: In function '_rl_revert_all_lines':
 misc.c:456: warning: suggest parentheses around assignment used as truth
 value
         rm -f compat.o
         gcc -c -DHAVE_CONFIG_H    -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2
 -g  -Wall  compat.c
         rm -f xmalloc.o
         gcc -c -DHAVE_CONFIG_H    -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2
 -g  -Wall  xmalloc.c
         rm -f history.o
         gcc -c -DHAVE_CONFIG_H    -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2
 -g  -Wall  history.c
         rm -f histexpand.o
         gcc -c -DHAVE_CONFIG_H    -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2
 -g  -Wall  histexpand.c
 histexpand.c: In function 'get_history_event':
 histexpand.c:207: warning: suggest parentheses around assignment used as
 truth value
         rm -f histfile.o
         gcc -c -DHAVE_CONFIG_H    -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2
 -g  -Wall  histfile.c
 histfile.c: In function 'read_history_range':
 histfile.c:251: warning: array subscript has type 'char'
 histfile.c:268: warning: array subscript has type 'char'
 histfile.c: In function 'history_truncate_file':
 histfile.c:378: warning: array subscript has type 'char'
 histfile.c:390: warning: array subscript has type 'char'
         rm -f histsearch.o
         gcc -c -DHAVE_CONFIG_H    -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2
 -g  -Wall  histsearch.c
         rm -f shell.o
         gcc -c -DHAVE_CONFIG_H    -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2
 -g  -Wall  shell.c
         rm -f mbutil.o
         gcc -c -DHAVE_CONFIG_H    -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2
 -g  -Wall  mbutil.c
         rm -f tilde.o
         gcc -DHAVE_CONFIG_H    -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2
 -g  -Wall  -DREADLINE_LIBRARY -c ./tilde.c
 ./tilde.c: In function 'tilde_expand':
 ./tilde.c:199: warning: suggest parentheses around assignment used as
 truth value
         rm -f libreadline.a
         ar cr libreadline.a readline.o vi_mode.o funmap.o keymaps.o
 parens.o search.o  rltty.o complete.o bind.o isearch.o display.o signals.o
 util.o kill.o undo.o macro.o input.o callback.o terminal.o  text.o nls.o
 misc.o compat.o xmalloc.o history.o histexpand.o histfile.o histsearch.o
 shell.o mbutil.o tilde.o
         test -n "ranlib" && ranlib libreadline.a
         rm -f libhistory.a
         ar cr libhistory.a history.o histexpand.o histfile.o histsearch.o
 shell.o mbutil.o xmalloc.o
         test -n "ranlib" && ranlib libhistory.a
         for f in readline.h chardefs.h keymaps.h history.h tilde.h
 rlstdc.h rlconf.h rltypedefs.h; do \
                 ./support/install.sh -c -m 644 ./$f
 /home/drkirkby/sage-4.1.2.rc0/local/include/readline ; \
         done
         ( if test -d doc ; then \
                 cd doc && \
                 make b
 infodir=/home/drkirkby/sage-4.1.2.rc0/local/share/info DESTDIR= install; \
           fi )
 Make: Don't know how to make b.  Stop.
 *** Error exit code 1 (ignored)
         test -d shlib || mkdir shlib
         ( cd shlib ; make b all )
 Make: Don't know how to make b.  Stop.
 *** Error exit code 1 (ignored)
         ( cd examples ; make b DESTDIR= install )
 Make: Don't know how to make b.  Stop.
 *** Error exit code 1 (ignored)
         mv /home/drkirkby/sage-4.1.2.rc0/local/lib/libreadline.a
 /home/drkirkby/sage-4.1.2.rc0/local/lib/libreadline.old
 mv: /home/drkirkby/sage-4.1.2.rc0/local/lib/libreadline.a: cannot access:
 No such file or directory
 *** Error exit code 1 (ignored)
         ./support/install.sh -c -m 644 libreadline.a
 /home/drkirkby/sage-4.1.2.rc0/local/lib/libreadline.a
         test -n "ranlib" && ranlib
 /home/drkirkby/sage-4.1.2.rc0/local/lib/libreadline.a
         mv /home/drkirkby/sage-4.1.2.rc0/local/lib/libhistory.a
 /home/drkirkby/sage-4.1.2.rc0/local/lib/libhistory.old
 mv: /home/drkirkby/sage-4.1.2.rc0/local/lib/libhistory.a: cannot access:
 No such file or directory
 *** Error exit code 1 (ignored)
         ./support/install.sh -c -m 644 libhistory.a
 /home/drkirkby/sage-4.1.2.rc0/local/lib/libhistory.a
         test -n "ranlib" && ranlib
 /home/drkirkby/sage-4.1.2.rc0/local/lib/libhistory.a
         ( cd shlib ; make b DESTDIR= install )
 Make: Don't know how to make b.  Stop.
 *** Error exit code 1 (ignored)
 Readline's build claims to have finished, but files that should have been
 built weren't.

 real    7m22.286s
 user    1m7.990s
 sys     0m15.820s
 sage: An error occurred while installing readline-6.0

 }}}

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7164#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

--

You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=.


Reply via email to