Discussion:
[htdig-dev] Compile htsearch
Dominique Arpin
2007-02-02 15:42:13 UTC
Permalink
Hi,

I have some problems to compile htsearch

In the htsearch file:
# The htsearch program cannot be directly executed until all the libtool
# libraries that it depends on are installed.

During the compilation:

g++ -DHAVE_CONFIG_H -I. -I. -I../include
-DDEFAULT_CONFIG_FILE=\"/home/htdig/conf/htdig/web//htdig.conf\"
-I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db
-I../db -DCONFIG_DIR=\"/home/htdig/conf/htdig/web/\" -I../htfuzzy -g
-O2 -Wall -fno-rtti -fno-exceptions -c -o htsearch.o `test -f
'htsearch.cc' || echo './'`htsearch.cc
htsearch.cc:71: warning: non-local variable '<anonymous struct>
colonPrefix []' uses anonymous type
htsearch.cc: In function 'void setupWords(char*, List&, int, Parser*,
String&)':
htsearch.cc:572: warning: comparison is always true due to limited range
of data type
htsearch.cc:580: warning: comparison is always true due to limited range
of data type
htsearch.cc:593: warning: comparison is always true due to limited range
of data type


System: Debian etch up-to-date

ii libltdl3 1.5.22-4 A system independent dlopen wrapper for GNU libtool
ii libtool 1.5.22-4 Generic library support script
ii gcc 4.1.1-15 The GNU C compiler
ii gcc-4.0 4.0.3-7 The GNU C compiler
ii gcc-4.0-base 4.0.3-7 The GNU Compiler Collection (base package)
ii gcc-4.1 4.1.1-21 The GNU C compiler
ii gcc-4.1-base 4.1.1-21 The GNU Compiler Collection (base package)
ii libgcc1 4.1.1-21 GCC support library
--
Dominique Arpin, administrateur réseau
A+,Linux+,Server+,MCP
Espace Courbe inc. http://www.espacecourbe.com/
642 de Courcelle, bureau 303, Montréal (Québec), Canada H4C 3C5
tél.: (514) 933-9861 téléc.: (514) 933-9546
Jim Cole
2007-02-05 10:15:01 UTC
Permalink
Hi - What is the actual problem that you are encountering? The output
from the compile of htsearch contains only warnings, which should not
prevent you from building the executable. Is there an error generated
that is not shown below? Does the htsearch program crash after being
installed?

Jim
Post by Dominique Arpin
Hi,
I have some problems to compile htsearch
# The htsearch program cannot be directly executed until all the libtool
# libraries that it depends on are installed.
g++ -DHAVE_CONFIG_H -I. -I. -I../include
-DDEFAULT_CONFIG_FILE=\"/home/htdig/conf/htdig/web//htdig.conf\"
-I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db
-I../db -DCONFIG_DIR=\"/home/htdig/conf/htdig/web/\" -I../
htfuzzy -g
-O2 -Wall -fno-rtti -fno-exceptions -c -o htsearch.o `test -f
'htsearch.cc' || echo './'`htsearch.cc
htsearch.cc:71: warning: non-local variable '<anonymous struct>
colonPrefix []' uses anonymous type
htsearch.cc: In function 'void setupWords(char*, List&, int, Parser*,
htsearch.cc:572: warning: comparison is always true due to limited range
of data type
htsearch.cc:580: warning: comparison is always true due to limited range
of data type
htsearch.cc:593: warning: comparison is always true due to limited range
of data type
Dominique Arpin
2007-02-05 14:43:51 UTC
Permalink
Hi,

The problem I have, I can't build a binary for htsearch. I just have a
bash script. Maybe I forget to install something.

configure:9499: checking if libtool supports shared libraries
configure:9501: result: yes
configure:9504: checking whether to build shared libraries
configure:9562: result: yes
configure:9565: checking whether to build static libraries
configure:9569: result: yes
configure:9661: creating libtool
configure:10208: checking for ld used by g++

htsearch work just fine, but it's a wrapper. With this wrapper, I can't
have different htsearch with different configuration.
Post by Jim Cole
Hi - What is the actual problem that you are encountering? The output
from the compile of htsearch contains only warnings, which should not
prevent you from building the executable. Is there an error generated
that is not shown below? Does the htsearch program crash after being
installed?
Jim
Post by Dominique Arpin
Hi,
I have some problems to compile htsearch
# The htsearch program cannot be directly executed until all the libtool
# libraries that it depends on are installed.
g++ -DHAVE_CONFIG_H -I. -I. -I../include
-DDEFAULT_CONFIG_FILE=\"/home/htdig/conf/htdig/web//htdig.conf\"
-I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db
-I../db -DCONFIG_DIR=\"/home/htdig/conf/htdig/web/\" -I../
htfuzzy -g
-O2 -Wall -fno-rtti -fno-exceptions -c -o htsearch.o `test -f
'htsearch.cc' || echo './'`htsearch.cc
htsearch.cc:71: warning: non-local variable '<anonymous struct>
colonPrefix []' uses anonymous type
htsearch.cc: In function 'void setupWords(char*, List&, int, Parser*,
htsearch.cc:572: warning: comparison is always true due to limited range
of data type
htsearch.cc:580: warning: comparison is always true due to limited range
of data type
htsearch.cc:593: warning: comparison is always true due to limited range
of data type
--
Dominique Arpin, administrateur réseau
A+,Linux+,Server+,MCP
Espace Courbe inc. http://www.espacecourbe.com/
642 de Courcelle, bureau 303, Montréal (Québec), Canada H4C 3C5
tél.: (514) 933-9861 téléc.: (514) 933-9546
Jim Cole
2007-02-11 19:13:03 UTC
Permalink
Post by Dominique Arpin
The problem I have, I can't build a binary for htsearch. I just have a
bash script. Maybe I forget to install something.
configure:9499: checking if libtool supports shared libraries
configure:9501: result: yes
configure:9504: checking whether to build shared libraries
configure:9562: result: yes
configure:9565: checking whether to build static libraries
configure:9569: result: yes
configure:9661: creating libtool
configure:10208: checking for ld used by g++
htsearch work just fine, but it's a wrapper. With this wrapper, I can't
have different htsearch with different configuration.
Are you sure that you are looking at the installed version of
htsearch (the one placed by make install)? Or at least the one in
htsearch/.libs? The file named htsearch in the htsearch directory
will be a wrapper script, but what is installed (or built in .libs)
should be a binary executable.

Jim

Loading...