Skip to contentSkip to conversation

Is dosemu build system not working correctly?

DISCUSSION Peter Jay Salzman 1 participant 1 message Jun 1, 2004

lore
Share & tools
lore
#0 lore raw

I think there's a problem with the dosemu build system. I'm using Debian testing.

When I build with "linkstatic off", everything is fine:

configure: Linking for shared libraries...

checking for vga_simple_init in -lvga... yes
configure: Compiling with svgalib support...

checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XOpenDisplay in -lX11... yes
configure: Compiling with X support...
checking for X11/extensions/XShm.h... yes
checking for X11/extensions/xf86vmode.h... yes

However, when building with "linkstatic on", the static libraries aren't found:

configure: Linking statically...

checking for vga_simple_init in -lvga... no
configure: Compiling without svgalib support...

checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XOpenDisplay in -lX11... no
checking for XCloseDisplay in -lX11... no
checking for main in -lXwindow... no
configure: Compiling without X support...

I have the following packages installed:

libx11-6, libx11-dev, x-dev, xlibs-dev, libsvga1-dev

The libraries really are on my system:

   # locate libvga.a libX11.a
   /usr/lib/libvga.a
   /usr/X11R6/lib/libX11.a

But it looks like they (the static versions) aren't being found. Is this a known issue? Do I have the correct libraries installed?

Thanks,
Pete

Signature · 5 lines
GPG Instructions: http://www.dirac.org/linux/gpg
GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D

Good, Fast, Cheap.  Pick any two (you can't have all three)
   --- RFC 1925: The Twelve Networking Truths (The 7th truth)