HyPhy message board | |
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl
HYPHY Package >> HyPhy bugs >> compile problem using latest source http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl?num=1172161555 Message started by jlary on Feb 22nd, 2007 at 8:25am |
Title: compile problem using latest source Post by jlary on Feb 22nd, 2007 at 8:25am
I'm compiling the latest version on a Mac 0SX 10.4 G5 machine and at the beginning I receive an error/warning that sizeoflong.c doesn't exist -
powerpc-apple-darwin8-gcc-4.0.1: sizeoflong.c: No such file or directory powerpc-apple-darwin8-gcc-4.0.1: no input files build.sh: line 1: ./sizeoflong: No such file or directory The build proceeds through to the end and running HYPHY via the command line appears to work. Is this just an inconsequential problem/warning? Thanks, Jeff Lary. |
Title: Re: compile problem using latest source Post by Sergei on Feb 22nd, 2007 at 9:34am
Dear Jeff,
I'll check the warning message. It has to do with trying to determine the size of a long interger (C 'long') type run time to compile the SQLite database component properly. Thanks for bringing this to my attention. Best, Sergei |
Title: Re: compile problem using latest source Post by jlary on Feb 22nd, 2007 at 10:01am
Sergei,
Thanks for the quick response. The file that it's looking for to determine the size-of-long isn't contained in the source code so that part of the build.sh fails. As a consequence, the contents of the SQLite/config.h file ends up looking like #define SQLITE_PTR_SIZE instead of something like #define SQLITE_PTR_SIZE 4 It just looks like the "sizeoflong.c" file was left out of the archive and I'm not sure it even matters as I can't find any reference to SQLITE_PTR_SIZE in the code. Jeff. |
Title: Re: compile problem using latest source Post by Sergei on Feb 22nd, 2007 at 10:27am
Dear Jeff,
Thanks for the update! The code will probably break if you try to use any SQLite features (like DoSQL commands in the batch language), but I will fix the problem for the next release. Cheers, Sergei |
Title: Re: compile problem using latest source Post by Sergei on Feb 22nd, 2007 at 4:35pm
Dear Jeff,
I modified the build scripts to use gcc's -D flag in place of a checking program. Thanks for the report once again. Cheers, Sergei |
HyPhy message board » Powered by YaBB 2.5.2! YaBB Forum Software © 2000-2024. All Rights Reserved. |