[Xastir-dev] Linux Standard Base Xastir

Curt, WE7U archer at eskimo.com
Mon Nov 20 18:14:32 EST 2006


I checked in a couple of new scripts, both starting with
"LSB-BUILD".

I have not been successful yet in creating an LSB-compatible Xastir,
but I have (I think) make an LSB-compatible Lesstif, installed into
the /opt/lsb-lesstif/ directory.  I've created an /opt/lsb-xastir/
area as well, but the LSB Xastir binary still segfaults at the first
X11 call.

I'm getting seriously lost trying to use "lsbcc" wrapper to link
Xastir against the new lesstif library I created and against the LSB
libraries.  If it gets linked against the system libraries it's no
good:  LSB requires that the app be linked against the LSB shared
libraries, shared libraries in the app's package, or statically
linked.  I'm attempting to statically link in any libraries that are
not in the LSB.

I'm using some tricks to get to this point, such as messing about
with /opt/lsb/include/ and /opt/lsb/lib/ directories at various
stages to get things to link to what I want.  That's in lieu of
fixing up the Makefiles for the proper linking.

This gives an idea of what I'm attempting:

> ls -l /opt/lsb
total 32
drwxr-xr-x   2 root root 4096 2006-02-01 11:52 bin
drwxr-xr-x   9 root root 4096 2006-01-17 12:25 doc
lrwxrwxrwx   1 root root   14 2006-11-20 14:17 include -> include.xastir
drwxr-xr-x  11 root root 4096 2006-01-17 12:24 include.orig
drwxr-xr-x  11 root root 4096 2006-11-20 11:38 include.xastir
lrwxrwxrwx   1 root root   10 2006-11-20 14:17 lib -> lib.xastir
drwxr-xr-x   3 root root 4096 2006-11-20 11:16 lib.lesstif
drwxr-xr-x   2 root root 4096 2006-11-20 11:17 lib.orig
drwxr-xr-x   3 root root 4096 2006-11-20 11:52 lib.xastir
drwxr-xr-x   3 root root 4096 2005-08-26 21:36 man

The "proper" way to do this would be to leave the /opt/lsb/
heirarchy alone and fix up the Lesstif/Xastir Makefiles to link
against the proper libraries.

Anyone up to the task?  I'm kind'a weak on Makefiles.

Another clue perhaps:

> /opt/lsb-xastir/bin/xastir
/opt/lsb-xastir/bin/xastir: Symbol `XSynchronize' has different size
in shared object, consider re-linking


Built-in map types:
      gnis   USGS GNIS Datapoints
       map   APRSdos Maps
       map   WinAPRS/MacAPRS/X-APRS Maps
       pdb   PocketAPRS Maps

Support for these additional map types has been compiled in:
       shp   ESRI Shapefile Maps (Shapelib library)
Segmentation fault (core dumped)


--
Curt, WE7U.   APRS Client Comparisons: http://www.eskimo.com/~archer
"Lotto:    A tax on people who are bad at math." -- unknown
"Windows:  Microsoft's tax on computer illiterates." -- WE7U
"The world DOES revolve around me:  I picked the coordinate system!"



More information about the Xastir-dev mailing list