gpt4 book ai didi

ubuntu - 找不到 graphicsmagick ......但它已安装?

转载 作者:行者123 更新时间:2023-12-04 19:17:13 26 4
gpt4 key购买 nike

我正在使用 mupx 部署 meteor 构建。 Graphicsmagick 安装在系统上(以及 imagemagick),两者都在 ubuntu 14.04 上使用 apt-get。尝试转换图像时,我的应用程序失败。这是我得到的错误:

[wyno.io] FS.Transform.createWriteStream transform function failed, Error: 
[wyno.io] Exception in queued task: Error: cfs:graphicsmagick could not find "graphicsMagick" or "imageMagick"
[wyno.io] at gm (packages/cfs_graphicsmagick/packages/cfs_graphicsmagick.js:14:1)
[wyno.io] at Object.FS.Collection.stores.FS.Store.GridFS.transformWrite (both/collections.js:10:1)
[wyno.io] at packages/cfs_storage-adapter/packages/cfs_storage-adapter.js:355:1
[wyno.io] at addPassThrough (packages/cfs_storage-adapter/packages/cfs_storage-adapter.js:421:1)
[wyno.io] at [object Object].FS.Transform.createWriteStream (packages/cfs_storage-adapter/packages/cfs_storage-adapter.js:352:1)
[wyno.io] at Object.self.adapter.createWriteStream (packages/cfs_storage-adapter/packages/cfs_storage-adapter.js:171:1)
[wyno.io] at saveCopy (packages/cfs_worker/packages/cfs_worker.js:180:1)
[wyno.io] at Object.fsCollection.files.find.observe.added (packages/cfs_worker/packages/cfs_worker.js:42:1)
[wyno.io] at [object Object].observeChangesCallbacks.added (packages/minimongo/observe.js:153:1)
[wyno.io] at self.applyChange.added (packages/minimongo/observe.js:53:1)

最佳答案

看起来解决方案是手动安装,而不是通过 apt-get。以下是这样做的步骤:

  • 从他们的 ftp 服务器获取 tar gz 文件。确保获得可用的最新 .tar.gz 版本。
    $ wget ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/1.3/GraphicsMagick-1.3.1.tar.gz
  • $ tar -xvzf GraphicsMagick-1.3.1.tar.gz
  • $ cd GraphicsMagick-1.3.1/
  • $ ./configure
  • $ make
  • $ make install

  • 如果您的服务器上没有 c 编译器,则有一个步骤 3.5: sudo apt-get install build-essential

    关于ubuntu - 找不到 graphicsmagick ......但它已安装?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33228992/

    26 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com