[fossil-users] AIX 7.1
On AIX 7.1, I get the following SQLite error on a open (jfs2 file system): /usr/local/bin/fossil: SQLITE_IOERR: os_unix.c:28318: (9) fsync(/home/ username/directory/project.fossil-mj40184C909) - Bad file number /usr/local/bin/fossil: disk I/O error: {COMMIT} My first thought was to try with an externally built SQLite, but I can't figure out the ./configure logic for that. Here are the 3 things I tried: PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ ./configure --disable-internal- sqlite CFLAGS=-I/usr/local/include LDFLAGS=--L/usr/local/lib -lsqlite3 ./ configure --disable-internal-sqlite ./configure --CFLAGS=-I/usr/local/include --LDFLAGS=-L/usr/local/lib - lsqlite3 ./configure --disable-internal-sqlite My work around has been a kludge with running fossil on a Linux system with sshfs + symlinks, but maybe there a chance this is fixed, and I'm doing it wrong. -- C. Thomas Stover www.thomasstover.com ___ 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] AIX 7.1
On Mon, Mar 25, 2013 at 12:30 PM, C. Thomas Stover c...@thomasstover.comwrote: On AIX 7.1, I get the following SQLite error on a open (jfs2 file system): /usr/local/bin/fossil: SQLITE_IOERR: os_unix.c:28318: (9) fsync(/home/ username/directory/project.fossil-mj40184C909) - Bad file number /usr/local/bin/fossil: disk I/O error: {COMMIT} Please recompile with -DSQLITE_DISABLE_DIRSYNC and see if that doesn't fix it. My first thought was to try with an externally built SQLite, but I can't figure out the ./configure logic for that. Here are the 3 things I tried: PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ ./configure --disable-internal- sqlite CFLAGS=-I/usr/local/include LDFLAGS=--L/usr/local/lib -lsqlite3 ./ configure --disable-internal-sqlite ./configure --CFLAGS=-I/usr/local/include --LDFLAGS=-L/usr/local/lib - lsqlite3 ./configure --disable-internal-sqlite My work around has been a kludge with running fossil on a Linux system with sshfs + symlinks, but maybe there a chance this is fixed, and I'm doing it wrong. -- C. Thomas Stover www.thomasstover.com ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users -- 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] AIX 7.1
On Mon, 25 Mar 2013 12:40:39 -0400, Richard Hipp wrote: On Mon, Mar 25, 2013 at 12:30 PM, C. Thomas Stover On AIX 7.1, I get the following SQLite error on a open (jfs2 file system): /usr/local/bin/fossil: SQLITE_IOERR: os_unix.c:28318: (9) fsync(/home/ username/directory/project.fossil-mj40184C909) - Bad file number /usr/local/bin/fossil: disk I/O error: {COMMIT} Please recompile with -DSQLITE_DISABLE_DIRSYNC and see if that doesn't fix it. That seems to have fixed it. Thanks much. -- C. Thomas Stover www.thomasstover.com ___ 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] AIX 7.1
On Mon, Mar 25, 2013 at 1:01 PM, C. Thomas Stover c...@thomasstover.comwrote: On Mon, 25 Mar 2013 12:40:39 -0400, Richard Hipp wrote: On Mon, Mar 25, 2013 at 12:30 PM, C. Thomas Stover On AIX 7.1, I get the following SQLite error on a open (jfs2 file system): /usr/local/bin/fossil: SQLITE_IOERR: os_unix.c:28318: (9) fsync(/home/ username/directory/project.fossil-mj40184C909) - Bad file number /usr/local/bin/fossil: disk I/O error: {COMMIT} Please recompile with -DSQLITE_DISABLE_DIRSYNC and see if that doesn't fix it. That seems to have fixed it. Thanks much. Is there a predefined macro for AIX that we can use to make this setting automatic? Something like #ifdef __aix__? -- C. Thomas Stover www.thomasstover.com ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users -- 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] fossil-users@lists.fossil-scm.org
Hi, anyone had trouble compiling fossil on osx? I've not done it for a while and I'm wondering If I've missed something important? cheers, Stephen sp-laptop:fossil spdegabrielle$ ./configure Host System...x86_64-apple-darwin12.3.0 Build System...x86_64-apple-darwin12.3.0 C compiler... cc -g -O2 C++ compiler... c++ -g -O2 Build C compiler...cc Checking for stdlib.h...not found Error: Compiler does not work. See config.log Try: 'configure --help' for options sp-laptop:fossil spdegabrielle$ xcrun -find gcc /Applications/Xcode.app/Contents/Developer/usr/bin/gcc sp-laptop:fossil spdegabrielle$ cat configure #!/bin/sh dir=`dirname $0`/autosetup WRAPPER=$0 exec `$dir/find-tclsh` $dir/autosetup $@ sp-laptop:fossil spdegabrielle$ open . -- ___ 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] fossil-users@lists.fossil-scm.org
It looks like your command line c compiler is not configured as expected. Did you install the command line Xcode? See http://stackoverflow.com/questions/9329243/xcode-4-4-command-line-tools On one of my machines I have no difficulty building fossil from sources. which cc /usr/bin/cc cc --version i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. On Mon, Mar 25, 2013 at 10:29 AM, Stephen De Gabrielle spdegabrie...@gmail.com wrote: Hi, anyone had trouble compiling fossil on osx? I've not done it for a while and I'm wondering If I've missed something important? cheers, Stephen sp-laptop:fossil spdegabrielle$ ./configure Host System...x86_64-apple-darwin12.3.0 Build System...x86_64-apple-darwin12.3.0 C compiler... cc -g -O2 C++ compiler... c++ -g -O2 Build C compiler...cc Checking for stdlib.h...not found Error: Compiler does not work. See config.log Try: 'configure --help' for options sp-laptop:fossil spdegabrielle$ xcrun -find gcc /Applications/Xcode.app/Contents/Developer/usr/bin/gcc sp-laptop:fossil spdegabrielle$ cat configure #!/bin/sh dir=`dirname $0`/autosetup WRAPPER=$0 exec `$dir/find-tclsh` $dir/autosetup $@ sp-laptop:fossil spdegabrielle$ open . -- ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users -- Clive Hayward ___ 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] fossil-users@lists.fossil-scm.org
On Mon, Mar 25, 2013 at 1:29 PM, Stephen De Gabrielle spdegabrie...@gmail.com wrote: Hi, anyone had trouble compiling fossil on osx? Works fine for me. I've not done it for a while and I'm wondering If I've missed something important? cheers, Stephen sp-laptop:fossil spdegabrielle$ ./configure Host System...x86_64-apple-darwin12.3.0 Build System...x86_64-apple-darwin12.3.0 C compiler... cc -g -O2 C++ compiler... c++ -g -O2 Build C compiler...cc Checking for stdlib.h...not found Error: Compiler does not work. See config.log Try: 'configure --help' for options sp-laptop:fossil spdegabrielle$ xcrun -find gcc /Applications/Xcode.app/Contents/Developer/usr/bin/gcc sp-laptop:fossil spdegabrielle$ cat configure #!/bin/sh dir=`dirname $0`/autosetup WRAPPER=$0 exec `$dir/find-tclsh` $dir/autosetup $@ sp-laptop:fossil spdegabrielle$ open . -- ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users -- 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] AIX 7.1
On Mon, 25 Mar 2013 13:15:17 -0400, Richard Hipp wrote: Is there a predefined macro for AIX that we can use to make this setting automatic? Something like #ifdef __aix__? This is all new territory for me. My aim is to add portability to some of my own projects, so I'll be looking. This page might be accurate: http://nadeausoftware.com/articles/2012/01/ c_c_tip_how_use_compiler_predefined_macros_detect_operating_system will test... ..ok tested === aixtest.c #include stdio.h int main(void) { #if defined(_AIX) printf(this should be AIX\n); #else printf(probably not compiled on AIX\n); #endif return 0; } = gcc aixtest.c ./a.out this should be AIX xlc aixtest.c ./a.out this should be AIX On the other hand this may be more of a file system specific issue rather than an OS specific one. I would say just doing the above test would be perfectly acceptable. -- C. Thomas Stover www.thomasstover.com ___ 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] fossil-users@lists.fossil-scm.org
Thanks, I did install the CL tools, but something is clearly awry if its working for others. A reinstall should sort it. Thanks again, Stephen On Monday, March 25, 2013, Clive Hayward wrote: It looks like your command line c compiler is not configured as expected. Did you install the command line Xcode? See http://stackoverflow.com/questions/9329243/xcode-4-4-command-line-tools On one of my machines I have no difficulty building fossil from sources. which cc /usr/bin/cc cc --version i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. On Mon, Mar 25, 2013 at 10:29 AM, Stephen De Gabrielle spdegabrie...@gmail.com javascript:_e({}, 'cvml', 'spdegabrie...@gmail.com'); wrote: Hi, anyone had trouble compiling fossil on osx? I've not done it for a while and I'm wondering If I've missed something important? cheers, Stephen sp-laptop:fossil spdegabrielle$ ./configure Host System...x86_64-apple-darwin12.3.0 Build System...x86_64-apple-darwin12.3.0 C compiler... cc -g -O2 C++ compiler... c++ -g -O2 Build C compiler...cc Checking for stdlib.h...not found Error: Compiler does not work. See config.log Try: 'configure --help' for options sp-laptop:fossil spdegabrielle$ xcrun -find gcc /Applications/Xcode.app/Contents/Developer/usr/bin/gcc sp-laptop:fossil spdegabrielle$ cat configure #!/bin/sh dir=`dirname $0`/autosetup WRAPPER=$0 exec `$dir/find-tclsh` $dir/autosetup $@ sp-laptop:fossil spdegabrielle$ open . -- ___ fossil-users mailing list fossil-users@lists.fossil-scm.org javascript:_e({}, 'cvml', 'fossil-users@lists.fossil-scm.org'); http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users -- Clive Hayward -- -- Stephen De Gabrielle stephen.degabrie...@acm.org Telephone +44 (0)20 85670911 Mobile+44 (0)79 85189045 http://www.degabrielle.name/stephen Professor: Oh God! I clicked without reading! Cubert: And I slightly modified something I own! Professor: We're monsters! ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users