The attached patch lets me build without libsqlite3-dev again, by moving both ResultValue.* and apl-sqlite.* into the "if SQLITE3" part of the makefile.
Jay. On 15 July 2014 03:12, Elias Mårtenson <loke...@gmail.com> wrote: > It's not supposed to. I think the error is that it still tries to compile > ResultValue.cc even though SQLite wasn't found during the ./configure phase. > > It's most definitely supposed to (and it was written to) not require either > SQLite nor Postgres to build. > > Regards, > Elias > > > On 15 July 2014 10:09, Blake McBride <blake1...@gmail.com> wrote: >> >> The thing that started this is that GNU APL was not able to compile >> without the SQLite .h files. In other words, GNU APL requires SQLite. I >> think he wants it to only use SQLite when ./configure finds it. >> >> >> On Mon, Jul 14, 2014 at 9:02 PM, Elias Mårtenson <loke...@gmail.com> >> wrote: >>> >>> Did you mean <sqlite3.h>? Then that is actually correct. ResultValue is >>> specific to the SQLite provider. If SQLite support is not enabled, that file >>> shouldn't be compiled. >>> >>> Perhaps it would be best if that file is renamed SqliteResultValue... >>> >>> Regards, >>> Elias >>> >>> >>> On 15 July 2014 01:36, Juergen Sauermann <juergen.sauerm...@t-online.de> >>> wrote: >>>> >>>> Hi, >>>> >>>> should be fixed in SVN 374. >>>> >>>> The sqlite should be optional - Elias, there is a >>>> >>>> #include "apl-sqlite.hh" >>>> >>>> in ResultValue.hh - that looks wrong. >>>> >>>> execinfo is a separate lib on some platforms and part of glibc on >>>> others. >>>> It is OK if the test for it fails. >>>> >>>> /// Jürgen >>>> >>>> >>>> >>>> iOn 07/14/2014 02:37 PM, Blake McBride wrote: >>>> >>>> Greetings, >>>> >>>> I installed GNU APL on raw LinuxMint 16 and 17 and came up with the >>>> following differences from what is stated in the README-1-prerequisits >>>> file. >>>> Note that since LinuxMint is built on to of Ubuntu, Ubuntu installs should >>>> be the same. >>>> >>>> 1. Although ./configure worked out-of-the-box without warnings, APL did >>>> not build. It failed. In order to get it to build, I had to install the >>>> following packages (which were not checked/verified by the configure >>>> script, >>>> but are _required_): >>>> >>>> texinfo >>>> g++ >>>> libsqlite3-dev >>>> (should probably install sqlite3 too) >>>> >>>> >>>> Note that requiring sqlite3-dev is a surprise. >>>> >>>> 2. The list of suggested packages given in README-1-prerequisits is >>>> incorrect or out-of-date. It should be: >>>> >>>> liblapack-dev >>>> libreadline-dev (or libreadline6-dev) - there is no >>>> libreadline5-dev >>>> libncurses5-dev - there is no ncurses-dev >>>> libpq-dev (if PostgreSQL support is desired) >>>> >>>> 3. I noticed that the system can't find library execinfo. Where is >>>> that? (What package might that be in? I can't find it.) >>>> >>>> Thanks. >>>> >>>> Blake >>>> >>>> >>> >> >
1
Description: Binary data