Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* teTeX-0.9-980422 and xdvik
@ 1998-04-27 20:05 Larry Tai
  1998-04-27 21:44 ` Michal Jaegermann
  0 siblings, 1 reply; 2+ messages in thread
From: Larry Tai @ 1998-04-27 20:05 UTC (permalink / raw)
  To: axp-list


Hi,

     I'm trying to build teTeX-0.9-980422 on my MicroWay 533Mhz 164-LX
(RH5) and the compile keeps choking on xdvik.  I think it was complaining
about not being able to find the usual /usr/X11/lib/libXaw ....X11
...Xt....Xmu libraries.  I thought replacing the references to the
libraries by the equivalents in /usr/X11R6/lib would do the trick.  But it
didn't. 

     Now I am getting the following messages:

xdvi.o: In function `string_to_pixel':
d.teTeX/teTeX-0.9/texk/xdvik/xdvi.c:1219: undefined reference to `XParseColor'
d.teTeX/teTeX-0.9/texk/xdvik/xdvi.c:1222: undefined reference to `XAllocColor'
d.teTeX/teTeX-0.9/texk/xdvik/xdvi.c:1226: undefined reference to `XAllocNamedColor'
d.teTeX/teTeX-0.9/texk/xdvik/xdvi.c:1226: undefined reference to 
     `XAllocNamedColor' xdvi.o: In function `parse_options':
d.teTeX/teTeX-0.9/texk/xdvik/xdvi.c:1343: undefined reference to `XOpenDisplay'
d.teTeX/teTeX-0.9/texk/xdvik/xdvi.c:1350: undefined reference to `XGetDefault'
...
...

     Any ideas would be greatly appreciated.  I'm relatively new to 
Alpha/Linux and Linux in general.  Thanks.

---------
 US-Mail:  Larry Tai
           Division of Statistics
           380 Kerr Hall
           University of California, Davis
           One Shields Avenue
           Davis, CA 95616
  E-Mail:  larry@wald.ucdavis.edu or lptai@ucdavis.edu
     Tel:  (530)-752-6085         FAX:  (530)-752-7099


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: teTeX-0.9-980422 and xdvik
  1998-04-27 20:05 teTeX-0.9-980422 and xdvik Larry Tai
@ 1998-04-27 21:44 ` Michal Jaegermann
  0 siblings, 0 replies; 2+ messages in thread
From: Michal Jaegermann @ 1998-04-27 21:44 UTC (permalink / raw)
  To: axp-list

>      Now I am getting the following messages:
> 
> xdvi.o: In function `string_to_pixel':
> d.teTeX/teTeX-0.9/texk/xdvik/xdvi.c:1219: undefined reference to `XParseColor'
> d.teTeX/teTeX-0.9/texk/xdvik/xdvi.c:1222: undefined reference to `XAllocColor'
> d.teTeX/teTeX-0.9/texk/xdvik/xdvi.c:1226: undefined reference to `XAllocNamedColor'
> d.teTeX/teTeX-0.9/texk/xdvik/xdvi.c:1226: undefined reference to 
>      `XAllocNamedColor' xdvi.o: In function `parse_options':
> d.teTeX/teTeX-0.9/texk/xdvik/xdvi.c:1343: undefined reference to `XOpenDisplay'
> d.teTeX/teTeX-0.9/texk/xdvik/xdvi.c:1350: undefined reference to `XGetDefault'

As all these functions are provided by a basic libX11, not even one of
extra toolkits,  it is obvious that you are not linking this library.
Why it is hard to tell as you are telling what you are doing and my
crystal ball is in a storage.  Probably xdvi came with Imakefile and you
did not bother to run 'xmkmf -a' before trying to compile but instead
you are using Makefile which happened to be siting there and which was
for a totally different system.  This has really nothing to do with
Linux and even less with Alpha.

In case of sources with no Imakefile around it is often advantageous,
instead of hacking Makefile and forgetting something, to provide
a link 'ln -s X11R6 X11' in /usr.  It is harmless until the moment
when you replace your revision of X with the next one.  Not for a some
time yet.

  Michal


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-04-27 21:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-04-27 20:05 teTeX-0.9-980422 and xdvik Larry Tai
1998-04-27 21:44 ` Michal Jaegermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox