|
From: Jesse G. <jgr...@go...> - 2003-09-18 18:27:25
|
Rob,
> I think ltmain.sh is part of the libtool package, and the error
> message towards the end also mentions libtool.
>
> Can you run "libtool --version" at the command line and get a version
> number ? I am compiling libtool with version 1.5a. If you have no
> libtool, or if fink's libtool is old, you might have to download and
> install a newer libtool.
humm I certainly have a libtool command, but it doesn't take any
version parameter.
> I regret that at the moment I do not have access to an OS X machine to
> test things on with you. However, I might have access to one after
> the end of the month.
>
> If you are missing libtool or have an old version, that might explain
> things.
anyway i've gotten future in the process, but am still not able to
compile successfully. first i found that "libtoolize" has been renamed
to "glibtoolize" on os x, so i ran
ln /usr/bin/glibtoolize /usr/local/bin/glibtoolize
and that seems to have fixed the "./bootstrap: libtoolize: command not
found" problem. I've attached two terminal sessions bellow. The first
is when i try to run bootstrap - configure - make all in a fresh
version of clucene. if i run this sequence a second time it complains
about a missing ltmain.sh in the bootstrap phase (it doesn't complete
about this the first time). If i then copy this "ltmain.sh" file (i'm
grabbing it from another library, metakit, that i've compiled on my
computer) into the ./build folder where clucene is looking for it the
compile process seems to get further. Though it still breaks pretty
quickly.
let me know if you like temporary remote access to my os x machine i'd
be happy to give it to you.
thanks,
Jesse
[Jesse-Grosjeans-Computer:~/Desktop/clucene-0.8.1-src] jessegrosjean%
chmod 777 bootstrap
[Jesse-Grosjeans-Computer:~/Desktop/clucene-0.8.1-src] jessegrosjean%
./bootstrap
+ libtoolize --force --copy --ltdl --automake
+ aclocal
+ autoconf
+ autoheader
+ automake -a --copy --foreign
configure.ac: installing `./build/gcc/config/install-sh'
configure.ac: installing `./build/gcc/config/mkinstalldirs'
configure.ac: installing `./build/gcc/config/missing'
Use of uninitialized value in concatenation (.) at /usr/bin/automake
line 8393.
: installing `./build/gcc/config/config.guess'
Use of uninitialized value in concatenation (.) at /usr/bin/automake
line 8393.
: installing `./build/gcc/config/config.sub'
aclocal.m4:846: required file `./build/gcc/config/ltmain.sh' not found
examples/demo/Makefile.am: installing `./build/gcc/config/depcomp'
automake: processing Makefiles another time to fix them up.
[Jesse-Grosjeans-Computer:~/Desktop/clucene-0.8.1-src] jessegrosjean%
./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for gcvt... no
checking build system type... powerpc-apple-darwin6.6
checking host system type... powerpc-apple-darwin6.6
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking whether ln -s works... yes
checking how to recognise dependant libraries... file_magic Mach-O
dynamically linked shared library
checking command to parse /usr/bin/nm -p output... ok
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... no
checking dlfcn.h presence... no
checking for dlfcn.h... no
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries...
yes
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... darwin6.6 dyld
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/CLucene/Makefile
config.status: creating src/CLucene/analysis/Makefile
config.status: creating src/CLucene/analysis/standard/Makefile
config.status: creating src/CLucene/document/Makefile
config.status: creating src/CLucene/index/Makefile
config.status: creating src/CLucene/queryParser/Makefile
config.status: creating src/CLucene/search/Makefile
config.status: creating src/CLucene/store/Makefile
config.status: creating src/CLucene/util/Makefile
config.status: creating examples/Makefile
config.status: creating examples/demo/Makefile
config.status: creating examples/tests/Makefile
config.status: creating examples/util/Makefile
config.status: creating config.h
config.status: executing depfiles commands
[Jesse-Grosjeans-Computer:~/Desktop/clucene-0.8.1-src] jessegrosjean%
make all
make all-recursive
Making all in src
Making all in CLucene
Making all in analysis
Making all in standard
source='StandardAnalyzer.cpp' object='StandardAnalyzer.lo' libtool=yes \
depfile='.deps/StandardAnalyzer.Plo'
tmpdepfile='.deps/StandardAnalyzer.TPlo' \
depmode=gcc3 /bin/sh ../../../.././build/gcc/config/depcomp \
/bin/sh ../../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../../../.. -I../../../../src -g -O2 -c -o StandardAnalyzer.lo
`test -f 'StandardAnalyzer.cpp' || echo './'`StandardAnalyzer.cpp
../../../../libtool: ../../../../libtool: No such file or directory
make[5]: *** [StandardAnalyzer.lo] Error 127
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
[Jesse-Grosjeans-Computer:~/Desktop/clucene-0.8.1-src] jessegrosjean%
//*******************************************************
// Second run
//*******************************************************
[Jesse-Grosjeans-Computer:~/Desktop/clucene-0.8.1-src] jessegrosjean%
./bootstrap
mkdir: ./build/gcc/config: File exists
+ libtoolize --force --copy --ltdl --automake
+ aclocal
+ autoconf
+ autoheader
+ automake -a --copy --foreign
aclocal.m4:846: required file `./build/gcc/config/ltmain.sh' not found
[Jesse-Grosjeans-Computer:~/Desktop/clucene-0.8.1-src] jessegrosjean%
./bootstrap
mkdir: ./build/gcc/config: File exists
+ libtoolize --force --copy --ltdl --automake
+ aclocal
+ autoconf
+ autoheader
+ automake -a --copy --foreign
[Jesse-Grosjeans-Computer:~/Desktop/clucene-0.8.1-src] jessegrosjean%
./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for gcvt... no
checking build system type... powerpc-apple-darwin6.6
checking host system type... powerpc-apple-darwin6.6
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking whether ln -s works... yes
checking how to recognise dependant libraries... file_magic Mach-O
dynamically linked shared library
checking command to parse /usr/bin/nm -p output... ok
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... no
checking dlfcn.h presence... no
checking for dlfcn.h... no
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries...
yes
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... darwin6.6 dyld
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
creating libtool
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/CLucene/Makefile
config.status: creating src/CLucene/analysis/Makefile
config.status: creating src/CLucene/analysis/standard/Makefile
config.status: creating src/CLucene/document/Makefile
config.status: creating src/CLucene/index/Makefile
config.status: creating src/CLucene/queryParser/Makefile
config.status: creating src/CLucene/search/Makefile
config.status: creating src/CLucene/store/Makefile
config.status: creating src/CLucene/util/Makefile
config.status: creating examples/Makefile
config.status: creating examples/demo/Makefile
config.status: creating examples/tests/Makefile
config.status: creating examples/util/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
[Jesse-Grosjeans-Computer:~/Desktop/clucene-0.8.1-src] jessegrosjean%
make all
cd . && /bin/sh
/Users/jessegrosjean/Desktop/clucene-0.8.1-src/build/gcc/config/missing
--run autoheader
touch ./config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make all-recursive
Making all in src
Making all in CLucene
Making all in analysis
Making all in standard
source='StandardAnalyzer.cpp' object='StandardAnalyzer.lo' libtool=yes \
depfile='.deps/StandardAnalyzer.Plo'
tmpdepfile='.deps/StandardAnalyzer.TPlo' \
depmode=gcc3 /bin/sh ../../../.././build/gcc/config/depcomp \
/bin/sh ../../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../../../.. -I../../../../src -g -O2 -c -o StandardAnalyzer.lo
`test -f 'StandardAnalyzer.cpp' || echo './'`StandardAnalyzer.cpp
rm -f .libs/StandardAnalyzer.lo
g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src -g -O2 -c
StandardAnalyzer.cpp -MT StandardAnalyzer.lo -MD -MP -MF
.deps/StandardAnalyzer.TPlo -fno-common -DPIC -o
.libs/StandardAnalyzer.lo
In file included from StandardAnalyzer.h:7,
from StandardAnalyzer.cpp:2:
../AnalysisHeader.h: In constructor
`lucene::analysis::Token::Token(const
char*, long int, long int)':
../AnalysisHeader.h:25: `1048576' cannot be used as a function
In file included from StandardAnalyzer.h:8,
from StandardAnalyzer.cpp:2:
../Analyzers.h: At global scope:
../Analyzers.h:258: `1048576' cannot be used as a function
../Analyzers.h:258: `1048576' cannot be used as a function
../Analyzers.h:258: `1048576' cannot be used as a function
../Analyzers.h:258: `1048576' cannot be used as a function
../Analyzers.h:258: `1048576' cannot be used as a function
../Analyzers.h:258: `1048576' cannot be used as a function
../Analyzers.h:258: `1048576' cannot be used as a function
../Analyzers.h:258: `1048576' cannot be used as a function
../Analyzers.h:259: `1048576' cannot be used as a function
../Analyzers.h:259: `1048576' cannot be used as a function
../Analyzers.h:259: `1048576' cannot be used as a function
../Analyzers.h:259: `1048576' cannot be used as a function
../Analyzers.h:259: `1048576' cannot be used as a function
../Analyzers.h:259: `1048576' cannot be used as a function
../Analyzers.h:260: `1048576' cannot be used as a function
../Analyzers.h:260: `1048576' cannot be used as a function
../Analyzers.h:260: `1048576' cannot be used as a function
../Analyzers.h:260: `1048576' cannot be used as a function
../Analyzers.h:260: `1048576' cannot be used as a function
../Analyzers.h:260: `1048576' cannot be used as a function
../Analyzers.h:260: `1048576' cannot be used as a function
../Analyzers.h:261: `1048576' cannot be used as a function
../Analyzers.h:261: `1048576' cannot be used as a function
../Analyzers.h:261: `1048576' cannot be used as a function
../Analyzers.h:261: `1048576' cannot be used as a function
../Analyzers.h:261: `1048576' cannot be used as a function
../Analyzers.h:261: `1048576' cannot be used as a function
../Analyzers.h:261: `1048576' cannot be used as a function
../Analyzers.h:262: `1048576' cannot be used as a function
../Analyzers.h:262: `1048576' cannot be used as a function
../Analyzers.h:262: `1048576' cannot be used as a function
../Analyzers.h:262: `1048576' cannot be used as a function
../Analyzers.h:262: `1048576' cannot be used as a function
../Analyzers.h:262: `1048576' cannot be used as a function
In file included from StandardFilter.h:7,
from StandardAnalyzer.h:9,
from StandardAnalyzer.cpp:2:
StandardTokenizerConstants.h:18: `1048576' cannot be used as a function
StandardTokenizerConstants.h:19: `1048576' cannot be used as a function
StandardTokenizerConstants.h:20: `1048576' cannot be used as a function
StandardTokenizerConstants.h:21: `1048576' cannot be used as a function
StandardTokenizerConstants.h:22: `1048576' cannot be used as a function
StandardTokenizerConstants.h:23: `1048576' cannot be used as a function
StandardTokenizerConstants.h:24: `1048576' cannot be used as a function
StandardTokenizerConstants.h:25: `1048576' cannot be used as a function
StandardTokenizerConstants.h:26: `1048576' cannot be used as a function
StandardTokenizerConstants.h:27: `1048576' cannot be used as a function
StandardTokenizerConstants.h:28: `1048576' cannot be used as a function
StandardTokenizerConstants.h:29: `1048576' cannot be used as a function
StandardTokenizerConstants.h:30: `1048576' cannot be used as a function
StandardTokenizerConstants.h:31: `1048576' cannot be used as a function
In file included from StandardAnalyzer.cpp:2:
StandardAnalyzer.h:20: `1048576' cannot be used as a function
StandardAnalyzer.h:20: `1048576' cannot be used as a function
StandardAnalyzer.h:20: `1048576' cannot be used as a function
StandardAnalyzer.h:20: `1048576' cannot be used as a function
StandardAnalyzer.h:20: `1048576' cannot be used as a function
StandardAnalyzer.h:20: `1048576' cannot be used as a function
StandardAnalyzer.h:20: `1048576' cannot be used as a function
StandardAnalyzer.h:20: `1048576' cannot be used as a function
StandardAnalyzer.h:21: `1048576' cannot be used as a function
StandardAnalyzer.h:21: `1048576' cannot be used as a function
StandardAnalyzer.h:21: `1048576' cannot be used as a function
StandardAnalyzer.h:21: `1048576' cannot be used as a function
StandardAnalyzer.h:21: `1048576' cannot be used as a function
StandardAnalyzer.h:21: `1048576' cannot be used as a function
StandardAnalyzer.h:22: `1048576' cannot be used as a function
StandardAnalyzer.h:22: `1048576' cannot be used as a function
StandardAnalyzer.h:22: `1048576' cannot be used as a function
StandardAnalyzer.h:22: `1048576' cannot be used as a function
StandardAnalyzer.h:22: `1048576' cannot be used as a function
StandardAnalyzer.h:22: `1048576' cannot be used as a function
StandardAnalyzer.h:22: `1048576' cannot be used as a function
StandardAnalyzer.h:23: `1048576' cannot be used as a function
StandardAnalyzer.h:23: `1048576' cannot be used as a function
StandardAnalyzer.h:23: `1048576' cannot be used as a function
StandardAnalyzer.h:23: `1048576' cannot be used as a function
StandardAnalyzer.h:23: `1048576' cannot be used as a function
StandardAnalyzer.h:23: `1048576' cannot be used as a function
StandardAnalyzer.h:23: `1048576' cannot be used as a function
StandardAnalyzer.h:24: `1048576' cannot be used as a function
StandardAnalyzer.h:24: `1048576' cannot be used as a function
StandardAnalyzer.h:24: `1048576' cannot be used as a function
StandardAnalyzer.h:24: `1048576' cannot be used as a function
StandardAnalyzer.h:24: `1048576' cannot be used as a function
StandardAnalyzer.h:24: `1048576' cannot be used as a function
make[5]: *** [StandardAnalyzer.lo] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
[Jesse-Grosjeans-Computer:~/Desktop/clucene-0.8.1-src] jessegrosjean%
----------------------------------------------------------------
Jesse Grosjean
Hog Bay Software
www.hogbay.com/software/
|