Cheng-Lung Sung wrote:
Can you apply this patch and try again?
On Wed, Feb 14, 2007 at 06:34:33PM -0800, Garrett Cooper wrote:
Cheng-Lung Sung wrote:
Hi,
   Can you try reinstall ports/net/libnet10 and try again?
On Fri, Feb 09, 2007 at 07:11:03PM -0800, Garrett Cooper wrote:
I looked briefly at the config log and it appears that gcc under 7-CURRENT doesn't support all the tests available in confdefs.h (C++ checks).

I've attached the error logfile as asked by the port message.

-Garrett
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59.  Invocation command line was

$ ./configure --enable-dynamicplugin --enable-flexresp --with-libnet-includes= --with-libnet-libraries= --with-mysql=no --with-odbc=no --with-postgresql=no --disable-prelude --prefix=/usr/local --build=i386-portbld-freebsd7.0
I did that actually. Multiple times. Or do I need to uninstall both libnet10 and it's dependencies, then reinstall snort?

-Garrett


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

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/security/snort/Makefile,v
retrieving revision 1.81
diff -u -r1.81 Makefile
--- Makefile    7 Feb 2007 01:57:04 -0000       1.81
+++ Makefile    15 Feb 2007 03:38:48 -0000
@@ -77,8 +77,8 @@
 .endif
 BUILD_DEPENDS+=                ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10
 CONFIGURE_ARGS+=       --enable-flexresp \
-                       --with-libnet-includes=${LIBNET_INCDIR} \
-                       --with-libnet-libraries=${LIBNET_LIBDIR}
+                       --with-libnet-includes=${LOCALBASE}/includes/libnet10 \
+                       --with-libnet-libraries=${LOCALBASE}/lib/libnet10
 .endif
.if defined(WITH_FLEXRESP2)

Unfortunately the patch you provided above doesn't work..

Here's a patch that will work though. Thanks for getting me on the right direction with a fix :).

I'm CC'ing the ports@ list just for documentation purposes.

-Garrett
--- Makefile    Wed Feb 14 22:45:23 2007
+++ /home/gcooper/Makefile      Wed Feb 14 22:46:03 2007
@@ -50,9 +50,9 @@
 .endif
 
 .if defined(WITH_FLEXRESP)
-LIBNET_CONFIG?=                /usr/local/bin/libnet-config
+LIBNET_CONFIG?=                ${LOCALBASE}/bin/libnet10-config
 .elif defined(WITH_FLEXRESP2)
-LIBNET_CONFIG?=                /usr/local/bin/libnet11-config
+LIBNET_CONFIG?=                ${LOCALBASE}/bin/libnet11-config
 .endif
 
 .if exists(${LIBNET_CONFIG})
@@ -77,8 +77,8 @@
 .endif
 BUILD_DEPENDS+=                ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10
 CONFIGURE_ARGS+=       --enable-flexresp \
-                       --with-libnet-includes=${LOCALBASE}/include \
-                       --with-libnet-libraries=${LOCALBASE}/lib/
+                       --with-libnet-includes=${LIBNET_INCDIR} \
+                       --with-libnet-libraries=${LIBNET_LIBDIR}
 .endif
 
 .if defined(WITH_FLEXRESP2)
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to