Login | Register
My pages Projects Community openCollabNet

Discussions > dev > configure error on Solaris 10

fsvs
Discussion topic

Back to topic list

configure error on Solaris 10

Author Alexander Skwar <alexanders dot mailinglists+nospam at gmail dot com>
Full name Alexander Skwar <alexanders dot mailinglists+nospam at gmail dot com>
Date 2007-12-06 23:53:14 PST
Message Hello.

I just checked out Revision 1254 of fsvs from the tigris svn repository.
Now I'm trying to compile it on a Solaris 10 3/05 Sparc system. This
fails:

PATH=/opt/csw/gcc4/b​in:/opt/csw/gnu:/opt​/csw/bin:$PATH \
  CC=/opt/csw/gcc4/bin/gcc CPP=/opt/csw/gcc4/bin/cpp \
  LDFLAGS=-L/opt/csw/lib CPPFLAGS=-I/opt/csw/include \
  ./configure --prefix=$HOME/.software \
  --with-aprinc=/opt/c​sw/apache2/include --with-aprlib=/opt/c​sw/apache2/lib \
  --with-svnlib=/opt/csw/lib/svn --with-svninc=/opt/c​sw/include/subversio​n-1
[..]
checking for struct stat.st_mtim... yes
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.


In config.log (attached as well), there's:

| #include <linux/kdev_t.h>
configure:4398: result: no
configure:4402: checking linux/kdev_t.h presence
configure:4417: /opt/csw/gcc4/bin/cpp -I/opt/csw/include conftest.c
conftest.c:33:26: error: linux/kdev_t.h: No such file or directory
configure:4423: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "fsvs"
| #define PACKAGE_TARNAME "fsvs"
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING "fsvs "
| #define PACKAGE_BUGREPORT "http://fsvs.tigris.org/"
| #define _GNU_SOURCE 1
| #define CFLAGS -g -O2 -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /opt/csw/apache2/include -idirafter
/opt/csw/include/subversion-1 -idirafter /opt/csw/include/subversion-1
| #define LDFLAGS -L/opt/csw/lib -L/usr/local/lib -L/openpkg/lib
-L/opt/csw/apache2/lib -L/opt/csw/lib/svn
| #define HAVE_LIBPCRE 1
| #define HAVE_LIBAPRUTIL_1 1
| #define HAVE_LIBSVN_RA_1 1
| #define HAVE_LIBGDBM 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_PCRE_H 1
| #define HAVE_DIRENT_H 1
| #define HAVE_STRUCT_STAT_ST_MTIM 1
| /* end confdefs.h. */
| #include <linux/kdev_t.h>
configure:4437: result: no
configure:4470: checking for linux/kdev_t.h
configure:4478: result: no
configure:4494: 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.


Well, yes, there's no "linux/kdev_t.h" on this system - it's a
Solaris system :)

Is that a fault of fsvs or of somethign else?

--
Alexander
Attachments

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

Messages

Show all messages in topic

configure error on Solaris 10 Alexander Skwar <alexanders dot mailinglists+nospam at gmail dot com> Alexander Skwar <alexanders dot mailinglists+nospam at gmail dot com> 2007-12-06 23:53:14 PST
     Re: configure error on Solaris 10 pmarek P.Marek 2007-12-07 01:35:44 PST
Messages per page: