Re: problem report, compiling from CVS on Linux

Moses DeJong (dejong@cs.umn.edu)
Tue, 1 Jun 1999 15:27:03 -0500 (CDT)


On Tue, 1 Jun 1999, Shaw Terwilliger wrote:

> Moses DeJong wrote:
> >
> > On Tue, 1 Jun 1999, Jeff Hostetler wrote:
> >
> > Doh! I ran "make clean" and recompiled and that seemed to fix the
> > problem.
> >
> > The downside is that not I got another error.
> >
> > Linking dynamic
> > /usr/local/project/abi/src/../src/Linux_2.2.7_i386_OBJ/bin/AbiWord_d
> > Linking static
> > /usr/local/project/abi/src/../src/Linux_2.2.7_i386_OBJ/bin/AbiWord_s
> > /usr/bin/ld: cannot open -lXext: No such file or directory
> > collect2: ld returned 1 exit status

Rockin. Adding that UNIX_CAN_BUILD_STATIC=0 thing fixed it. Any chance you
guys can put an extra check in the configure that checks for the libXext.a
file and skips the static link step if it can not be found?

I hate to sound like a broken record here, but I not get a font related
error when I start the compiled (dynamic) executable. The application
pops up a dialog that says "Found no fonts.dir in font path ...". My
system has a bunch of fonts.dir files installed in the default locations.
Why can't abi find them? Do I need to set some env var or something?
I looked at other messages in the mailing list archives but I did not
see a solution to the problem.

% find /usr/X11R6 -name fonts.dir
/usr/X11R6/lib/X11/fonts/misc/fonts.dir
/usr/X11R6/lib/X11/fonts/75dpi/fonts.dir
/usr/X11R6/lib/X11/fonts/100dpi/fonts.dir
/usr/X11R6/lib/X11/fonts/Speedo/fonts.dir
/usr/X11R6/lib/X11/fonts/Type1/fonts.dir

thanks
mo

> That's GCC saying "I'd like to statically link a binary using libXext.a,
> but I really can't FIND libXext.a." You can either install this or just
> do "make UNIX_CAN_BUILD_STATIC=0" and let it only do the dynamic.
>
> --
> Shaw Terwilliger



This archive was generated by hypermail 1.03b2.