octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MXE Octave: Cannot find Ghostscript


From: Anirudha Bose
Subject: Re: MXE Octave: Cannot find Ghostscript
Date: Sun, 30 Jun 2013 20:34:32 +0530

On Sun, Jun 30, 2013 at 7:32 PM, Michael Goffioul <address@hidden> wrote:
On Sun, Jun 30, 2013 at 4:12 AM, Anirudha Bose <address@hidden> wrote:
I am natively compiling mxe-octave during which the package pstoedit failed to build because of the following error.

checking for gs... no
configure: error: ** Cannot find ghostscript. If it is already installed, Check PATH.
make[1]: *** [build-only-pstoedit] Error 1
make[1]: Leaving directory `/home/ani/mxe-octave'


As a matter of fact, I have Ghostscript installed in the path C:\gs\gs9.07\
I have also added the path C:\gs\gs9.07\bin to the Path environment variable. I am unable to figure out why Ghostscript is not found by pstoedit (entering gswin32 in the shell opens Ghostscript, so my environment variable settings are correct). I also added another variable GS with the same path but it didn't work. What am I doing wrong?

If the pstoedit configure script is looking for "gs" executable, then it's normal it's failing. Under Windows, the executable is called gswin32 or gswin32c. If this is not fixed upstream in some newer version of pstoedit, then we'll have to patch pstoedit to handle the Windows case properly.

Michael.

I tried to explicitly provide Ghostscript's path by doing the following in a separate copy of pstoedit for a trial.
    ./configure ac_cv_path_GS="/c/gs/gs9.07/bin'

Here are some extracts of the results found in config.log:

GS='/c/gs/gs9.07/bin'

configure:15522: checking for gs
configure:15552: result: /c/gs/gs9.07/bin

However I have noticed some errors in the logs too. See some of them below:

configure:15620: checking for pkg-config
configure:15653: result: no


| #include <mingpp.h>
configure:16396: result: no
configure:16396: checking for mingpp.h
configure:16396: result: no
configure:16413: WARNING: ** libming driver is disabled.


configure:16551: checking for Magick++-config
configure:16584: result: no
configure:16628: WARNING: ** libMagick++ driver is disabled.


configure:16731: checking for main in -lEMF
configure:16750: g++ -o conftest.exe -g -O2  -D_LITTLE_ENDIAN  conftest.cpp -lEMF -lm  >&5
c:/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe: cannot find -lEMF
collect2.exe: error: ld returned 1 exit status

configure:16770: WARNING: ** Cannot find libEMF. libEMF supports are disabled.

Compilation was successful and Ghostscript was included in this build. But I concerned about the above errors. Should I continue with this build?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]