[Xastir-dev] Need Binary Package Links/Installation Help Links

Dan Brown brown at brauhausdc.org
Mon Dec 6 17:25:19 EST 2004


On Mon, 6 Dec 2004, Curt, WE7U wrote:
>
> If you've created binary packages for Xastir, or install docs for
> various operating systems, please submit your links.
>

Still not quite there, but here's an update on the HPUX instructions...

See: http://brauhaus.org/~brown/xastir/hpux/

- Am appending the patch diffs file gzipped. I think they're safe to include,
generally.


- Current status: Builds and will display maps. On compile, noted:

"interface.c: In function `port_read':
interface.c:5365: warning: passing arg 6 of `recvfrom' from incompatible
pointer type"

Still crashes when connection to APRS_IS server with:

Caught Segfault! Xastir will terminate


- For configure, I used:

  ./configure   LDFLAGS="-L/usr/local/hplx/lib -lhplx"

- Added the following Depots:

ImageMagick-6.1.3.3-sd-11.11.depot
binutils_2.15a_hppa-hp-hpux11.11_depot
bzip2-1.0.2-sd-11.11.depot
diffutils-2.8.7-sd-11.11.depot
freetype-2.1.9-sd-11.11.depot
gcc-3.4.2-sd-11.11.depot
gcc_3.4.2_hppa-hp-hpux11.11_depot
jpeg-6b-sd-11.11.depot
lcms-1.13-sd-11.11.depot
libpng-1.2.7-sd-11.11.depot
libwmf-0.2.8.3-sd-11.11.depot
libxml2-2.6.15-sd-11.11.depot
tiff-3.6.1-sd-11.11.depot
unzip-5.51-sd-11.11.depot
zlib-1.2.2-sd-11.11.depot


- Patched interface.c messages.c and view_message_gui.c as follows:

--- xastir/src/interface.c	2004-11-02 10:20:16 -0500
+++ xastir_hpux/src/interface.c	2004-12-06 16:58:11 -0500
@@ -3900,6 +3900,18 @@
          sg &= 0xff;

  #ifdef TIOCM_DTR
+
+// ugly HPUX hack - n8ysz 20041206
+
+#ifndef MDTR 
+#define MDTR 99999
+#if (TIOCM_DTR == 99999)
+#include <sys/modem.h>
+#endif 
+#endif
+
+// end ugly hack
+
          sg = TIOCM_DTR;
  #endif  // TIOCM_DIR

@@ -8815,5 +8827,3 @@

      return(type);
  }
-
-
--- xastir/src/messages.c	2004-12-01 14:45:13 -0500
+++ xastir_hpux/src/messages.c	2004-12-06 16:38:07 -0500
@@ -35,7 +35,11 @@
  #include <signal.h>
  #include <stdio.h>
  #include <stdlib.h>
-#include <strings.h>
+#ifdef HAVE_STRING_H
+#  include <string.h>
+#else
+#  include <strings.h>
+#endif
  #include <ctype.h>
  #include <sys/stat.h>
  #include <sys/types.h>
@@ -1021,4 +1025,3 @@
      }
  }

-
--- xastir/src/view_message_gui.c	2004-10-18 14:58:10 -0400
+++ xastir_hpux/src/view_message_gui.c	2004-12-06 16:39:23 -0500
@@ -35,7 +35,11 @@
  #include <signal.h>
  #include <stdio.h>
  #include <stdlib.h>
-#include <strings.h>
+#ifdef HAVE_STRING_H
+#  include <string.h>
+#else
+#  include <strings.h>
+#endif
  #include <ctype.h>
  #include <sys/types.h>

@@ -465,4 +469,3 @@
      }
  }

-


---------------------------



--
Dan Brown 
brown at brauhausdc.org


More information about the Xastir-dev mailing list