[tex-live] Package name of dvipdfmx cause warning messages

Dr. Werner Fink werner at suse.de
Tue Jan 14 08:40:58 CET 2014


On Mon, Jan 13, 2014 at 03:36:18PM +0100, Peter Breitenlohner wrote:
> On Mon, 13 Jan 2014, Dr. Werner Fink wrote:
> 
> >I've a report here for dvipdfmx and dvipdfm with
> >
> >  ** WARNING ** Could not open config file "dvipdfmx.cfg".
> >
> >and verified this.  If I change in /etc/texmf/web2c/texmf.cnf
> >
> >  DVIPDFMXINPUTS = $TEXMF/dvipdfmx
> >
> >to
> >
> >  DVIPDFM-XINPUTS = $TEXMF/dvipdfmx
> 
> Hi,
> 
> DVIPDFM-XINPUTS or DVIPDFM_XINPUTS?
  ^^^^^^^^^^^^^^^

This one ... the orthee I've tried first but it does not work.

> 
> >the configuration file are found again.  ...
> 
> that is really strange.  In dvipdfmx.c there is
>   kpse_set_program_name(argv[0], "dvipdfmx");
> causing kpse->program_name to be "dvipdfmx".
> This will set the default search path for dvipdfmx.cfg to
>   ".;$TEXMF/dvipdfmx"
> and use the name DVIPDFMXINPUTS as texmf.cnf and environment variable.

The code tells me that some parts for the file search uses the
macro PACKAGE and not argv[0] ... see src/dpxfile.c .. and this not
only for MIKTEX

> 
> As you can see from the shell sripts texk/dvipdfm-x/*dvipdfm*.test used for
> the runtime checks dvipdfmx and dvipdfm both honor DVIPDFMXINPUTS from the
> environment.
> 
> Perhaps you can run '(x)dvipdfmx --kpathsea-debug=2047' to see what happens.

In the meanwhile I'm using:

--- texk/dvipdfm-x/configure.ac
+++ texk/dvipdfm-x/configure.ac 2014-01-13 11:10:27.000000000 +0000
@@ -6,7 +6,7 @@ dnl   This file is free software; the co
 dnl   gives unlimited permission to copy and/or distribute it,
 dnl   with or without modifications, as long as this notice is preserved.
 dnl
-AC_INIT([dvipdfm-x], [20130405], [tex-k at tug.org])
+AC_INIT([dvipdfmx], [20130405], [tex-k at tug.org])
 AC_PREREQ([2.65])
 AC_CONFIG_SRCDIR([src/dvipdfmx.c])
 AC_CONFIG_AUX_DIR([../../build-aux])
--- texk/dvipdfm-x/configure
+++ texk/dvipdfm-x/configure    2014-01-13 11:11:08.000000000 +0000
@@ -7883,7 +7883,7 @@ fi
 
 
 # Define the identity of the package.
- PACKAGE='dvipdfm-x'
+ PACKAGE='dvipdfmx'
  VERSION='20130405'

which works perfect.  But I'll reinstall the old tree and retry with
the kpathsea debug command line 


Werner

-- 
  "Having a smoking section in a restaurant is like having
          a peeing section in a swimming pool." -- Edward Burr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex-live/attachments/20140114/ab7c176d/attachment.bin>


More information about the tex-live mailing list