Try to build htdig on ubuntu

Gary Liang <[email protected]> Fri, 24 Apr 2015 17:06:34 +1000
Newsgroups gmane.comp.web.htdig.general
Message-ID <CABhX6SB+cVOfOS5s31VQaWeuA-8o1UF1wBa1OgB4TCqHOqrGEg@mail.gmail.com>
--===============3268510083403882423==
Content-Type: multipart/alternative; boundary=001a1141bd7c9366580514730a61

--001a1141bd7c9366580514730a61
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On my Ubuntu machine, htdig is installed. e.g. "which htdig" gives me,
/usr/bin/htdig

I want to install htdig under /var/www/my_web_site
i.e. /var/www/my_web_site/htdig

Extra info
gcc version 4.9.1 (Ubuntu 4.9.1-16ubuntu6)
GNU Make 4.0


For htdig-3.1.6:

When I run "./configure", I got:

configure: error: To compile ht://Dig, you will need a C++ library. Try
installing libstdc++


"Run /sbin/ldconfig -p | grep stdc++"

I have:
libstdc++.so.6 (libc6,x86-64) =3D> /usr/lib/x86_64-linux-gnu/libstdc++.so.6
libstdc++.so.6 (libc6) =3D> /usr/lib/i386-linux-gnu/libstdc++.so.6


I also tried out htdig-3.2.0b6
I run "./configure", and it seems fine.

I got something like "Now you must run 'make' followed by 'make install'"


When I run "make", I got quite a few errors like:

.....
Making all in htsearch
make[1]: Entering directory
'/var/www/test/testme/sounddesign/htdig-3.2.0b6/htsearch'
g++ -DHAVE_CONFIG_H -I. -I. -I../include
-DDEFAULT_CONFIG_FILE=3D\"/opt/www/conf/htdig.conf\" -I../include -I../htli=
b
-I../htnet -I../htcommon -I../htword -I../db -I../db
-DCONFIG_DIR=3D\"/opt/www/conf\" -I../htfuzzy     -g -O2 -Wall -fno-rtti
-fno-exceptions -c -o Display.o `test -f 'Display.cc' || echo
'./'`Display.cc
In file included from Display.cc:30:0:
Collection.h:39:10: error: extra qualification =E2=80=98Collection::=E2=80=
=99 on member
=E2=80=98Open=E2=80=99 [-fpermissive]
     void Collection::Open();
....
....
....
Display.cc:830:32: warning: deprecated conversion from string constant to
=E2=80=98char*=E2=80=99 [-Wwrite-strings]
     if (input->exists("endyear"))
                                ^

Any idea what I should do?

--001a1141bd7c9366580514730a61
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>On my Ubuntu machine, htdig is installed. e.g. &quot;=
which htdig&quot; gives me, /usr/bin/htdig</div><div><br></div><div>I want =
to install htdig under /var/www/my_web_site</div><div>i.e. /var/www/my_web_=
site/htdig</div><div><br></div><div>Extra info</div><div>gcc version 4.9.1 =
(Ubuntu 4.9.1-16ubuntu6)</div><div>GNU Make 4.0</div><div><br></div><div><b=
r></div><div>For htdig-3.1.6:</div><div><br></div><div>When I run &quot;./c=
onfigure&quot;, I got:</div><div><br></div><div>configure: error: To compil=
e ht://Dig, you will need a C++ library. Try installing libstdc++</div><div=
><br></div><div><br></div><div>&quot;Run /sbin/ldconfig -p | grep stdc++&qu=
ot;</div><div><br></div><div>I have:</div><div>libstdc++.so.6 (libc6,x86-64=
) =3D&gt; /usr/lib/x86_64-linux-gnu/libstdc++.so.6</div><div>libstdc++.so.6=
 (libc6) =3D&gt; /usr/lib/i386-linux-gnu/libstdc++.so.6</div><div><br></div=
><div><br></div><div>I also tried out htdig-3.2.0b6</div><div>I run &quot;.=
/configure&quot;, and it seems fine.</div><div><br></div><div>I got somethi=
ng like &quot;Now you must run &#39;make&#39; followed by &#39;make install=
&#39;&quot;</div><div><br></div><div><br></div><div>When I run &quot;make&q=
uot;, I got quite a few errors like:</div><div><br></div><div>.....</div><d=
iv>Making all in htsearch</div><div>make[1]: Entering directory &#39;/var/w=
ww/test/testme/sounddesign/htdig-3.2.0b6/htsearch&#39;</div><div>g++ -DHAVE=
_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=3D\&quot;/opt/www/conf=
/htdig.conf\&quot; -I../include -I../htlib -I../htnet -I../htcommon -I../ht=
word -I../db -I../db -DCONFIG_DIR=3D\&quot;/opt/www/conf\&quot; -I../htfuzz=
y =C2=A0 =C2=A0 -g -O2 -Wall -fno-rtti -fno-exceptions -c -o Display.o `tes=
t -f &#39;Display.cc&#39; || echo &#39;./&#39;`Display.cc</div><div>In file=
 included from Display.cc:30:0:</div><div>Collection.h:39:10: error: extra =
qualification =E2=80=98Collection::=E2=80=99 on member =E2=80=98Open=E2=80=
=99 [-fpermissive]</div><div>=C2=A0 =C2=A0 =C2=A0void Collection::Open();</=
div><div>....</div><div>....</div><div>....</div><div>Display.cc:830:32: wa=
rning: deprecated conversion from string constant to =E2=80=98char*=E2=80=
=99 [-Wwrite-strings]</div><div>=C2=A0 =C2=A0 =C2=A0if (input-&gt;exists(&q=
uot;endyear&quot;))</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^</div><=
div><br></div><div>Any idea what I should do?</div><div><br></div><div><br>=
</div>
</div>

--001a1141bd7c9366580514730a61--


--===============3268510083403882423==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
--===============3268510083403882423==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ht://Dig general mailing list: <[email protected]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general
--===============3268510083403882423==--