On Mon, Jul 22, 2013 at 09:21:57PM +0200, Lluís Batlle i Rossell wrote:
> Hello,
>
> today I built fossil on cygwin64, and it built but "it didn't work". Cloning, 
> a
> line in os_win.c complained about not having permission to create a file (a 
> tmp
> file with some kind of random string) in C:/windows.
I can easily reproduce that (see below). The Cygwin folks made some local
modifications to sqlite, allowing cooperation between Cygwin and Windows
programs. Cygwin64 doesn't have those modifications yet.

2013/7/22 Martin Gagnon <eme...@gmail.com>:
> I stop building fossil for cygwin long time ago and I found that cygwin
> version of fossil was a lot slower (with big repo) and I had problem
> when using the same checkout from cygwin and non-cygwin binary.

That should be fixed now. For details, see:
    <http://cygwin.com/ml/cygwin-announce/2013-06/msg00014.html>
    <https://www.fossil-scm.org/index.html/info/340cee03ee>
You can try it on Cygwin32 using
    ./configure --disable-internal-sqlite
There it should work fine now, but feel free to report any additional
problems you find.

On Cygwin64 that doesn't work yet due to the above mentioned reason:
    $ ./configure --disable-internal-sqlite
    ....
    $ make
    ....
    $ ./fossil update
    Autosync:  ....
    SQLITE_CANTOPEN: os_win.c:34063: (3)
winOpen(/var/tmp/etilqs_8td6VBhZb6xMX3V\etilqs_QL9aCIutNgLB3ZP) - The
system cannot find the path specified.
    SQLITE_CANTOPEN: os_win.c:34063: (3)
winOpen(/var/tmp/etilqs_FoaHNBQa56cVGrh\etilqs_PXfZEjH5dBl8Cm5) - The
system cannot find the path specified.
    SQLITE_CANTOPEN: cannot open file at line 34071 of [cbea02d938]
    SQLITE_CANTOPEN: statement aborts at 38: [CREATE TEMP TABLE
onremote(rid INTEGER PRIMARY KEY);] unable to open database file
    ./fossil: unable to open database file: {CREATE TEMP TABLE
onremote(rid INTEGER PRIMARY KEY);}

    If you have recently updated your fossil executable, you might
    need to run "fossil all rebuild" to bring the repository
    schemas up to date.

Just wait on the Cygwin64 people to bring out a new Sqlite package with
the same fixes already done in Cygwin32.

Thanks!

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

Reply via email to