On 8 Aug 2014, at 2:34 pm, Andy Bradford <amb-fos...@bradfords.org> wrote:
> Thus said "Joe Mistachkin" on Thu, 07 Aug 2014 21:14:56 -0700: > >> Yeah, it appears the "net change" was that Jim Tcl was updated. There >> are quite a lot of changes to it since the last version. However, I >> think it should be fine merging it to trunk? Any conflicting opinions? > > No, looks fine now (as far as the merge is concerned). > > I tried to test it by making my /home unreadable (chmod 711 /home) but > then Fossil couldn't even update, and all other kinds of problems > happened: > > $ fossil up > cannot find current working directory; Permission denied > $ ./configure --disable-lineedit > No installed jimsh or tclsh, building local bootstrap jimsh0 > Runtime Error: stdlib.tcl:87: Failed to get pwd > in procedure 'info nameofexecutable' called at file "./autosetup/test-tclsh", > line 11 > at file "stdlib.tcl", line 87 > Runtime Error: stdlib.tcl:87: Failed to get pwd > in procedure 'info nameofexecutable' called at file "./autosetup/test-tclsh", > line 11 > at file "stdlib.tcl", line 87 > No working C compiler found. Tried cc and gcc. > $ which tclsh > /usr/local/bin/tclsh > $ pwd > /home/src/fossil > > $ cd /home > $ pwd > /home > $ ls > ls: .: Permission denied > $ cd src > $ ls > fossil > > So clearly it's possible to navigate, but configure doesn't like it > much. I tried with --debug and didn't get any other useful info. It's > also odd that it didn't think it could find tclsh (yes I forgot to make > tclsh disappear, but it thought it was gone already). Are you sure you just changed /home to 711? Worked OK for me: $ stat /home File: `/home' Size: 4096 Blocks: 8 IO Block: 4096 directory Device: 801h/2049d Inode: 164626433 Links: 8 Access: (0711/drwx--x--x) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2013-04-18 13:27:17.195385388 +1000 Modify: 2012-08-10 14:46:50.000000000 +1000 Change: 2014-08-08 15:52:14.586170436 +1000 Birth: - $ ./autosetup/find-tclsh No installed jimsh or tclsh, building local bootstrap jimsh0 /home/steveb/src/fossil/autosetup/jimsh0 $ ./configure --disable-lineedit Host System...i686-pc-linux-gnu Build System...i686-pc-linux-gnu C compiler...ccache cc -g -O2 ... -- Embedded Systems Specialists - http://workware.net.au/ WorkWare Systems Pty Ltd W: www.workware.net.au P: +61 434 921 300 E: ste...@workware.net.au F: +61 7 3391 6002 _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users