pickle icon indicating copy to clipboard operation
pickle copied to clipboard

Flags does not work correctly.

Open ttodua opened this issue 4 years ago • 3 comments

[Ubuntu 20.04]

I tried to install 'redis' extension, and during installation pickle asks yes/no question to enable flags for that extension. One of such question is:

whether to enable igbinary serializer support (default: no): and inputing there yes still didn't set that flag for that extension, as after successful install, doing

var_dump(\Redis::SERIALIZER_IGBINARY);

gives error about "undefined constant".
(related this and this, where if installed without pickle the flags can be enabled correctly.)

ttodua avatar Jul 20 '21 12:07 ttodua

Did you install and enable the igbinary php extension before installing the redis php extension?

mlocati avatar Jul 20 '21 12:07 mlocati

Ah, it was my first interaction with pickle, and I thought it installed the dependencies automatically in the backgrounds (as composer does). sorry.

ttodua avatar Jul 20 '21 14:07 ttodua

hm. installed igbinary, also shows up in php -m loaded modules, and then tried to re-install redis, with yes parameter, but still no luck, same error shows up. So, I dont know where is the bug, in pickle chain or in redis package.

ttodua avatar Jul 20 '21 14:07 ttodua