Mailing List Archive

Unable to find libtsp.a ....
--zhXaljGHf11kAtnf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Howdy. Couple of things/patches included:

1) Would it be possible to set the following two defaults for c and
ld flags (no patch for this one)?

--with-cflags=-I/usr/local/include
--with-ldflags=-L/usr/local/lib

2) I'm not sure why things would have worked before, but I needed to
include sp.h in wackamole.c (patch).

3) Small warning, nothing major (no patch)
> autoconf
configure.in:6: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:183: warning: AC_TRY_RUN called without default to allow cross compiling

4) .cvsignore (patch)?

5) Any chance that a mkinstalldirs could be included (patch)? I've
included the default mkinstalldirs from my automake installation, which
isn't being run.

Thanks. -sc

--
Sean Chittenden

--zhXaljGHf11kAtnf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="wackamole.c.patch"

Index: wackamole.c
===================================================================
RCS file: /storage/cvs/munjal/wackamole/wackamole.c,v
retrieving revision 1.15
diff -u -u -r1.15 wackamole.c
--- wackamole.c 2001/09/20 05:10:31 1.15
+++ wackamole.c 2001/10/05 19:18:49
@@ -36,6 +36,7 @@
#include "version.h"
#include "alarm.h"
#include "ife.h"
+#include <sp.h>

/*#define TEST*/
#define MAX_PSEUDO 254

--zhXaljGHf11kAtnf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="mkinstalldirs.patch"

--- /dev/null Fri Oct 5 12:12:10 2001
+++ mkinstalldirs Fri Oct 5 12:14:53 2001
@@ -0,0 +1,40 @@
+#! /bin/sh
+# mkinstalldirs --- make directory hierarchy
+# Author: Noah Friedman <friedman@prep.ai.mit.edu>
+# Created: 1993-05-16
+# Public domain
+
+# $Id: mkinstalldirs,v 1.13 1999/01/05 03:18:55 bje Exp $
+
+errstatus=0
+
+for file
+do
+ set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
+ shift
+
+ pathcomp=
+ for d
+ do
+ pathcomp="$pathcomp$d"
+ case "$pathcomp" in
+ -* ) pathcomp=./$pathcomp ;;
+ esac
+
+ if test ! -d "$pathcomp"; then
+ echo "mkdir $pathcomp"
+
+ mkdir "$pathcomp" || lasterr=$?
+
+ if test ! -d "$pathcomp"; then
+ errstatus=$lasterr
+ fi
+ fi
+
+ pathcomp="$pathcomp/"
+ done
+done
+
+exit $errstatus
+
+# mkinstalldirs ends here

--zhXaljGHf11kAtnf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=".cvsignore.patch"

--- /dev/null Fri Oct 5 12:12:10 2001
+++ .cvsignore Fri Oct 5 12:17:42 2001
@@ -0,0 +1,8 @@
+configure
+config.log
+config.h
+config.cache
+config.status
+Makefile
+wackamole
+mkinstalldirs

--zhXaljGHf11kAtnf--
Unable to find libtsp.a .... [ In reply to ]
On Friday, October 5, 2001, at 03:23 PM, Sean Chittenden wrote:
> Howdy. Couple of things/patches included:
>
> 1) Would it be possible to set the following two defaults for c and
> ld flags (no patch for this one)?
>
> --with-cflags=-I/usr/local/include
> --with-ldflags=-L/usr/local/lib

Sure.

> 2) I'm not sure why things would have worked before, but I needed to
> include sp.h in wackamole.c (patch).

It is included in defines.h with all of the other headers. defines.h is
included by config.h which is included by wackamole.c

> 3) Small warning, nothing major (no patch)
>> autoconf
> configure.in:6: warning: AC_TRY_RUN called without default to allow
> cross compiling
> configure.in:183: warning: AC_TRY_RUN called without default to allow
> cross compiling

Yeah :-(

> 4) .cvsignore (patch)?

Added.

> 5) Any chance that a mkinstalldirs could be included (patch)? I've
> included the default mkinstalldirs from my automake installation, which
> isn't being run.

Yeah.. I will add that.

> Thanks. -sc

--
Theo Schlossnagle
1024D/82844984/95FD 30F1 489E 4613 F22E 491A 7E88 364C 8284 4984
2047R/33131B65/71 F7 95 64 49 76 5D BA 3D 90 B9 9F BE 27 24 E7
Unable to find libtsp.a .... [ In reply to ]
> > 2) I'm not sure why things would have worked before, but I needed to
> > include sp.h in wackamole.c (patch).
>
> It is included in defines.h with all of the other headers. defines.h is
> included by config.h which is included by wackamole.c

Ah! Here's the real fix (at least for me):

Index: config.h.in
===================================================================
RCS file: /storage/cvs/munjal/wackamole/config.h.in,v
retrieving revision 1.2
diff -u -r1.2 config.h.in
--- config.h.in 2001/09/23 05:14:34 1.2
+++ config.h.in 2001/10/05 19:52:03
@@ -238,7 +238,7 @@
#undef HAVE_DLFCN_H

/* Define if you have the <sp.h> header file. */
-#undef HAVE_SP_H
+#define HAVE_SP_H

/* Define if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H

I'm not 100% sure of the ramifications of that, but it seems
right to me and makes everything compile ok. ;) -sc


--
Sean Chittenden
Unable to find libtsp.a .... [ In reply to ]
auotconf will define HAVE_SP_H for you if it can find your sp.h header
(which it really needs to).

Make sure you run autoconf after updating configure.in from CVS. And rm
config.cache.

Now that /usr/local/include are added to spp-flags be default it should
find sp.h and set HAVE_SP_H in config.h automagically.

On Friday, October 5, 2001, at 03:55 PM, Sean Chittenden wrote:

>>> 2) I'm not sure why things would have worked before, but I needed to
>>> include sp.h in wackamole.c (patch).
>>
>> It is included in defines.h with all of the other headers. defines.h
>> is
>> included by config.h which is included by wackamole.c
>
> Ah! Here's the real fix (at least for me):
>
> Index: config.h.in
> ===================================================================
> RCS file: /storage/cvs/munjal/wackamole/config.h.in,v
> retrieving revision 1.2
> diff -u -r1.2 config.h.in
> --- config.h.in 2001/09/23 05:14:34 1.2
> +++ config.h.in 2001/10/05 19:52:03
> @@ -238,7 +238,7 @@
> #undef HAVE_DLFCN_H
>
> /* Define if you have the <sp.h> header file. */
> -#undef HAVE_SP_H
> +#define HAVE_SP_H
>
> /* Define if you have the <strings.h> header file. */
> #undef HAVE_STRINGS_H
>
> I'm not 100% sure of the ramifications of that, but it seems
> right to me and makes everything compile ok. ;) -sc
>
>
> --
> Sean Chittenden
>
> _______________________________________________
> wackamole-users mailing list
> wackamole-users@lists.backhand.org
> http://lists.backhand.org/mailman/listinfo/wackamole-users
>
--
Theo Schlossnagle
1024D/82844984/95FD 30F1 489E 4613 F22E 491A 7E88 364C 8284 4984
2047R/33131B65/71 F7 95 64 49 76 5D BA 3D 90 B9 9F BE 27 24 E7
Unable to find libtsp.a .... [ In reply to ]
> auotconf will define HAVE_SP_H for you if it can find your sp.h header
> (which it really needs to).
>
> Make sure you run autoconf after updating configure.in from CVS. And rm
> config.cache.
>
> Now that /usr/local/include are added to spp-flags be default it should
> find sp.h and set HAVE_SP_H in config.h automagically.

Sweet, everything seems to be working on FreeBSD out of the box....
I'll have to test it this weekend sometime.

Has someone thought about creating a port for this? If not, when is the
next release coming out, and were can I pull the tarball from? Thanks.
-sc

--
Sean Chittenden