Login | Register
My pages Projects Community openCollabNet

Discussions > users > Compiling FSVS against subversion 1.7.9 on CentOS 6.4? (sparse S_IFMT)

fsvs
Discussion topic

Hide all messages in topic

All messages in topic

Re: Compiling FSVS against subversion 1.7.9 on CentOS 6.4? (sparse S_IFMT)

Author Thomas Harold <thomas-lists at nybeta dot com>
Full name Thomas Harold <thomas-lists at nybeta dot com>
Date 2013-05-11 06:25:14 PDT
Message On 5/10/2013 1:20 AM, P.Marek wrote:
>
> It's the first time some C source gets compiled with the SVN libraries, and it goes wrong.
>

I went ahead and installed the subversion-devel (SVN 1.6) RPM packages
from the base CentOS repositories and FSVS compiles fine.

So I obviously screwed something up when I compiled SVN from source.
Just not sure what.

Re: Compiling FSVS against subversion 1.7.9 on CentOS 6.4? (sparse S_IFMT)

Author pmarek
Full name P.Marek
Date 2013-05-10 07:09:36 PDT
Message Hello Thomas,


> I suspect it's a PEBKAC error, because I've compiled this before on
> CentOS 6.2 using the subversion-devel 1.6 install. I've attached the
> config.log file.
>
> For the moment, I'm going to go back a step, install the
> subversion-devel 1.6 packages and see if I can get it to compile.
>
> Will FSVS compiled against SVN 1.6 work on a machine which then has SVN
> 1.7 installed afterwards?
Uh, I don't know.

I'd think so, because the API is fairly stable.


The config.log shows
  ./conftest: error while loading shared libraries: libsvn_ra-1.so.0:
  cannot open shared object file: No such file or directory


Where is it located? I've got one in

  libsvn1:amd64: /usr/lib/x86_64-linu​x-gnu/libsvn_ra-1.so​.1

perhaps you'd need to pass additional LDFLAGS="-L... -L..." to configure?


Regards,

Phil

Re: Compiling FSVS against subversion 1.7.9 on CentOS 6.4? (sparse S_IFMT)

Author Thomas Harold <thomas-lists at nybeta dot com>
Full name Thomas Harold <thomas-lists at nybeta dot com>
Date 2013-05-10 06:59:29 PDT
Message On 5/10/2013 1:20 AM, P.Marek wrote:
> Hello Thomas,
>
>> Will FSVS compile against SVN 1.7? I've downloaded the 1.7.9 source
>> tarball for Subversion on CentOS 6.4 (minimal install) and installed
>> packages "zlib-devel sqlite-devel pcre-devel gdbm-devel openssh-clients".
> Yes, it should work.
>
>> However, after compiling (./configure && make && make install) and
>> installing SVN, I get the following error during fsvs-1.2.5 ./configure:
> ...
>> configure: No compatible valgrind version.
>> configure: error: in `/usr/local/src/fsvs-1.2.5':
>> configure: error: You have a sparse S_IFMT. Please tell the dev@ mailing
>> list.
>> See `config.log' for more details
> That's a bit misleading here.

I suspect it's a PEBKAC error, because I've compiled this before on
CentOS 6.2 using the subversion-devel 1.6 install. I've attached the
config.log file.

For the moment, I'm going to go back a step, install the
subversion-devel 1.6 packages and see if I can get it to compile.

Will FSVS compiled against SVN 1.6 work on a machine which then has SVN
1.7 installed afterwards?
Attachments

Re: Compiling FSVS against subversion 1.7.9 on CentOS 6.4? (sparse S_IFMT)

Author pmarek
Full name P.Marek
Date 2013-05-09 22:20:50 PDT
Message Hello Thomas,

> Will FSVS compile against SVN 1.7? I've downloaded the 1.7.9 source
> tarball for Subversion on CentOS 6.4 (minimal install) and installed
> packages "zlib-devel sqlite-devel pcre-devel gdbm-devel openssh-clients".
Yes, it should work.

> However, after compiling (./configure && make && make install) and
> installing SVN, I get the following error during fsvs-1.2.5 ./configure:
...
> configure: No compatible valgrind version.
> configure: error: in `/usr/local/src/fsvs-1.2.5':
> configure: error: You have a sparse S_IFMT. Please tell the dev@ mailing
> list.
> See `config.log' for more details
That's a bit misleading here.

It's the first time some C source gets compiled with the SVN libraries, and it goes wrong.

Please look at config.log; I guess that the path to some header or library files is wrong.


Regards,

Phil

Compiling FSVS against subversion 1.7.9 on CentOS 6.4? (sparse S_IFMT)

Author Thomas Harold <thomas-lists at nybeta dot com>
Full name Thomas Harold <thomas-lists at nybeta dot com>
Date 2013-05-09 16:21:47 PDT
Message Will FSVS compile against SVN 1.7? I've downloaded the 1.7.9 source
tarball for Subversion on CentOS 6.4 (minimal install) and installed
packages "zlib-devel sqlite-devel pcre-devel gdbm-devel openssh-clients".

However, after compiling (./configure && make && make install) and
installing SVN, I get the following error during fsvs-1.2.5 ./configure:

$ ./configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 grep that handles long lines and -e... /bin/grep
checking for egrep... /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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
configure: *** Now configuring FSVS ***
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... gcc -E
configure: "CFLAGS=-g -O2 -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /usr/include/apr-1"
configure: "LDFLAGS= -L/usr/local/lib -L/openpkg/lib"
checking for pcre_compile in -lpcre... yes
checking for apr_md5_init in -laprutil-1... yes
checking for svn_txdelta_apply in -lsvn_delta-1... yes
checking for svn_ra_initialize in -lsvn_ra-1... yes
checking for gdbm_firstkey in -lgdbm... yes
checking for ANSI C header files... (cached) 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... yes
checking pcre.h presence... yes
checking for pcre.h... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for struct stat.st_mtim... yes
configure: No compatible valgrind version.
configure: error: in `/usr/local/src/fsvs-1.2.5':
configure: error: You have a sparse S_IFMT. Please tell the dev@ mailing
list.
See `config.log' for more details


$ egrep -r "#define[[:space:]]+S_IFMT" /usr/include
/usr/include/linux/s​tat.h:#define S_IFMT 00170000
Messages per page: