Problem with: EPS to png convert & meme_xml_to_html

133 views
Skip to first unread message

Ranajay Saha

unread,
Feb 21, 2023, 2:24:23 AM2/21/23
to MEME Suite Q&A
Hi, I have installed meme 5.5.1 in my MAC OS Ventura 13.1. Also installed Image magic. However, encountered the following errors. Please help:

Warning: 

  • Cannot convert EPS file to PNG as no install of Image Magick or Ghostscript is usable.
  • could not find meme_xml_to_html. The HTML output could not be created.


Please suggest how to fix these problems above.


Thanks

Ranajay

cegrant

unread,
Feb 21, 2023, 1:39:53 PM2/21/23
to MEME Suite Q&A
Hi Ranajay,

These problems suggest that there was an error in building and installing ImageMagic and the MEME Suite. Did you see any error messages or warnings? Did you run the tests after building the MEME Suite? 
It might just be as simple as not updating your PATH environment variable after completing the installation. 

You may want to consider using MacPorts to install the MEME Suite. MacPorts is a widely used package manager for MacOS. Once you have MacPorts installed, installing the MEME Suite is pretty easy, and all the dependencies like Image Magick will automatically be handled. "See theQuick Install using MacPorts (for macOS)" section of the MEME Suite Installation guide. You also have the option of installing Docker and using the MEME Suite Docker image. Both of these avoid the hassle of having to build the MEME Suite from scratch, and we strongly recommend them if you aren't familiar with working on the command line. You do have to install MacPorts or Docker, but those are both standard Macintosh applications installations. 

If you do want to build the MEME Suite from scratch here are some suggested troubleshooting steps:

Check on the installation of GhostScript (GhostScript is the only part of ImageMagick that the MEME Suite actually requires). Run

which -a gs

This should report the directory where GhostScript is installed. If GhostScript is not found by this command then the Image Magick build failed or it was installed in a non-standard location that is not included in your PATH environment variable. You may have to re-run the installation of GhostScript, double checking the build process for any warnings or error messages. If the build and installation was actually successful, but it was installed to a non-standard location, you may want to add that location to your PATH environment variable. Alternatively you can specify where the MEME Suite should find GhostScript by using the '---with-gs' option in the 'configure' command for MEME Suite. See  the "Customizing configuration" section of the MEME Suite Installation guide

Rebuild the MEME Suite from scratch using these commands

make clean # Needed to clean up any partially completed steps of the build
configure <your configure options here>
make &> make.log # Build the software recording all messages in the file make.log
make test &> test.log # Run the tests to make sure the build succeeded.

If you encounter warnings or error messages you don't understand, forward the config.log, make.log, and test.log files to us. That will assist us in troubleshooting.

Ranajay Saha

unread,
Feb 21, 2023, 9:35:37 PM2/21/23
to MEME Suite Q&A

Thanks for your advise. Installing MacPorts solved the problem.

Ranajay
Reply all
Reply to author
Forward
0 new messages