Log of #ghostscript at irc.freenode.net.

Search:
 <<<Back 1 day (to 2017/04/03)20170404 
StevePhillips If you are building Ghostscript for macOS, you will need to install X11 manually if you want to generate output using one of the x11 drivers. X11 is no longer included as part of the standard macOS install. The open-source X11 driver can be found athttp://www.xquartz.org. Download the .dmg file (e.g. XQuartz-2.7.11.dmg) and double-click to open it. Then double-click on XQuartz.pkg to install X11....02:36.22 
  ...You must restart your Mac before continuing or the X11 drivers will not be available. After restart, autogen.sh will configure the X11 drivers by default.02:36.23 
  If you encounter any errors, double-check that the DISPLAY environment variable is pointing to a valid X device:02:36.25 
  echo $DISPLAY02:36.26 
  should show something like:02:36.28 
  /private/tmp/com.apple.launchd.sNyh3PmiJg/org.macosforge.xquartz:002:36.29 
  This method works with the latest version of macOS Sierra (version 10.12.4). 02:36.31 
tor8 mupdf 1.11-rc1 is out. I've updated http://mupdf.com/news and uploaded source archive and windows builds to http://mupdf.com/downloads/09:38.06 
divya hi10:03.19 
ghostbot Welcome to #ghostscript, the channel for Ghostscript and MuPDF. If you have a question, please ask it, don't ask to ask it. Do be prepared to wait for a reply as devs will check the logs and reply when they come on line.10:03.19 
divya my device is arm based linux device, I am trying to load mupdf in my device.10:03.59 
  I have downloaded source code and trying to cross-compile according to my platform, but all binaries are building but mupdf-x11 binary is not building can you please help me10:05.17 
kens Do you have X11 installed ?10:05.30 
  dumb question, but....10:05.39 
divya Yes We have installed X11.10:06.12 
kens Let me prod someone who understands ARM10:06.27 
divya mutool and mupdf-x11 binaries are not buiding.10:06.41 
Robin_Watts divya: Hi.10:07.09 
divya My device is freescale IMx6 device with kernal 3.010:07.14 
Robin_Watts If you want me to comment, then you need to give me the actual errors. Can you pastebin everything from the build log please?10:08.36 
divya make CC=arm-none-linux-gnueabi-gcc AR=arm-none-linux-gnueabi-ar OS=linux CC build/release/platform/gl/gl-font.o In file included from platform/gl/gl-app.h:8:0, from platform/gl/gl-font.c:15: thirdparty/glfw/include/GLFW/glfw3.h:154:21: fatal error: GL/gl.h: No such file or directory compilation terminated. make: *** [build/release/platform/gl/gl-font.o] Error 110:09.58 
  Can you please verify log and help me?10:10.28 
tor8 divya: try make HAVE_GLFW=no10:10.36 
divya ok I wil try10:10.56 
Robin_Watts divya: You are missing the glfw optional library, that is required for making mupdf-gl.10:11.07 
tor8 or install the packages listed in the README in the last paragraph under the COMPILING header10:11.10 
  mesa-common-dev, libgl1-mesa-dev, xorg-dev, libxcursor-dev, libxrandr-dev, and libxinerama-dev.10:11.43 
divya make CC=arm-none-linux-gnueabi-gcc AR=arm-none-linux-gnueabi-ar OS=linux HAVE_GLFW=no LINK build/release/muraster /opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/../arm-fsl-linux-gnueabi/multi-libs/default/usr/lib/libm.a(fesetround.o): In function `fesetround': fesetround.c:(.text+0x78): undefined reference to `_dl_hwcap' /opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-mu10:11.50 
Robin_Watts divya: Urm... so, a function in your libm is missing a dependency.10:12.48 
  That doesn't sound like our problem, frankly.10:12.55 
divya can you please mention what dependencied required to build MUPDF successfully10:13.29 
Robin_Watts divya: a) The list is given in the README file that tor just pointed you at.10:13.59 
  b) libm is one of the most basic libs in the system. It provides the standard mathematical functions. If it's dependencies aren't there, then broadly, your system is screwed.10:15.33 
  s/it's/its/10:15.44 
tor8 divya: googling for _dl_hwcap it seems to be a common problem when cross compiling for raspberry pi10:15.57 
  so I'd check and double check that your cross compilation environment is set up correctly10:16.42 
divya I have all the dependencies what you have mentioned in readme, but still it is not building10:19.02 
tor8 divya: http://stackoverflow.com/questions/13626726/an-error-building-qt-libraries-for-the-raspberry-pi#1362694610:20.47 
divya already i have libdl.so library in my device10:43.00 
  helo11:05.05 
  can anyone help me to build mupdf?11:12.10 
kens divya : You've had an answer, your cross-compilation environment is broken, you need to fix it.11:12.39 
divya i didin,t get you11:13.06 
  i didn't get you11:13.22 
kens tor8 pointed out that the error you are getting is a common one, nothing to do with compiling MuPDF. He then pointed you to a stack overflow question which contains some answers for your type of problem.11:13.45 
  Obviously we do not have the same environment as you do, so you will need to go and read those answwers, check them against your environment, and apply the relevant fix.11:14.25 
 Forward 1 day (to 2017/04/05)>>> 
ghostscript.com
Search: