Installing g++ solved the problem.
On Saturday, December 27, 2014 7:04:31 PM UTC-6, AVF wrote:
>
> I have the IJulia kernel restarting issue that, based on my search, was
> supposed to have been resolved. After I start IJulia notebook, kernel keeps
> restarting every few seconds. I am running Julia on Linux Mint 17.1. The
> issue seems to be linked to ZMQ.
>
> Error from running IJulia notebook:
>
> 2014-12-27 18:53:27.031 [NotebookApp] KernelRestarter: restarting kernel
>> (1/5)
>> WARNING:root:kernel 5a345da2-dbf7-4388-b69e-1074add0e8bb restarted
>> ERROR: could not open file /home/alex/.julia/v0.3/ZMQ/src/../deps/deps.jl
>> in include at ./boot.jl:245
>> in include_from_node1 at ./loading.jl:128
>> in include at ./boot.jl:245
>> in include_from_node1 at ./loading.jl:128
>> in reload_path at loading.jl:152
>> in _require at loading.jl:67
>> in require at loading.jl:51
>> in include at ./boot.jl:245
>> in include_from_node1 at ./loading.jl:128
>> in include at ./boot.jl:245
>> in include_from_node1 at loading.jl:128
>> in process_options at ./client.jl:285
>> in _start at ./client.jl:354
>> while loading /home/alex/.julia/v0.3/ZMQ/src/ZMQ.jl, in expression
>> starting on line 6
>> while loading /home/alex/.julia/v0.3/IJulia/src/IJulia.jl, in expression
>> starting on line 13
>> while loading /home/alex/.julia/v0.3/IJulia/src/kernel.jl, in expression
>> starting on line 4
>
>
> Pkg.update() results in:
>
> INFO: Updating METADATA...
>> INFO: Computing changes...
>> INFO: No packages to install, update or remove
>
>
> Finally:
>
> julia> Pkg.build("ZMQ")
> INFO: Building ZMQ
> INFO: Attempting to Create directory
> /home/alex/.julia/v0.3/ZMQ/deps/downloads
> INFO: Directory /home/alex/.julia/v0.3/ZMQ/deps/downloads already created
> INFO: Downloading file http://download.zeromq.org/zeromq-3.2.4.tar.gz
> INFO: Done downloading file http://download.zeromq.org/zeromq-3.2.4.tar.gz
> INFO: Attempting to Create directory /home/alex/.julia/v0.3/ZMQ/deps/src
> INFO: Directory /home/alex/.julia/v0.3/ZMQ/deps/src already created
> INFO: Attempting to Create directory /home/alex/.julia/v0.3/ZMQ/deps
> INFO: Directory /home/alex/.julia/v0.3/ZMQ/deps already created
> INFO: Attempting to Create directory
> /home/alex/.julia/v0.3/ZMQ/deps/src/zeromq-3.2.4
> INFO: Directory /home/alex/.julia/v0.3/ZMQ/deps/src/zeromq-3.2.4 already
> created
> INFO: Attempting to Create directory
> /home/alex/.julia/v0.3/ZMQ/deps/builds/zmq
> INFO: Directory /home/alex/.julia/v0.3/ZMQ/deps/builds/zmq already created
> INFO: Changing Directory to /home/alex/.julia/v0.3/ZMQ/deps/builds/zmq
> 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... gawk
> checking whether make sets $(MAKE)... yes
> checking how to create a ustar tar archive... gnutar
> checking whether make supports nested variables... yes
> 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 for gcc option to accept ISO C99... -std=gnu99
> checking for g++... no
> checking for c++... no
> checking for gpp... no
> checking for aCC... no
> checking for CC... no
> checking for cxx... no
> checking for cc++... no
> checking for cl.exe... no
> checking for FCC... no
> checking for KCC... no
> checking for RCC... no
> checking for xlC_r... no
> checking for xlC... no
> checking whether we are using the GNU C++ compiler... no
> checking whether g++ accepts -g... no
> checking dependency style of g++... none
> checking whether gcc -std=gnu99 and cc understand -c and -o together... yes
> checking for a sed that does not truncate output... /bin/sed
> checking for gawk... (cached) gawk
> checking for xmlto... no
> checking for asciidoc... no
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-linux-gnu
> checking how to print strings... printf
> 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 -std=gnu99... /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 how to convert x86_64-unknown-linux-gnu file names to
> x86_64-unknown-linux-gnu format... func_convert_file_noop
> checking how to convert x86_64-unknown-linux-gnu file names to toolchain
> format... func_convert_file_noop
> 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 dlltool... dlltool
> checking how to associate runtime and link libraries... printf %s\n
> checking for ar... ar
> checking for archiver @FILE support... @
> checking for strip... strip
> checking for ranlib... ranlib
> checking command to parse /usr/bin/nm -B output from gcc -std=gnu99
> object... ok
> checking for sysroot... no
> checking for mt... mt
> checking if mt is a manifest tool... no
> checking how to run the C preprocessor... gcc -std=gnu99 -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 -std=gnu99 supports -fno-rtti -fno-exceptions... no
> checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
> checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
> checking if gcc -std=gnu99 static flag -static works... yes
> checking if gcc -std=gnu99 supports -c -o file.o... yes
> checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
> checking whether the gcc -std=gnu99 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 whether the C compiler works... yes
> checking whether we are using Intel C compiler... no
> checking whether we are using Sun Studio C compiler... no
> checking whether we are using clang C compiler... no
> checking whether we are using gcc >= 4 C compiler... yes
> checking whether the C++ compiler works... no
> configure: error: Unable to find a working C++ compiler
> =================================[ ERROR: ZMQ
> ]=================================
> failed process:
> Process(setenv(`/home/alex/.julia/v0.3/ZMQ/deps/src/zeromq-3.2.4/configure
> --prefix=/home/alex/.julia/v0.3/ZMQ/deps/usr`,Union(ASCIIString,UTF8String)["PATH=/home/alex/.julia/v0.3/ZMQ/deps/usr/bin:/home/alex/anaconda3/bin:/home/alex/anaconda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games","TEXTDOMAIN=im-config","DEFAULTS_PATH=/usr/share/gconf/default.default.path","XDG_SESSION_COOKIE=519dfb9ead5a6c723d0da149547ab069-1419614390.811845-1475910293","DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-FBZvEQfOAl,guid=46ccd9cf2123f1d8b25a2a20549d98b9","MDM_XSERVER_LOCATION=local","XDG_SESSION_DESKTOP=default","SSH_AGENT_PID=2083","USER=alex","XDG_CONFIG_DIRS=/etc/xdg/xdg-default:/etc/xdg","USERNAME=alex","GDMSESSION=default","MDMSESSION=default","XDG_DATA_DIRS=/usr/share/default:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/","SHELL=/bin/bash","XDG_SEAT=seat0","XAUTHORITY=/home/alex/.Xauthority","SESSION_MANAGER=local/aflyax-laptop:@/tmp/.ICE-unix/1931,unix/aflyax-laptop:/tmp/.ICE-unix/1931","TERM=xterm","HOME=/home/alex","COLORTERM=gnome-terminal","VTE_VERSION=3409","XDG_CURRENT_DESKTOP=X-Cinnamon","LANG=en_US.UTF-8","SHLVL=1","GNOME_DESKTOP_SESSION_ID=this-is-deprecated","LOGNAME=alex","XDG_RUNTIME_DIR=/run/user/1000","SSH_AUTH_SOCK=/run/user/1000/keyring-1WW76z/ssh","DESKTOP_SESSION=default","_=/usr/bin/julia","GPG_AGENT_INFO=/run/user/1000/keyring-1WW76z/gpg:0:1","PWD=/home/alex","DISPLAY=:0","GDM_XSERVER_LOCATION=local","CPPFLAGS=
>
> -I/home/alex/.julia/v0.3/ZMQ/deps/usr/include","LDFLAGS=
> -L/home/alex/.julia/v0.3/ZMQ/deps/usr/lib -Wl,-rpath
> -Wl,/home/alex/.julia/v0.3/ZMQ/deps/usr/lib","XDG_VTNR=7","WINDOWID=39862611","MANDATORY_PATH=/usr/share/gconf/default.mandatory.path","XDG_SESSION_ID=c1","MDM_LANG=en_US.UTF-8","TEXTDOMAINDIR=/usr/share/locale/","PKG_CONFIG_PATH=/home/alex/.julia/v0.3/ZMQ/deps/usr/lib/pkgconfig","WINDOWPATH=7","LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:","GNOME_KEYRING_CONTROL=/run/user/1000/keyring-1WW76z"]),
>
> ProcessExited(1)) [1]
> while loading /home/alex/.julia/v0.3/ZMQ/deps/build.jl, in expression
> starting on line 21
>
> ================================================================================
> ================================[ BUILD ERRORS
> ]================================
> WARNING: ZMQ had build errors.
> - packages with build errors remain installed in /home/alex/.julia/v0.3
> - build the package(s) and all dependencies with `Pkg.build("ZMQ")`
> - build a single package by running its `deps/build.jl` script
>
> ================================================================================
>
>
> Thanks!..
>