Hello, thanks for your reply.
You were right, inspecting config.log with more attention, I found out 
the reason.
I run

CFLAGS="-I /usr/apr/1.3/include -I /usr/apr-util/1.3/include " 
CPATH="/usr/include/pcre" ./configure --with-svnlib=/usr/lib/svn/ 
--prefix=/usr/local  --with-aprlib=/usr/apr-util/1.3/lib 
--with-svninc=/usr/include/svn/

However, directories /usr/apr-util/1.3/lib,/usr/lib/svn/ were not in 
linker path, so adding them with crle helped:

$ pfexec crle -l /lib:/usr/lib:/usr/lib/svn:/usr/apr-util/1.3/lib

I used svn and aprlib from standard distribution.

Now I'm trying to compile fsvs... It's not very pleasant.
In particular,  global.h , commit.h, checksum.h, commit.c, racallback.h 
and other files includes <subversion-1/svn_ra.h>, 
<subversion-1/svn_string.h>, but they should be <svn_ra.h> and 
<svn_string.h>, because /usr/include/svn is already in include path...
In hash_ops.h instead db.h it seems should be gdbm.h.
In status.c, string 791
#endif stays after "}", but should be before.

And in the end on linking stage I got
Undefined                       first referenced
  symbol                             in file
fmemopen                            fsvs.o
svn_ra_get_repos_root2              log.o
ld: fatal: symbol referencing errors. No output written to fsvs
collect2: ld returned 1 exit status

What library is missed from link list? I tried every svn library 
(-lsvn_client-1 -lsvn_delta-1 -lsvn_diff-1 -lsvn_fs_fs-1 -lsvn_fs-1 
-lsvn_ra_dav-1 -lsvn_ra_local-1 -lsvn_ra_svn-1 -lsvn_ra-1 -lsvn_repos-1 
-lsvn_subr-1 -lsvn_wc-1) , but it didn't help...


Ph. Marek wrote:
> Hello Alexander!
> 
> On Friday 25 December 2009 Alexander Pyhalov wrote:
>> I'm trying to compile fsvs on OpenSolaris build 125. During configure I
>> receive the following message:
>> configure: No compatible valgrind version.
>> configure: error: in `/export/home/alp/distr/fsvs-1.2.1':
>> configure: error: You have a sparse S_IFMT. Please tell the dev@ mailing
>> list.
>> See `config.log' for more details.
>>
>> $ uname -a
>> SunOS myhostname 5.11 snv_125 i86pc i386 i86pc Solaris
>>
>> I found that problem had been discussed here, but I didn't understand
>> how to solve it :(
> In case other need it, here's the link:
>       http://www.mail-archive.com/[email protected]/msg00414.html
> 
> 
>> P.S. The output from  this program :
> ...
>> is  the following:
>>
>> S_IFMT=F000
>> MODE_T_SHIFT_BITS=12
>> PACKED_MODE_T_NEEDED_BITS=4
>> calc=F 1
> Yes, that's fine.
> 
> If I remember correctly the problem was the the CFLAGS/LDFLAGS were wrong, so 
> that some libraries couldn't be found.
> 
> Do you have libapr1, libsvn1, libgdbm and the others needed?
> Please send me your config.log.
> 
> 
> Sorry, I cannot test on a Sun; but maybe Mark can give some help.
> 
> 
> Regards,
> 
> Phil
> 
> 


-- 
С уважением,
Александр Пыхалов,
системный администратор ЮГИНФО ЮФУ.

------------------------------------------------------
http://fsvs.tigris.org/ds/viewMessage.do?dsForumId=3928&dsMessageId=2433279

To unsubscribe from this discussion, e-mail: 
[[email protected]].

Reply via email to