Something is broken in your libtool file.  Try starting over again.  Explode the tarball in a new directory and edit build.sh to comment out the auto foo therein.  The commented code should look like this:<br><br>...<br>export PKG_CONFIG_PATH=$SNORT<br>
<br>#libtoolize --automake --copy<br>#aclocal -I m4<br>#autoheader<br>#automake --add-missing --copy<br>#autoconf<br><br>./configure --with-dpx-includes=$SNORT/src/dynamic-examples/include --prefix=`pwd`<br>...<br><br>Then follow the steps in the README.  If you get the same problem, send me your libtool file (from the top level dpx directory).<br>
<br>If you get a compile error with the latest version of Snort, you need to #include "sf_types.h" to src/dpx.c before the line including snort_debug.h.<br><br><div class="gmail_quote">On Sat, Jun 23, 2012 at 2:30 AM, waseem sarwar <span dir="ltr"><<a href="mailto:waseemsarwar103@...445..." target="_blank">waseemsarwar103@...445...</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">


<div><div dir="ltr">
Thanks Russ. Find the attached config.log. <span class="HOEnZb"><font color="#888888"><div><br></div></font></span><div><span class="HOEnZb"><font color="#888888">--Waseem<br></font></span><div class="hm HOEnZb"><br></div>
<div><div class="hm HOEnZb"><div></div><hr>Date: Fri, 22 Jun 2012 17:45:13 -0400<br>Subject: Re: [Snort-devel] Snort Pre-processor + DPX Installation Issue<br>From: <a href="mailto:rcombs@...402..." target="_blank">rcombs@...402...</a><br>
To: <a href="mailto:waseemsarwar103@...445..." target="_blank">waseemsarwar103@...445...</a><br>CC: <a href="mailto:snort-devel@...3137...e.net" target="_blank">snort-devel@lists.sourceforge.net</a></div><div><div class="h5">
<br><br>Please send your config.log.<br><br>Thanks<br>Russ<br><br><div>On Mon, Jun 18, 2012 at 8:43 AM, waseem sarwar <span dir="ltr"><<a href="mailto:waseemsarwar103@...445..." target="_blank">waseemsarwar103@...3298......</a>></span> wrote:<br>

<blockquote style="padding-left:1ex">


<div><div dir="ltr">
<div>Hi, </div><div><br></div><div>I am new to snort development. </div><div><br></div><div>I have planned to write my own pre-processor. Can you please help me with the following, </div><div><br></div><div>1. Step by step guide to writing own pre-processor. </div>

<div><br></div><div>2. I tried to build the dpx and followed the steps at <a href="http://www.snort.org/snort-downloads/dynamic-preprocessor-starter-kit/" target="_blank">http://www.snort.org/snort-downloads/dynamic-preprocessor-starter-kit/</a> but I am stuck with the following errors, </div>

<div><br></div><div>waseem@...3294...:~/dpx-1.4$ sudo ./build.sh</div><div><br></div><div>< Skimmed Output ></div><div><br></div><div>make[2]: Entering directory `/home/waseem/dpx-1.4/src'</div><div>/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -I/home/waseem/snort-2.9.1/src/dynamic-examples/include  -g -O2 -DSF_VISIBILITY -fvisibility=hidden -fno-strict-aliasing -Wall -DDYNAMIC_PLUGIN -DZLIB -DGRE -DMPLS -DPREPROCESSOR_AND_DECODER_RULE_EVENTS -DPPM_MGR -DENABLE_MYSQL -DENABLE_PAF -DENABLE_REACT -DENABLE_RESPOND -DENABLE_RESPONSE3 -DSF_WCHAR -DSUP_IP6 -DTARGET_BASED -DPERF_PROFILING -DSNORT_RELOAD -DNORMALIZER -DACTIVE_RESPONSE -I/usr/local/include -I/usr/include/mysql   -fvisibility=hidden -c -o dpx.lo dpx.c</div>

<div>../libtool: line 2076: dpx.c: command not found</div><div>libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I/home/waseem/snort-2.9.1/src/dynamic-examples/include -g -O2 -DSF_VISIBILITY -fvisibility=hidden -fno-strict-aliasing -Wall -DDYNAMIC_PLUGIN -DZLIB -DGRE -DMPLS -DPREPROCESSOR_AND_DECODER_RULE_EVENTS -DPPM_MGR -DENABLE_MYSQL -DENABLE_PAF -DENABLE_REACT -DENABLE_RESPOND -DENABLE_RESPONSE3 -DSF_WCHAR -DSUP_IP6 -DTARGET_BASED -DPERF_PROFILING -DSNORT_RELOAD -DNORMALIZER -DACTIVE_RESPONSE -I/usr/local/include -I/usr/include/mysql -fvisibility=hidden -c ""  -fPIC -DPIC -o .libs/dpx.o</div>

<div>gcc: : No such file or directory</div><div>gcc: no input files</div><div>make[2]: *** [dpx.lo] Error 1</div><div>make[2]: Leaving directory `/home/waseem/dpx-1.4/src'</div><div>make[1]: *** [install] Error 2</div>

<div>make[1]: Leaving directory `/home/waseem/dpx-1.4/src'</div><div>make: *** [install-recursive] Error 1</div><div>waseem@...3294...:~/dpx-1.4$</div><div><br></div><div>It is somehow unable to create the dpx.o. I have changed the access permissions to 777 of .libs/ and /src but it doesn't help. </div>

<div><br></div><div>Kindly help me with this issue. </div><div><br></div><div>Thanks,</div><div>Waseem</div>                                      </div></div>
<br>------------------------------------------------------------------------------<br>
Live Security Virtual Conference<br>
Exclusive live event will cover all the ways today's security and<br>
threat landscape has changed and how IT managers can respond. Discussions<br>
will include endpoint security, mobile security and the latest in malware<br>
threats. <a href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/" target="_blank">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a><br>_______________________________________________<br>
Snort-devel mailing list<br>
<a href="mailto:Snort-devel@lists.sourceforge.net" target="_blank">Snort-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/snort-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/snort-devel</a><br>
<br>
Please visit <a href="http://blog.snort.org" target="_blank">http://blog.snort.org</a> for the latest news about Snort!<br></blockquote></div><br></div></div></div></div>                                        </div></div>
</blockquote></div><br>