[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Could not compile gnu apl-1.8 on Fedora 32

From: Dr . Jürgen Sauermann
Subject: Re: Could not compile gnu apl-1.8 on Fedora 32
Date: Mon, 31 Aug 2020 18:19:01 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0

Hi Dough,

see my comments inline below.

Best Regards,

On 8/21/20 5:41 PM, T.D. Telford wrote:
Running Fedora 32. Downloaded apl-1.8.src.

in dir apl-1.8:

configure: creating ./src//buildtag.hh
svn: E155007: '/home/doug/Downloads/apl-1.8.src/apl-1.8/src/Archive.cc' is not a working copy
configure: creating ./src/makefile.h

This may happen when GNU APL is not fetched via svn. The point is to create a small file
called buildtag.hh in directory src. It normally looks like this:

#include "Common.hh"
#define BUILDTAG PACKAGE_NAME, PACKAGE_VERSION " / 17072:17076M", "2020-08-10 09:27:53 UTC", "Linux 4.15.0-108-generic x86_64", "'--enable-maintainer-mode' 'DEVELOP_WANTED=yes' 'CXX_WERROR=yes'"
#define ARCHIVE_SVN " 16972"

If the file cannot be created for  some reason then you can edit it manually like above
(possibly adjusting some of the values above. ./configure should continue despite of the
error, so make after ./configure supposedly works.
configure: creating ./src/configure_args.cc
configure: saving configure options in ./configure_options



g++ -DHAVE_CONFIG_H -I. -I..    -Wall -I sql -Werror     -rdynamic -g -O2 -MT apl-sbrk.o -MD -MP -MF .deps/apl-sbrk.Tpo -c -o apl-sbrk.o `test -f 'sbrk.cc' || echo './'`sbrk.cc
mv -f .deps/apl-sbrk.Tpo .deps/apl-sbrk.Po
g++ -DHAVE_CONFIG_H -I. -I..    -Wall -I sql -Werror     -rdynamic -g -O2 -MT apl-Shape.o -MD -MP -MF .deps/apl-Shape.Tpo -c -o apl-Shape.o `test -f 'Shape.cc' || echo './'`Shape.cc
In file included from Shape.cc:21:
Shape.hh: In member function ‘Shape Shape::insert_axis(Axis, ShapeItem) const’:
Shape.hh:68:46: error: ‘‘target_mem_ref’ not supported by dump_expr<_expression_ error>’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
   68 |      loop(r, MAX_RANK)   rho[r] = other.rho[r];
      |                                   ~~~~~~~~~~~^
cc1plus: all warnings being treated as errors
make[3]: *** [Makefile:4002: apl-Shape.o] Error 1
make[3]: Leaving directory '/home/doug/Downloads/apl-1.8.src/apl-1.8/src'
make[2]: *** [Makefile:4484: all-recursive] Error 1
make[2]: Leaving directory '/home/doug/Downloads/apl-1.8.src/apl-1.8/src'
make[1]: *** [Makefile:524: all-recursive] Error 1
make[1]: Leaving directory '/home/doug/Downloads/apl-1.8.src/apl-1.8'
make: *** [Makefile:411: all] Error 2

This can happen with newer gcc versions. I have filed a bug with the gcc guys earlier
this year but no solution yet.

See file README-11-bogus-compiler-warnings in the top-level directory
for how to fix this.

also tried to install apl-1.8-0.x86_64.rpm

sudo dnf localinstall apl-1.8-0.x86_64.rpm:

~/Downloads$ sudo dnf localinstall apl-1.8-0.x86_64.rpm
[sudo] password for doug: 
Last metadata expiration check: 1:06:27 ago on Fri 21 Aug 2020 08:07:04 AM MDT.
 Problem: conflicting requests
  - nothing provides libtinfo.so.5(NCURSES_TINFO_5.0.19991023)(64bit) needed by apl-1.8-0.x86_64

This looks to me like a Fedora dependency problem. GNU APL does not use libinfo.

could not install libinfo.so.5

reply via email to

[Prev in Thread] Current Thread [Next in Thread]