Re: fmtutil: config file `fmtutil.cnf' not found.

2003-02-28 Thread MARK ROBERT HALE

Hi,

The precise problem also occurs on Sun Solaris 9 for Intel (not
Sparc). I have not even had time to track it down in any
detail (I just reboot to Linux), but would really like to see
a solution. I'll try looking at it tonight, if no one else
has any great ideas.

I'm using gcc rather than sun compilers, by the way, if that's
relevant.

Mark

On Thu, 27 Feb 2003, Lukas Keller wrote:


  Hi,

I am trying to compile and install tetex-2.0.1 on a Sun Sparcstation 20
 running Solaris 2.6 (uname -a: SunOS bineshi 5.6 Generic_105181-33 sun4m sparc
 SUNW,SPARCstation-20) using gcc2.8.1 .

I've come across a problem I don't seem to be able to solve myself. Any
 help would be most appreciated.

When issuing 'make world' I get the following error message:

 ==

 if test -f /local2/teTeX/bin/fmtutil; then \
   TEXMFMAIN=/local2/teTeX/share/texmf
 PATH=/local2/teTeX/bin:/local2/teTeX/bin:usr/sbin:/usr/bin:/usr/local:/usr/loc
 al/bin:/usr/openwin/bin:/usr/openwin/lib:/usr/etc:/usr/ccs/bin:/usr/include/X1
 1:/usr/ucb \
 /local2/teTeX/bin/fmtutil --all; \
 else :; fi
 fmtutil: config file `fmtutil.cnf' not found.
 *** Error code 255
 make: Fatal error: Command failed for target `install'

 ==


 The file in question does exist at /local2/teTeX/share/texmf/web2c but somehow
 make doesn't find it. I had a look around and saw that other people have had
 similar problems. They were solved when they realized that an environment
 variable (TEXMF) had inadvertently been set. The output of 'env' on my machine
 (see below) does not suggest the presence of any such environment variable.

 Any ideas what I might be doing wrong?

 Many thanks,

 Lukas

 ===

 # env
 AB_CARDCATALOG=/usr/dt/share/answerbooks/en_US/ab_cardcatalog
 BIBFRM_BIBLIO=/home2/lfkeller/text/bibtex/masterbiblio.bib.new
 BIBFRM_SUMUP=/home2/lfkeller/text/bibtex/bibfrm
 BPHOME=/local2/bp/bp-0.2.97/lib
 CC=/usr/local/bin/gcc
 CLASSPATH=/local2/netscape/plugins
 CXX=/usr/local/bin/g++
 DELEGATE_PATH=/usr/local/share/ImageMagick/delegates.mgk
 DISPLAY=:0.0
 DTAPPSEARCHPATH=/home2/lfkeller/.dt/appmanager:/etc/dt/appconfig/appmanager/%L
 :/
 etc/dt/appconfig/appmanager/C:/usr/dt/appconfig/appmanager/%L:/usr/dt/appconfi
 g/
 appmanager/C
 DTDATABASESEARCHPATH=/home2/lfkeller/.dt/types/fp_dynamic,/home2/lfkeller/.dt/
 ty
 pes,/etc/dt/appconfig/types/%L,/etc/dt/appconfig/types/C,/usr/dt/appconfig/typ
 es
 /%L,/usr/dt/appconfig/types/C
 DTHELPSEARCHPATH=/home2/lfkeller/.dt/help/lfkeller-bineshi-0/%H:/home2/lfkelle
 r/
 .dt/help/lfkeller-bineshi-0/%H.sdl:/home2/lfkeller/.dt/help/lfkeller-bineshi-0
 /%
 H.hv:/home2/lfkeller/.dt/help/%H:/home2/lfkeller/.dt/help/%H.sdl:/home2/lfkell
 er
 /.dt/help/%H.hv:/usr/dt/appconfig/help/%L/%H:/usr/dt/appconfig/help/%L/%H.sdl:
 /u
 sr/dt/appconfig/help/%L/%H.hv:/usr/dt/appconfig/help/C/%H:/usr/dt/appconfig/he
 lp
 /C/%H.sdl:/usr/dt/appconfig/help/C/%H.hv
 DTSCREENSAVERLIST=StartDtscreenSwarm StartDtscreenQix StartDtscreenFlame
 Sta
 rtDtscreenHop StartDtscreenImage StartDtscreenLife StartDtscreenRotor
 StartD
 tscreenPyro StartDtscreenWorm StartDtscreenBlank
 DTUSERSESSION=lfkeller-bineshi-0
 DTXSERVERLOCATION=local
 EDITOR=/usr/dt/bin/dtpad
 GDE_HELP_DIR=/local2/genetics/GDE/GDEHELP
 GISBASE=/local2/gis/grass/grass4.3_sol26
 GISDBASE=/home2/lfkeller/grouse/tenuis/gisdata
 GROUP=keller
 GTAGDB=GTAGDB:/home2/lfkeller/GTAGDB:/local2/genetics/staden_solaris_2002.0/ta
 bl
 es/GTAGDB
 HELPPATH=/home2/lfkeller/survival/SURPH
 HOME=/home2/lfkeller
 HOST=bineshi
 HOSTTYPE=sun4
 INFOPATH=/usr/local/info
 LANG=en_US
 LC_COLLATE=en_US
 LC_CTYPE=en_US
 LC_MESSAGES=C
 LC_MONETARY=en_US
 LC_NUMERIC=en_US
 LC_TIME=en_US
 LOGNAME=lfkeller
 LPDEST=speckundeier
 MACHINE=solaris
 MACHTYPE=sparc
 MAIL=/var/mail/lfkeller
 MANPATH=/usr/share/man:/usr/local/man:/usr/man:/usr/openwin/share/man:/usr/ope
 nw
 in/man:/usr/dt/share/man:/usr/dt/man:/usr/demo/SOUND/man:/usr/demo/link_audit/
 ma
 n:/local2/utils/uudeview-0.5.13/man:/local2/teTeX/man:/opt/SUNWrtvc/man:/opt/S
 Gw
 orkman/man:/local2/texinfo-3.9/man:/local2/utils/XPostitPlus-2.3/man-d:/local2
 /g
 is/grass/grass4.3_sol26/man
 MOZILLA_HOME=/local2/netscape
 NPX_PLUGIN_PATH=/local2/netscape/plugins:/opt/Acrobat4/Browsers/sparcsolaris:/
 us
 r/j2se/jre/plugin/sparc/ns4/
 OPENWINHOME=/usr/openwin
 OSTYPE=solaris
 PATH=usr/sbin:/usr/bin:/usr/local:/usr/local/bin:/usr/openwin/bin:/usr/openwin
 /l
 ib:/usr/etc:/usr/ccs/bin:/usr/include/X11:/usr/ucb
 PEDSYS=/local2/pedigree/pedsys2.0
 PRINTER=speckundeier
 PS1=#
 PWD=/home2/lfkeller
 RTF2LATEX2E_DIR=/usr/local/rtf2latex2e
 RTFPATH=/usr/local/lib/latex2rtf
 SESSION_SVR=bineshi
 SHELL=/usr/local/bin/tcsh
 SHLVL=1
 STADENROOT=/local2/genetics/staden_solaris_2002.0
 STADENROOT_2002=/local2/genetics/staden_solaris_2002.0
 STADLIB=/local2/genetics

Re: fmtutil: config file `fmtutil.cnf' not found.

2003-02-28 Thread [EMAIL PROTECTED]
LUkas,

Try having a look at a previous problem I posted---it looks the same 
to me. Apparently, your system is not detected as UNIX at some points. 
Thomas Esser gave me a solution. The thread subject was kpathsea and 
BeOS. (Sorry, but do not have access to the message text now, so I 
can not give you the exact solution).

Regards,

Alberto Molina



Re: fmtutil: config file `fmtutil.cnf' not found.

2003-02-28 Thread Lukas Keller

Hi again,

   Many thanks to Alberto Molina for directing me toward the solution for the 
problem. The issue had come up before with BeOS, and Thomas Esser's suggested 
solution can be found at:
   
   http://www.mail-archive.com/[EMAIL PROTECTED]/msg01805.html
   
   I followed this and added the following to my cnf.c:
   
 #elif defined (_sparc_)
 #define unix
   
   This solved the problem and everything worked nicely thereafter.
   
   For those who are interested, I first tried Olaf Weber's suggestion which 
can be found at: 
http://www.mail-archive.com/[EMAIL PROTECTED]/msg01809.html
   
   Perhaps I made a mistake when changing cnf.c, but while ftmutil.cnf was 
found just fine after that change, the compilation ended with lots of errors. 
If anyone is interested I can email them a partial log of the errors created.
   
   Thanks to all who made suggestions,
   
 Lukas
 
 LUkas,
 
 Try having a look at a previous problem I posted---it looks the same 
 to me. Apparently, your system is not detected as UNIX at some points. 
 Thomas Esser gave me a solution. The thread subject was kpathsea and 
 BeOS. (Sorry, but do not have access to the message text now, so I 
 can not give you the exact solution).
 
 Regards,
 
 Alberto Molina
 



fmtutil: config file `fmtutil.cnf' not found.

2003-02-27 Thread Lukas Keller

 Hi,
 
   I am trying to compile and install tetex-2.0.1 on a Sun Sparcstation 20 
running Solaris 2.6 (uname -a: SunOS bineshi 5.6 Generic_105181-33 sun4m sparc 
SUNW,SPARCstation-20) using gcc2.8.1 .

   I've come across a problem I don't seem to be able to solve myself. Any 
help would be most appreciated.
   
   When issuing 'make world' I get the following error message:

==

if test -f /local2/teTeX/bin/fmtutil; then \
  TEXMFMAIN=/local2/teTeX/share/texmf 
PATH=/local2/teTeX/bin:/local2/teTeX/bin:usr/sbin:/usr/bin:/usr/local:/usr/loc
al/bin:/usr/openwin/bin:/usr/openwin/lib:/usr/etc:/usr/ccs/bin:/usr/include/X1
1:/usr/ucb \
/local2/teTeX/bin/fmtutil --all; \
else :; fi
fmtutil: config file `fmtutil.cnf' not found.
*** Error code 255
make: Fatal error: Command failed for target `install'

==


The file in question does exist at /local2/teTeX/share/texmf/web2c but somehow 
make doesn't find it. I had a look around and saw that other people have had 
similar problems. They were solved when they realized that an environment 
variable (TEXMF) had inadvertently been set. The output of 'env' on my machine 
(see below) does not suggest the presence of any such environment variable.

Any ideas what I might be doing wrong?

Many thanks,

Lukas

===

# env
AB_CARDCATALOG=/usr/dt/share/answerbooks/en_US/ab_cardcatalog
BIBFRM_BIBLIO=/home2/lfkeller/text/bibtex/masterbiblio.bib.new
BIBFRM_SUMUP=/home2/lfkeller/text/bibtex/bibfrm
BPHOME=/local2/bp/bp-0.2.97/lib
CC=/usr/local/bin/gcc
CLASSPATH=/local2/netscape/plugins
CXX=/usr/local/bin/g++
DELEGATE_PATH=/usr/local/share/ImageMagick/delegates.mgk
DISPLAY=:0.0
DTAPPSEARCHPATH=/home2/lfkeller/.dt/appmanager:/etc/dt/appconfig/appmanager/%L
:/
etc/dt/appconfig/appmanager/C:/usr/dt/appconfig/appmanager/%L:/usr/dt/appconfi
g/
appmanager/C
DTDATABASESEARCHPATH=/home2/lfkeller/.dt/types/fp_dynamic,/home2/lfkeller/.dt/
ty
pes,/etc/dt/appconfig/types/%L,/etc/dt/appconfig/types/C,/usr/dt/appconfig/typ
es
/%L,/usr/dt/appconfig/types/C
DTHELPSEARCHPATH=/home2/lfkeller/.dt/help/lfkeller-bineshi-0/%H:/home2/lfkelle
r/
.dt/help/lfkeller-bineshi-0/%H.sdl:/home2/lfkeller/.dt/help/lfkeller-bineshi-0
/%
H.hv:/home2/lfkeller/.dt/help/%H:/home2/lfkeller/.dt/help/%H.sdl:/home2/lfkell
er
/.dt/help/%H.hv:/usr/dt/appconfig/help/%L/%H:/usr/dt/appconfig/help/%L/%H.sdl:
/u
sr/dt/appconfig/help/%L/%H.hv:/usr/dt/appconfig/help/C/%H:/usr/dt/appconfig/he
lp
/C/%H.sdl:/usr/dt/appconfig/help/C/%H.hv
DTSCREENSAVERLIST=StartDtscreenSwarm StartDtscreenQix StartDtscreenFlame 
Sta
rtDtscreenHop StartDtscreenImage StartDtscreenLife StartDtscreenRotor 
StartD
tscreenPyro StartDtscreenWorm StartDtscreenBlank
DTUSERSESSION=lfkeller-bineshi-0
DTXSERVERLOCATION=local
EDITOR=/usr/dt/bin/dtpad
GDE_HELP_DIR=/local2/genetics/GDE/GDEHELP
GISBASE=/local2/gis/grass/grass4.3_sol26
GISDBASE=/home2/lfkeller/grouse/tenuis/gisdata
GROUP=keller
GTAGDB=GTAGDB:/home2/lfkeller/GTAGDB:/local2/genetics/staden_solaris_2002.0/ta
bl
es/GTAGDB
HELPPATH=/home2/lfkeller/survival/SURPH
HOME=/home2/lfkeller
HOST=bineshi
HOSTTYPE=sun4
INFOPATH=/usr/local/info
LANG=en_US
LC_COLLATE=en_US
LC_CTYPE=en_US
LC_MESSAGES=C
LC_MONETARY=en_US
LC_NUMERIC=en_US
LC_TIME=en_US
LOGNAME=lfkeller
LPDEST=speckundeier
MACHINE=solaris
MACHTYPE=sparc
MAIL=/var/mail/lfkeller
MANPATH=/usr/share/man:/usr/local/man:/usr/man:/usr/openwin/share/man:/usr/ope
nw
in/man:/usr/dt/share/man:/usr/dt/man:/usr/demo/SOUND/man:/usr/demo/link_audit/
ma
n:/local2/utils/uudeview-0.5.13/man:/local2/teTeX/man:/opt/SUNWrtvc/man:/opt/S
Gw
orkman/man:/local2/texinfo-3.9/man:/local2/utils/XPostitPlus-2.3/man-d:/local2
/g
is/grass/grass4.3_sol26/man
MOZILLA_HOME=/local2/netscape
NPX_PLUGIN_PATH=/local2/netscape/plugins:/opt/Acrobat4/Browsers/sparcsolaris:/
us
r/j2se/jre/plugin/sparc/ns4/
OPENWINHOME=/usr/openwin
OSTYPE=solaris
PATH=usr/sbin:/usr/bin:/usr/local:/usr/local/bin:/usr/openwin/bin:/usr/openwin
/l
ib:/usr/etc:/usr/ccs/bin:/usr/include/X11:/usr/ucb
PEDSYS=/local2/pedigree/pedsys2.0
PRINTER=speckundeier
PS1=# 
PWD=/home2/lfkeller
RTF2LATEX2E_DIR=/usr/local/rtf2latex2e
RTFPATH=/usr/local/lib/latex2rtf
SESSION_SVR=bineshi
SHELL=/usr/local/bin/tcsh
SHLVL=1
STADENROOT=/local2/genetics/staden_solaris_2002.0
STADENROOT_2002=/local2/genetics/staden_solaris_2002.0
STADLIB=/local2/genetics/staden_solaris_2002.0/lib
STADTABL=/local2/genetics/staden_solaris_2002.0/tables
SURPH=/home2/lfkeller/survival/SURPH
TERM=dtterm
TERMINAL_EMULATOR=dtterm
TZ=GB
USER=lfkeller
VENDOR=sun
WINDOWID=96469037
XFILESEARCHPATH=/usr/openwin/lib/locale/%L/%T/%N%S:/usr/openwin/lib/%T/%N%S
XMBINDDIR=/usr/dt/lib/bindings
XMICONBMSEARCHPATH=/home2/lfkeller/.dt/icons/%B%M.bm:/home2/lfkeller/.dt/icons
/%
B%M.pm:/home2/lfkeller/.dt/icons/%B:/usr/dt/appconfig/icons/%L/%B%M.bm:/usr/dt
/a
ppconfig/icons/%L/%B%M.pm