GSL compilation fails #35

Closed
k504866430 opened this Issue Oct 14, 2012 · 1 comment

Comments

Projects
None yet
2 participants

I extracted the GSL 1.14 from http://ftp.gnu.org/gnu/gsl/gsl-1.14.tar.gz. I create a new vulcan server-

vulcan create gsl

I then ran

heroku addons:add cloudant:oxygen --app gsl

and then ran

vulcan build

The following is the stack trace

Packaging local directory... done
Uploading source package... >> Downloading build artifacts to: /tmp/gsl-1.tgz
   (available at http://gsl.herokuapp.com/output/47f924dc-073a-4574-b33c-98efd320cd35)
Kruttiks-MacBook-Pro:gsl-1.14 kruttikagarwal$ heroku logs --app gsl
 !    Logplex was just enabled for this app.
 !    Please try fetching logs again in a few seconds.
Kruttiks-MacBook-Pro:gsl-1.14 kruttikagarwal$ heroku logs --app gsl
Kruttiks-MacBook-Pro:gsl-1.14 kruttikagarwal$ heroku logs --app gsl
Kruttiks-MacBook-Pro:gsl-1.14 kruttikagarwal$ vulcan build -v
Packaging local directory... done
Uploading source package... done
Building with: ./configure --prefix /app/vendor/gsl-1 && make install
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 whether to enable maintainer-specific portions of Makefiles... no
checking for a sed that does not truncate output... /bin/sed
checking whether make sets $(MAKE)... (cached) yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking for a sed that does not truncate output... (cached) /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 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 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 -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
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... yes
checking whether to build static libraries... yes
checking for size_t... yes
checking for working volatile... yes
checking for inline... inline
checking whether char is unsigned... no
checking for GNU-style extern inline... yes
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking for vprintf... yes
checking for _doprnt... no
checking for memcpy... yes
checking for memmove... yes
checking for strdup... yes
checking for strtol... yes
checking for strtoul... yes
checking for EXIT_SUCCESS and EXIT_FAILURE... yes
checking for cos in -lm... yes
checking whether feenableexcept is declared... yes
checking whether fesettrapenable is declared... no
checking whether hypot is declared... yes
checking whether expm1 is declared... yes
checking whether acosh is declared... yes
checking whether asinh is declared... yes
checking whether atanh is declared... yes
checking whether ldexp is declared... yes
checking whether frexp is declared... yes
checking whether isinf is declared... yes
checking whether isfinite is declared... yes
checking whether finite is declared... yes
checking whether isnan is declared... yes
checking whether log1p is declared... yes
checking for long double stdio... yes
checking for extended floating point registers... yes
checking for IEEE arithmetic interface type... gnux86
checking for FPU_SETCW... yes
checking for SSE extensions... yes
checking for IEEE compiler flags... none
checking for IEEE comparisons... yes
checking for IEEE denormalized values... yes
configure: creating ./config.status
config.status: creating gsl_version.h
config.status: creating gsl.spec
config.status: creating gsl/Makefile
config.status: creating test/Makefile
config.status: creating err/Makefile
config.status: creating sys/Makefile
config.status: creating utils/Makefile
config.status: creating const/Makefile
config.status: creating min/Makefile
config.status: creating multimin/Makefile
config.status: creating ieee-utils/Makefile
config.status: creating fft/Makefile
config.status: creating specfunc/Makefile
config.status: creating dht/Makefile
config.status: creating fit/Makefile
config.status: creating multifit/Makefile
config.status: creating bspline/Makefile
config.status: creating statistics/Makefile
config.status: creating sum/Makefile
config.status: creating roots/Makefile
config.status: creating multiroots/Makefile
config.status: creating ntuple/Makefile
config.status: creating poly/Makefile
config.status: creating qrng/Makefile
config.status: creating rng/Makefile
config.status: creating randist/Makefile
config.status: creating siman/Makefile
config.status: creating integration/Makefile
config.status: creating interpolation/Makefile
config.status: creating doc/Makefile
config.status: creating block/Makefile
config.status: creating vector/Makefile
config.status: creating matrix/Makefile
config.status: creating histogram/Makefile
config.status: creating monte/Makefile
config.status: creating ode-initval/Makefile
config.status: creating cblas/Makefile
config.status: creating blas/Makefile
config.status: creating linalg/Makefile
config.status: creating eigen/Makefile
config.status: creating permutation/Makefile
config.status: creating combination/Makefile
config.status: creating multiset/Makefile
config.status: creating sort/Makefile
config.status: creating complex/Makefile
config.status: creating diff/Makefile
config.status: creating deriv/Makefile
config.status: creating cheb/Makefile
config.status: creating cdf/Makefile
config.status: creating wavelet/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
Making install in gsl
make[1]: Entering directory `/tmp/d20121014-2-p4jl3k/input/gsl'
make[2]: Entering directory `/tmp/d20121014-2-p4jl3k/input/gsl'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/tmp/d20121014-2-p4jl3k/input/gsl'
make[1]: Leaving directory `/tmp/d20121014-2-p4jl3k/input/gsl'
Making install in utils
make[1]: Entering directory `/tmp/d20121014-2-p4jl3k/input/utils'
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -MT placeholder.lo -MD -MP -MF .deps/placeholder.Tpo -c -o placeholder.lo placeholder.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT placeholder.lo -MD -MP -MF .deps/placeholder.Tpo -c placeholder.c  -fPIC -DPIC -o .libs/placeholder.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT placeholder.lo -MD -MP -MF .deps/placeholder.Tpo -c placeholder.c -o placeholder.o >/dev/null 2>&1
mv -f .deps/placeholder.Tpo .deps/placeholder.Plo
/bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2   -o libutils.la  placeholder.lo  -lm 
libtool: link: ar cru .libs/libutils.a .libs/placeholder.o 
libtool: link: ranlib .libs/libutils.a
libtool: link: ( cd ".libs" && rm -f "libutils.la" && ln -s "../libutils.la" "libutils.la" )
make[2]: Entering directory `/tmp/d20121014-2-p4jl3k/input/utils'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/tmp/d20121014-2-p4jl3k/input/utils'
make[1]: Leaving directory `/tmp/d20121014-2-p4jl3k/input/utils'
Making install in sys
make[1]: Entering directory `/tmp/d20121014-2-p4jl3k/input/sys'
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I..    -g -O2 -MT minmax.lo -MD -MP -MF .deps/minmax.Tpo -c -o minmax.lo minmax.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -g -O2 -MT minmax.lo -MD -MP -MF .deps/minmax.Tpo -c minmax.c  -fPIC -DPIC -o .libs/minmax.o
minmax.c:26:28: error: gsl/gsl_minmax.h: No such file or directory
make[1]: *** [minmax.lo] Error 1
make[1]: Leaving directory `/tmp/d20121014-2-p4jl3k/input/sys'
make: *** [install-recursive] Error 1
bin/make:66:in `chdir': No such file or directory - /app/vendor/gsl-1 (Errno::ENOENT)
    from bin/make:66:in `block (2 levels) in <main>'
    from bin/make:18:in `chdir'
    from bin/make:18:in `block in <main>'
    from /usr/local/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir'
    from bin/make:17:in `<main>'
>> Downloading build artifacts to: /tmp/gsl-1.tgz
   (available at http://gsl.herokuapp.com/output/4ceb19a3-9f22-49d1-b82a-37324e3ed6eb)
Contributor

wuputah commented Dec 12, 2012

Sorry, we can't provide help with build errors when compiling specific binaries.

wuputah closed this Dec 12, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment