[Fink-users] xdvi error due to openmotif3

2005-09-06 Thread Viv Kendon

Hmmm, trying to run xdvi give me

dyld: Symbol not found: __XEditResCheckMessages
  Referenced from: /sw/bin/xdvi-motif.bin
  Expected in: /sw/lib/libXm.3.dylib

Trace/BPT trap

libXm.3.dylib is from openmotif3-shlibs-2.2.3-11.  The 
problem is almost certainly my system and I need to rebuild 
something, but before embarking on long builds I thought I'd 
check:


G4 TiBook with fresh install of Tiger, all apple updates (so 
10.4.2), fresh install of fink from binary installer, 
unstable enabled and almost all up to date (bar g77 and 
mozilla). Now the slightly less standard stuff:


I installed xorg through fink (before compiling openmotif3).

I have xcode 2.2 preview installed (cos I didn't look 
closely at what I was doing when I downloaded it, failed to 
scroll down as far as xcode 2.1)


The hard disk is HFS+ case sensitive (I reformatted).

tetex-base-3.0-1 (from which xdvi -- as xdvik -- comes) was 
a binary install, I now realise, so my guess is that the 
binary doesn't play nicely with openmotif3 compiled against 
xorg and I'll need to compile tetex from source?  I'm 
hesitating because none of the other usual suspects for 
this sort of incompatibility (e.g., xaw3d-dependent things 
like xpdf) are giving me any problems.


thanks,
-- Viv

Dr Viv Kendon   [EMAIL PROTECTED]
Quantum Information   tel: 0113 343 3858
Physics  Astronomy  University of Leeds
 http://quantum.leeds.ac.uk/~viv


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] xdvi error due to openmotif3

2005-09-06 Thread David R. Morrison
On Sep 6, 2005, at 9:50 AM, Viv Kendon wrote:Hmmm, trying to run xdvi give medyld: Symbol not found: __XEditResCheckMessages  Referenced from: /sw/bin/xdvi-motif.bin  Expected in: /sw/lib/libXm.3.dylibTrace/BPT traplibXm.3.dylib is from openmotif3-shlibs-2.2.3-11. [snip]I installed xorg through fink (before compiling openmotif3).[snip]so my guess is that the binary doesn't play nicely with openmotif3 compiled against xorg and I'll need to compile tetex from source?  That would be my guess as well.  This is a sad situation, one which we should investigate further.  -- Dave

Re: [Fink-users] xdvi error due to openmotif3

2005-09-06 Thread Alexander K. Hansen
On 9/6/05, Viv Kendon [EMAIL PROTECTED] wrote:
 Hmmm, trying to run xdvi give me
 
 dyld: Symbol not found: __XEditResCheckMessages
Referenced from: /sw/bin/xdvi-motif.bin
Expected in: /sw/lib/libXm.3.dylib
 
 Trace/BPT trap
 
 libXm.3.dylib is from openmotif3-shlibs-2.2.3-11.  The
 problem is almost certainly my system and I need to rebuild
 something, but before embarking on long builds I thought I'd
 check:
 
 G4 TiBook with fresh install of Tiger, all apple updates (so
 10.4.2), fresh install of fink from binary installer,
 unstable enabled and almost all up to date (bar g77 and
 mozilla). Now the slightly less standard stuff:
 
 I installed xorg through fink (before compiling openmotif3).
 
 I have xcode 2.2 preview installed (cos I didn't look
 closely at what I was doing when I downloaded it, failed to
 scroll down as far as xcode 2.1)
 
 The hard disk is HFS+ case sensitive (I reformatted).
 
 tetex-base-3.0-1 (from which xdvi -- as xdvik -- comes) was
 a binary install, I now realise, so my guess is that the
 binary doesn't play nicely with openmotif3 compiled against
 xorg and I'll need to compile tetex from source?  I'm
 hesitating because none of the other usual suspects for
 this sort of incompatibility (e.g., xaw3d-dependent things
 like xpdf) are giving me any problems.
 
 thanks,
 -- Viv
 
 Dr Viv Kendon   [EMAIL PROTECTED]
 Quantum Information   tel: 0113 343 3858
 Physics  Astronomy  University of Leeds
   http://quantum.leeds.ac.uk/~viv
 
 

Usually the problem goes the other way--a library compiled vs. X.org
doesn't play nicely with Apple's X11 (or XFree86).

-- 
Alexander K. Hansen
Fink Documenter
[Day Job] Levitated Dipole Experiment
http://psfcwww2.psfc.mit.edu/ldx/


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] xdvi error due to openmotif3

2005-09-06 Thread Jean-François Mertens


On 06 Sep 2005, at 19:35, Viv Kendon wrote:


On Tue, 6 Sep 2005, David R. Morrison wrote:



On Sep 6, 2005, at 9:50 AM, Viv Kendon wrote:



Hmmm, trying to run xdvi give me
dyld: Symbol not found: __XEditResCheckMessages
  Referenced from: /sw/bin/xdvi-motif.bin
  Expected in: /sw/lib/libXm.3.dylib
Trace/BPT trap
libXm.3.dylib is from openmotif3-shlibs-2.2.3-11.



...  So I've started a rebuild of openmotif3, I'll let you know if  
that fixes it or not...




That should be correct : the msg shows that openmotif3 is not linking
correctly with your current x11.

JF Mertens


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] xdvi error due to openmotif3

2005-09-06 Thread Viv Kendon

On Tue, 6 Sep 2005, Jean-François Mertens wrote:


On 06 Sep 2005, at 19:35, Viv Kendon wrote:


On Tue, 6 Sep 2005, David R. Morrison wrote:


On Sep 6, 2005, at 9:50 AM, Viv Kendon wrote:


Hmmm, trying to run xdvi give me
dyld: Symbol not found: __XEditResCheckMessages
  Referenced from: /sw/bin/xdvi-motif.bin
  Expected in: /sw/lib/libXm.3.dylib
Trace/BPT trap
libXm.3.dylib is from openmotif3-shlibs-2.2.3-11.


...  So I've started a rebuild of openmotif3, I'll let you know if that 
fixes it or not...


That should be correct : the msg shows that openmotif3 is not linking
correctly with your current x11.


Drat: rebuild of openmotif3 complete, still same error 
running xdvi.  I double checked timestamps of files to make 
sure I really did replace libXm.3.dylib...  Now what?  Can I 
provide some more useful info about my system to help debug 
this??  Rebuild something else??


I can work around not having xdvi, since the rest of latex 
seems to be functional, but it sure would be useful to fix 
it.


TIA,
-- Viv

Dr Viv Kendon   [EMAIL PROTECTED]
Quantum Information   tel: 0113 343 3858
Physics  Astronomy  University of Leeds
 http://quantum.leeds.ac.uk/~viv

Re: [Fink-users] xdvi error due to openmotif3

2005-09-06 Thread Jean-François Mertens


On 06 Sep 2005, at 20:42, Viv Kendon wrote:


On Tue, 6 Sep 2005, Jean-François Mertens wrote:



On 06 Sep 2005, at 19:35, Viv Kendon wrote:



On Tue, 6 Sep 2005, David R. Morrison wrote:


On Sep 6, 2005, at 9:50 AM, Viv Kendon wrote:


Hmmm, trying to run xdvi give me
dyld: Symbol not found: __XEditResCheckMessages
  Referenced from: /sw/bin/xdvi-motif.bin
  Expected in: /sw/lib/libXm.3.dylib
Trace/BPT trap
libXm.3.dylib is from openmotif3-shlibs-2.2.3-11.

...  So I've started a rebuild of openmotif3, I'll let you know  
if that fixes it or not...




That should be correct : the msg shows that openmotif3 is not linking
correctly with your current x11.



Drat: rebuild of openmotif3 complete, still same error running  
xdvi.  I double checked timestamps of files to make sure I really  
did replace libXm.3.dylib...  Now what?  Can I provide some more  
useful info about my system to help debug this??  Rebuild something  
else??


Sorry, had read the thread much too quicly
(had in mind that the symbol was referenced FROM an openmotif file)

Looking back, your first guess (and Dave's reply) were completely  
correct.
My xdvi-motif.bin takes __XEditResCheckMessages from (xorg's) /usr/ 
X11R6/lib/libXmu.6.dylib


JF Mertens


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] xdvi error due to openmotif3

2005-09-06 Thread Alexander K. Hansen
On 9/6/05, Alexander K. Hansen [EMAIL PROTECTED] wrote:
 On 9/6/05, Viv Kendon [EMAIL PROTECTED] wrote:
  On Tue, 6 Sep 2005, Jean-François Mertens wrote:
 
   On 06 Sep 2005, at 19:35, Viv Kendon wrote:
  
   On Tue, 6 Sep 2005, David R. Morrison wrote:
  
   On Sep 6, 2005, at 9:50 AM, Viv Kendon wrote:
  
   Hmmm, trying to run xdvi give me
   dyld: Symbol not found: __XEditResCheckMessages
 Referenced from: /sw/bin/xdvi-motif.bin
 Expected in: /sw/lib/libXm.3.dylib
   Trace/BPT trap
   libXm.3.dylib is from openmotif3-shlibs-2.2.3-11.
  
   ...  So I've started a rebuild of openmotif3, I'll let you know if that
   fixes it or not...
  
   That should be correct : the msg shows that openmotif3 is not linking
   correctly with your current x11.
 
  Drat: rebuild of openmotif3 complete, still same error
  running xdvi.  I double checked timestamps of files to make
  sure I really did replace libXm.3.dylib...  Now what?  Can I
  provide some more useful info about my system to help debug
  this??  Rebuild something else??
 
  I can work around not having xdvi, since the rest of latex
  seems to be functional, but it sure would be useful to fix
  it.
 
  TIA,
  -- Viv
  
  Dr Viv Kendon   [EMAIL PROTECTED]
  Quantum Information   tel: 0113 343 3858
  Physics  Astronomy  University of Leeds
http://quantum.leeds.ac.uk/~viv
 
 
 Now having checked on Tiger, I get the same error (my prior messages
 were filed while I was booted into Panther, where xdvi worked).  My
 openmotif3-shlibs package is a locally-built Panther holdover (built
 vs. xorg) and my tetex-base package is from the 0.8.0 binary
 distribution (built vs. Apple's X11).
 
 I'm going to try rebuilding openmotif3-shlibs, and if that doesn't
 work, I'll try tetex-base.
 

And, replying to my own post, I found that xdvi from the separate xdvi
package works.

-- 
Alexander K. Hansen
Fink Documenter
[Day Job] Levitated Dipole Experiment
http://psfcwww2.psfc.mit.edu/ldx/


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] xdvi error due to openmotif3

2005-09-06 Thread Viv Kendon

On Tue, 6 Sep 2005, Jean-François Mertens wrote:


On 06 Sep 2005, at 20:42, Viv Kendon wrote:


On Tue, 6 Sep 2005, Jean-François Mertens wrote:


On 06 Sep 2005, at 19:35, Viv Kendon wrote:


On Tue, 6 Sep 2005, David R. Morrison wrote:


On Sep 6, 2005, at 9:50 AM, Viv Kendon wrote:


Hmmm, trying to run xdvi give me
dyld: Symbol not found: __XEditResCheckMessages
  Referenced from: /sw/bin/xdvi-motif.bin
  Expected in: /sw/lib/libXm.3.dylib
Trace/BPT trap
libXm.3.dylib is from openmotif3-shlibs-2.2.3-11.


Drat: rebuild of openmotif3 complete, still same error running xdvi.


Looking back, your first guess (and Dave's reply) were completely correct.
My xdvi-motif.bin takes __XEditResCheckMessages from (xorg's) /usr/ 
X11R6/lib/libXmu.6.dylib


OK, I am compiling tetex-base from source...I expect it will 
be tomorrow (my local time) before I can report whether this 
works.


-- Viv

Dr Viv Kendon   [EMAIL PROTECTED]
Quantum Information   tel: 0113 343 3858
Physics  Astronomy  University of Leeds
 http://quantum.leeds.ac.uk/~viv

Re: [Fink-users] xdvi error due to openmotif3

2005-09-06 Thread Viv Kendon

On Tue, 6 Sep 2005, Viv Kendon wrote:


On Tue, 6 Sep 2005, Jean-François Mertens wrote:


On 06 Sep 2005, at 20:42, Viv Kendon wrote:


On Tue, 6 Sep 2005, Jean-François Mertens wrote:


On 06 Sep 2005, at 19:35, Viv Kendon wrote:


On Tue, 6 Sep 2005, David R. Morrison wrote:


On Sep 6, 2005, at 9:50 AM, Viv Kendon wrote:


Hmmm, trying to run xdvi give me
dyld: Symbol not found: __XEditResCheckMessages
  Referenced from: /sw/bin/xdvi-motif.bin
  Expected in: /sw/lib/libXm.3.dylib
Trace/BPT trap
libXm.3.dylib is from openmotif3-shlibs-2.2.3-11.


Drat: rebuild of openmotif3 complete, still same error running xdvi.


Looking back, your first guess (and Dave's reply) were completely correct.
My xdvi-motif.bin takes __XEditResCheckMessages from (xorg's) /usr/ 
X11R6/lib/libXmu.6.dylib


OK, I am compiling tetex-base from source...I expect it will be tomorrow (my 
local time) before I can report whether this works.


Tetex-base compiled much quicker than I thought...xdvi now 
basically works, but I managed to get a spectacular crash 
out of it by doing something I don't normally do (navigating 
to subdirs and switching files from the File-open menu).


It produces more than 1000 lines of output into the xterm 
that launched it, the last few look like:


for font xyeubt11 on line 1336 overrides previous entry.
xdvi-motif.bin: Info: 
/sw/var/lib/texmf/fonts/map/dvips/updmap/ps2pk.map: Entry 
for font xyeubt12 on line 1337 overrides previous entry.
xdvi-motif.bin: Info: 
/sw/var/lib/texmf/fonts/map/dvips/updmap/ps2pk.map: Entry 
for font zd on line 1338 overrides previous entry.



XDvi 22.84.9 (Motif toolkit): Failed assertion:
special.c:2123: bg_current != NULL: Background color not 
initialized

Aborting now. Please report this as a bug to:
http://sourceforge.net/tracker/?group_id=23164atid=377580
If a core dump has been produced, please invoke:
gdb xdvi-motif.bin core
Then type bt, and include the resulting output in your bug 
report.


Abort trap

I don't think I do have a core dump (at least I can't find 
one in the obvious places like the dir I ran it from, or 
~/Library/Logs/CrashReporter).


The file it crashed on probably isn't special, I can view it 
OK if I open it first rather than second.  And I can 
reproduce it on other *.dvi files I already have.  To try to 
reproduce this, do the following


1. move any ~/.xdvirc out of the way

2. launch xdvi from your home dir

3. navigate to a subdir with more than one *.dvi file in

4. open one of the *.dvi files

5. select File-open from the menus

6. open a different *.dvi file

This is the point where I get the crash.

I do have extra font stuff installed via fink:

 i  applesystemfonts1.1-1   Make Apple system 
fonts available to X11R6
 i  ec-fonts-mftraced   1.0.12-2Sauter EC 
PostScript Type1 Fonts
 i  fc-ghostscript-fonts20050601-1  Add 
ghostscript fonts to fontconfig search
 i  fontconfig-path 20050601-1  Add custom 
directories to fontconfig search
 i  fontconfig2-dev 2.2.3-10Fontconfig 2 for 
Gimp
 i  fontconfig2-shlibs  2.2.3-10Fontconfig 
2, shared libs

 i  fontforge   20050809-1  Outline font editor
 i  ghostscript-fonts   8.11-2  Standard fonts for 
Ghostscript

 i  gimp-freefonts  0.10-2  Freeware scalable X11 fonts
 i  gimp-sharefonts 0.10-2  Shareware scalable X11 fonts
 i  latex-xft-fonts 0.1-11  TTF math fonts for lyx and 
latex
 i  msttcorefonts   1.2-12  Microsoft's TrueType core 
fonts for the web
 i  ttfmkfontdir1.0-2   Make fonts.dir for TrueType 
Fonts
 i  x-ghostscript-fonts 20020206-3  Allows 
ghostscript fonts to be used within X-windows

 i  xfontpath   0.4-12  X font path manager for fink
 i  xfonts-intl 1.2.1-1 International Fonts

I expect I can avoid triggering this crash too often, but 
the font errors seem to occur sometimes without the crash, 
depending on which *.dvi file I open.


-- Viv

Dr Viv Kendon   [EMAIL PROTECTED]
Quantum Information   tel: 0113 343 3858
Physics  Astronomy  University of Leeds
 http://quantum.leeds.ac.uk/~viv

Re: [Fink-users] xdvi error due to openmotif3

2005-09-06 Thread Alexander K. Hansen
On 9/6/05, Viv Kendon [EMAIL PROTECTED] wrote:
 On Tue, 6 Sep 2005, Jean-François Mertens wrote:
 
  On 06 Sep 2005, at 19:35, Viv Kendon wrote:
 
  On Tue, 6 Sep 2005, David R. Morrison wrote:
 
  On Sep 6, 2005, at 9:50 AM, Viv Kendon wrote:
 
  Hmmm, trying to run xdvi give me
  dyld: Symbol not found: __XEditResCheckMessages
Referenced from: /sw/bin/xdvi-motif.bin
Expected in: /sw/lib/libXm.3.dylib
  Trace/BPT trap
  libXm.3.dylib is from openmotif3-shlibs-2.2.3-11.
 
  ...  So I've started a rebuild of openmotif3, I'll let you know if that
  fixes it or not...
 
  That should be correct : the msg shows that openmotif3 is not linking
  correctly with your current x11.
 
 Drat: rebuild of openmotif3 complete, still same error
 running xdvi.  I double checked timestamps of files to make
 sure I really did replace libXm.3.dylib...  Now what?  Can I
 provide some more useful info about my system to help debug
 this??  Rebuild something else??
 
 I can work around not having xdvi, since the rest of latex
 seems to be functional, but it sure would be useful to fix
 it.
 
 TIA,
 -- Viv
 
 Dr Viv Kendon   [EMAIL PROTECTED]
 Quantum Information   tel: 0113 343 3858
 Physics  Astronomy  University of Leeds
   http://quantum.leeds.ac.uk/~viv
 

Now having checked on Tiger, I get the same error (my prior messages
were filed while I was booted into Panther, where xdvi worked).  My
openmotif3-shlibs package is a locally-built Panther holdover (built
vs. xorg) and my tetex-base package is from the 0.8.0 binary
distribution (built vs. Apple's X11).

I'm going to try rebuilding openmotif3-shlibs, and if that doesn't
work, I'll try tetex-base.

-- 
Alexander K. Hansen
Fink Documenter
[Day Job] Levitated Dipole Experiment
http://psfcwww2.psfc.mit.edu/ldx/


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users