Trouble installing Arachne - possible gcc error? Maybe?


 
Thread Tools Search this Thread
# 1  
Trouble installing Arachne - possible gcc error? Maybe?

Hi, I am having trouble installing Arachne from the broad institute.

I'm using ubuntu through Oracle's VirtualBox.

When I use the ./configure command, I do not get any obvious errors. However, the make command always fails.

Here is my output for the .configure command and for the make step:

kristen@kristen-VirtualBox:~/Desktop/arachne-40459$ ./configure --with-xerces=xerces-c-3.1.1
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... 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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether byte ordering is bigendian... no
g++ version is >= 4.3.3... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for gcc option to support OpenMP... -fopenmp
checking validity of OpenMP configuation.... checking for Xerces C++ Parser headers in xerces-c-3.1.1/include and xerces-c-3.1.1/include/xercesc... found
checking for Xerces C++ Parser libraries... found
checking for Xerces C++ Parser... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands


kristen@kristen-VirtualBox:~/Desktop/arachne-40459$ make
Making all in src
make[1]: Entering directory `/home/kristen/Desktop/arachne-40459/src'
make all-am
make[2]: Entering directory `/home/kristen/Desktop/arachne-40459/src'
g++ -DHAVE_CONFIG_H -I. -DRELEASE=3.0 -DMAKE_OS_RELEASE=3.0.0-15-generic -DMAKE_RELEASE=3.0 -DSVN_VERSION=40459 -Ixerces-c-3.1.1/include -Ixerces-c-3.1.1/include/xercesc -fopenmp -g -O2 -Wextra -Wall -ansi -pedantic -Wsign-promo -Woverloaded-virtual -Wendif-labels -Wno-unused -Wno-deprecated -Wno-long-long -Wno-parentheses -fno-nonansi-builtins -ftemplate-depth-50 -mieee-fp -fno-strict-aliasing -iquote . -ggdb3 -DNDEBUG -MT Combinatorics.o -MD -MP -MF .deps/Combinatorics.Tpo -c -o Combinatorics.o `test -f 'math/Combinatorics.cc' || echo './'`math/Combinatorics.cc
In file included from ./feudal/MasterVec.h:24:0,
from ./VecString.h:14,
from ./CoreTools.h:22,
from math/Combinatorics.cc:11:
./feudal/OuterVec.h: In member function ‘OuterVec<T, S, A>::size_type OuterVec<T, S, A>::max_size() const’:
./feudal/OuterVec.h:205:21: warning: left shift count >= width of type [enabled by default]
In file included from ./feudal/FeudalString.h:23:0,
from ./feudal/CharString.h:19,
from ./String.h:13,
from ./system/System.h:17,
from ./CoreTools.h:17,
from math/Combinatorics.cc:11:
./feudal/SmallVec.h: In member function ‘SmallVec<T, A>& SmallVec<T, A>:ush_back(const T&, float, SmallVec<T, A>::size_type) [with T = char, A = MempoolAllocator<char>, SmallVec<T, A> = SmallVec<char, MempoolAllocator<char> >, SmallVec<T, A>::size_type = unsigned int]’:
./feudal/SmallVec.h:226:36: instantiated from ‘SmallVec<T, A>& SmallVec<T, A>:ush_back(const T&) [with T = char, A = MempoolAllocator<char>, SmallVec<T, A> = SmallVec<char, MempoolAllocator<char> >]’
./feudal/FeudalString.h:175:7: instantiated from ‘FeudalString<charT, Traits>& FeudalString<charT, Traits>:ush_back(FeudalString<charT, Traits>::value_type) [with charT = char, Traits = std::char_traits<char>, FeudalString<charT, Traits> = FeudalString<char, std::char_traits<char> >, FeudalString<charT, Traits>::value_type = char]’
./feudal/CharString.h:148:20: instantiated from here
./feudal/SmallVec.h:237:9: error: no matching function for call to ‘max(long unsigned int, const unsigned int&)’
./feudal/SmallVec.h:237:9: note: candidates are:
/usr/include/c++/4.6/bits/stl_algobase.h:210:5: note: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&)
/usr/include/c++/4.6/bits/stl_algobase.h:254:5: note: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare)
make[2]: *** [Combinatorics.o] Error 1
make[2]: Leaving directory `/home/kristen/Desktop/arachne-40459/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/kristen/Desktop/arachne-40459/src'
make: *** [all-recursive] Error 1
kristen@kristen-VirtualBox:~/Desktop/arachne-40459$


I also looked in config.log file, and I think this part might be the problem:

configure:3346: $? = 0
configure:3335: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.6.1/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.1-9ubuntu3' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu
Thread model: posix
gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
configure:3346: $? = 0
configure:3335: gcc -V >&5
gcc: error: unrecognized option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3346: $? = 4
configure:3335: gcc -qversion >&5
gcc: error: unrecognized option '-qversion'
gcc: fatal error: no input files
compilation terminated.


I found this thread:

old.nabble.com/cannot-compile-arrrghh...-td32746084.html

which seemed to have a similar error message, and so it may be a problem with gmp, mpfr, and mpc as suggested. (I tried to install each of these components before making the symbolic links, but I'm now getting "configure: error: libgmp not found or uses a different ABI (including static vs shared)" when I try to install mpfr. I think I have gmp-5.0.3 successfully installed and the symbolic link created, but just fixing gmp wasn't enough to resolve the error in the arachne config log.)

So what should I do? Is there an easier way to resolve my arachne config error? If the error really is due to problems with gmp/mpfr/mpc, is there a version of gcc I can download with these components already included? I am not very experienced with unix/bioinformatics so I am having a lot of problems trouble shooting.

Thanks for your help!
# 2  
Looks like an old buggy configure script that still expects gcc to accept -V without an argument.
# 3  
Thank you for the speedy response. If the configure script is buggy, is there anything I can do to fix it?
# 4  
Try running 'autoreconf' and perhaps 'libtoolize' while in the same directory as ./configure, in some circumstances that can update it. But if it's just too old, or written in a way incompatible with the new scripts, it will still throw up.
 

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

10 More Discussions You Might Find Interesting

1. Red Hat

Trouble installing vsftpd builddegs.h compile error

gcc --version gcc (GCC) 3.4.3 20041212 (Red Hat 3.4.3-9.EL4) Linux 2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:30:39 EST 2005 i686 i686 i386 GNU/Linux vsftpd built 3.0.2 I am seeing this error when I try to implement the steps outlined for installing vsftpd: # make gcc -c main.c -O2 -fPIE... (2 Replies)
Discussion started by: kwnilges
2 Replies

2. Solaris

GCC installing

dear, please just didn't understand the problem that appears when i try to install ./configure here is the message that appears in unix when installing gcc root@ccbtest # ./configure checking build system type... /bin/bash: ./config.guess: No such file or directory configure: error: cannot... (3 Replies)
Discussion started by: semaan
3 Replies

3. Solaris

Help with installing gcc on Solaris 10

I want to install gcc for Solaris 10 to an alternate location besides /usr/local/bin, so I can't use the pre-compiled package from sunfreeware.com. So I assume I need to compile gcc for myself and specify --prefix. How can I accomplish this? Am I pretty much out of luck trying to compile... (3 Replies)
Discussion started by: srhadden
3 Replies

4. Solaris

Installing gcc - recieve error message gcc : cannot execute

AIM- Install Oracle 11g on Solaris using VMWare Steps 1.Logged on as root 2.Created subfolders à /usr/local/bin & /usr/local/bin/gcc 3.Downloaded gcc & libiconv & unzipped them on my harddrive & burnt them on CD 4.Copied files from CD to /usr/local/bin/gcc 5.Terminal (root) à pkgadd –d... (8 Replies)
Discussion started by: Ackers
8 Replies

5. Filesystems, Disks and Memory

Trouble Installing

I'm trying to install SuSE 7.2 Professional on a IBM Netfinity M10 system. But setup says it can not find a HDD for some reason. It has 6 SCSI HDD installed so I'm not sure why it won't detect them. I am new to servers though and never have used a SCSI device. So if someone could help me out I... (2 Replies)
Discussion started by: Iconfixit
2 Replies

6. SCO

SCO 5.0.7 Installing gcc 3.4.3 cause error in make

Did anyone get gcc updated on sco 5.0.7 ? Here is what I did installed Openserver Development System installed Openserver Linker and Application Development Libraries This gave me older gcc compiler 2.95.3 which is required to compile the latest gcc 3.4.3 Configuration went ok but issued... (1 Reply)
Discussion started by: miles556
1 Replies

7. Solaris

Error when installing GCC

GCC 3.4.6 was installed in Solaris 2.8. I ran the commands ./configure and make. When running make install I got the below mentioned errors at the end. Please help me in resolving the same. make: *** Error 1 make: Leaving directory `/gmsp/antony/gcc-3.4.6/sparc-sun-solaris2.8/sparcv9/libf2c'... (1 Reply)
Discussion started by: chrisanto_2000
1 Replies

8. Solaris

error while installing gcc

Hi friends, i down loaded the gcc*.gz file and i am getting the following error when i am trying to install it on solaris 8 ======================================================= Processing package instance <SMCgcc342> from </export/gcc-3.4.2-sol8-sparc-local> gcc (sparc) 3.4.2 FSF... (1 Reply)
Discussion started by: sveera
1 Replies

9. Programming

Installing gcc

Hi all I'm trying to install the latest version of gcc but I keep getting this message on make; gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I./../zlib -I./../include -W -Wall -pedantic -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -g -O2 -c jartool.c jartool.c:234: getopt.h: No... (3 Replies)
Discussion started by: squeakywheel
3 Replies

10. Programming

Help!(Installing GCC.)

(Installing GCC: Configuration) In the document of Installing GCC, there is a sentence I don't understand: " Second, when configuring a native system, either cc or gcc must be in your path or you must set CC in your environment before running configure. Otherwise the configuration scripts... (2 Replies)
Discussion started by: wwz
2 Replies

Featured Tech Videos