trying to install libgraphguile-libgraph.c:25:10: fatal error: libguile.h: No such file or directory #include <libguile.h>How do I use graphics.h in Ubuntu?Unable to locate package libesd0-dev on Ubuntu 18.04Building Awesome WM, missing dependenciesFailed to install a ruby gem, eventmachineMrSID support for QGIS 2.4 in Ubuntu 14.04Yamcha 0.33 Make InstallError running make to build Sage on Ubuntu 16.04Trying to install ChromeUnmet dependencies when trying to install r-baseError While Installing IBM Watson TTS“git --version” still showing the older version of gitgsl library: gslcblas library not found but installed

What does it mean to describe someone as a butt steak?

Why can't we play rap on piano?

"You are your self first supporter", a more proper way to say it

What defenses are there against being summoned by the Gate spell?

Arrow those variables!

Has there ever been an airliner design involving reducing generator load by installing solar panels?

Why "Having chlorophyll without photosynthesis is actually very dangerous" and "like living with a bomb"?

Why can't I see bouncing of a switch on an oscilloscope?

Is it possible to do 50 km distance without any previous training?

Why does Kotter return in Welcome Back Kotter?

If human space travel is limited by the G force vulnerability, is there a way to counter G forces?

How much RAM could one put in a typical 80386 setup?

Alternative to sending password over mail?

How can I prevent hyper evolved versions of regular creatures from wiping out their cousins?

How do I deal with an unproductive colleague in a small company?

Which country benefited the most from UN Security Council vetoes?

How old can references or sources in a thesis be?

What are these boxed doors outside store fronts in New York?

Important Resources for Dark Age Civilizations?

Approximately how much travel time was saved by the opening of the Suez Canal in 1869?

Are the number of citations and number of published articles the most important criteria for a tenure promotion?

Modeling an IP Address

NMaximize is not converging to a solution

Theorems that impeded progress



trying to install libgraph


guile-libgraph.c:25:10: fatal error: libguile.h: No such file or directory #include <libguile.h>How do I use graphics.h in Ubuntu?Unable to locate package libesd0-dev on Ubuntu 18.04Building Awesome WM, missing dependenciesFailed to install a ruby gem, eventmachineMrSID support for QGIS 2.4 in Ubuntu 14.04Yamcha 0.33 Make InstallError running make to build Sage on Ubuntu 16.04Trying to install ChromeUnmet dependencies when trying to install r-baseError While Installing IBM Watson TTS“git --version” still showing the older version of gitgsl library: gslcblas library not found but installed






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








3















I'm trying to install the libgraph library in Ubuntu 17.04. The ./configure file was successful but when I said make it gives a error:



Makefile:934: warning: overriding recipe for target 'libgraph.pc'
Makefile:409: warning: ignoring old recipe for target 'libgraph.pc'
make all-recursive
make[1]: Entering directory '/home/maverick/libgraph-1.0.2'
Makefile:934: warning: overriding recipe for target 'libgraph.pc'
Makefile:409: warning: ignoring old recipe for target 'libgraph.pc'
Making all in doc
make[2]: Entering directory '/home/maverick/libgraph-1.0.2/doc'
Making all in man
make[3]: Entering directory '/home/maverick/libgraph-1.0.2/doc/man'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/maverick/libgraph-1.0.2/doc/man'
make[3]: Entering directory '/home/maverick/libgraph-1.0.2/doc'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/maverick/libgraph-1.0.2/doc'
make[2]: Leaving directory '/home/maverick/libgraph-1.0.2/doc'
make[2]: Entering directory '/home/maverick/libgraph-1.0.2'
Makefile:934: warning: overriding recipe for target 'libgraph.pc'
Makefile:409: warning: ignoring old recipe for target 'libgraph.pc'
if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFONTDIR=""/usr /local/share/libgraph/Font/"" -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT guile-libgraph.lo -MD -MP -MF ".deps/guile-libgraph.Tpo" -c -o guile-libgraph.lo guile-libgraph.c;
then mv -f ".deps/guile-libgraph.Tpo" ".deps/guile-libgraph.Plo"; else rm -f ".deps/guile-libgraph.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFONTDIR="/usr/local/share/libgraph/Font/" -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT guile-libgraph.lo -MD -MP -MF .deps/guile-libgraph.Tpo -c guile-libgraph.c -fPIC -DPIC -o .libs/guile-libgraph.o
guile-libgraph.c:25:22: fatal error: libguile.h: No such file or directory
#include <libguile.h>
^
compilation terminated.
Makefile:460: recipe for target 'guile-libgraph.lo' failed
make[2]: *** [guile-libgraph.lo] Error 1
make[2]: Leaving directory '/home/maverick/libgraph-1.0.2'
Makefile:552: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/maverick/libgraph-1.0.2'
Makefile:268: recipe for target 'all' failed
make: *** [all] Error 2


./configure gives this output:



checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
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 gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... 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 for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... 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 how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... 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
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) 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
appending configuration tag "F77" to libtool
checking for gawk... (cached) mawk
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
checking SDL ==> SDL_image library... SDL_image = yes
checking for Guile... yes
checking for rint in -lm... yes
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
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 for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for atexit... yes
checking for putenv... yes
checking for rint... yes
checking for strdup... yes
configure: creating ./config.status
config.status: creating doc/Makefile
config.status: creating doc/man/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands









share|improve this question
























  • You need to install the dependent package: guile-2.0-dev.

    – AmeyaVS
    Aug 4 '17 at 5:26











  • i have already install guile-2.0-dev

    – Maverick_21
    Aug 4 '17 at 5:40











  • Can you post the output of make V=1 in the question, this will put verbose output for the commands used to build the library.

    – AmeyaVS
    Aug 4 '17 at 5:43











  • after make is the main problem

    – Maverick_21
    Aug 4 '17 at 5:44











  • Makefile:934: warning: overriding recipe for target 'libgraph.pc' Makefile:409: warning: ignoring old recipe for target 'libgraph.pc' make all-recursive make[1]: Entering directory '/home/maverick/libgraph-1.0.2' Makefile:934: warning: overriding recipe for target 'libgraph.pc' Makefile:409: warning: ignoring old recipe for target 'libgraph.pc' Making all in doc

    – Maverick_21
    Aug 4 '17 at 5:52

















3















I'm trying to install the libgraph library in Ubuntu 17.04. The ./configure file was successful but when I said make it gives a error:



Makefile:934: warning: overriding recipe for target 'libgraph.pc'
Makefile:409: warning: ignoring old recipe for target 'libgraph.pc'
make all-recursive
make[1]: Entering directory '/home/maverick/libgraph-1.0.2'
Makefile:934: warning: overriding recipe for target 'libgraph.pc'
Makefile:409: warning: ignoring old recipe for target 'libgraph.pc'
Making all in doc
make[2]: Entering directory '/home/maverick/libgraph-1.0.2/doc'
Making all in man
make[3]: Entering directory '/home/maverick/libgraph-1.0.2/doc/man'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/maverick/libgraph-1.0.2/doc/man'
make[3]: Entering directory '/home/maverick/libgraph-1.0.2/doc'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/maverick/libgraph-1.0.2/doc'
make[2]: Leaving directory '/home/maverick/libgraph-1.0.2/doc'
make[2]: Entering directory '/home/maverick/libgraph-1.0.2'
Makefile:934: warning: overriding recipe for target 'libgraph.pc'
Makefile:409: warning: ignoring old recipe for target 'libgraph.pc'
if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFONTDIR=""/usr /local/share/libgraph/Font/"" -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT guile-libgraph.lo -MD -MP -MF ".deps/guile-libgraph.Tpo" -c -o guile-libgraph.lo guile-libgraph.c;
then mv -f ".deps/guile-libgraph.Tpo" ".deps/guile-libgraph.Plo"; else rm -f ".deps/guile-libgraph.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFONTDIR="/usr/local/share/libgraph/Font/" -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT guile-libgraph.lo -MD -MP -MF .deps/guile-libgraph.Tpo -c guile-libgraph.c -fPIC -DPIC -o .libs/guile-libgraph.o
guile-libgraph.c:25:22: fatal error: libguile.h: No such file or directory
#include <libguile.h>
^
compilation terminated.
Makefile:460: recipe for target 'guile-libgraph.lo' failed
make[2]: *** [guile-libgraph.lo] Error 1
make[2]: Leaving directory '/home/maverick/libgraph-1.0.2'
Makefile:552: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/maverick/libgraph-1.0.2'
Makefile:268: recipe for target 'all' failed
make: *** [all] Error 2


./configure gives this output:



checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
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 gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... 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 for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... 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 how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... 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
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) 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
appending configuration tag "F77" to libtool
checking for gawk... (cached) mawk
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
checking SDL ==> SDL_image library... SDL_image = yes
checking for Guile... yes
checking for rint in -lm... yes
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
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 for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for atexit... yes
checking for putenv... yes
checking for rint... yes
checking for strdup... yes
configure: creating ./config.status
config.status: creating doc/Makefile
config.status: creating doc/man/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands









share|improve this question
























  • You need to install the dependent package: guile-2.0-dev.

    – AmeyaVS
    Aug 4 '17 at 5:26











  • i have already install guile-2.0-dev

    – Maverick_21
    Aug 4 '17 at 5:40











  • Can you post the output of make V=1 in the question, this will put verbose output for the commands used to build the library.

    – AmeyaVS
    Aug 4 '17 at 5:43











  • after make is the main problem

    – Maverick_21
    Aug 4 '17 at 5:44











  • Makefile:934: warning: overriding recipe for target 'libgraph.pc' Makefile:409: warning: ignoring old recipe for target 'libgraph.pc' make all-recursive make[1]: Entering directory '/home/maverick/libgraph-1.0.2' Makefile:934: warning: overriding recipe for target 'libgraph.pc' Makefile:409: warning: ignoring old recipe for target 'libgraph.pc' Making all in doc

    – Maverick_21
    Aug 4 '17 at 5:52













3












3








3


4






I'm trying to install the libgraph library in Ubuntu 17.04. The ./configure file was successful but when I said make it gives a error:



Makefile:934: warning: overriding recipe for target 'libgraph.pc'
Makefile:409: warning: ignoring old recipe for target 'libgraph.pc'
make all-recursive
make[1]: Entering directory '/home/maverick/libgraph-1.0.2'
Makefile:934: warning: overriding recipe for target 'libgraph.pc'
Makefile:409: warning: ignoring old recipe for target 'libgraph.pc'
Making all in doc
make[2]: Entering directory '/home/maverick/libgraph-1.0.2/doc'
Making all in man
make[3]: Entering directory '/home/maverick/libgraph-1.0.2/doc/man'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/maverick/libgraph-1.0.2/doc/man'
make[3]: Entering directory '/home/maverick/libgraph-1.0.2/doc'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/maverick/libgraph-1.0.2/doc'
make[2]: Leaving directory '/home/maverick/libgraph-1.0.2/doc'
make[2]: Entering directory '/home/maverick/libgraph-1.0.2'
Makefile:934: warning: overriding recipe for target 'libgraph.pc'
Makefile:409: warning: ignoring old recipe for target 'libgraph.pc'
if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFONTDIR=""/usr /local/share/libgraph/Font/"" -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT guile-libgraph.lo -MD -MP -MF ".deps/guile-libgraph.Tpo" -c -o guile-libgraph.lo guile-libgraph.c;
then mv -f ".deps/guile-libgraph.Tpo" ".deps/guile-libgraph.Plo"; else rm -f ".deps/guile-libgraph.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFONTDIR="/usr/local/share/libgraph/Font/" -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT guile-libgraph.lo -MD -MP -MF .deps/guile-libgraph.Tpo -c guile-libgraph.c -fPIC -DPIC -o .libs/guile-libgraph.o
guile-libgraph.c:25:22: fatal error: libguile.h: No such file or directory
#include <libguile.h>
^
compilation terminated.
Makefile:460: recipe for target 'guile-libgraph.lo' failed
make[2]: *** [guile-libgraph.lo] Error 1
make[2]: Leaving directory '/home/maverick/libgraph-1.0.2'
Makefile:552: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/maverick/libgraph-1.0.2'
Makefile:268: recipe for target 'all' failed
make: *** [all] Error 2


./configure gives this output:



checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
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 gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... 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 for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... 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 how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... 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
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) 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
appending configuration tag "F77" to libtool
checking for gawk... (cached) mawk
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
checking SDL ==> SDL_image library... SDL_image = yes
checking for Guile... yes
checking for rint in -lm... yes
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
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 for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for atexit... yes
checking for putenv... yes
checking for rint... yes
checking for strdup... yes
configure: creating ./config.status
config.status: creating doc/Makefile
config.status: creating doc/man/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands









share|improve this question
















I'm trying to install the libgraph library in Ubuntu 17.04. The ./configure file was successful but when I said make it gives a error:



Makefile:934: warning: overriding recipe for target 'libgraph.pc'
Makefile:409: warning: ignoring old recipe for target 'libgraph.pc'
make all-recursive
make[1]: Entering directory '/home/maverick/libgraph-1.0.2'
Makefile:934: warning: overriding recipe for target 'libgraph.pc'
Makefile:409: warning: ignoring old recipe for target 'libgraph.pc'
Making all in doc
make[2]: Entering directory '/home/maverick/libgraph-1.0.2/doc'
Making all in man
make[3]: Entering directory '/home/maverick/libgraph-1.0.2/doc/man'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/maverick/libgraph-1.0.2/doc/man'
make[3]: Entering directory '/home/maverick/libgraph-1.0.2/doc'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/maverick/libgraph-1.0.2/doc'
make[2]: Leaving directory '/home/maverick/libgraph-1.0.2/doc'
make[2]: Entering directory '/home/maverick/libgraph-1.0.2'
Makefile:934: warning: overriding recipe for target 'libgraph.pc'
Makefile:409: warning: ignoring old recipe for target 'libgraph.pc'
if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFONTDIR=""/usr /local/share/libgraph/Font/"" -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT guile-libgraph.lo -MD -MP -MF ".deps/guile-libgraph.Tpo" -c -o guile-libgraph.lo guile-libgraph.c;
then mv -f ".deps/guile-libgraph.Tpo" ".deps/guile-libgraph.Plo"; else rm -f ".deps/guile-libgraph.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFONTDIR="/usr/local/share/libgraph/Font/" -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT guile-libgraph.lo -MD -MP -MF .deps/guile-libgraph.Tpo -c guile-libgraph.c -fPIC -DPIC -o .libs/guile-libgraph.o
guile-libgraph.c:25:22: fatal error: libguile.h: No such file or directory
#include <libguile.h>
^
compilation terminated.
Makefile:460: recipe for target 'guile-libgraph.lo' failed
make[2]: *** [guile-libgraph.lo] Error 1
make[2]: Leaving directory '/home/maverick/libgraph-1.0.2'
Makefile:552: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/maverick/libgraph-1.0.2'
Makefile:268: recipe for target 'all' failed
make: *** [all] Error 2


./configure gives this output:



checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
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 gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... 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 for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... 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 how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... 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
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) 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
appending configuration tag "F77" to libtool
checking for gawk... (cached) mawk
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
checking SDL ==> SDL_image library... SDL_image = yes
checking for Guile... yes
checking for rint in -lm... yes
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
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 for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for atexit... yes
checking for putenv... yes
checking for rint... yes
checking for strdup... yes
configure: creating ./config.status
config.status: creating doc/Makefile
config.status: creating doc/man/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands






software-installation dependencies






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 12 '18 at 17:42









David Foerster

28.6k1367113




28.6k1367113










asked Aug 4 '17 at 5:21









Maverick_21Maverick_21

1613




1613












  • You need to install the dependent package: guile-2.0-dev.

    – AmeyaVS
    Aug 4 '17 at 5:26











  • i have already install guile-2.0-dev

    – Maverick_21
    Aug 4 '17 at 5:40











  • Can you post the output of make V=1 in the question, this will put verbose output for the commands used to build the library.

    – AmeyaVS
    Aug 4 '17 at 5:43











  • after make is the main problem

    – Maverick_21
    Aug 4 '17 at 5:44











  • Makefile:934: warning: overriding recipe for target 'libgraph.pc' Makefile:409: warning: ignoring old recipe for target 'libgraph.pc' make all-recursive make[1]: Entering directory '/home/maverick/libgraph-1.0.2' Makefile:934: warning: overriding recipe for target 'libgraph.pc' Makefile:409: warning: ignoring old recipe for target 'libgraph.pc' Making all in doc

    – Maverick_21
    Aug 4 '17 at 5:52

















  • You need to install the dependent package: guile-2.0-dev.

    – AmeyaVS
    Aug 4 '17 at 5:26











  • i have already install guile-2.0-dev

    – Maverick_21
    Aug 4 '17 at 5:40











  • Can you post the output of make V=1 in the question, this will put verbose output for the commands used to build the library.

    – AmeyaVS
    Aug 4 '17 at 5:43











  • after make is the main problem

    – Maverick_21
    Aug 4 '17 at 5:44











  • Makefile:934: warning: overriding recipe for target 'libgraph.pc' Makefile:409: warning: ignoring old recipe for target 'libgraph.pc' make all-recursive make[1]: Entering directory '/home/maverick/libgraph-1.0.2' Makefile:934: warning: overriding recipe for target 'libgraph.pc' Makefile:409: warning: ignoring old recipe for target 'libgraph.pc' Making all in doc

    – Maverick_21
    Aug 4 '17 at 5:52
















You need to install the dependent package: guile-2.0-dev.

– AmeyaVS
Aug 4 '17 at 5:26





You need to install the dependent package: guile-2.0-dev.

– AmeyaVS
Aug 4 '17 at 5:26













i have already install guile-2.0-dev

– Maverick_21
Aug 4 '17 at 5:40





i have already install guile-2.0-dev

– Maverick_21
Aug 4 '17 at 5:40













Can you post the output of make V=1 in the question, this will put verbose output for the commands used to build the library.

– AmeyaVS
Aug 4 '17 at 5:43





Can you post the output of make V=1 in the question, this will put verbose output for the commands used to build the library.

– AmeyaVS
Aug 4 '17 at 5:43













after make is the main problem

– Maverick_21
Aug 4 '17 at 5:44





after make is the main problem

– Maverick_21
Aug 4 '17 at 5:44













Makefile:934: warning: overriding recipe for target 'libgraph.pc' Makefile:409: warning: ignoring old recipe for target 'libgraph.pc' make all-recursive make[1]: Entering directory '/home/maverick/libgraph-1.0.2' Makefile:934: warning: overriding recipe for target 'libgraph.pc' Makefile:409: warning: ignoring old recipe for target 'libgraph.pc' Making all in doc

– Maverick_21
Aug 4 '17 at 5:52





Makefile:934: warning: overriding recipe for target 'libgraph.pc' Makefile:409: warning: ignoring old recipe for target 'libgraph.pc' make all-recursive make[1]: Entering directory '/home/maverick/libgraph-1.0.2' Makefile:934: warning: overriding recipe for target 'libgraph.pc' Makefile:409: warning: ignoring old recipe for target 'libgraph.pc' Making all in doc

– Maverick_21
Aug 4 '17 at 5:52










4 Answers
4






active

oldest

votes


















5














libgraph expects libguile.h to be in the standard include paths which it is not. The autoconf script should really find the correct locations (which I consider a build system bug) but it doesn't, so you need to add its include path to the preprocessor and linker flags. The standard approach would be:





sudo apt install guile-2.0-dev # In case you didn't install it earlier
CPPFLAGS="$CPPFLAGS $(pkg-config --cflags-only-I guile-2.0)"
CFLAGS="$CFLAGS $(pkg-config --cflags-only-other guile-2.0)"
LDFLAGS="$LDFLAGS $(pkg-config --libs guile-2.0)"
./configure
make


Alternatively you can build libgraph without Guile module support:



./configure --disable-guile
make





share|improve this answer
































    0















    1. Make sure that you have basic compilers installed. For this run the command:



      sudo apt-get install build-essential




    2. Install few packages that required. Run the command:



      sudo apt-get install libsdl-image1.2 libsdl-image1.2-dev guile-1.8 guile-1.8-dev libsdl1.2debian libart-2.0-dev libaudiofile-dev libesd0-dev libdirectfb-dev libdirectfb-extra libfreetype6-dev libxext-dev x11proto-xext-dev libfreetype6 libaa1 libaa1-dev libslang2-dev libasound2 libasound2-dev




    3. Now download libgraph.
      Copy libgraph-1.0.2.tar.gz to your home folder. Right click on it and select "Extract Here".
      Then run following commands one by one.



      cd libgraph-1.0.2



      ./configure



      sudo make



      sudo make install



      sudo cp /usr/local/lib/libgraph.* /usr/lib







    share|improve this answer
































      0














      If you have installed gulile and still this problem occurs, try this.



      sudo ln -s /usr/include/guile/2.0/libguile /usr/include/libguile

      sudo ln -s /usr/include/guile/2.0/libguile.h /usr/include


      Source: http://vksalian-techblog.blogspot.com/2010/10/how-to-install-graphics-libraries-and.html





      share








      New contributor




      NAREN DIRAN is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.



























        -1














        The new libguile source is installed in /usr/include/guile/2.0/
        so just doing



        sudo mv /usr/include/guile/2.0/* /usr/include/


        Will fix the compilation without changing all the #includes in libgraph.






        share|improve this answer


















        • 1





          Moving around files that are managed by the package manager is asking for trouble. It would be better to add /usr/include/guile/2.0 to the compiler include path in this particular case. -1

          – David Foerster
          Jan 12 '18 at 17:39











        Your Answer








        StackExchange.ready(function()
        var channelOptions =
        tags: "".split(" "),
        id: "89"
        ;
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function()
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled)
        StackExchange.using("snippets", function()
        createEditor();
        );

        else
        createEditor();

        );

        function createEditor()
        StackExchange.prepareEditor(
        heartbeatType: 'answer',
        autoActivateHeartbeat: false,
        convertImagesToLinks: true,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: 10,
        bindNavPrevention: true,
        postfix: "",
        imageUploader:
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        ,
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        );



        );













        draft saved

        draft discarded


















        StackExchange.ready(
        function ()
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f942863%2ftrying-to-install-libgraph%23new-answer', 'question_page');

        );

        Post as a guest















        Required, but never shown

























        4 Answers
        4






        active

        oldest

        votes








        4 Answers
        4






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        5














        libgraph expects libguile.h to be in the standard include paths which it is not. The autoconf script should really find the correct locations (which I consider a build system bug) but it doesn't, so you need to add its include path to the preprocessor and linker flags. The standard approach would be:





        sudo apt install guile-2.0-dev # In case you didn't install it earlier
        CPPFLAGS="$CPPFLAGS $(pkg-config --cflags-only-I guile-2.0)"
        CFLAGS="$CFLAGS $(pkg-config --cflags-only-other guile-2.0)"
        LDFLAGS="$LDFLAGS $(pkg-config --libs guile-2.0)"
        ./configure
        make


        Alternatively you can build libgraph without Guile module support:



        ./configure --disable-guile
        make





        share|improve this answer





























          5














          libgraph expects libguile.h to be in the standard include paths which it is not. The autoconf script should really find the correct locations (which I consider a build system bug) but it doesn't, so you need to add its include path to the preprocessor and linker flags. The standard approach would be:





          sudo apt install guile-2.0-dev # In case you didn't install it earlier
          CPPFLAGS="$CPPFLAGS $(pkg-config --cflags-only-I guile-2.0)"
          CFLAGS="$CFLAGS $(pkg-config --cflags-only-other guile-2.0)"
          LDFLAGS="$LDFLAGS $(pkg-config --libs guile-2.0)"
          ./configure
          make


          Alternatively you can build libgraph without Guile module support:



          ./configure --disable-guile
          make





          share|improve this answer



























            5












            5








            5







            libgraph expects libguile.h to be in the standard include paths which it is not. The autoconf script should really find the correct locations (which I consider a build system bug) but it doesn't, so you need to add its include path to the preprocessor and linker flags. The standard approach would be:





            sudo apt install guile-2.0-dev # In case you didn't install it earlier
            CPPFLAGS="$CPPFLAGS $(pkg-config --cflags-only-I guile-2.0)"
            CFLAGS="$CFLAGS $(pkg-config --cflags-only-other guile-2.0)"
            LDFLAGS="$LDFLAGS $(pkg-config --libs guile-2.0)"
            ./configure
            make


            Alternatively you can build libgraph without Guile module support:



            ./configure --disable-guile
            make





            share|improve this answer















            libgraph expects libguile.h to be in the standard include paths which it is not. The autoconf script should really find the correct locations (which I consider a build system bug) but it doesn't, so you need to add its include path to the preprocessor and linker flags. The standard approach would be:





            sudo apt install guile-2.0-dev # In case you didn't install it earlier
            CPPFLAGS="$CPPFLAGS $(pkg-config --cflags-only-I guile-2.0)"
            CFLAGS="$CFLAGS $(pkg-config --cflags-only-other guile-2.0)"
            LDFLAGS="$LDFLAGS $(pkg-config --libs guile-2.0)"
            ./configure
            make


            Alternatively you can build libgraph without Guile module support:



            ./configure --disable-guile
            make






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Jul 28 '18 at 21:59

























            answered Jan 12 '18 at 17:55









            David FoersterDavid Foerster

            28.6k1367113




            28.6k1367113























                0















                1. Make sure that you have basic compilers installed. For this run the command:



                  sudo apt-get install build-essential




                2. Install few packages that required. Run the command:



                  sudo apt-get install libsdl-image1.2 libsdl-image1.2-dev guile-1.8 guile-1.8-dev libsdl1.2debian libart-2.0-dev libaudiofile-dev libesd0-dev libdirectfb-dev libdirectfb-extra libfreetype6-dev libxext-dev x11proto-xext-dev libfreetype6 libaa1 libaa1-dev libslang2-dev libasound2 libasound2-dev




                3. Now download libgraph.
                  Copy libgraph-1.0.2.tar.gz to your home folder. Right click on it and select "Extract Here".
                  Then run following commands one by one.



                  cd libgraph-1.0.2



                  ./configure



                  sudo make



                  sudo make install



                  sudo cp /usr/local/lib/libgraph.* /usr/lib







                share|improve this answer





























                  0















                  1. Make sure that you have basic compilers installed. For this run the command:



                    sudo apt-get install build-essential




                  2. Install few packages that required. Run the command:



                    sudo apt-get install libsdl-image1.2 libsdl-image1.2-dev guile-1.8 guile-1.8-dev libsdl1.2debian libart-2.0-dev libaudiofile-dev libesd0-dev libdirectfb-dev libdirectfb-extra libfreetype6-dev libxext-dev x11proto-xext-dev libfreetype6 libaa1 libaa1-dev libslang2-dev libasound2 libasound2-dev




                  3. Now download libgraph.
                    Copy libgraph-1.0.2.tar.gz to your home folder. Right click on it and select "Extract Here".
                    Then run following commands one by one.



                    cd libgraph-1.0.2



                    ./configure



                    sudo make



                    sudo make install



                    sudo cp /usr/local/lib/libgraph.* /usr/lib







                  share|improve this answer



























                    0












                    0








                    0








                    1. Make sure that you have basic compilers installed. For this run the command:



                      sudo apt-get install build-essential




                    2. Install few packages that required. Run the command:



                      sudo apt-get install libsdl-image1.2 libsdl-image1.2-dev guile-1.8 guile-1.8-dev libsdl1.2debian libart-2.0-dev libaudiofile-dev libesd0-dev libdirectfb-dev libdirectfb-extra libfreetype6-dev libxext-dev x11proto-xext-dev libfreetype6 libaa1 libaa1-dev libslang2-dev libasound2 libasound2-dev




                    3. Now download libgraph.
                      Copy libgraph-1.0.2.tar.gz to your home folder. Right click on it and select "Extract Here".
                      Then run following commands one by one.



                      cd libgraph-1.0.2



                      ./configure



                      sudo make



                      sudo make install



                      sudo cp /usr/local/lib/libgraph.* /usr/lib







                    share|improve this answer
















                    1. Make sure that you have basic compilers installed. For this run the command:



                      sudo apt-get install build-essential




                    2. Install few packages that required. Run the command:



                      sudo apt-get install libsdl-image1.2 libsdl-image1.2-dev guile-1.8 guile-1.8-dev libsdl1.2debian libart-2.0-dev libaudiofile-dev libesd0-dev libdirectfb-dev libdirectfb-extra libfreetype6-dev libxext-dev x11proto-xext-dev libfreetype6 libaa1 libaa1-dev libslang2-dev libasound2 libasound2-dev




                    3. Now download libgraph.
                      Copy libgraph-1.0.2.tar.gz to your home folder. Right click on it and select "Extract Here".
                      Then run following commands one by one.



                      cd libgraph-1.0.2



                      ./configure



                      sudo make



                      sudo make install



                      sudo cp /usr/local/lib/libgraph.* /usr/lib








                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Feb 22 at 13:35









                    mature

                    2,2074933




                    2,2074933










                    answered Feb 22 at 12:14









                    Jagmeet SinghJagmeet Singh

                    1




                    1





















                        0














                        If you have installed gulile and still this problem occurs, try this.



                        sudo ln -s /usr/include/guile/2.0/libguile /usr/include/libguile

                        sudo ln -s /usr/include/guile/2.0/libguile.h /usr/include


                        Source: http://vksalian-techblog.blogspot.com/2010/10/how-to-install-graphics-libraries-and.html





                        share








                        New contributor




                        NAREN DIRAN is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                        Check out our Code of Conduct.
























                          0














                          If you have installed gulile and still this problem occurs, try this.



                          sudo ln -s /usr/include/guile/2.0/libguile /usr/include/libguile

                          sudo ln -s /usr/include/guile/2.0/libguile.h /usr/include


                          Source: http://vksalian-techblog.blogspot.com/2010/10/how-to-install-graphics-libraries-and.html





                          share








                          New contributor




                          NAREN DIRAN is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.






















                            0












                            0








                            0







                            If you have installed gulile and still this problem occurs, try this.



                            sudo ln -s /usr/include/guile/2.0/libguile /usr/include/libguile

                            sudo ln -s /usr/include/guile/2.0/libguile.h /usr/include


                            Source: http://vksalian-techblog.blogspot.com/2010/10/how-to-install-graphics-libraries-and.html





                            share








                            New contributor




                            NAREN DIRAN is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.










                            If you have installed gulile and still this problem occurs, try this.



                            sudo ln -s /usr/include/guile/2.0/libguile /usr/include/libguile

                            sudo ln -s /usr/include/guile/2.0/libguile.h /usr/include


                            Source: http://vksalian-techblog.blogspot.com/2010/10/how-to-install-graphics-libraries-and.html






                            share








                            New contributor




                            NAREN DIRAN is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.








                            share


                            share






                            New contributor




                            NAREN DIRAN is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.









                            answered 2 mins ago









                            NAREN DIRANNAREN DIRAN

                            1




                            1




                            New contributor




                            NAREN DIRAN is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.





                            New contributor





                            NAREN DIRAN is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.






                            NAREN DIRAN is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.





















                                -1














                                The new libguile source is installed in /usr/include/guile/2.0/
                                so just doing



                                sudo mv /usr/include/guile/2.0/* /usr/include/


                                Will fix the compilation without changing all the #includes in libgraph.






                                share|improve this answer


















                                • 1





                                  Moving around files that are managed by the package manager is asking for trouble. It would be better to add /usr/include/guile/2.0 to the compiler include path in this particular case. -1

                                  – David Foerster
                                  Jan 12 '18 at 17:39















                                -1














                                The new libguile source is installed in /usr/include/guile/2.0/
                                so just doing



                                sudo mv /usr/include/guile/2.0/* /usr/include/


                                Will fix the compilation without changing all the #includes in libgraph.






                                share|improve this answer


















                                • 1





                                  Moving around files that are managed by the package manager is asking for trouble. It would be better to add /usr/include/guile/2.0 to the compiler include path in this particular case. -1

                                  – David Foerster
                                  Jan 12 '18 at 17:39













                                -1












                                -1








                                -1







                                The new libguile source is installed in /usr/include/guile/2.0/
                                so just doing



                                sudo mv /usr/include/guile/2.0/* /usr/include/


                                Will fix the compilation without changing all the #includes in libgraph.






                                share|improve this answer













                                The new libguile source is installed in /usr/include/guile/2.0/
                                so just doing



                                sudo mv /usr/include/guile/2.0/* /usr/include/


                                Will fix the compilation without changing all the #includes in libgraph.







                                share|improve this answer












                                share|improve this answer



                                share|improve this answer










                                answered Jan 12 '18 at 15:34









                                sayeed99sayeed99

                                11




                                11







                                • 1





                                  Moving around files that are managed by the package manager is asking for trouble. It would be better to add /usr/include/guile/2.0 to the compiler include path in this particular case. -1

                                  – David Foerster
                                  Jan 12 '18 at 17:39












                                • 1





                                  Moving around files that are managed by the package manager is asking for trouble. It would be better to add /usr/include/guile/2.0 to the compiler include path in this particular case. -1

                                  – David Foerster
                                  Jan 12 '18 at 17:39







                                1




                                1





                                Moving around files that are managed by the package manager is asking for trouble. It would be better to add /usr/include/guile/2.0 to the compiler include path in this particular case. -1

                                – David Foerster
                                Jan 12 '18 at 17:39





                                Moving around files that are managed by the package manager is asking for trouble. It would be better to add /usr/include/guile/2.0 to the compiler include path in this particular case. -1

                                – David Foerster
                                Jan 12 '18 at 17:39

















                                draft saved

                                draft discarded
















































                                Thanks for contributing an answer to Ask Ubuntu!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid


                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.

                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function ()
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f942863%2ftrying-to-install-libgraph%23new-answer', 'question_page');

                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

                                Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

                                Antonio De Lisio Carrera Referencias Menú de navegación«Caracas: evolución relacional multipleja»«Cuando los gobiernos subestiman a las localidades: L a Iniciativa para la Integración de la Infraestructura Regional Suramericana (IIRSA) en la frontera Colombo-Venezolana»«Maestría en Planificación Integral del Ambiente»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«Conózcanos»«Caracas: evolución relacional multipleja»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»