Questions and Answers :
Unix/Linux :
seti_boinc won't compile on Debian Pure64 (AMD64)
Message board moderation
Author | Message |
---|---|
Per-Arne Hellarvik Send message Joined: 3 Apr 99 Posts: 4 Credit: 50,922 RAC: 0 ![]() |
Here is the output of make: make[1]: Entering directory `/var/src/boinc/seti_boinc/client' g++ -g -O2 -I/usr/bin/X11/xlsfonts/include -DHAVE_CONFIG_H -DTEXT_UI -DNDEBUG -DCLIENT -I/api -I/lib -I/image_libs/ -I.. -I../db -c -o main.o main.cpp cc1plus: /usr/bin/X11/xlsfonts/include: Not a directory make[1]: *** [main.o] Error 1 make[1]: Leaving directory `/var/src/boinc/seti_boinc/client' make: *** [all] Error 2 |
Hans Dorn ![]() Send message Joined: 3 Apr 99 Posts: 2262 Credit: 26,448,570 RAC: 0 ![]() |
The "configure" script is broken for debian. It's trying to locate your X11 directory by looking for "xlsfonts", usually found in "/usr/X11R6/bin". Under debian, xlsfonts is found in "/usr/bin/X11". I kind of fixed that by replacing "sah_xpath=`echo $XLSFONTS | sed 's/bin/xlsfonts//' `" with "sah_xpath="/usr/X11R6"" in "aclocal.m4" (2 times) and running "aclocal" and "autoconf" Regards Hans |
Per-Arne Hellarvik Send message Joined: 3 Apr 99 Posts: 4 Credit: 50,922 RAC: 0 ![]() |
Sorry to say, but it did not work.... root@debian64:/var/src/boinc/seti_boinc# vi aclocal.m4 root@debian64:/var/src/boinc/seti_boinc# aclocal root@debian64:/var/src/boinc/seti_boinc# autoconf root@debian64:/var/src/boinc/seti_boinc# make make: *** No targets specified and no makefile found. Stop. root@debian64:/var/src/boinc/seti_boinc# ./configure checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for g++... g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for gawk... gawk checking for ranlib... ranlib checking for sed... /bin/sed checking for tr... /usr/bin/tr checking for ar... /usr/bin/ar checking for autoconf... /usr/bin/autoconf checking for autoheader... /usr/bin/autoheader checking for astyle... no checking for indent... /usr/bin/indent checking for sort... /usr/bin/sort checking for uniq... /usr/bin/uniq checking for cat... /bin/cat checking for mv... /bin/mv checking for rm... /bin/rm checking whether make sets $(MAKE)... yes ./configure: line 2817: SAH_DLLEXT: command not found ./configure: line 2818: SAH_LIBEXT: command not found checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGE_FILES value needed for large files... no checking for shmget in -lcygipc... no checking for aio_fork in -laio... no checking for dlclose in -ldl... yes checking for elf_hash in -lelf... no checking for fftw_create_plan in -lfftw... no checking for sin in -lm... yes checking for gethostbyname in -lnsl... yes checking for bind in -lsocket... no checking for uncompress in -lz... yes checking for main in -lstdc++... yes ./configure: line 4639: SAH_GRX_LIBS: command not found ./configure: line 4640: SAH_CHECK_BOINC: command not found ./configure: line 4641: SAH_CHECK_MYSQL: command not found ./configure: line 4642: SAH_CHECK_INFORMIX: command not found ./configure: line 4643: SAH_FIND_S4PATH: command not found checking for egrep... grep -E checking for ANSI C header files... yes ./configure: line 4881: SAH_LARGEFILE_BREAKS_CXX: command not found ./configure: line 4882: SAH_HEADER_STDCXX: command not found checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for memory.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes ./configure: line 5184: SAH_GRX_INCLUDES: command not found checking for stdbool.h that conforms to C99... no checking for _Bool... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for working long double with more range or precision than double... yes checking for off_t... yes checking for size_t... yes checking for struct stat.st_blocks... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for long int... yes checking size of long int... 8 checking for long double... yes checking size of long double... 16 checking for long long... yes checking for _int64... no checking for bool... yes checking for pid_t... yes checking how to run the C preprocessor... gcc -E checking for unistd.h... (cached) yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking whether sys/types.h defines makedev... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking whether lstat dereferences a symlink specified with a trailing slash... yeschecking whether stat accepts an empty string... no checking for strftime... yes checking for atexit... yes checking for floor... yes checking for getcwd... yes checking for memset... yes checking for munmap... yes checking for putenv... yes checking for sqrt... yes checking for strchr... yes checking for strstr... yes checking for atoll... yes ./configure: line 9040: SAH_CHECK_NAMESPACES: command not found ./configure: line 9047: syntax error near unexpected token `['min(0,0)']' ./configure: line 9047: `SAH_FUNCS_IN_NAMESPACE(['min(0,0)'] ['max(0,0)'] ['transform((char *)0,(char *)0,(char *)0,(int(*)(int))malloc)'],std)' root@debian64:/var/src/boinc/seti_boinc# make make: *** No targets specified and no makefile found. Stop. |
Hans Dorn ![]() Send message Joined: 3 Apr 99 Posts: 2262 Credit: 26,448,570 RAC: 0 ![]() |
> Sorry to say, but it did not work.... > > root@debian64:/var/src/boinc/seti_boinc# vi aclocal.m4 > root@debian64:/var/src/boinc/seti_boinc# aclocal > root@debian64:/var/src/boinc/seti_boinc# autoconf > root@debian64:/var/src/boinc/seti_boinc# make > make: *** No targets specified and no makefile found. Stop. > root@debian64:/var/src/boinc/seti_boinc# ./configure .... > ./configure: line 4639: SAH_GRX_LIBS: command not found > ./configure: line 4640: SAH_CHECK_BOINC: command not found > ./configure: line 4641: SAH_CHECK_MYSQL: command not found > ./configure: line 4642: SAH_CHECK_INFORMIX: command not found > ./configure: line 4643: SAH_FIND_S4PATH: command not found Hmmm... These functions should be defined in "aclocal.m4" Please mail your version of "aclocal.m4" to hjdorn@freenet.de and I'll compare it to what I've got here. Regards Hans P.S: The above email address is a spam trap. I don't check it regularly. I'll reply from my working email address |
Per-Arne Hellarvik Send message Joined: 3 Apr 99 Posts: 4 Credit: 50,922 RAC: 0 ![]() |
> These functions should be defined in "aclocal.m4" > Please mail your version of "aclocal.m4" to hjdorn@freenet.de > and I'll compare it to what I've got here. > > Regards Hans Mail sent... Thanx for the help so far... |
Raithmir Send message Joined: 3 Apr 99 Posts: 89 Credit: 385,065 RAC: 0 ![]() |
No idea what impact it has, but I have found that renaming /usr/bin/X11/xlsfonts to something else before running ./configure then builds without a hitch. Raithmir's SPARC64/UltraSPARC Linux Builds http://www.kulthea.net/boinc/ |
©2025 University of California
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.