Thanks to both of you.
I do not know how to check for the PG_VERSION_NUM. I tried to edit to guc.c
by removing the conditional check of the PG_VERSION but with the same
results:
Adrian, is this what you meant?
DefineCustomRealVariable(
"rdkit.tanimoto_threshold",
"Lower threshold of Tanimoto similarity",
"Molecules with similarity lower than threshold
are not similar by % operation",
&rdkit_tanimoto_smlar_limit,
0.5,
0.0,
1.0,
PGC_USERSET,
0,
(GucRealCheckHook)TanimotoLimitAssign,
NULL,
NULL
);
DefineCustomRealVariable(
"rdkit.dice_threshold",
"Lower threshold of Dice similarity",
"Molecules with similarity lower than threshold
are not similar by # operation",
&rdkit_dice_smlar_limit,
0.5,
0.0,
1.0,
PGC_USERSET,
0,
(GucRealCheckHook)DiceLimitAssign,
NULL,
NULL
);
Regards,
George
On 30 May 2012 12:00, Jan Holst Jensen <[email protected]> wrote:
> On 2012-05-30 11:28, George Papadatos wrote:
>
> Hi Jan,
>
> I followed your advice and I added the new repo, however the problem
> still persists:
>
> [...]
>
>
> Again, *all* the tests fail as do the "create extension" attempts.
>
> I even tried explicit postgresql-9.1 and postgresql-9.2 (beta version)
> but with the same sad results.
>
> Do I do something wrong here, like still installing the default
> postgresql packages and not the "good" ones?
>
>
> Hi George,
>
> Sorry for leading you on a wild goose chase here, but I wasn't sure
> whether you were using custom postgres packages or the standard Ubuntu
> package. As Adrian Schreyer has pointed out, if you are using the
> Ubuntu-supplied packages then you are already using Martin Pitt's build so
> it actually shouldn't make a difference.
>
> > On 12.04 you do not need to add the PPA, PostgreSQL 9.1 is the
> > official package there. In addition, the official packages are also
> > provided by Martin Pitt, so the packages in the PPA and in the distro
> > are actually the same. It only make sense on 10.04 (and those that do
> > not ship with 9.1).
>
> I would go with Adrian's suggestion to check if the PG_VERSION_NUM is
> somehow mis-reported on your system. In fact, I will see if I still have
> the Linux Mint VM (that also has this behavior) somewhere and check it on
> that system too.
>
> Cheers
> -- Jan
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss