IRC Logs

Log of #ghostscript at irc.freenode.net.

Search:
 <<<Back 1 day (to 2015/03/07)20150308 
AntumDeluge After cloning the master branch of ghostpdl can I check out ghostscript only?04:18.56 
  Trying to build from master branch I'm getting the same error I had been getting with 9.15: No rule to make target 'obj/mag16.dev', needed by 'obj/ld.tr'04:42.33 
  I followed these instructions to get past some incompatiblies with old libraries bundled with ghostscript: http://www.linuxfromscratch.org/blfs/view/svn/pst/gs.html04:44.19 
  is this a specific driver that I can disable?04:46.54 
kens I'm not sure, and the build expert is not here right now, let me look04:55.13 
  Well my Windows build doesn't incllude it,'ll have to look in the makefile04:56.24 
AntumDeluge I'm looking in it myself, but I haven't figured anything out yet.04:56.59 
kens My first suggestionwould be *not* to use shared libraries04:57.16 
  The ghostscript source is built using the 3rd party source supplied, we know that works, we don't know anything raries system lt compatibility with your speci04:57.56 
AntumDeluge So I'm going to have to link statically against libtiff, iconv, etc.?04:57.58 
kens I would suggest you at least start that way04:58.13 
  Well I can't find any reference to 'mag16.dev'04:59.06 
  I'll boot a Linux VM and look th04:59.16 
AntumDeluge I found "mag16" in configure.ac. I'm going to try deleting it reconfiguring.05:01.40 
kens OK so it is present in ld.tr on Linux05:01.47 
  and in Makefile05:02.22 
  Hmm there's also a mag256.dev05:04.11 
  It looks like you may be able to do without it05:05.29 
  grep gdevprn *.dev05:05.40 
  oops ;-)05:05.48 
  OK its a contributed driver for a printer only ever sold in Japan, you can safely remove it.05:09.35 
AntumDeluge The configuration output that contributed drivers were disabled. It wouldn't even let me enable them.05:10.21 
  Sounds like there might be a bug in the autotools scripts.05:10.45 
kens Well, that's possible, but it work OS'ss on Linux and other *nix ali05:11.16 
  Sorry my track pad is playing up05:11.34 
  It works on Linux and other *nix-like OS's05:11.49 
AntumDeluge Could be an issue with MSYS2's autotools.05:11.54 
kens Sadly I know nothing about autotools and our build expert is on vacation until the end of next week05:12.33 
AntumDeluge I know one thing about autotools....05:13.50 
  I hate them. >.<05:13.54 
  ...when they don't work.05:13.59 
kens If all the contributed devices are unavailable it sounds like you are gong to have a long series of problems05:14.09 
AntumDeluge I'm going to have to figure out which devices are contributed and remove them from the Makefile.05:14.44 
kens There are quite a few, but they are all in contrib and its sub-folders I believe05:15.29 
  Unfortunately this is not a good week to be asking qwuestions as we have just finished a company staff meeting and several developers are taking vacation now, since we had to fly to the US.05:16.34 
AntumDeluge But this is the week that I need to get it done. :p05:16.58 
kens Also, a few of us time of night, generallyd at thare based in Europe, and so we are not arou05:17.04 
  Grr, stupi track pad05:17.13 
  Quite a few of us are based in Europe, and are not generally around at this time of night05:17.37 
  Its 5:20 am back home, I'm only online as I'm sitting in a hotel room until I fly bavck tomorrow05:18.12 
  Its 'possible' that someone with more clue than me will read the logs and comment, so you might like to check the logs over the next few days05:19.14 
AntumDeluge Is this channel logged to a server?05:19.33 
kens Yes indeed05:19.39 
AntumDeluge Could you give me a link?05:19.50 
kens http://ghostscript.com/irclogs/current.html05:20.01 
  Sorry for the delay, I had to go look it up05:20.14 
AntumDeluge Thank you.05:20.14 
kens Well, I'm off to bed, good luck with your build !05:20.49 
AntumDeluge Good night, and thanks again.05:21.07 
  I commented out the entire "DEVICE_DEVS2" variable in the Makefile and it build... though, I don't know the result of doing that. Also, I thought libgs would build along with ghostscript. but, the install only added the executables and manpages.06:01.47 
  Ah, okay. "make so" create the library and dll.06:16.36 
  *creates06:16.42 
  Well, it is built and installed. :)07:31.55 
  Not sure if everything is going to work correctly though.07:32.06 
chrisl AntumDeluge: for the mingw family, the contrib devices should be disabled (they, or some of them, rely on libraries/features not available on there). It *looks* like configure should do it automatically, and give a warning ("disabling contrib devices"). As I don't have a Windows machine here, I can't test it.13:53.02 
  Could you throw your config.log somewhere I can see it? Or even just give me the output from "uname" at your msys shell prompt?13:53.58 
AntumDeluge Yes, it did give that warning, but it failed either way. I think the script ouputs that they are disabled but in reality it leaves them enabled.13:54.46 
  I usually save my config logs, I'll see if I can find it.13:55.03 
chrisl Well, when I do --disable-contrib explicitly, it *definitely* leaves out the contrib devices, and the automatic disabling works the same way13:56.40 
AntumDeluge I tried that as well and it had no effect.13:59.49 
  http://pastebin.com/2en504R613:59.51 
  uname -a: MINGW32_NT-6.1 Jordan_Win7 2.0.0(0.280/5/3) 2014-11-06 20:34 x86_64 Msys14:00.19 
  gcc --version: gcc.exe (Rev2, Built by MSYS2 project) 4.9.214:01.01 
  Note that I am in a 64-bit MSYS environment, but am currently using 32-bit MinGW build tools.14:01.43 
chrisl It shouldn't really matter, the rule is based on the output from uname having the prefix "MINGW". But it's baffling that --disable-contrib didn't work.14:03.26 
kens Morning chrisl14:03.29 
chrisl Good morning kens 14:04.38 
AntumDeluge It may have something to do with my autotools setup.14:04.51 
kens I can have a bash at this on Monday when I get home if it helps14:05.18 
chrisl AntumDeluge: are you not using the default autotools from msys?14:05.30 
AntumDeluge Yes, I am.14:05.38 
chrisl I *know* other people have used it successfully, because I haven't had msys for a couple of years, and all the updates done for that platform have come from, or been tested by, other people.14:06.44 
  kens: it's up to you, but I feel that AntumDeluge has a workaround he can live with, so it might as well wait for me to get back.14:07.57 
AntumDeluge sh --version: GNU bash, version 4.3.33(2)-release (x86_64-pc-msys)14:08.03 
  Ya, I am happy with it at the moment.14:08.22 
kens If the binary works that's fine. I do have a MingW here, but its only 32-bit14:08.26 
AntumDeluge I really just wanted to get libgs build so I could link against it.14:08.33 
kens I'll leave it for you chris :-)14:08.39 
chrisl AntumDeluge: Ah, I will confess that the shared library build has had considerably less use than the executable..... but that *shouldn't* affect the list of devices.14:09.36 
  AntumDeluge: this may seem like an obvious question, but you did do all this using the scripts under "gs" and not in the top level repo directory?14:10.41 
AntumDeluge I'll test it again some time too. I only used the --disable-contrib option once or twice. Wouldn't hurt to confirm it for myself.14:11.03 
  ya, if I understand your questions correctly....14:11.33 
  cd gs && mkdir build-win32 && cd build-win32 && ../configure ....14:11.46 
chrisl Yeh, that should be okay. You could also try building "in tree" (i.e. not using the build-win32 directory) - support for that was only added *fairly* recently, and it may well have issues.14:13.28 
AntumDeluge you mean configuring and building from the gs directory?14:14.05 
chrisl Yes14:14.09 
AntumDeluge Okay, I'll give that a shot next time I feel like tearing my hair out again. ;)14:14.32 
chrisl AntumDeluge: okay, it would be good if you could try out those two things (--diable-contrib, and the in-tree build). As kens said earlier, I'm on vacation, so there's no rush - it'll be at least a week before I can look at it.14:16.09 
kens heads for breakfast14:25.59 
 Forward 1 day (to 2015/03/09)>>> 
ghostscript.com
Search: