make error on Centos62 64bit

169 views
Skip to first unread message

Brendan

unread,
Jul 3, 2012, 2:41:25 PM7/3/12
to juli...@googlegroups.com
I have an issue when trying to make the julia install.  I followed directions per the docs, but I got this output.  I tried running as SU, so it doesn't seem to be permissions.  I tried to change the readline to 1, but that didn't seem to work.  Any thoughts, or ideas where to look would be appreciated.

Initialized empty Git repository in /home/brendan/julia/.git/
remote: Counting objects: 34894, done.
remote: Compressing objects: 100% (9323/9323), done.
remote: Total 34894 (delta 26094), reused 34098 (delta 25385)
Receiving objects: 100% (34894/34894), 8.92 MiB | 1000 KiB/s, done.
Resolving deltas: 100% (26094/26094), done.
[brendan@wt80dev ~]$ cd julia
[brendan@wt80dev julia]$ dir
base debian  doc   extras      Makefile  README.md  test  VERSION
contrib  deps examples  LICENSE.md  Make.inc  src    ui
[brendan@wt80dev julia]$ make
Submodule 'deps/libuv' (http://github.com/JuliaLang/libuv.git) registered for path 'deps/libuv'
Initialized empty Git repository in /home/brendan/julia/deps/libuv/.git/
remote: Counting objects: 11050, done.
remote: Compressing objects: 100% (2781/2781), done.
remote: Total 11050 (delta 8664), reused 10489 (delta 8216)
Receiving objects: 100% (11050/11050), 3.14 MiB | 896 KiB/s, done.
Resolving deltas: 100% (8664/8664), done.
Submodule path 'deps/libuv': checked out 'd48c5bd0adcb08fc8793529aed8a19530efde9ee'
Resolving www.math.sci.hiroshima-u.ac.jp... 133.41.16.48
Connecting to www.math.sci.hiroshima-u.ac.jp|133.41.16.48|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 251845 (246K) [application/x-gzip]
Saving to: “random/dsfmt-2.1.tar.gz”

100%[======================================>] 251,845      110K/s   in 2.2s    

2012-07-03 14:33:01 (110 KB/s) - “random/dsfmt-2.1.tar.gz” saved [251845/251845]

/bin/sh: line 3: patch: command not found
make[2]: *** [random/jl_random.c] Error 127
make[1]: *** [julia-release] Error 2
make: *** [release] Error 2

Viral Shah

unread,
Jul 3, 2012, 2:45:38 PM7/3/12
to juli...@googlegroups.com
The patch tool is not installed. Perhaps `yum install patch` or something equivalent ought to fix it.

-viral

Brendan

unread,
Jul 3, 2012, 5:48:56 PM7/3/12
to juli...@googlegroups.com
That worked to get me further, but now I get this:

title: [1U 8 STAGE COLUMN SECTION, ALL SECTIONS RIGOROUS ( CHEM. ENG. )]
status 0
key [WEST0479] nrow 479 ncol 479
mkind 0 skind 0 asize 3820 znz 22
mtype from file:               [RUA]
(A) RBok status 0 0 0
(Z) RBok status 0 0 0
mtype from examining matrix:   [rua]
mtype after reading from file: [rua]
raw nrow 479 ncol 479 nnz 1910 nelnz 0 xsize 1910
mtype from raw read from file: [rua]
(P) RBok status 0 0 0
mtype of pattern:              [pua]
mtype of tril(A):              [rua]
(L) RBok status 0 0 22
RBdemo OK
    CC src/jltypes.o
    CC src/gf.o
    CC src/support/hashing.o
    CC src/support/timefuncs.o
    CC src/support/dblprint.o
    CC src/support/ptrhash.o
    CC src/support/operators.o
    CC src/support/socket.o
    CC src/support/utf8.o
    CC src/support/ios.o
    CC src/support/dirpath.o
    CC src/support/htable.o
    CC src/support/bitvector.o
    CC src/support/int2str.o
    CC src/support/libsupportinit.o
    CC src/support/arraylist.o
    LINK src/support/libsupport.a
    CC src/flisp/flisp.o
    CC src/flisp/builtins.o
    CC src/flisp/string.o
    CC src/flisp/equalhash.o
    CC src/flisp/table.o
    CC src/flisp/iostream.o
    CC src/flisp/julia_extensions.o
    LINK src/flisp/libflisp.a
    CC src/flisp/flmain.o
    CC src/flisp/flisp
    FLISP src/julia_flisp.boot
    FLISP src/julia_flisp.boot.inc
    CC src/ast.o
    CC src/builtins.o
    CC src/module.o
    CC src/codegen.o
    CC src/interpreter.o
    CC src/alloc.o
    CC src/dlload.o
    CC src/sys.o
    CC src/init.o
    CC src/task.o
    CC src/array.o
    CC src/dump.o
    CC src/toplevel.o
    CC src/gc.o
    LINK usr/lib/libjulia-release.so
    PERL base/pcre_h.jl
    PERL base/errno_h.jl
    PERL base/os_detect.jl
    PERL extras/glpk_h.jl
    PERL extras/julia_message_types_h.jl
    CC ui/repl.o
    CC ui/repl-basic.o
    LINK usr/bin/julia-release-basic
    CC ui/repl-readline.o
repl-readline.c:24:31: error: readline/readline.h: No such file or directory
repl-readline.c:25:30: error: readline/history.h: No such file or directory
repl-readline.c: In function ‘init_history’:
repl-readline.c:44: warning: implicit declaration of function ‘using_history’
repl-readline.c:51: warning: implicit declaration of function ‘read_history’
repl-readline.c:53: error: ‘HIST_ENTRY’ undeclared (first use in this function)
repl-readline.c:53: error: (Each undeclared identifier is reported only once
repl-readline.c:53: error: for each function it appears in.)
repl-readline.c:53: error: ‘entry’ undeclared (first use in this function)
repl-readline.c:53: warning: implicit declaration of function ‘history_get’
repl-readline.c:53: error: ‘history_base’ undeclared (first use in this function)
repl-readline.c:55: warning: implicit declaration of function ‘free_history_entry’
repl-readline.c:55: warning: implicit declaration of function ‘remove_history’
repl-readline.c:60: error: ‘first’ undeclared (first use in this function)
repl-readline.c:64: error: ‘child’ undeclared (first use in this function)
repl-readline.c:73: error: invalid type argument of ‘->’ (have ‘int’)
repl-readline.c:78: warning: implicit declaration of function ‘write_history’
repl-readline.c: In function ‘add_history_temporary’:
repl-readline.c:91: error: ‘history_length’ undeclared (first use in this function)
repl-readline.c:91: error: ‘history_base’ undeclared (first use in this function)
repl-readline.c:95: warning: implicit declaration of function ‘add_history’
repl-readline.c: In function ‘add_history_permanent’:
repl-readline.c:102: error: ‘history_length’ undeclared (first use in this function)
repl-readline.c:102: error: ‘history_base’ undeclared (first use in this function)
repl-readline.c:106: error: ‘HIST_ENTRY’ undeclared (first use in this function)
repl-readline.c:106: error: ‘entry’ undeclared (first use in this function)
repl-readline.c:107: warning: left-hand operand of comma expression has no effect
repl-readline.c:107: warning: left-hand operand of comma expression has no effect
repl-readline.c:108: warning: implicit declaration of function ‘where_history’
repl-readline.c:111: warning: implicit declaration of function ‘append_history’
repl-readline.c: In function ‘line_start’:
repl-readline.c:117: error: ‘rl_line_buffer’ undeclared (first use in this function)
repl-readline.c: In function ‘line_end’:
repl-readline.c:122: error: ‘rl_line_buffer’ undeclared (first use in this function)
repl-readline.c:123: error: ‘rl_end’ undeclared (first use in this function)
repl-readline.c: In function ‘newline_callback’:
repl-readline.c:143: error: ‘rl_point’ undeclared (first use in this function)
repl-readline.c:145: warning: implicit declaration of function ‘rl_insert_text’
repl-readline.c: In function ‘return_callback’:
repl-readline.c:154: error: ‘rl_point’ undeclared (first use in this function)
repl-readline.c:154: error: ‘rl_end’ undeclared (first use in this function)
repl-readline.c:155: error: ‘rl_line_buffer’ undeclared (first use in this function)
repl-readline.c:161: error: ‘rl_done’ undeclared (first use in this function)
repl-readline.c:169: warning: implicit declaration of function ‘rl_redisplay’
repl-readline.c: In function ‘suppress_space’:
repl-readline.c:176: error: ‘rl_point’ undeclared (first use in this function)
repl-readline.c:177: error: ‘rl_line_buffer’ undeclared (first use in this function)
repl-readline.c: In function ‘space_callback’:
repl-readline.c:183: error: ‘rl_point’ undeclared (first use in this function)
repl-readline.c: In function ‘tab_callback’:
repl-readline.c:190: error: ‘rl_point’ undeclared (first use in this function)
repl-readline.c:196: error: ‘rl_line_buffer’ undeclared (first use in this function)
repl-readline.c:199: warning: implicit declaration of function ‘rl_complete_internal’
repl-readline.c:201: warning: implicit declaration of function ‘rl_delete_text’
repl-readline.c: In function ‘line_start_callback’:
repl-readline.c:219: error: ‘rl_point’ undeclared (first use in this function)
repl-readline.c: In function ‘line_end_callback’:
repl-readline.c:227: error: ‘rl_point’ undeclared (first use in this function)
repl-readline.c:229: error: ‘rl_end’ undeclared (first use in this function)
repl-readline.c: In function ‘line_kill_callback’:
repl-readline.c:235: error: ‘rl_point’ undeclared (first use in this function)
repl-readline.c:238: error: ‘rl_end’ undeclared (first use in this function)
repl-readline.c:239: warning: implicit declaration of function ‘rl_kill_text’
repl-readline.c: In function ‘backspace_callback’:
repl-readline.c:245: error: ‘rl_point’ undeclared (first use in this function)
repl-readline.c:250: error: ‘rl_line_buffer’ undeclared (first use in this function)
repl-readline.c: In function ‘delete_callback’:
repl-readline.c:267: error: ‘rl_point’ undeclared (first use in this function)
repl-readline.c:268: error: ‘rl_line_buffer’ undeclared (first use in this function)
repl-readline.c:269: error: ‘rl_end’ undeclared (first use in this function)
repl-readline.c: In function ‘left_callback’:
repl-readline.c:276: error: ‘rl_point’ undeclared (first use in this function)
repl-readline.c: In function ‘right_callback’:
repl-readline.c:286: error: ‘rl_point’ undeclared (first use in this function)
repl-readline.c:286: error: ‘rl_line_buffer’ undeclared (first use in this function)
repl-readline.c:287: error: ‘rl_end’ undeclared (first use in this function)
repl-readline.c: In function ‘up_callback’:
repl-readline.c:293: error: ‘rl_point’ undeclared (first use in this function)
repl-readline.c:301: warning: implicit declaration of function ‘rl_get_previous_history’
repl-readline.c: In function ‘down_callback’:
repl-readline.c:309: error: ‘rl_point’ undeclared (first use in this function)
repl-readline.c:310: error: ‘rl_end’ undeclared (first use in this function)
repl-readline.c:319: warning: implicit declaration of function ‘history_set_pos’
repl-readline.c:322: warning: implicit declaration of function ‘rl_get_next_history’
repl-readline.c: In function ‘jl_input_line_callback’:
repl-readline.c:344: warning: implicit declaration of function ‘rl_callback_handler_remove’
repl-readline.c: In function ‘read_expr’:
repl-readline.c:351: warning: implicit declaration of function ‘readline’
repl-readline.c:351: warning: return makes pointer from integer without a cast
repl-readline.c: In function ‘julia_completion’:
repl-readline.c:451: warning: implicit declaration of function ‘rl_completion_matches’
repl-readline.c:451: warning: return makes pointer from integer without a cast
repl-readline.c: In function ‘sigtstp_handler’:
repl-readline.c:456: warning: implicit declaration of function ‘rl_cleanup_after_signal’
repl-readline.c: In function ‘sigcont_handler’:
repl-readline.c:470: warning: implicit declaration of function ‘rl_reset_after_signal’
repl-readline.c:472: warning: implicit declaration of function ‘rl_forced_update_display’
repl-readline.c: In function ‘init_rl’:
repl-readline.c:477: error: ‘rl_readline_name’ undeclared (first use in this function)
repl-readline.c:478: error: ‘rl_attempted_completion_function’ undeclared (first use in this function)
repl-readline.c:479: error: ‘Keymap’ undeclared (first use in this function)
repl-readline.c:479: error: expected ‘;’ before ‘keymaps’
repl-readline.c:481: error: ‘keymaps’ undeclared (first use in this function)
repl-readline.c:482: warning: implicit declaration of function ‘rl_bind_key_in_map’
repl-readline.c:492: warning: implicit declaration of function ‘rl_bind_keyseq_in_map’
repl-readline.c: In function ‘init_repl_environment’:
repl-readline.c:516: error: ‘rl_catch_signals’ undeclared (first use in this function)
repl-readline.c:518: error: ‘rl_startup_hook’ undeclared (first use in this function)
repl-readline.c:518: error: ‘Function’ undeclared (first use in this function)
repl-readline.c:518: error: expected expression before ‘)’ token
repl-readline.c: In function ‘repl_callback_enable’:
repl-readline.c:524: warning: implicit declaration of function ‘rl_callback_handler_install’
repl-readline.c: In function ‘jl_stdin_callback’:
repl-readline.c:530: warning: implicit declaration of function ‘rl_callback_read_char’
make[2]: *** [repl-readline.o] Error 1
make[1]: *** [julia-release] Error 2
make: *** [release] Error 2


Any thoughts?

Stefan Karpinski

unread,
Jul 3, 2012, 5:56:09 PM7/3/12
to juli...@googlegroups.com
Looks like readline isn't installed either.

Brendan

unread,
Jul 3, 2012, 6:02:47 PM7/3/12
to juli...@googlegroups.com
I changed USE_SYSTEM_READLINE=1, and I have readline-6.0-3.el6 installed.  Do I need other packages installed?


On Tuesday, July 3, 2012 5:56:09 PM UTC-4, Stefan Karpinski wrote:
Looks like readline isn't installed either.


Mike Nolta

unread,
Jul 3, 2012, 6:04:51 PM7/3/12
to juli...@googlegroups.com
On Tue, Jul 3, 2012 at 6:02 PM, Brendan <brenda...@gmail.com> wrote:
> I changed USE_SYSTEM_READLINE=1, and I have readline-6.0-3.el6 installed.
> Do I need other packages installed?
>

You also need the readline-devel package.

-Mike

Brendan

unread,
Jul 3, 2012, 6:49:31 PM7/3/12
to juli...@googlegroups.com

I added readline-devel and it worked!  Thanks for the help!
Reply all
Reply to author
Forward
0 new messages