Hello everyone,
I’m a systemsadministrator at SRON in the Netherlands having trouble building astroroot against ROOT on a Debian machine.
Reiner Rohlfs (the maker of AstroRoot) did not know the sollution to this problem and we thought to ask you. Here is what happens:
----- SNIP ----
Error: cannot open file "typeinfo" /usr/local/root/include/Rtypeinfo.h:33:
Error: Unexpected EOF G__fgetstream():2 /usr/include/sys/cdefs.h:261:
Advice: You may need to use +P or -p option
Error: Symbol extern"C"{ # define __need_size_t # define __need_NULL # include<stddef is not defined in current scope /usr/include/stdio.h:46:
Error: Failed to evaluate extern"C"{ # define __need_size_t # define __need_NULL # include<stddef> # include<bits/types
Error: Failed to evaluate extern"C"{ # define __need_size_t # define __need_NULL # include<stddef> # include<bits> # define __need_FILE # define __need___FILE #endif #if !defined __FILE_defined&& defined __need_FILE __BEGIN_NAMESPACE_STD typedef struct _IO_FILE FILE
Error: Unexpected EOF G__fignorestream():3 /usr/include/stdio.h:836:
Advice: You may need to use +P or -p option
----- SNIP ------
The complete error can be viewed here:
http://www.sron.nl/~mverwijs/files/astroroot/buildfail.log
More info about my setup:
Version info:
Astro Root Version: 4.1.2
Root version: 5.12.00
OS: Debian GNU/Linux 3.1 (Sarge)
Environmental settings:
LD_LIBRARY_PATH=/usr/local/root/include:/usr/include/root:/usr/include:/usr/local/root/lib
PFILES=/usr/local/root/pfiles
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/bin:/usr/local/root/bin
ROOTSYS=/usr/local/root
WORK_ENV=/usr/local/root
For Debian people amongst you, here is a list of packages installed:
http://www.sron.nl/~mverwijs/files/astroroot/dpkg-selections
I’ve configured ROOT with these options:
./configure --enable-minuit2 --enable-mathmore \
–enable-reflex --enable-cintex --enable-roofit \
–enable-mathmore --enable-python --enable-qt
GCC version 3.3 and 3.4 both give the same error. I haven’t tried 4.x.
Any help or instruction is greatly appreciated!
Kind regards,
–
Maarten Verwijs
(altered topic name)