Apologies if the problem here is obvious, but I don't install that often
so I'm facing quite a steep learning curve!
Here's a transcript of my session... Any thoughts would be
appreciated... I would try gmake too but I can't find it on my system.
%./configure
loading cache ./config.cache
checking host system type... i386-unknown-freebsd4.1.1
checking target system type... i386-unknown-freebsd4.1.1
checking build system type... i386-unknown-freebsd4.1.1
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking whether make sets ${MAKE}... (cached) yes
checking whether build environment is sane... yes
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking for executable suffix... (cached) no
checking for c++... (cached) c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking how to run the C++ preprocessor... (cached) c++ -E
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ld used by GCC... (cached) /usr/libexec/elf/ld
checking if the linker (/usr/libexec/elf/ld) is GNU ld... (cached) yes
checking for /usr/libexec/elf/ld option to reload object files...
(cached) -r
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
checking how to recognise dependant libraries... (cached) pass_all
checking for object suffix... (cached) o
checking command to parse /usr/bin/nm -B output... (cached) ok
checking for dlfcn.h... (cached) yes
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking for objdir... .libs
checking for gcc option to produce PIC... (cached) -fPIC
checking if gcc PIC flag -fPIC works... (cached) yes
checking if gcc static flag -static works... (cached) yes
checking if gcc supports -c -o file.o... (cached) no
checking if we can lock with hard links... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/libexec/elf/ld) supports shared
libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... freebsd4.1.1 ld.so
checking if libtool supports shared libraries... yes
checking for dlopen in -ldl... (cached) no
checking for dlopen... (cached) yes
checking whether a program can dlopen itself... (cached) no
checking whether -lc should be explicitly linked in... (cached) yes
creating libtool
checking for a BSD compatible install... /usr/bin/install -c
setting FreeBSD compilation options
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking for arpa/inet.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for netdb.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for pthread.h... (cached) yes
checking for regex.h... (cached) yes
checking for resolv.h... (cached) yes
checking for sys/file.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/utsname.h... (cached) yes
checking for sys/wait.h... (cached) yes
checking for unistd.h... (cached) yes
checking for algorithm... (cached) yes
checking for vector... (cached) yes
checking for string... (cached) yes
checking for map... (cached) yes
checking for hash_map... (cached) yes
checking for hash_set... (cached) yes
checking for socklen_t... (cached) yes
checking whether byte ordering is bigendian... (cached) no
checking for regcomp... (cached) yes
checking for socket... (cached) yes
checking for strdup... (cached) yes
checking for strstr... (cached) yes
checking for vsnprintf... (cached) yes
checking for flock... (cached) yes
checking for fcntl... (cached) yes
checking for gethostbyname... (cached) yes
checking for socket... (cached) yes
checking for compress... (cached) no
checking for compress in -lz... (cached) yes
checking for gethostbyname_r... (cached) no
checking for inet_addr... (cached) yes
checking return type of signal handlers... (cached) void
checking for POSIX signals... yes
checking for charset guesser... disabled
checking for "limiting clones by site" feature... enabled
checking if fontsize is used in weight calculation... disabled
checking for fast clones lookup... enabled
checking for external mimetype converters... enabled
checking for UNICODE support... enabled
checking for OpenSSL support... no
checking for MySQL support... yes
includes at /usr/local/include/mysql
libraries at /usr/local/lib/mysql
checking for floor... (cached) yes
checking for Oracle8i support... no
updating cache ./config.cache
creating ./config.status
creating misc/expand-prefix
creating misc/aspseek.spec
creating Makefile
creating src/Makefile
creating doc/Makefile
creating etc/Makefile
creating include/Makefile
creating misc/Makefile
creating src/mysql/Makefile
creating src/oracle8i/Makefile
creating man/Makefile
creating etc/aspseek.conf-dist
creating etc/searchd.conf-dist
creating include/paths.h
creating etc/sql/mysql/tables.sql
creating etc/sql/orcl/tables.sql
creating misc/aspseek-mysql-postinstall
creating man/aspseek.7.ep
creating man/searchd.1.ep
creating man/searchd.conf.5.ep
creating man/aspseek.conf.5.ep
creating man/s.cgi.1.ep
creating man/s.htm.5.ep
creating include/aspseek-cfg.h
include/aspseek-cfg.h is unchanged
-------------------------------------------------------------
ASPSeek v.1.2.6 is now configured as follows:
C++ compiler: GNU c++ v.2.95.2
Compilation flags: -g -O2 -D_THREAD_SAFE -pthread
Installation path: /usr/local/aspseek
Supported database(s): MySQL
Features enabled:
* Limiting clones by site
* Fast clones lookup
* Support for external mimetype converter programs
* Store data in UNICODE format
-------------------------------------------------------------
Now it's time to run make && make install.
If make fails, try to use gmake.
Thank you for using ASPSeek!
%make && make install
Making all in src
Making all in mysql
/bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I.
-I../../include -I/usr/local/include/mysql -g -O2 -D_THREAD_SAFE
-pthread -c mysqldb.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/local/include/mysql
-g -O2 -D_THREAD_SAFE -pthread -c mysqldb.cpp -fPIC -DPIC
In file included from /usr/include/sys/user.h:46,
from ../../include/buddy.h:26,
from ../../include/content.h:32,
from ../../include/sqldbi.h:29,
from ../../include/mysqldbi.h:25,
from mysqldb.cpp:27:
/usr/include/sys/ucred.h:50: `NGROUPS' was not declared in this scope
In file included from /usr/include/sys/user.h:48,
from ../../include/buddy.h:26,
from ../../include/content.h:32,
from ../../include/sqldbi.h:29,
from ../../include/mysqldbi.h:25,
from mysqldb.cpp:27:
/usr/include/sys/proc.h:66: `MAXLOGNAME' was not declared in this scope
/usr/include/sys/proc.h:66: implicit declaration of function `int
roundup(...)'
/usr/include/sys/proc.h:222: `MAXCOMLEN' was not declared in this scope
In file included from /usr/include/sys/user.h:53,
from ../../include/buddy.h:26,
from ../../include/content.h:32,
from ../../include/sqldbi.h:29,
from ../../include/mysqldbi.h:25,
from mysqldb.cpp:27:
/usr/include/vm/vm_map.h: In function `int _vm_map_lock_upgrade(vm_map
*, proc *)':
/usr/include/vm/vm_map.h:272: ANSI C++ forbids implicit conversion from
`void *' in argument passing
In file included from ../../include/buddy.h:26,
from ../../include/content.h:32,
from ../../include/sqldbi.h:29,
from ../../include/mysqldbi.h:25,
from mysqldb.cpp:27:
/usr/include/sys/user.h: At top level:
/usr/include/sys/user.h:90: `MAXLOGNAME' was not declared in this scope
In file included from ../../include/content.h:32,
from ../../include/sqldbi.h:29,
from ../../include/mysqldbi.h:25,
from mysqldb.cpp:27:
../../include/buddy.h:43: `PAGE_SHIFT' was not declared in this scope
*** Error code 1
Stop in /usr/home/usr122074032/aspseek-1.2.6/src/mysql.
*** Error code 1
Stop in /usr/home/usr122074032/aspseek-1.2.6/src.
*** Error code 1
Stop in /usr/home/usr122074032/aspseek-1.2.6.
%
--
Ian Fenn