From users-return-4102-daniel=haxx.se@subversion.apache.org Wed Aug 4 17:40:59 2010 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on giant.haxx.se X-Spam-Level: X-Spam-Status: No, score=0.5 required=3.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL autolearn=no version=3.3.1 Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by giant.haxx.se (8.14.3/8.14.3/Debian-9.1) with SMTP id o74Fev81020013 for ; Wed, 4 Aug 2010 17:40:58 +0200 Received: (qmail 69015 invoked by uid 500); 4 Aug 2010 15:34:10 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 69005 invoked by uid 99); 4 Aug 2010 15:34:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Aug 2010 15:34:10 +0000 X-ASF-Spam-Status: No, hits=4.7 required=10.0 tests=FREEMAIL_FROM,FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL Received-SPF: pass (athena.apache.org: domain of a.skwar@gmail.com designates 74.125.83.43 as permitted sender) Received: from [74.125.83.43] (HELO mail-gw0-f43.google.com) (74.125.83.43) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Aug 2010 15:34:04 +0000 Received: by gwj18 with SMTP id 18so2467743gwj.16 for ; Wed, 04 Aug 2010 08:33:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:sender:received:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=tsEipw4xJJ9z4iDOH25caI+QZXhnKBOTZOizQihp5Sw=; b=JzdMymr8D2EvXXd9K5YWIAqbDZnhmlPiWUYiN9V7DmoGhCMPjmNwpRlJXQ35xZQ71J TG0EV4rhe9vuDAmM6uzdjiv3Oxk3XNuWWueXHz/RWx6VSPl7AE68MusoohMtqo9Z/7wl 4PokFUdC4bZJFvWmdw8dkKJ1CPbQCum5L+CI4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; b=n4Me6uIZnzrFpqGRBuZcOrNJDpUW4UjknbslG0UeC1Q+WSLPl7+Jwx3FmY4jnwCesj xnSXoZdtMAK7Ev2izSE0B7V4uUOglm3OBHGexE4p2KoeWqWwDTymEPu8btcz2qVZtXBP zDrxG6pYAyzaC1lBDHmCcjsKVJVF5iAH1VZnA= Received: by 10.231.155.206 with SMTP id t14mr10779746ibw.34.1280936023716; Wed, 04 Aug 2010 08:33:43 -0700 (PDT) MIME-Version: 1.0 Sender: a.skwar@gmail.com Received: by 10.231.171.11 with HTTP; Wed, 4 Aug 2010 08:33:23 -0700 (PDT) From: Alexander Skwar Date: Wed, 4 Aug 2010 17:33:23 +0200 X-Google-Sender-Auth: vzJLa6RIDVRLvFNfyWmSY8hVbpo Message-ID: Subject: undefined symbol: REP_CACHE_DB_SQL To: users@subversion.apache.org Content-Type: multipart/alternative; boundary=005045015678ac75fb048d01281d X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.3.5 (giant.haxx.se [80.67.6.50]); Wed, 04 Aug 2010 17:40:59 +0200 (CEST) X-Friend: Nope --005045015678ac75fb048d01281d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello. I'm now trying to compile Subversion 1.6.12 on a Solaris 10 system. It fail= s :( /bin/bash /export/home/webservd/Source/subversion-1.6.12/libtool --tag=3DCC --silent --mode=3Dcompile cc -DSOLARIS2=3D10 -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 "=3D" "subversion/libsvn_fs_fs/rep-cache.c", line 35: non-constant initializer: o= p "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=3D/export/home/webservd/.software/subversion-1.6.12 \ --with-swig=3D/export/home/webservd/.software/swig-1.3.40 \ --with-editor=3D/opt/csw/bin/vim \ --with-sqlite=3D/export/home/webservd/.software/sqlite-3.6.23 \ --with-apr=3D/export/home/webservd/.software/apr-1.4.2/bin/apr-1-config \ --with-apr-util=3D/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 =3D 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 --=20 =E2=86=AF Lifestream (Twitter, Blog, =E2=80=A6) =E2=86=A3 http://alexs77= .soup.io/ =E2=86=AF =E2=86=AF Chat (Jabber/Google Talk) =E2=86=A3 a.skwar@gmail.com , AIM: alex= ws77 =E2=86=AF --005045015678ac75fb048d01281d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 --t= ag=3DCC --silent --mode=3Dcompile cc -DSOLARIS2=3D10 -D_POSIX_PTHREAD_SEMAN= TICS -D_REENTRANT -D_LARGEFILE64_SOURCE=C2=A0 -g=C2=A0 -g=C2=A0 -I./subvers= ion/include -I./subversion -I/export/home/webservd/.software/apr-1.4.2/incl= ude/apr-1=C2=A0=C2=A0 -I/export/home/webservd/.software/apr-util-1.3.9/incl= ude/apr-1 -I/export/home/webservd/.software/sqlite-3.6.23/include=C2=A0 -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 "=3D"= ;
"subversion/libsvn= _fs_fs/rep-cache.c", line 35: non-constant initializer: op "NAME&= quot;
cc: acomp failed for subversion/li= bsvn_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=3D/export/home/webservd/.software/subv= ersion-1.6.12 \
=C2=A0--with-swig=3D/export/home/webservd/.software/swig-1.3.40 \
=C2=A0= --with-editor=3D/opt/csw/bin/vim \
=C2=A0--with-sqlite=3D/export/home/we= bservd/.software/sqlite-3.6.23 \
=C2=A0--with-apr=3D/export/home/webserv= d/.software/apr-1.4.2/bin/apr-1-config \
=C2=A0--with-apr-util=3D/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_s= ql \
=C2=A0 "pragma aut= o_vacuum =3D 1; "\
=C2=A0 "creat= e 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
&qu= ot; (ie. all upper
case and "CACHE" instead of "CZCHE"), then I can compil= e Subversion.

Is that supposed to be so?

Best regards,
Alexander
--
=E2=86=AF=C2=A0=C2=A0=C2=A0 Lifestream (Twitter, Blog, =E2=80=A6) =E2= =86=A3=C2=A0http://al= exs77.soup.io/=C2=A0 =C2=A0=C2=A0 =E2=86=AF
=E2=86=AF Chat (Jabber/Google Talk) =E2=86=A3 a.skwar@gmail.com , AIM: alexws77=C2=A0 = =E2=86=AF

--005045015678ac75fb048d01281d--