Re: [fossil-users] Error compiling FOSSIL trunk
Hi, I agree with Scott. The checkin should not change many things (nothing with VS) when it comes to compiling...(The latest release is not that far...) That's the point. Best Regards K. De : Richard Hipp À : Fossil SCM user's discussion Envoyé le : Mercredi 2 novembre 2016 18h52 Objet : Re: [fossil-users] Error compiling FOSSIL trunk On 11/2/16, Scott Doctor wrote: > Seems to be more problems than usual with this release. That was not a "release" problem. That was a check-in from yesterday. -- D. Richard Hipp d...@sqlite.org ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Error compiling FOSSIL trunk
Yes, it works now. Thanks! (The fix has a minor typo: Dupliate => Duplicate) -Original Message- From: Richard Hipp Sent: Wednesday, November 02, 2016 7:49 PM To: Fossil SCM user's discussion Subject: Re: [fossil-users] Error compiling FOSSIL trunk On 11/2/16, jungle Boogie wrote: > On 2 November 2016 at 09:33, Tony Papadimitriou wrote: >> c:\fossil\win\winhttp.h(24) : error C2004: expected 'defined(id)' >> c:\fossil\win\winhttp.h(24) : fatal error C1012: unmatched parenthesis : >> missing ')' >> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual >> Studio >> 12.0\VC\BIN\cl.EXE"' : return code '0x2' >> Stop. >> > > getting the same failure with MSVC 2010 but unix builds pass fine. > Should be fixed now. -- D. Richard Hipp d...@sqlite.org ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Error compiling FOSSIL trunk
On 11/2/16, Scott Doctor wrote: > Seems to be more problems than usual with this release. That was not a "release" problem. That was a check-in from yesterday. -- D. Richard Hipp d...@sqlite.org ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Error compiling FOSSIL trunk
Seems to be more problems than usual with this release. - Scott Doctor sc...@scottdoctor.com - On 11/2/2016 10:49, Richard Hipp wrote: On 11/2/16, jungle Boogie wrote: On 2 November 2016 at 09:33, Tony Papadimitriou wrote: c:\fossil\win\winhttp.h(24) : error C2004: expected 'defined(id)' c:\fossil\win\winhttp.h(24) : fatal error C1012: unmatched parenthesis : missing ')' NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\cl.EXE"' : return code '0x2' Stop. getting the same failure with MSVC 2010 but unix builds pass fine. Should be fixed now. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Error compiling FOSSIL trunk
On 11/2/16, jungle Boogie wrote: > On 2 November 2016 at 09:33, Tony Papadimitriou wrote: >> c:\fossil\win\winhttp.h(24) : error C2004: expected 'defined(id)' >> c:\fossil\win\winhttp.h(24) : fatal error C1012: unmatched parenthesis : >> missing ')' >> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual >> Studio >> 12.0\VC\BIN\cl.EXE"' : return code '0x2' >> Stop. >> > > getting the same failure with MSVC 2010 but unix builds pass fine. > Should be fixed now. -- D. Richard Hipp d...@sqlite.org ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Error compiling FOSSIL trunk
On 2 November 2016 at 09:33, Tony Papadimitriou wrote: > c:\fossil\win\winhttp.h(24) : error C2004: expected 'defined(id)' > c:\fossil\win\winhttp.h(24) : fatal error C1012: unmatched parenthesis : > missing ')' > NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio > 12.0\VC\BIN\cl.EXE"' : return code '0x2' > Stop. > getting the same failure with MSVC 2010 but unix builds pass fine. -- --- inum: 883510009027723 sip: jungleboo...@sip2sip.info ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Error compiling FOSSIL trunk
On 11/02/2016 12:33 PM, Tony Papadimitriou wrote: > c:\fossil\win\winhttp.h(24) : error C2004: expected 'defined(id)' > c:\fossil\win\winhttp.h(24) : fatal error C1012: unmatched parenthesis : > missing ')' > NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual > Studio 12.0\VC\BIN\cl.EXE"' : return code '0x2' > Stop. I noticed that a checkout from about ten hours ago failed to build but a more recent checkout from about an hour ago builds without errors. (I don't know if it's trustworthy). ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] OpenSSL in the source tree
On 11/02/2016 06:33 AM, Martin Gagnon wrote: > If you want to use openssl from your distro, you need to install the > development package of openssl. > > I think it's "openssl-devel" on CentOS. > > I'm not very familiar with CentOS but if you do: > > $ yum install openssl-devel > > the configure script *should* find what it needs. The platform's openssl packages are installed but the configure script does not find them. $ yum list installed | grep -i openssl | awk '{print $1}' apr-util-openssl.x86_64 openssl.x86_64 openssl-devel.x86_64 openssl-libs.x86_64 pyOpenSSL.x86_64 xmlsec1-openssl.x86_64 xmlsec1-openssl-devel.x86_64 There is also a problem in building a static fossil on this platform (CentOS-7). $ ../configure --prefix=$HOME/.local --with-openssl=tree --with-zlib=tree --with-th1-docs --with-th1-hooks --with-tcl=$HOME/.local/lib --disable-fusefs --json --static $ make ... /usr/bin/ld: cannot find -ltcl8.6 /usr/bin/ld: cannot find -ldl /usr/bin/ld: cannot find -lz /usr/bin/ld: cannot find -lpthread /usr/bin/ld: cannot find -lm /usr/bin/ld: cannot find -lc collect2: error: ld returned 1 exit status I've tried (without success): $ ../configure --prefix=$HOME/.local --with-openssl=tree --with-zlib=tree --with-th1-docs --with-th1-hooks --with-tcl=$HOME/.local/lib --disable-fusefs --json --static LDFLAGS="-L/usr/lib64 -L${HOME}/.local/lib" CPPFLAGS="-I/usr/include -I${HOME}/.local/include" ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] OpenSSL in the source tree
On 11/02/2016 05:45 AM, Jan Nijtmans wrote: > 2016-11-02 7:29 GMT+01:00 Joe Mistachkin: >> I think using OpenSSL 1.1 will only work on the "openssl-1.1.0" branch. > > For Windows, that's true. For other platforms, openssl-1.1 works fine > in Fossil 1.36 or later. The reason is that dll names were changed in > openssl-1.1.0, this needs some build changes. But on other platforms, > openssl is 'almost' upwards compatible, at least sufficiently for > fossil to work unmodified. > >> Here are the commands I generally use to get things all working in the >> source tree: >> >> cd compat/zlib && ./configure && make >> cd .. >> wget -4 https://www.openssl.org/source/openssl-1.0.2j.tar.gz >> tar -zxvf openssl-1.0.2j.tar.gz >> mv openssl-1.0.2j openssl >> cd openssl >> ./config --with-zlib-include=../compat/zlib --with-zlib-lib=../compat/zlib >> make depend >> make >> cd ../.. >> ./configure --with-zlib=tree --with-openssl=tree >> make > > So, just use openssl-1.1 in the above, and everything should work fine. openssl-1.1.0b did not work today. It (openssl) compiles fine but configure (fossil) does not acknowledge its existence. Using the same procedure, openssl-1.0.2j is recognized during configure (fossil) and builds without errors. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] OpenSSL in the source tree
On 11/02/2016 02:29 AM, Joe Mistachkin wrote: > I think using OpenSSL 1.1 will only work on the "openssl-1.1.0" branch. > > Here are the commands I generally use to get things all working in the > source tree: > > cd compat/zlib && ./configure && make > cd .. > wget -4 https://www.openssl.org/source/openssl-1.0.2j.tar.gz > tar -zxvf openssl-1.0.2j.tar.gz > mv openssl-1.0.2j openssl > cd openssl > ./config --with-zlib-include=../compat/zlib --with-zlib-lib=../compat/zlib > make depend > make > cd ../.. > ./configure --with-zlib=tree --with-openssl=tree > make Thanks, Joe! For posterity, I configure with additional options (and this works): cd ../../build ../configure --prefix=$HOME/.local --with-openssl=tree --with-zlib=tree --with-th1-docs --with-th1-hooks --with-tcl=$HOME/.local/lib --disable-fusefs --json ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] Error compiling FOSSIL trunk
c:\fossil\win\winhttp.h(24) : error C2004: expected 'defined(id)' c:\fossil\win\winhttp.h(24) : fatal error C1012: unmatched parenthesis : missing ')' NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\cl.EXE"' : return code '0x2' Stop.___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] OpenSSL in the source tree
On Wed, Nov 02, 2016 at 02:18:50AM -0400, Adam Jensen wrote: > When compiling on CentOS-7, 'configure --with-openssl=auto' doesn't find > what is needed. How can OpenSSL or LibreSSL source be placed in the > 'fossil/compat' directory such that 'configure --with-openssl=tree' will > work? I've tried both: > > tar xzf openssl-1.1.0b.tar.gz -C ~/build/fossil/compat/ > cd ~/build/fossil/compat/ > mv openssl-1.1.0b openssl > Hi Adam, If you want to use openssl from your distro, you need to install the development package of openssl. I think it's "openssl-devel" on CentOS. I'm not very familiar with CentOS but if you do: $ yum install openssl-devel the configure script *should* find what it needs. Regards, -- Martin G. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] OpenSSL in the source tree
2016-11-02 7:29 GMT+01:00 Joe Mistachkin: > I think using OpenSSL 1.1 will only work on the "openssl-1.1.0" branch. For Windows, that's true. For other platforms, openssl-1.1 works fine in Fossil 1.36 or later. The reason is that dll names were changed in openssl-1.1.0, this needs some build changes. But on other platforms, openssl is 'almost' upwards compatible, at least sufficiently for fossil to work unmodified. > Here are the commands I generally use to get things all working in the > source tree: > > cd compat/zlib && ./configure && make > cd .. > wget -4 https://www.openssl.org/source/openssl-1.0.2j.tar.gz > tar -zxvf openssl-1.0.2j.tar.gz > mv openssl-1.0.2j openssl > cd openssl > ./config --with-zlib-include=../compat/zlib --with-zlib-lib=../compat/zlib > make depend > make > cd ../.. > ./configure --with-zlib=tree --with-openssl=tree > make So, just use openssl-1.1 in the above, and everything should work fine. Regards, Jan Nijtmans ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users