Hi Gustaf,
> Can it be, that you have an old version of the modules tar file?
>
The directory /usr/local/src was clean. I removed everything before starting
the upgrade process.
> You mentioned in another post, that you have modified the install script.
>
That was to install latest TCL (v.8.6) and tDOM (v.0.9) . As I noticed you got
the scripts updated with those libraries, I’ve deleted my scripts and cloned
yours.
> Can your modification be the cause?
>
I've cloned the script from Github’s repository. I've done no modifications.
>> https://github.com/gustafn/install-ns.git
>> <https://github.com/gustafn/install-ns.git>
Before, installing Naviserver, I ran apt-get update and apt-get upgrade.
Afterwards, If there were URLs pointed pointing to old version of the modules,
they were downloaded automatically.
The box I ran the script is :
iuri@iurix:~$ echo $(uname)
Linux
Thus, It probably got into the loop
if [ -f "/etc/debian_version" ] ; then
debian=1
if [ $with_postgres = "1" ] ; then
pg_packages="postgresql libpq-dev"
fi
However, lipq-dev was installed properly.
Well, this server is very old. It’s a Debian Linux, from 2005. Since then, I
always run upgrades and never rebuild the machine. Perhaps, there was a very
old library running still. I can’t tell. Anyway, I resolved the problem, by
installing pg9.5, via backports.
Best wishes,
Iuri
> On Apr 2, 2018, at 04:51, Gustaf Neumann <neum...@wu.ac.at> wrote:
>
> On 4/2/18 4:43 AM, Iuri Sampaio wrote:
>> In attempt to upgrade Naviserver to v.4.99.16 I’ve got the following error,
>> running the current installation script install-ns.sh, available at GIT
>> repository https://github.com/gustafn/install-ns.git
>> <https://github.com/gustafn/install-ns.git>
>>
>> Operating System: Debian 7 (wheezy)
>> Database: PostgreSQL 9.1 (installed via apt-get install)
>>
>> Isn’t PGRES_SINGLE_TUPLE a processor MACRO on Postgres scripts?
> As far i can see, this problem was fixed on 2017-12-11 [1], which was before
> the release date of NaviServer 4.99.16 (on 2017-12-29). So, the released tar
> file of the modules (naviserver-4.99.16-modules.tar.gz) should contain this
> fix. If the install script is running successfully, it always gets the
> modules tar file and recompiles everything.
> Can it be, that you have an old version of the modules tar file? You
> mentioned in another post, that you have modified the install script. Can
> your modification be the cause?
> all the best
>
> -gn
> [1]
> https://bitbucket.org/naviserver/nsdbpg/commits/5a5fa7547f5b64233891a3e4d3077527b37feffc
>
> <https://bitbucket.org/naviserver/nsdbpg/commits/5a5fa7547f5b64233891a3e4d3077527b37feffc>------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org!
> http://sdm.link/slashdot_______________________________________________
> naviserver-devel mailing list
> naviserver-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/naviserver-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel