mhoopmann / mstoolkit

Automatically exported from code.google.com/p/mstoolkit
27 stars 10 forks source link

does not build under mac os x #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Reproduce:

1. svn checkout http://mstoolkit.googlecode.com/svn/trunk/ mstoolkit-read-only
2. make

g++ -O3 -static -I. -I./include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-DGCC -DHAVE_EXPAT_CONFIG_H -DMST_MZ5 -DMZP_MZ5 src/mzParser/mzp_base64.cpp -c 
-o mzp.mzp_base64.o
In file included from ./include/hdf5.h:24,
                 from ./include/mzParser.h:37,
                 from src/mzParser/mzp_base64.cpp:8:
./include/H5public.h:37:80: error: features.h: No such file or directory
make: *** [mzp.mzp_base64.o] Error 1

What version of the product are you using? On what operating system?

Mac OS X 10.7.5

Original issue reported on code.google.com by helen.c...@gmail.com on 12 Aug 2014 at 7:46

GoogleCodeExporter commented 9 years ago
Remove -DMZP_MZ5 from the makefile and remake.

Likely, HDF5 (used for mz5 file reading only) isn't configured for Mac OS. 
Probably will kill HDF5 and mz5 support in new versions as it is large, 
difficult, and not used by anyone I know.

Original comment by mhoopm...@systemsbiology.org on 12 Aug 2014 at 4:14

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Did that, then I get:

g++ -O3 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_BSD_SOURCE  
-D_POSIX_C_SOURCE=199506L   -DNDEBUG -UH5_DEBUG_API -I. -I./include 
src/hdf5-1.8.8/H5AbstractDs.cpp -c
In file included from ./include/hdf5.h:24,
                 from ./include/H5Include.h:17,
                 from src/hdf5-1.8.8/H5AbstractDs.cpp:18:
./include/H5public.h:37:80: error: features.h: No such file or directory
make: *** [H5AbstractDs.o] Error 1

Original comment by helen.c...@gmail.com on 13 Aug 2014 at 8:56

GoogleCodeExporter commented 9 years ago
Please also try the following:

1. Remove -DMST_MZ5 from the MZ5 variable. 
2. When compiling the makefile, try to "make lite"

the resulting libmstoolkitlite.a library is all you will need if you if you 
don't use the mz5 format.

If you don't have success, I will build you a new makefile so that you can get 
the library to compile while I deal with removing HDF5/mz5 support. It is 
obsolete anyway, as the numpress algorithm compresses data better and fits 
seamlessly within the mzML format.

Original comment by mhoopm...@systemsbiology.org on 13 Aug 2014 at 6:29

GoogleCodeExporter commented 9 years ago
This works, but I'm still having trouble using this to build bullseye.  I'll 
report that bug over in the other project.

Original comment by helen.c...@gmail.com on 14 Aug 2014 at 7:38

GoogleCodeExporter commented 9 years ago

Original comment by mhoopm...@systemsbiology.org on 14 Aug 2014 at 8:20