Login | Register
My pages Projects Community openCollabNet

Discussions > users > Problems compiling on FreeBSD6.2

fsvs
Discussion topic

Back to topic list

Problems compiling on FreeBSD6.2

Author Neil Gruending <neil at gruending dot net>
Full name Neil Gruending <neil at gruending dot net>
Date 2007-07-02 21:50:46 PDT
Message Hello,

I'm having problems compiling 1.1.6 on FreeBSD6.2. This is my first fsvs
install, so I need a little help.

Here's the configure output (btw, running make as instructed in the
README didn't work):

neo% env LDFLAGS="-L/usr/local/lib" ./configure
as_func_failure succeeded.
as_func_failure succeeded.
No shell found that supports shell functions.
Please tell autoconf at gnu dot org about your system,
including any error possibly output before this
message
configure: *** Now configuring FSVS fsvs-1.1.6:900 ***
checking for gcc... gcc
checking for C compiler default output file name... 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 ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for pcre_compile in -lpcre... yes
checking for apr_md5_init in -lapr... no
checking for svn_ra_initialize in -lsvn_ra... no
checking for gdbm_firstkey in -lgdbm... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking pcre.h usability... no
checking pcre.h presence... no
checking for pcre.h... no
checking apr_md5.h usability... no
checking apr_md5.h presence... no
checking for apr_md5.h... no
checking svn_md5.h usability... no
checking svn_md5.h presence... no
checking for svn_md5.h... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for struct stat.st_mtim... no
checking valgrind/valgrind.h usability... no
checking valgrind/valgrind.h presence... no
checking for valgrind/valgrind.h... no
configure: WARNING: Sorry, can't find valgrind headers.
checking linux/kdev_t.h usability... no
checking linux/kdev_t.h presence... no
checking for linux/kdev_t.h... no
configure: error:
*** MAJOR(), MINOR() and MAKEDEV() definitions not found.
*** I'll fake a definition, but that could make problems for ignore patterns
*** and commits/updates of device nodes.
*** Please contact dev at fsvs dot tigris dot org for help, or, if you know your
*** systems' way, to report the correct header name.
See `config.log' for more details.

For some reason it can't find my APR libraries (and possible more). I
needed the LDFLAGS so it could find PCRE. All of my APR libraries are in
/usr/local/lib:

neo% ls /usr/local/lib | grep apr
apr.exp
aprutil.exp
libapr-1.a
libapr-1.la
libapr-1.so
libapr-1.so.2
libaprutil-1.a
libaprutil-1.la
libaprutil-1.so
libaprutil-1.so.2

The verion of APR installed on my machine is:

neo% pkg_info | grep apr
apr-db42-1.2.7_1 The Apache Group's Portability Library

Unfortunately I don't know a whole lot about autoconf so I'm stuck on
this one. I've also attached my config.log if that helps.

Thanks!
Neil Gruending
Attachments

« Previous message in topic | 1 of 4 | Next message in topic »

Messages

Show all messages in topic

Problems compiling on FreeBSD6.2 Neil Gruending <neil at gruending dot net> Neil Gruending <neil at gruending dot net> 2007-07-02 21:50:46 PDT
     Re: Problems compiling on FreeBSD6.2 pmarek P.Marek 2007-07-02 23:45:20 PDT
         Re: Problems compiling on FreeBSD6.2 Neil Gruending <neil at gruending dot net> Neil Gruending <neil at gruending dot net> 2007-07-02 23:32:03 PDT
             Re: Problems compiling on FreeBSD6.2 pmarek P.Marek 2007-07-03 00:43:57 PDT
Messages per page: