Re: [fossil-users] Can't make gdiff work

2011-06-29 Thread Brian Cottingham
I think something like ./configure scripts usually print would do the job.
Something like "could not find SSL development libraries" would indicate
what's wrong much more clearly than "./bld/http_ssl_.c:232: error: expected
‘)’ before ‘*’ token" does.


On Wed, Jun 29, 2011 at 11:28 AM, Stephan Beal wrote:

> On Wed, Jun 29, 2011 at 4:45 PM, Brian Cottingham wrote:
>
>> Would it be easy to add a check for openssl-devel to the build process to
>> provide a more helpful error message than the compile error?
>
>
> And what would the error be? It is not an error for SSL to be missing. It
> is an error to try to use it when it is missing.
>
> --
> - stephan beal
> http://wanderinghorse.net/home/stephan/
>
> ___
> 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] Can't make gdiff work

2011-06-29 Thread Stephan Beal
On Wed, Jun 29, 2011 at 4:45 PM, Brian Cottingham wrote:

> Would it be easy to add a check for openssl-devel to the build process to
> provide a more helpful error message than the compile error?


And what would the error be? It is not an error for SSL to be missing. It is
an error to try to use it when it is missing.

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
___
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] Can't make gdiff work

2011-06-29 Thread Brian Cottingham
I installed openssl-devel and was able to successfully compile fossil in
Cygwin with a simple "make" command, no Makefile modifications necessary.

Would it be easy to add a check for openssl-devel to the build process to
provide a more helpful error message than the compile error?


On Tue, Jun 28, 2011 at 3:48 PM, Tomek Kott  wrote:

> I think as long as you have the development versions of libssl installed on
> your cygwin, you should be set. I'll try to remember to try it at home
> myself, and report back.
>
> Tomek
>
>
> 2011/6/28 Lluís Batlle i Rossell 
>
>> On Tue, Jun 28, 2011 at 08:38:28AM -0700, Matt Welland wrote:
>> > Are you using fossil compiled for cygwin or fossil compiled for windows?
>> If
>> > the later then internally it will not know about cygwin paths and may
>> not be
>> > able to launch cygwin binaries (not sure on that one, haven't tested
>> it).
>>
>> I specially build fossil on cygwin (there is no distributed cygwin binary
>> on
>> fossil-scm.org), in order to have terminal capabilities. I like the rxvt
>> terminal vim to be launched on commit, and it only works with a
>> cygwin-aware
>> fossil. That is, fossil built on cygwin.
>>
>> It's trivial to build there.
>>
>> > On Tue, Jun 28, 2011 at 8:34 AM, Brian Cottingham > >wrote:
>> >
>> > > I'm using Fossil from a Cygwin terminal and I can't get the gdiff
>> command
>> > > to work with vimdiff. I've tried setting gdiff-command to "vimdiff"
>> but
>> > > running "fossil gdiff" I get "'vimdiff' is not recognized as an
>> internal or
>> > > external command". I tried setting the command to "/usr/bin/vimdiff"
>> but I
>> > > get "The system cannot find the path specified". vimdiff is definitely
>> in my
>> > > $PATH. What am I doing wrong?
>> > >
>> > > ___
>> > > 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
>>
>> ___
>> 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
>
>
___
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] Can't make gdiff work

2011-06-28 Thread Tomek Kott
I think as long as you have the development versions of libssl installed on
your cygwin, you should be set. I'll try to remember to try it at home
myself, and report back.

Tomek

2011/6/28 Lluís Batlle i Rossell 

> On Tue, Jun 28, 2011 at 08:38:28AM -0700, Matt Welland wrote:
> > Are you using fossil compiled for cygwin or fossil compiled for windows?
> If
> > the later then internally it will not know about cygwin paths and may not
> be
> > able to launch cygwin binaries (not sure on that one, haven't tested it).
>
> I specially build fossil on cygwin (there is no distributed cygwin binary
> on
> fossil-scm.org), in order to have terminal capabilities. I like the rxvt
> terminal vim to be launched on commit, and it only works with a
> cygwin-aware
> fossil. That is, fossil built on cygwin.
>
> It's trivial to build there.
>
> > On Tue, Jun 28, 2011 at 8:34 AM, Brian Cottingham  >wrote:
> >
> > > I'm using Fossil from a Cygwin terminal and I can't get the gdiff
> command
> > > to work with vimdiff. I've tried setting gdiff-command to "vimdiff" but
> > > running "fossil gdiff" I get "'vimdiff' is not recognized as an
> internal or
> > > external command". I tried setting the command to "/usr/bin/vimdiff"
> but I
> > > get "The system cannot find the path specified". vimdiff is definitely
> in my
> > > $PATH. What am I doing wrong?
> > >
> > > ___
> > > 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
>
> ___
> 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] Can't make gdiff work

2011-06-28 Thread Lluís Batlle i Rossell
On Tue, Jun 28, 2011 at 08:38:28AM -0700, Matt Welland wrote:
> Are you using fossil compiled for cygwin or fossil compiled for windows? If
> the later then internally it will not know about cygwin paths and may not be
> able to launch cygwin binaries (not sure on that one, haven't tested it).

I specially build fossil on cygwin (there is no distributed cygwin binary on
fossil-scm.org), in order to have terminal capabilities. I like the rxvt
terminal vim to be launched on commit, and it only works with a cygwin-aware
fossil. That is, fossil built on cygwin.

It's trivial to build there.

> On Tue, Jun 28, 2011 at 8:34 AM, Brian Cottingham wrote:
> 
> > I'm using Fossil from a Cygwin terminal and I can't get the gdiff command
> > to work with vimdiff. I've tried setting gdiff-command to "vimdiff" but
> > running "fossil gdiff" I get "'vimdiff' is not recognized as an internal or
> > external command". I tried setting the command to "/usr/bin/vimdiff" but I
> > get "The system cannot find the path specified". vimdiff is definitely in my
> > $PATH. What am I doing wrong?
> >
> > ___
> > 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

___
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] Can't make gdiff work

2011-06-28 Thread Brian Cottingham
Problem solved. I commented out the lines in the makefile reading "TCC +=
-DFOSSIL_ENABLE_SSL" and "LIB += -lcrypto -lssl" and can now build fossil
from Cygwin and run gdiff.

Perhaps a fossil developer could take a look and see why fossil with SSL
won't build in Cygwin?

-Brian


On Tue, Jun 28, 2011 at 12:27 PM, Stephan Beal wrote:

> On Tue, Jun 28, 2011 at 6:22 PM, Brian Cottingham wrote:
>
>> Changing the path didn't work- I get the same "not recognized command"
>> error. I tried I didn't see a pre-compiled Cygwin version of fossil, so I
>> tried compiling the latest source release from a Cygwin shell with a simple
>> "make" command as someone on the mailing list suggested, but I'm getting a
>> compile error. Am I doing something wrong?
>>
>
> Edit the makefile and disable the SSL bits. They're not strictly needed, as
> far as i'm aware.
>
> --
> - stephan beal
> http://wanderinghorse.net/home/stephan/
>
> ___
> 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] Can't make gdiff work

2011-06-28 Thread Stephan Beal
On Tue, Jun 28, 2011 at 6:22 PM, Brian Cottingham wrote:

> Changing the path didn't work- I get the same "not recognized command"
> error. I tried I didn't see a pre-compiled Cygwin version of fossil, so I
> tried compiling the latest source release from a Cygwin shell with a simple
> "make" command as someone on the mailing list suggested, but I'm getting a
> compile error. Am I doing something wrong?
>

Edit the makefile and disable the SSL bits. They're not strictly needed, as
far as i'm aware.

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
___
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] Can't make gdiff work

2011-06-28 Thread Brian Cottingham
Changing the path didn't work- I get the same "not recognized command"
error. I tried navigating to the Cygwin bin folder from cmd.exe and it
refused to run the vimdiff executable, so something about the way Cygwin
executables are compiled doesn't play nice with Windows executables.

I didn't see a pre-compiled Cygwin version of fossil, so I tried compiling
the latest source release from a Cygwin shell with a simple "make" command
as someone on the mailing list suggested, but I'm getting a compile error.
Am I doing something wrong?

===
./bld/http_ssl_.c:198: warning: implicit declaration of function
‘BIO_printf’
./bld/http_ssl_.c:201: warning: implicit declaration of function ‘BIO_write’
./bld/http_ssl_.c:202: warning: implicit declaration of function
‘BIO_get_mem_data’
./bld/http_ssl_.c:210: warning: implicit declaration of function ‘BIO_free’
./bld/http_ssl_.c:221: warning: implicit declaration of function
‘ssl_save_certificate’
./bld/http_ssl_.c: At top level:
./bld/http_ssl_.c:232: error: expected ‘)’ before ‘*’ token
./bld/http_ssl_.c:250: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
./bld/http_ssl_.c: In function ‘ssl_send’:
./bld/http_ssl_.c:275: error: ‘iBio’ undeclared (first use in this function)
./bld/http_ssl_.c: In function ‘ssl_receive’:
./bld/http_ssl_.c:291: warning: implicit declaration of function ‘BIO_read’
./bld/http_ssl_.c:291: error: ‘iBio’ undeclared (first use in this function)
make: *** [bld/http_ssl.o] Error 1
===


On Tue, Jun 28, 2011 at 11:49 AM, Tomek Kott  wrote:

> Matt's right. I've had some problems with cygwin vs. windows command line
> using a pre-compiled fossil version. I would try from both, and if it works
> in one but not the other (or vice versa) with the paths set correctly in
> both environments, then you'll probably narrow down where the issue is.
>
> The simplest solution might be to point your Windows PATH value to include
> your cygwin's /usr/bin/ folder.
>
> Tomek
>
>
> On Tue, Jun 28, 2011 at 11:38 AM, Matt Welland wrote:
>
>> Are you using fossil compiled for cygwin or fossil compiled for windows?
>> If the later then internally it will not know about cygwin paths and may not
>> be able to launch cygwin binaries (not sure on that one, haven't tested it).
>>
>>
>> On Tue, Jun 28, 2011 at 8:34 AM, Brian Cottingham 
>> wrote:
>>
>>> I'm using Fossil from a Cygwin terminal and I can't get the gdiff command
>>> to work with vimdiff. I've tried setting gdiff-command to "vimdiff" but
>>> running "fossil gdiff" I get "'vimdiff' is not recognized as an internal or
>>> external command". I tried setting the command to "/usr/bin/vimdiff" but I
>>> get "The system cannot find the path specified". vimdiff is definitely in my
>>> $PATH. What am I doing wrong?
>>>
>>> ___
>>> 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
>>
>>
>
> ___
> 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] Can't make gdiff work

2011-06-28 Thread Tomek Kott
Matt's right. I've had some problems with cygwin vs. windows command line
using a pre-compiled fossil version. I would try from both, and if it works
in one but not the other (or vice versa) with the paths set correctly in
both environments, then you'll probably narrow down where the issue is.

The simplest solution might be to point your Windows PATH value to include
your cygwin's /usr/bin/ folder.

Tomek

On Tue, Jun 28, 2011 at 11:38 AM, Matt Welland  wrote:

> Are you using fossil compiled for cygwin or fossil compiled for windows? If
> the later then internally it will not know about cygwin paths and may not be
> able to launch cygwin binaries (not sure on that one, haven't tested it).
>
> On Tue, Jun 28, 2011 at 8:34 AM, Brian Cottingham wrote:
>
>> I'm using Fossil from a Cygwin terminal and I can't get the gdiff command
>> to work with vimdiff. I've tried setting gdiff-command to "vimdiff" but
>> running "fossil gdiff" I get "'vimdiff' is not recognized as an internal or
>> external command". I tried setting the command to "/usr/bin/vimdiff" but I
>> get "The system cannot find the path specified". vimdiff is definitely in my
>> $PATH. What am I doing wrong?
>>
>> ___
>> 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
>
>
___
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] Can't make gdiff work

2011-06-28 Thread Matt Welland
Are you using fossil compiled for cygwin or fossil compiled for windows? If
the later then internally it will not know about cygwin paths and may not be
able to launch cygwin binaries (not sure on that one, haven't tested it).

On Tue, Jun 28, 2011 at 8:34 AM, Brian Cottingham wrote:

> I'm using Fossil from a Cygwin terminal and I can't get the gdiff command
> to work with vimdiff. I've tried setting gdiff-command to "vimdiff" but
> running "fossil gdiff" I get "'vimdiff' is not recognized as an internal or
> external command". I tried setting the command to "/usr/bin/vimdiff" but I
> get "The system cannot find the path specified". vimdiff is definitely in my
> $PATH. What am I doing wrong?
>
> ___
> 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


[fossil-users] Can't make gdiff work

2011-06-28 Thread Brian Cottingham
I'm using Fossil from a Cygwin terminal and I can't get the gdiff command to
work with vimdiff. I've tried setting gdiff-command to "vimdiff" but running
"fossil gdiff" I get "'vimdiff' is not recognized as an internal or external
command". I tried setting the command to "/usr/bin/vimdiff" but I get "The
system cannot find the path specified". vimdiff is definitely in my $PATH.
What am I doing wrong?
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users