Hello.

I'm now trying to compile Subversion 1.6.12 on a Solaris 10 system. It fails
:(

/bin/bash /export/home/webservd/Source/subversion-1.6.12/libtool --tag=CC
--silent --mode=compile cc -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS
-D_REENTRANT -D_LARGEFILE64_SOURCE  -g  -g  -I./subversion/include
-I./subversion -I/export/home/webservd/.software/apr-1.4.2/include/apr-1
-I/export/home/webservd/.software/apr-util-1.3.9/include/apr-1
-I/export/home/webservd/.software/sqlite-3.6.23/include  -o
subversion/libsvn_fs_fs/rep-cache.lo -c subversion/libsvn_fs_fs/rep-cache.c
"subversion/libsvn_fs_fs/rep-cache.c", line 35: undefined symbol:
REP_CACHE_DB_SQL
"subversion/libsvn_fs_fs/rep-cache.c", line 35: warning: improper
pointer/integer combination: op "="
"subversion/libsvn_fs_fs/rep-cache.c", line 35: non-constant initializer: op
"NAME"
cc: acomp failed for subversion/libsvn_fs_fs/rep-cache.c
gmake: *** [subversion/libsvn_fs_fs/rep-cache.lo] Error 1


Prior to running gmake, I ran this configure command:

./configure --prefix=/export/home/webservd/.software/subversion-1.6.12 \
 --with-swig=/export/home/webservd/.software/swig-1.3.40 \
 --with-editor=/opt/csw/bin/vim \
 --with-sqlite=/export/home/webservd/.software/sqlite-3.6.23 \
 --with-apr=/export/home/webservd/.software/apr-1.4.2/bin/apr-1-config \
 --with-apr-util=/export/home/webservd/.software/apr-util-1.3.9/bin/apu-1-config

In ./subversion/libsvn_fs_fs/rep-cache-db.h, there's:

#define rep_cZche_db_sql \
  "pragma auto_vacuum = 1; "\
  "create table rep_cache (hash text not null primary key, "\

"rep_cZche_db_sql"? cZche? Is that correct?

When I replace "rep_cZche_db_sql" with "REP_CACHE_DB_SQL" (ie. all upper
case and "CACHE" instead of "CZCHE"), then I can compile Subversion.

Is that supposed to be so?

Best regards,
Alexander
-- 
↯    Lifestream (Twitter, Blog, …) ↣ http://alexs77.soup.io/     ↯
↯ Chat (Jabber/Google Talk) ↣ a.sk...@gmail.com , AIM: alexws77  ↯

Reply via email to