Welcome, Guest. Please Login
YaBB - Yet another Bulletin Board
 
  HomeHelpSearchLogin  
 
compile problem using latest source (Read 2846 times)
jlary
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 2
compile problem using latest source
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.
Back to top
 
 
IP Logged
 
Sergei
YaBB Administrator
*****
Offline


Datamonkeys are forever...

Posts: 1658
UCSD
Gender: male
Re: compile problem using latest source
Reply #1 - 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
Back to top
 

Associate Professor
Division of Infectious Diseases
Division of Biomedical Informatics
School of Medicine
University of California San Diego
WWW WWW  
IP Logged
 
jlary
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 2
Re: compile problem using latest source
Reply #2 - 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.
Back to top
 
 
IP Logged
 
Sergei
YaBB Administrator
*****
Offline


Datamonkeys are forever...

Posts: 1658
UCSD
Gender: male
Re: compile problem using latest source
Reply #3 - 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
Back to top
 

Associate Professor
Division of Infectious Diseases
Division of Biomedical Informatics
School of Medicine
University of California San Diego
WWW WWW  
IP Logged
 
Sergei
YaBB Administrator
*****
Offline


Datamonkeys are forever...

Posts: 1658
UCSD
Gender: male
Re: compile problem using latest source
Reply #4 - 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
Back to top
 

Associate Professor
Division of Infectious Diseases
Division of Biomedical Informatics
School of Medicine
University of California San Diego
WWW WWW  
IP Logged