Re: Imagick version?
On 5/24/16 11:50 AM, Bjarne D Mathiesen wrote: Ryan Schmidt wrote: 3) in my experience, I always have to force rebuild php\d{2}-imagick whenever ImageMagick is updated Out of curiosity, what problems did you encounter, other than the warning message, if you did not rebuild? just got the error-message whenever I ran a script - and I've got some php scripts that're running monthly / weekly / daily / 15 min ; but should only send me an email if they encounter problems - and this was regarded as a problem ;-) so I got a lot of un-necessary error reports FYI, the latest update of ImageMagick appears to have fixed the warnings. I also had not seen any specific problems, just the warnings. But you know, when a program tells you it may be incompatible with a dependency's version, it's probably best to look into upgrading one or downgrading the other. -- Bill Christensen http://SustainableSources.com http://LinkedIn.com/in/billc108 ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Imagick version?
Ryan Schmidt wrote: >> 3) in my experience, I always have to force rebuild php\d{2}-imagick >> whenever ImageMagick is updated > > Out of curiosity, what problems did you encounter, other than the warning > message, if you did not rebuild? just got the error-message whenever I ran a script - and I've got some php scripts that're running monthly / weekly / daily / 15 min ; but should only send me an email if they encounter problems - and this was regarded as a problem ;-) so I got a lot of un-necessary error reports -- Bjarne D Mathiesen Korsør ; Danmark ; Europa -- denne besked er skrevet i et totalt M$-frit miljø MacOS X 10.11.5 El Capitan (15F34) 2 x 3,46 GHz 6-Core Intel Xeon ; 48 GB 1333 MHz DDR3 ECC ATI Radeon HD 5770 1024 MB ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Imagick version?
> On May 24, 2016, at 7:22 AM, Bjarne D Mathiesen> wrote: > > Joshua Root wrote: >> Bjarne D Mathiesen wrote: >>> You'll just have to re-compile php55-imagick : >>> >>> This will take care of all of your php\d{2}-imagick versions >>> >>> port -q installed name:imagic \ >>> | while read -a port >>>do port -n upgrade --force ${port[0]} >>> done >>> >>> but more explicitly for just php55-imagick : >>> >>> port -n upgrade --force php55-imagick >> >> That doesn't necessarily recompile the port, it reinstalls it (quite >> possibly from the same binary archive as before). If you really need to >> force a build from source, you have to use -s. >> >> But if there really is a problem that requires a rebuild, the maintainer >> should bump the revision so everyone gets the rebuilt version. >> > > OK - I can see where the problem is then : > I'm always (implicitly) building from source, so this approach works for > me ; but for people installing from binaries, it doesn't work. > > So it'll have to be : > > port -n -s upgrade --force php55-imagick > > As to a rev-bump > 1) there's no revision number in the portfile In the absence of a revision line, the revision is 0. In that case, one can add a "revision 1" line to bump the revision. I've done this: https://trac.macports.org/changeset/148985 And added a comment to remind myself to do this in the future: https://trac.macports.org/changeset/148987 > 2) # $Id: Portfile 146488 2016-03-09 20:44:32Z ryandes...@macports.org $ > 3) in my experience, I always have to force rebuild php\d{2}-imagick > whenever ImageMagick is updated Out of curiosity, what problems did you encounter, other than the warning message, if you did not rebuild? ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Imagick version?
Joshua Root wrote: > Bjarne D Mathiesen wrote: >> You'll just have to re-compile php55-imagick : >> >> This will take care of all of your php\d{2}-imagick versions >> >> port -q installed name:imagic \ >> | while read -a port >> do port -n upgrade --force ${port[0]} >> done >> >> but more explicitly for just php55-imagick : >> >> port -n upgrade --force php55-imagick > > That doesn't necessarily recompile the port, it reinstalls it (quite > possibly from the same binary archive as before). If you really need to > force a build from source, you have to use -s. > > But if there really is a problem that requires a rebuild, the maintainer > should bump the revision so everyone gets the rebuilt version. > OK - I can see where the problem is then : I'm always (implicitly) building from source, so this approach works for me ; but for people installing from binaries, it doesn't work. So it'll have to be : port -n -s upgrade --force php55-imagick As to a rev-bump 1) there's no revision number in the portfile 2) # $Id: Portfile 146488 2016-03-09 20:44:32Z ryandes...@macports.org $ 3) in my experience, I always have to force rebuild php\d{2}-imagick whenever ImageMagick is updated -- Bjarne D Mathiesen Korsør ; Danmark ; Europa -- denne besked er skrevet i et totalt M$-frit miljø MacOS X 10.11.5 El Capitan (15F34) 2 x 3,46 GHz 6-Core Intel Xeon ; 48 GB 1333 MHz DDR3 ECC ATI Radeon HD 5770 1024 MB ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Imagick version?
Bjarne D Mathiesen wrote: You'll just have to re-compile php55-imagick : This will take care of all of your php\d{2}-imagick versions port -q installed name:imagic \ | while read -a port do port -n upgrade --force ${port[0]} done but more explicitly for just php55-imagick : port -n upgrade --force php55-imagick That doesn't necessarily recompile the port, it reinstalls it (quite possibly from the same binary archive as before). If you really need to force a build from source, you have to use -s. But if there really is a problem that requires a rebuild, the maintainer should bump the revision so everyone gets the rebuilt version. - Josh ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Imagick version?
Bill Christensen wrote: > Thanks. > > I ran the force upgrade and restarted Apache. > > I'm still seeing the same warning though with ImageMagick @6.9.4-1_0+x11 > > Next suggestion? Doing a force rebuild of php55-imagick has always done it for me ?!? But as far as I know, it's safe to ignore the warning, as the API in ImageMagick hasn't changed. -- Bjarne D Mathiesen Korsør ; Danmark ; Europa -- denne besked er skrevet i et totalt M$-frit miljø MacOS X 10.11.5 El Capitan (15F34) 2 x 3,46 GHz 6-Core Intel Xeon ; 48 GB 1333 MHz DDR3 ECC ATI Radeon HD 5770 1024 MB ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Imagick version?
Thanks. I ran the force upgrade and restarted Apache. I'm still seeing the same warning though with ImageMagick @6.9.4-1_0+x11 Next suggestion? On Mon, May 23, 2016 at 2:56 AM, Bjarne D Mathiesen < macint...@mathiesen.info> wrote: > You'll just have to re-compile php55-imagick : > > This will take care of all of your php\d{2}-imagick versions > > port -q installed name:imagic \ > | while read -a port > do port -n upgrade --force ${port[0]} > done > > but more explicitly for just php55-imagick : > > port -n upgrade --force php55-imagick > > You'll have to re-start Apache also after having made this change ;-) > > -- > Bjarne D Mathiesen > Korsør ; Danmark ; Europa > -- > denne besked er skrevet i et totalt M$-frit miljø > MacOS X 10.11.5 El Capitan (15F34) > 2 x 3,46 GHz 6-Core Intel Xeon ; 48 GB 1333 MHz DDR3 ECC > ATI Radeon HD 5770 1024 MB > ___ > macports-users mailing list > macports-users@lists.macosforge.org > https://lists.macosforge.org/mailman/listinfo/macports-users > ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Imagick version?
Hey all, One of my servers is running the latest php5.5 on Mac 10.9.5. The last few updates of ImageMagick have resulted in this warning when I run any updates using the WordPress command line interface (wp-cli.org): PHP Warning: Version warning: Imagick was compiled against Image Magick version 1682 but version 1684 is loaded. Imagick will run but may behave surprisingly in Unknown on line 0 If I switch the active version back a few updates to ImageMagick @6.9.2-10_1+x11, the warnings go away. I tried installing php55-imagick 3.4.1, but no change. Anyone know if this is a real problem, or can I just ignore the warnings and run ImageMagick @6.9.4-1_0+x11? Or what I can do to get a compatible Imagick version? Thanks! -- Bill Christensen http://SustainableSources.com http://LinkedIn.com/in/billc108 ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users