From MAILER-DAEMON Tue Jun 05 03:16:46 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1HvTHa-0007zx-9K
	for mharc-bug-commoncpp@gnu.org; Tue, 05 Jun 2007 03:16:46 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1HtPIw-0001EL-3q
	for bug-commoncpp@gnu.org; Wed, 30 May 2007 10:37:38 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1HtPIt-0001E5-CF
	for bug-commoncpp@gnu.org; Wed, 30 May 2007 10:37:36 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1HtPIt-0001E2-8T
	for bug-commoncpp@gnu.org; Wed, 30 May 2007 10:37:35 -0400
Received: from ffe2.ukr.net ([195.214.192.9])
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60)
	(envelope-from <alexon21@ukr.net>) id 1HtPIs-0004L5-Lq
	for bug-commoncpp@gnu.org; Wed, 30 May 2007 10:37:35 -0400
Received: from mail by ffe2.ukr.net with local ID 1HtPIo-0001y0-WA
	for bug-commoncpp@gnu.org; Wed, 30 May 2007 17:37:31 +0300
Content-Transfer-Encoding: binary
Content-Type: multipart/alternative; boundary="_----------=_118053585068902"
MIME-Version: 1.0
To: bug-commoncpp@gnu.org
From: "Alex Onufrienko" <alexon21@ukr.net>
X-Life: is great, enjoy it!
X-Mailer: freemail.ukr.net mPOP 3.3
X-Originating-Ip: 192.168.0.18, 213.169.66.65 via proxy [213.169.66.65]
X-Browser: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru;
	rv:1.8.1) Gecko/20061010 Firefox/2.0
Message-Id: <E1HtPIo-0001y0-WA@ffe2.ukr.net>
Date: Wed, 30 May 2007 17:37:30 +0300
X-detected-kernel: FreeBSD 6.x (1)
X-Mailman-Approved-At: Tue, 05 Jun 2007 03:16:43 -0400
Subject: Issue with running make on AIX 5.2
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 30 May 2007 14:37:38 -0000

This is a multi-part message in MIME format.

--_----------=_118053585068902
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="windows-1251"
MIME-Version: 1.0

          Hello!  
  
I found your message on " http://osdir.com/ml/lib.common-c++.bugs/2006-01/msg00000.html "  
but I could not find how to resolve this issue.  
  
I have the same problem with compiling my application.  
My application is using too " commoncpp2-1.3.22 "  
  
Please help me to resolve this problem:  
    
config.status: creating include/config.h  
config.status: executing default-1 commands  
Making all in include  
        make  all-recursive  
Making all in cc++  
Target "all" is up to date.  
Target "all-am" is up to date.  
Target "all" is up to date.  
Making all in src  
        /bin/sh ../libtool --mode=compile xlC_r -DHAVE_CONFIG_H -I. -I. -I../include    -I../src -DCCXX_EXPORT_LIBRARY -D_THREAD_SAFE           -D_GNU_SOURCE -fhandle-exceptions  -I../include  -g -c thread.cpp  
 xlC_r -DHAVE_CONFIG_H -I. -I. -I../include -I../src -DCCXX_EXPORT_LIBRARY -D_THREAD_SAFE -D_GNU_SOURCE -fhandle-exceptions -I../incl  ude -g -c thread.cpp -o thread.o  
  
"/usr/include/thread.h", line 32.9: 1540-0848 (S) The macro name "_THREAD_SAFE" is already defined with a different definition.  
  
"/usr/include/standards.h", line 62.9: 1540-0425 (I) "_THREAD_SAFE" is defined on line 62 of "thread.cpp".  
  
make: 1254-004 The error code from the last command is 1.  
  
Although I don`t have any problems on my Fedora Core 4(core 2.6.12.4) in time compilation process.  
  
Thanks a lot!  
  
  
best regards,  
Alexander  
  
  

--_----------=_118053585068902
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Content-Type: text/html; charset="windows-1251"

<html>
<body>

  
    
  
  Hello!
  <br />
  <br />I found your message on " http://osdir.com/ml/lib.common-c++.bugs/2006-01/msg00000.html "
  <br />but I could not find how to resolve this issue.
  <br />
  <br />I have the same problem with compiling my application.
  <br />My application is using too " commoncpp2-1.3.22 "
  <br />
  <br />Please help me to resolve this problem:
  <br />
  <em>
  <br />config.status: creating include/config.h
  <br />config.status: executing default-1 commands
  <br />Making all in include
  <br />        make  all-recursive
  <br />Making all in cc++
  <br />Target "all" is up to date.
  <br />Target "all-am" is up to date.
  <br />Target "all" is up to date.
  <br />Making all in src
  <br />        /bin/sh ../libtool --mode=compile xlC_r -DHAVE_CONFIG_H -I. -I. -I../include    -I../src -DCCXX_EXPORT_LIBRARY -D_THREAD_SAFE           -D_GNU_SOURCE -fhandle-exceptions  -I../include  -g -c thread.cpp
  <br /> xlC_r -DHAVE_CONFIG_H -I. -I. -I../include -I../src -DCCXX_EXPORT_LIBRARY -D_THREAD_SAFE -D_GNU_SOURCE -fhandle-exceptions -I../incl  ude -g -c thread.cpp -o thread.o
  <br />
  <br />"/usr/include/thread.h", line 32.9: 1540-0848 (S) The macro name "_THREAD_SAFE" is already defined with a different definition.
  <br />
  <br />"/usr/include/standards.h", line 62.9: 1540-0425 (I) "_THREAD_SAFE" is defined on line 62 of "thread.cpp".
  <br />
  <br />make: 1254-004 The error code from the last command is 1.</em>
  <br />
  <br />Although I don`t have any problems on my Fedora Core 4(core 2.6.12.4) in time compilation process.
  <br />
  <br />Thanks a lot!
  <br />
  <br />
  <br />best regards,
  <br />Alexander
  <br />
  <br />
  <br />


</body>
</html>
--_----------=_118053585068902--




From MAILER-DAEMON Tue Jun 05 03:16:46 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1HvTHa-000807-ER
	for mharc-bug-commoncpp@gnu.org; Tue, 05 Jun 2007 03:16:46 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Hv7AD-0007Z9-J4
	for bug-commoncpp@gnu.org; Mon, 04 Jun 2007 03:39:41 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Hv7AC-0007Ye-HQ
	for bug-commoncpp@gnu.org; Mon, 04 Jun 2007 03:39:41 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Hv7AC-0007Ya-Bw
	for bug-commoncpp@gnu.org; Mon, 04 Jun 2007 03:39:40 -0400
Received: from giper.ukr.net ([195.214.192.248])
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60)
	(envelope-from <alexon21@ukr.net>) id 1Hv7AB-0004l5-4y
	for bug-commoncpp@gnu.org; Mon, 04 Jun 2007 03:39:39 -0400
Received: from mail by giper.ukr.net with local ID 1Hv7A3-000IXf-4C
	for bug-commoncpp@gnu.org; Mon, 04 Jun 2007 10:39:31 +0300
Content-Transfer-Encoding: binary
Content-Type: multipart/alternative; boundary="_----------=_1180942771712400"
MIME-Version: 1.0
To: bug-commoncpp@gnu.org
From: "Alex Onufrienko" <alexon21@ukr.net>
X-Life: is great, enjoy it!
X-Mailer: freemail.ukr.net mPOP 3.3
X-Originating-Ip: 192.168.0.15, 213.169.66.65 via proxy [213.169.66.65]
X-Browser: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.8.0.12) Gecko/20070508 Firefox/1.5.0.12
Message-Id: <E1Hv7A3-000IXf-4C@giper.ukr.net>
Date: Mon, 04 Jun 2007 10:39:31 +0300
X-detected-kernel: FreeBSD 6.x (1)
X-Mailman-Approved-At: Tue, 05 Jun 2007 03:16:44 -0400
Subject: Issue with running make on AIX 5.2
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Jun 2007 07:39:41 -0000

This is a multi-part message in MIME format.

--_----------=_1180942771712400
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="windows-1251"
MIME-Version: 1.0

          Hello!  
  
My application is using " commoncpp2-1.3.22 "  
I have some problem with compiling my application on AIX 5.2.  
  
Please help me to resolve this problem:  
    
config.status: creating include/config.h  
config.status: executing default-1 commands  
Making all in include  
        make  all-recursive  
Making all in cc++  
Target "all" is up to date.  
Target "all-am" is up to date.  
Target "all" is up to date.  
Making all in src  
        /bin/sh ../libtool --mode=compile xlC_r -DHAVE_CONFIG_H -I. -I. -I../include    -I../src -DCCXX_EXPORT_LIBRARY -D_THREAD_SAFE           -D_GNU_SOURCE -fhandle-exceptions  -I../include  -g -c thread.cpp  
 xlC_r -DHAVE_CONFIG_H -I. -I. -I../include -I../src -DCCXX_EXPORT_LIBRARY -D_THREAD_SAFE -D_GNU_SOURCE -fhandle-exceptions -I../incl  ude -g -c thread.cpp -o thread.o  
  
"/usr/include/thread.h", line 32.9: 1540-0848 (S) The macro name "_THREAD_SAFE" is already defined with a different definition.  
  
"/usr/include/standards.h", line 62.9: 1540-0425 (I) "_THREAD_SAFE" is defined on line 62 of "thread.cpp".  
  
make: 1254-004 The error code from the last command is 1.  
  
Although I don`t have any problems on my Fedora Core 4(core 2.6.12.4) in time compilation process.  
  
Thanks a lot!  
  
  
best regards,  
Alexander  
  
  

--_----------=_1180942771712400
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Content-Type: text/html; charset="windows-1251"

<html>
<body>

  
    
  
  Hello!
  <br />
  <br />My application is using " commoncpp2-1.3.22 "
  <br />I have some problem with compiling my application on AIX 5.2.
  <br />
  <br />Please help me to resolve this problem:
  <br />
  <em>
  <br />config.status: creating include/config.h
  <br />config.status: executing default-1 commands
  <br />Making all in include
  <br />        make  all-recursive
  <br />Making all in cc++
  <br />Target "all" is up to date.
  <br />Target "all-am" is up to date.
  <br />Target "all" is up to date.
  <br />Making all in src
  <br />        /bin/sh ../libtool --mode=compile xlC_r -DHAVE_CONFIG_H -I. -I. -I../include    -I../src -DCCXX_EXPORT_LIBRARY -D_THREAD_SAFE           -D_GNU_SOURCE -fhandle-exceptions  -I../include  -g -c thread.cpp
  <br /> xlC_r -DHAVE_CONFIG_H -I. -I. -I../include -I../src -DCCXX_EXPORT_LIBRARY -D_THREAD_SAFE -D_GNU_SOURCE -fhandle-exceptions -I../incl  ude -g -c thread.cpp -o thread.o
  <br />
  <br />"/usr/include/thread.h", line 32.9: 1540-0848 (S) The macro name "_THREAD_SAFE" is already defined with a different definition.
  <br />
  <br />"/usr/include/standards.h", line 62.9: 1540-0425 (I) "_THREAD_SAFE" is defined on line 62 of "thread.cpp".
  <br />
  <br />make: 1254-004 The error code from the last command is 1.</em>
  <br />
  <br />Although I don`t have any problems on my Fedora Core 4(core 2.6.12.4) in time compilation process.
  <br />
  <br />Thanks a lot!
  <br />
  <br />
  <br />best regards,
  <br />Alexander
  <br />
  <br />
  <br />


</body>
</html>
--_----------=_1180942771712400--




From MAILER-DAEMON Tue Jun 12 08:30:23 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Hy5Vv-0006Rg-RX
	for mharc-bug-commoncpp@gnu.org; Tue, 12 Jun 2007 08:30:23 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Hy5Vu-0006RJ-SR
	for bug-commoncpp@gnu.org; Tue, 12 Jun 2007 08:30:22 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Hy5Vt-0006Ql-Lx
	for bug-commoncpp@gnu.org; Tue, 12 Jun 2007 08:30:22 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Hy5Vt-0006Qi-GO
	for bug-commoncpp@gnu.org; Tue, 12 Jun 2007 08:30:21 -0400
Received: from outbound.mailhop.org ([63.208.196.171])
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60)
	(envelope-from <dyfet@gnutelephony.org>) id 1Hy5Vt-0001bR-5F
	for bug-commoncpp@gnu.org; Tue, 12 Jun 2007 08:30:21 -0400
Received: from pool-72-75-140-187.atclnj.east.verizon.net ([72.75.140.187]
	helo=[192.168.1.99])
	by outbound.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256)
	(Exim 4.63) (envelope-from <dyfet@gnutelephony.org>)
	id 1Hy5Vs-000NqR-7r; Tue, 12 Jun 2007 08:30:20 -0400
X-MHO-User: U2FsdGVkX1+dO7Q/Ll35N0fKuBTK6SKN
X-Mail-Handler: MailHop Outbound by DynDNS
X-Originating-IP: 72.75.140.187
X-Report-Abuse-To: abuse@dyndns.com (see
	http://www.mailhop.org/outbound/abuse.html for abuse reporting
	information)
X-MHO-User: U2FsdGVkX192VC1Kns7L/wRRHPvMv4pW
Message-ID: <466E91DB.9060604@gnutelephony.org>
Date: Tue, 12 Jun 2007 08:30:19 -0400
From: David Sugar <dyfet@gnutelephony.org>
User-Agent: Thunderbird 1.5.0.8 (X11/20061107)
MIME-Version: 1.0
To: Wolfgang Alper <wolfgang@alper-online.com>
References: <200705091721.38966.wolfgang@alper-online.com>
	<200705091737.24142.wolfgang@alper-online.com>
In-Reply-To: <200705091737.24142.wolfgang@alper-online.com>
X-Enigmail-Version: 0.94.0.0
Content-Type: multipart/mixed; boundary="------------090903010004010200040700"
X-detected-kernel: FreeBSD 4.6-4.9
Cc: bug-commoncpp@gnu.org
Subject: Re: Daemons - Using the process class?
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Jun 2007 12:30:23 -0000

This is a multi-part message in MIME format.
--------------090903010004010200040700
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

What attach does is dissasociate the controlling terminal and
potentially associate with a new one under a new process group.  The
same code is reused for detach, which does the dissociate and single
fork on some platforms, and a dual fork on others.

Wolfgang Alper wrote:
> Hello,
> 
> Sorry, i just realized that the following is obviously wrong:
>> but this cannot work as it is defined as follows:
>> void	Process::detach(void) {	attach("/dev/null"); }
> 
> This calls attach with "dev/null". 
> 
> Anyway, i still do not get it to work so any help is apprecicated.
> 
> Example:
> main() {
>   cout << "before creating the daemon" <<  endl;
>   // ? how to setup the parent to wait (or not) for the child?
>   // cannot use detach because it would close all handles of the child.
>   Process::attach("what goes here?");
>   If ("what goes here?") {
>     char buffer[32];
>     cout << "i am the child" << endl;
>     cin.getline(buffer, sizeof(buffer));
>     cout << "Child: You entered:" << buffer << "\nDone:" << endl;  
>     exit(0);
>   } else {
>     cout << "i am the parent - Done" << endl;    	
>     exit(0);
>   }
> }
> 
> Regards 
> 
> Wolfgang 
> 
> 
> Am Mittwoch, 9. Mai 2007 17:21 schrieb Wolfgang Alper:
>> Hello,
>> I am using commoncpp2-1.5.6 under linux.
>> I tried using the process class but it seems i miss a piece.
>> Basicallyl i would like to create a daemon (using linux) based on fork.
>> i thought i would have to call: Process::detach();
>> From the docs
>> "Detach current process into a daemon, posix only. Perhaps a similar method
>> can be used for creating win32 "services"?"
>>
>> but this cannot work as it is defined as follows:
>> void	Process::detach(void) {	attach("/dev/null"); }
>>
>> So it seems that :
>> void Process::attach (const char * devname )
>> "Attach the current process to another device or i/o session. It is
>> deamonified and dissasociated with the prior parent process and controlling
>> terminal."
>> is the better choice.
>>
>> But i still do not get it to work.
>> -What to pass as devname?
>> -How do it get the PID to know wether i am the child or parent?
>> -How can i pass parameter (like waitpid) to decide wether the parent wants
>> to wait for the child or not?
>>
>> I am sure i missunderstood something, so if anyone could give an example on
>> how to use this class, this would be great.
>>
>> Thanks
>>
>> Wolfgang
>>
>>
>>
>>
>>
>> _______________________________________________
>> Bug-commoncpp mailing list
>> Bug-commoncpp@gnu.org
>> http://lists.gnu.org/mailman/listinfo/bug-commoncpp
> 
> 
> _______________________________________________
> Bug-commoncpp mailing list
> Bug-commoncpp@gnu.org
> http://lists.gnu.org/mailman/listinfo/bug-commoncpp

--------------090903010004010200040700
Content-Type: text/x-vcard; charset=utf-8;
 name="dyfet.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="dyfet.vcf"

begin:vcard
fn:David Sugar
n:Sugar;David
org:GNU Telephony
email;internet:dyfet@gnutelephony.org
tel;work:+1 201 215 2609
url:http://www.gnutelephony.org
version:2.1
end:vcard


--------------090903010004010200040700--



From MAILER-DAEMON Tue Jun 12 08:34:24 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Hy5Zo-0008C6-3U
	for mharc-bug-commoncpp@gnu.org; Tue, 12 Jun 2007 08:34:24 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Hy5Zl-00086q-Px
	for bug-commoncpp@gnu.org; Tue, 12 Jun 2007 08:34:21 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Hy5Zl-00085H-BC
	for bug-commoncpp@gnu.org; Tue, 12 Jun 2007 08:34:21 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Hy5Zk-000850-Ut
	for bug-commoncpp@gnu.org; Tue, 12 Jun 2007 08:34:20 -0400
Received: from outbound.mailhop.org ([63.208.196.171])
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60)
	(envelope-from <dyfet@gnutelephony.org>) id 1Hy5Zk-00022F-JD
	for bug-commoncpp@gnu.org; Tue, 12 Jun 2007 08:34:20 -0400
Received: from pool-72-75-140-187.atclnj.east.verizon.net ([72.75.140.187]
	helo=[192.168.1.99])
	by outbound.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256)
	(Exim 4.63) (envelope-from <dyfet@gnutelephony.org>)
	id 1Hy5Zj-000PVv-Ek; Tue, 12 Jun 2007 08:34:19 -0400
X-MHO-User: U2FsdGVkX1/v/mSAFbKKX6KvCM1Db3MQ
X-Mail-Handler: MailHop Outbound by DynDNS
X-Originating-IP: 72.75.140.187
X-Report-Abuse-To: abuse@dyndns.com (see
	http://www.mailhop.org/outbound/abuse.html for abuse reporting
	information)
X-MHO-User: U2FsdGVkX18Am91fB+AA3w1QaerU6Pjz
Message-ID: <466E92CA.3070802@gnutelephony.org>
Date: Tue, 12 Jun 2007 08:34:18 -0400
From: David Sugar <dyfet@gnutelephony.org>
User-Agent: Thunderbird 1.5.0.8 (X11/20061107)
MIME-Version: 1.0
To: Wolfgang Alper <wolfgang@alper-online.com>
References: <200705091538.01714.wolfgang@alper-online.com>
In-Reply-To: <200705091538.01714.wolfgang@alper-online.com>
X-Enigmail-Version: 0.94.0.0
Content-Type: multipart/mixed; boundary="------------070900090302080608050207"
X-detected-kernel: FreeBSD 4.6-4.9
Cc: bug-commoncpp@gnu.org
Subject: Re: Class Keydata - similar entries from multiple sections?
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Jun 2007 12:34:22 -0000

This is a multi-part message in MIME format.
--------------070900090302080608050207
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Normally you would load each [] into a different keydata object.  If you
merge keydata sections into a single object instance, there is no means
to determine which instance it was loaded under.  Mostly merging is
meant to load "default" keys into a given object, and then override them
with live values.  At least that was the intended use.

Wolfgang Alper wrote:
> Hello,
> i am using commoncpp2-1.5.6.
> 
> How can i retrieve keys with the same name from a given section using the 
> Class Keydata?
> 
> Example:
> [general]
> port = 1234
> host = www.myhost.com
> [proxy]
> port = 4321
> host = www.proxy.com
> 
> running 
> load("/mydir/myfile/general");
> and 
> load("/mydir/myfile/proxy]");
> 
> This leads to multiple port and host entries. 
> 
> Of cause i can use getCount("port") and then iterate through the values, but 
> this assumes to know wether a section has a key "port".
> Also i could use clrValue("port") to clear the value before loading a new 
> section, but this seems to be a bad workaround.
> 
> So how can i  query like "general/host" to get the value of host in the 
> [general] section or "proxy/host" to get the host in the [proxy] section?
> 
> Thanks 
> 
> Wolfgang
> 
> 
> 
> _______________________________________________
> Bug-commoncpp mailing list
> Bug-commoncpp@gnu.org
> http://lists.gnu.org/mailman/listinfo/bug-commoncpp

--------------070900090302080608050207
Content-Type: text/x-vcard; charset=utf-8;
 name="dyfet.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="dyfet.vcf"

begin:vcard
fn:David Sugar
n:Sugar;David
org:GNU Telephony
email;internet:dyfet@gnutelephony.org
tel;work:+1 201 215 2609
url:http://www.gnutelephony.org
version:2.1
end:vcard


--------------070900090302080608050207--



From MAILER-DAEMON Mon Jun 25 05:25:00 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I2koe-0007KW-7A
	for mharc-bug-commoncpp@gnu.org; Mon, 25 Jun 2007 05:25:00 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Hy38B-0005qd-9n
	for bug-commoncpp@gnu.org; Tue, 12 Jun 2007 05:57:43 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Hy389-0005nU-JB
	for bug-commoncpp@gnu.org; Tue, 12 Jun 2007 05:57:42 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Hy389-0005n7-E9
	for bug-commoncpp@gnu.org; Tue, 12 Jun 2007 05:57:41 -0400
Received: from wr-out-0506.google.com ([64.233.184.227])
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <itcs.ukraine@gmail.com>) id 1Hy388-0005qV-Us
	for bug-commoncpp@gnu.org; Tue, 12 Jun 2007 05:57:41 -0400
Received: by wr-out-0506.google.com with SMTP id 55so1206707wri
	for <bug-commoncpp@gnu.org>; Tue, 12 Jun 2007 02:57:39 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type;
	b=OOXvQkEawVYUgOjvNfrLGYvcXiYhTZVfE6dolnCbQGEVRSP+bK3knMhnaFz2HCM0Xye5xTdXr3e2Bc+3UVUfMLDHqPICsCGGIdTkzgnRa/jvV19PNmHPyI6enA+kR6yEWLqmRJNuxtYL+8RE4YoCxECXb4hmq+5NkLTL/xYxEXI=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta;
	h=received:message-id:date:from:to:subject:mime-version:content-type;
	b=RYVEJhTGwtgDUDeSLe5yk8fQoEGWusFPHl96sX007Vbq6P+iX6F+pJuQ54SPIiR/48PcGm1fPHfbCu/UfMQVGPU8dOYSww2PZHC5gix6IPj2Vc/c9urFPc3IYPLv5LGsbWYLoGTvIui9bjfvU4CbIP8eHSp7VlEm0GGwKUeuUbk=
Received: by 10.78.193.19 with SMTP id q19mr2587922huf.1181642258656;
	Tue, 12 Jun 2007 02:57:38 -0700 (PDT)
Received: by 10.78.138.12 with HTTP; Tue, 12 Jun 2007 02:57:38 -0700 (PDT)
Message-ID: <835c12590706120257v5305db8cx914b57dfca1f6237@mail.gmail.com>
Date: Tue, 12 Jun 2007 12:57:38 +0300
From: "developer itcs" <itcs.ukraine@gmail.com>
To: bug-commoncpp@gnu.org
MIME-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_2117_10128951.1181642258636"
X-detected-kernel: Linux 2.4-2.6 (Google crawlbot)
X-Mailman-Approved-At: Mon, 25 Jun 2007 05:24:58 -0400
Subject: Issue with running make on AIX 5.2
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Jun 2007 09:57:43 -0000

------=_Part_2117_10128951.1181642258636
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

 Hello!

I found your message on "
http://osdir.com/ml/lib.common-c++.bugs/2006-01/msg00000.html "
but I could not find how to resolve this issue.

I have the same problem with compiling my application.
My application is using too " commoncpp2-1.3.22 "

Please help me to resolve this problem:
*
config.status: creating include/config.h
config.status: executing default-1 commands
Making all in include
        make  all-recursive
Making all in cc++
Target "all" is up to date.
Target "all-am" is up to date.
Target "all" is up to date.
Making all in src
        /bin/sh ../libtool --mode=compile xlC_r -DHAVE_CONFIG_H -I. -I.
-I../include    -I../src -DCCXX_EXPORT_LIBRARY -D_THREAD_SAFE
-D_GNU_SOURCE -fhandle-exceptions  -I../include  -g -c thread.cpp
 xlC_r -DHAVE_CONFIG_H -I. -I. -I../include -I../src -DCCXX_EXPORT_LIBRARY
-D_THREAD_SAFE -D_GNU_SOURCE -fhandle-exceptions -I../incl  ude -g -c
thread.cpp -o thread.o

"/usr/include/thread.h", line 32.9: 1540-0848 (S) The macro name
"_THREAD_SAFE" is already defined with a different definition.

"/usr/include/standards.h", line 62.9: 1540-0425 (I) "_THREAD_SAFE" is
defined on line 62 of "thread.cpp".

make: 1254-004 The error code from the last command is 1.*

Although I don`t have any problems on my Fedora Core 4(core 2.6.12.4) in
time compilation process.

Thanks a lot!


best regards,
Alexander

------=_Part_2117_10128951.1181642258636
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline



  
    
  
  Hello!
  <br>
  <br>I found your message on &quot; <a href="http://osdir.com/ml/lib.common-c++.bugs/2006-01/msg00000.html">http://osdir.com/ml/lib.common-c++.bugs/2006-01/msg00000.html</a> &quot;
  <br>but I could not find how to resolve this issue.
  <br>
  <br>I have the same problem with compiling my application.
  <br>My application is using too &quot; commoncpp2-1.3.22 &quot;
  <br>
  <br>Please help me to resolve this problem:
  <br>
  <em>
  <br>config.status: creating include/config.h
  <br>config.status: executing default-1 commands
  <br>Making all in include
  <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; make&nbsp; all-recursive
  <br>Making all in cc++
  <br>Target &quot;all&quot; is up to date.
  <br>Target &quot;all-am&quot; is up to date.
  <br>Target &quot;all&quot; is up to date.
  <br>Making all in src
  <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
/bin/sh ../libtool --mode=compile xlC_r -DHAVE_CONFIG_H -I. -I.
-I../include&nbsp;&nbsp;&nbsp; -I../src -DCCXX_EXPORT_LIBRARY -D_THREAD_SAFE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-D_GNU_SOURCE -fhandle-exceptions&nbsp; -I../include&nbsp; -g -c thread.cpp <br>&nbsp;xlC_r -DHAVE_CONFIG_H -I. -I. -I../include -I../src
-DCCXX_EXPORT_LIBRARY -D_THREAD_SAFE -D_GNU_SOURCE -fhandle-exceptions
-I../incl&nbsp; ude -g -c thread.cpp -o thread.o <br>
  <br>&quot;/usr/include/thread.h&quot;, line 32.9: 1540-0848 (S) The macro name &quot;_THREAD_SAFE&quot; is already defined with a different definition.
  <br>
  <br>&quot;/usr/include/standards.h&quot;, line 62.9: 1540-0425 (I) &quot;_THREAD_SAFE&quot; is defined on line 62 of &quot;thread.cpp&quot;.
  <br>
  <br>make: 1254-004 The error code from the last command is 1.</em>
  <br>
  <br>Although I don`t have any problems on my Fedora Core 4(core <a href="http://2.6.12.4">2.6.12.4</a>) in time compilation process.
  <br>
  <br>Thanks a lot!
  <br>
  <br>
  <br>best regards,
  <br>Alexander
  <br>
  

------=_Part_2117_10128951.1181642258636--



From MAILER-DAEMON Mon Jun 25 05:25:01 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I2koe-0007L8-MV
	for mharc-bug-commoncpp@gnu.org; Mon, 25 Jun 2007 05:25:00 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I29px-0006m7-67
	for bug-commoncpp@gnu.org; Sat, 23 Jun 2007 13:55:53 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I29pu-0006lv-Oq
	for Bug-commoncpp@gnu.org; Sat, 23 Jun 2007 13:55:51 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I29pu-0006ls-Ik
	for Bug-commoncpp@gnu.org; Sat, 23 Jun 2007 13:55:50 -0400
Received: from kuber.nabble.com ([216.139.236.158])
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <bounces@nabble.com>) id 1I29pu-0003IA-20
	for Bug-commoncpp@gnu.org; Sat, 23 Jun 2007 13:55:50 -0400
Received: from isper.nabble.com ([192.168.236.156])
	by kuber.nabble.com with esmtp (Exim 4.63)
	(envelope-from <bounces@nabble.com>) id 1I29ps-0003HH-O0
	for Bug-commoncpp@gnu.org; Sat, 23 Jun 2007 10:55:48 -0700
Message-ID: <11268661.post@talk.nabble.com>
Date: Sat, 23 Jun 2007 10:55:48 -0700 (PDT)
From: ram01 <ram4x401@yahoo.com>
To: Bug-commoncpp@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Nabble-From: ram4x401@yahoo.com
X-detected-kernel: Linux 2.6 (newer, 3)
X-Mailman-Approved-At: Mon, 25 Jun 2007 05:24:58 -0400
Cc: 
Subject: gcc and g++ not linking pcre lib
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 23 Jun 2007 17:55:53 -0000


When I complie programs with -lpcre the library is not linked in the binary. 
It does not report any errors as if it didn't find it, just doesn't link it. 
What could casue this.
-- 
View this message in context: http://www.nabble.com/gcc-and-g%2B%2B-not-linking-pcre-lib-tf3970020.html#a11268661
Sent from the Gnu - Common C++ mailing list archive at Nabble.com.




From MAILER-DAEMON Mon Jun 25 05:25:00 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I2koe-0007Km-FL
	for mharc-bug-commoncpp@gnu.org; Mon, 25 Jun 2007 05:25:00 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1HzYnM-0002JK-AA
	for bug-commoncpp@gnu.org; Sat, 16 Jun 2007 09:58:28 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1HzYnK-0002Is-DT
	for bug-commoncpp@gnu.org; Sat, 16 Jun 2007 09:58:28 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1HzYnK-0002Ip-AZ
	for bug-commoncpp@gnu.org; Sat, 16 Jun 2007 09:58:26 -0400
Received: from mxout005.mail.hostpoint.ch ([217.26.49.184])
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60)
	(envelope-from <dev-zero@gentoo.org>) id 1HzYnJ-0005CT-Cg
	for bug-commoncpp@gnu.org; Sat, 16 Jun 2007 09:58:26 -0400
Received: from [10.0.2.10] (helo=asmtp001.mail.hostpoint.ch)
	by mxout005.mail.hostpoint.ch with esmtp (Exim 4.63 (FreeBSD))
	(envelope-from <dev-zero@gentoo.org>) id 1HzYnF-0002sK-MF
	for bug-commoncpp@gnu.org; Sat, 16 Jun 2007 15:58:21 +0200
Received: from [80.238.206.14] (helo=[192.168.0.5])
	by asmtp001.mail.hostpoint.ch with esmtpsa (TLSv1:AES256-SHA:256)
	(Exim 4.63 (FreeBSD)) (envelope-from <dev-zero@gentoo.org>)
	id 1HzYnF-000OYM-DB
	for bug-commoncpp@gnu.org; Sat, 16 Jun 2007 15:58:21 +0200
X-Authenticated-Sender-Id: tm@dev-zero.ch
Message-ID: <4673EC78.1000305@gentoo.org>
Date: Sat, 16 Jun 2007 15:58:16 +0200
From: =?ISO-8859-15?Q?Tiziano_M=FCller?= <dev-zero@gentoo.org>
Organization: Gentoo
User-Agent: Thunderbird 2.0.0.0 (X11/20070516)
MIME-Version: 1.0
To: bug-commoncpp@gnu.org
X-Enigmail-Version: 0.95.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="------------enigD2DF7C149A95071DF598F50A"
X-detected-kernel: FreeBSD 6.x (1)
X-Mailman-Approved-At: Mon, 25 Jun 2007 05:24:58 -0400
Subject: 3 patches and 1 problem with commoncpp2-1.5.7
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: dev-zero@gentoo.org
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 16 Jun 2007 13:58:28 -0000

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigD2DF7C149A95071DF598F50A
Content-Type: multipart/mixed; boundary="------------030803000600000701060608"

This is a multi-part message in MIME format.
--------------030803000600000701060608
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable

Hi there

I'm maintaining the commoncpp2-package for Gentoo and we have several
patches laying around which might be included:

1. To build commoncpp2 successfully with LDFLAGS=3D"-Wl,--as-needed", som=
e
lines in src/Makefile.am and configure.ac need to be patched to make
sure that libccext2 and libccgnu2 link to the needed libraries
themselves. The attached patch "1.5.7-as-needed.patch" does that.

2. Someone might want to link against OpenSSL even if GnuTLS is
installed or to not link to a SSL-lib at all. At the moment configure
automatically chooses GnuTLS even if --with-openssl is specified. Patch
"1.5.1-ssl_config.patch" takes care of that.

3. The tests don't build: there are three smaller flaws which I
hopefully fixed the right way with patch "1.5.7-test_fixes.patch".


The problem:
The tests hang reproducible on my machine. This is all I get:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
$ ./dotests.sh
bug1 test...
bug1 test...
before start()...
Run()...
Final()...

exiting...
bug2 test...
bug2 test...
thread1 test...
thread1 test...
***********************************************
* Testing class Thread without syncronization *
***********************************************
Testing thread creation

- thread should set n to 1...ok

Testing thread is working

- thread should change n...ok
- thread should change n...ok

Testing suspend & resume
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D

Cheers,
Tiziano

--------------030803000600000701060608
Content-Type: text/x-patch;
 name="1.5.7-as-needed.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline;
 filename="1.5.7-as-needed.patch"

diff -Naur commoncpp2-1.5.7.orig/configure.ac commoncpp2-1.5.7/configure.=
ac
--- commoncpp2-1.5.7.orig/configure.ac	2007-06-16 15:23:05.000000000 +020=
0
+++ commoncpp2-1.5.7/configure.ac	2007-06-16 15:24:39.000000000 +0200
@@ -357,6 +357,9 @@
 darwin*)
 	MODULE_FLAGS=3D"-dynamic -bundle -undefined suppress -flat_namespace -r=
ead_only_relocs suppress"
 	;;
+linux*)
+	BASE_LIB=3D"../src/libccgnu2.la"
+	;;
 esac
=20
 AC_SUBST(COMMON_FLAGS)
diff -Naur commoncpp2-1.5.7.orig/src/Makefile.am commoncpp2-1.5.7/src/Mak=
efile.am
--- commoncpp2-1.5.7.orig/src/Makefile.am	2007-06-16 15:23:05.000000000 +=
0200
+++ commoncpp2-1.5.7/src/Makefile.am	2007-06-16 15:23:32.000000000 +0200
@@ -32,7 +32,7 @@
 scriptdir =3D $(bindir)
 script_DATA =3D ccgnu2-config
=20
-libccgnu2_la_LIBADD =3D @THREAD_LIBS@
+libccgnu2_la_LIBADD =3D @THREAD_LIBS@ @DYN_LOADER@
 libccgnu2_la_LDFLAGS =3D $(RELEASE) $(SHARED_FLAGS)
 noinst_DATA =3D @STAGE2@
=20
@@ -45,7 +45,8 @@
 	cidr.cpp private.h nat.h
=20
 if EXTRAS
-libccext2_la_LDFLAGS =3D @BASE_LIB@ @THREAD_LIBS@ @SSL_LIBS@ @ZSTREAM_LI=
BS@ $(RELEASE) $(SHARED_FLAGS)
+libccext2_la_LIBADD =3D @THREAD_LIBS@ @BASE_LIB@ @SSL_LIBS@ @ZSTREAM_LIB=
S@
+libccext2_la_LDFLAGS =3D $(RELEASE) $(SHARED_FLAGS)
=20
 if GETOPT_LONG
 optincludedir=3D$(includedir)/cc++2

--------------030803000600000701060608
Content-Type: text/x-patch;
 name="1.5.7-ssl_config.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline;
 filename="1.5.7-ssl_config.patch"

--- configure.ac.orig	2006-10-22 18:02:57.000000000 +0200
+++ configure.ac	2006-10-22 18:06:17.000000000 +0200
@@ -247,6 +247,7 @@
 	ost_cv_extras=3Dyes
 	AC_DEFINE(HAVE_EXTRAS, [1], [Enable extras])
=20
+	AC_ARG_WITH(gnutls, [  --with-gnutls         Enable gnutls support], [
 	AC_CHECK_HEADER(gnutls/gnutls.h,[
 		AC_CHECK_LIB(gnutls, gnutls_init, [
                         SSL_LIBS=3D"-lgnutls -lgcrypt"
@@ -254,13 +255,12 @@
                         AC_DEFINE(CCXX_SSL, [GNUTLS], [defines ssl])
                         AC_DEFINE(CCXX_GNUTLS, [1], [define gnutls])
 		])
-
-	],[
-		AC_ARG_WITH(openssl, [  --with-openssl       Enable openssl support],
-			[OST_LIB_SSL],
-			[OST_LIB_NOSSL])
+	],[])
+	], [
+	AC_ARG_WITH(openssl, [  --with-openssl       Enable openssl support],
+		[OST_LIB_SSL],
+		[OST_LIB_NOSSL])
 	])
-
 	AC_ARG_WITH(compression, [  --without-compression   Disable libz compre=
ssion],
         	[OST_LIB_NOZLIB],
         	[OST_LIB_ZLIB])

--------------030803000600000701060608
Content-Type: text/x-patch;
 name="1.5.7-test_fixes.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline;
 filename="1.5.7-test_fixes.patch"

diff -Naur commoncpp2-1.5.7.orig/tests/SampleObject.cpp commoncpp2-1.5.7/=
tests/SampleObject.cpp
--- commoncpp2-1.5.7.orig/tests/SampleObject.cpp	2007-06-16 15:25:16.0000=
00000 +0200
+++ commoncpp2-1.5.7/tests/SampleObject.cpp	2007-06-16 15:25:30.000000000=
 +0200
@@ -40,7 +40,7 @@
=20
 #include "SampleObject.h"
=20
-IMPLEMENT_PERSISTENCE(Test,"Test");
+IMPLEMENT_PERSISTENCE(Test,"Test")
=20
 Test::Test()
 : iInteger(0), strString("Null"), strString2("Null")
diff -Naur commoncpp2-1.5.7.orig/tests/SampleSubObject.cpp commoncpp2-1.5=
=2E7/tests/SampleSubObject.cpp
--- commoncpp2-1.5.7.orig/tests/SampleSubObject.cpp	2007-06-16 15:25:16.0=
00000000 +0200
+++ commoncpp2-1.5.7/tests/SampleSubObject.cpp	2007-06-16 15:25:37.000000=
000 +0200
@@ -40,7 +40,7 @@
=20
 #include "SampleSubObject.h"
=20
-IMPLEMENT_PERSISTENCE(TestSub, "TestSub");
+IMPLEMENT_PERSISTENCE(TestSub, "TestSub")
=20
 TestSub::TestSub()
 : iInteger(0), strString("Null"), strString2("Null")
diff -Naur commoncpp2-1.5.7.orig/tests/Test_Engine.cpp commoncpp2-1.5.7/t=
ests/Test_Engine.cpp
--- commoncpp2-1.5.7.orig/tests/Test_Engine.cpp	2007-06-16 15:25:16.00000=
0000 +0200
+++ commoncpp2-1.5.7/tests/Test_Engine.cpp	2007-06-16 15:25:56.000000000 =
+0200
@@ -343,7 +343,7 @@
 	outputEngine << test_Int32;
 	//CPPUNIT_FAIL("Call to persist to an input stream should throw an exce=
ption");
   }
-  catch(Engine::Exception ex) {
+  catch(PersistException &ex) {
 	CPPUNIT_ASSERT_MESSAGE(ex.getString(), true);
   }
=20

--------------030803000600000701060608--

--------------enigD2DF7C149A95071DF598F50A
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGc+x8GwVqY66cHjARAhS2AJ9DUCaJCSgmzrYxLa0eW5iia7RJlgCdH9WC
sQ7H9hckHJZ06B3yFUafWOQ=
=sslD
-----END PGP SIGNATURE-----

--------------enigD2DF7C149A95071DF598F50A--



