[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem compiling GNU APL 1.8 on LMDE 5
From: |
Dr . Jürgen Sauermann |
Subject: |
Re: Problem compiling GNU APL 1.8 on LMDE 5 |
Date: |
Sat, 21 May 2022 11:35:05 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
Hi Brian,
regarding Postgres, you need to make sure that not only the library but
also its development
diles are present. To check this, run program
pg_config
which comes with Postgres. If Postgres is installed in a non-standard
place, you
can specify the path to it with ./configure --with-postgresql=<path>
See also ./configure --help.
Regarding the compiler warning, see *README-11-bogus-compiler-warnings
*and Christian Robert's email.
Best Regards,
Jürgen
On 5/20/22 10:04 PM, Mr. Brian B. McGuinness wrote:
I just upgraaded to Linux Mint Debian Edition 5. This requires me to
reinstall GNU APL, which was on the root partition, which was wiped
and reformatted.
I tried
./configure --with-postgresql RATIONAL_NUMBERS_WANTED=yes
but the configure program couldn't find PostgreSQL, even though it is
installed. I don't know whether this is because I need to install
some optional PostgreSQL package.
So then I tried
./configure RATIONAL_NUMBERS_WANTED=yes
make
and got an error message:
In file included from Shape.cc:21:
Shape.hh: In member function ‘Shape Shape::insert_axis(Axis,
ShapeItem) const’:
Shape.hh:68:46: error: ‘*(const ShapeItem*)((char*)& ret + <unknown>
*8 +8)’ 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
so APL wouldn't compile. So I tried
./configure
make
and got the same error.