comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » rIDL command line replacement
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: rIDL command line replacement [message #76321 is a reply to message #76245] Wed, 25 May 2011 13:47 Go to previous messageGo to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 5/25/11 12:42 PM, Gianguido Cianci wrote:
> That's like asking if I can ask a question.... how overcomplicated of me :-(
>
> Here we go. I am on Mac OS X 10.5.8 and run :
>
> sudo cmake -DReadline_INCLUDE_DIR=/sw/include/readline \
> -DReadline_LIBRARY=/sw/lib/libreadline.5.0.dylib
>
> and get:
>
> -- IDL library: /Applications/itt/idl/idl80/bin/bin.darwin.x86_64/libidl.dyl ib
> -- IDL include: /Applications/itt/idl/idl80/external/include
> -- Found GNU Readline: /sw/lib/libreadline.5.0.dylib
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /Users/cgguido/ridl
>
>
> So far so good. Then I run:
>
> sudo gnumake
>
> and get:
>
> Scanning dependencies of target ridl
> [ 14%] Building C object src/CMakeFiles/ridl.dir/ridl.c.o
> /Users/cgguido/trunk/src/ridl.c: In function 'ridl_printfunmap':
> /Users/cgguido/trunk/src/ridl.c:393: warning: initialization makes pointer from integer without a cast
> /Users/cgguido/trunk/src/ridl.c: In function 'main':
> /Users/cgguido/trunk/src/ridl.c:835: error: 'rl_event_hook' undeclared (first use in this function)
> /Users/cgguido/trunk/src/ridl.c:835: error: (Each undeclared identifier is reported only once
> /Users/cgguido/trunk/src/ridl.c:835: error: for each function it appears in.)
> gnumake[2]: *** [src/CMakeFiles/ridl.dir/ridl.c.o] Error 1
> gnumake[1]: *** [src/CMakeFiles/ridl.dir/all] Error 2
> gnumake: *** [all] Error 2

Yes, your Readline version is too old. I'm still researching which
version you really need; 6.1 will work, probably 6.0 also.

I'm trying to figure out a way to test the Readline version when
configuring so that you will get a more reasonable error message.

By the way, do "svn up" regularly because I've been making a lot of
updates as people give feedback on their particular systems.

Also, you shouldn't have to do a "sudo" until you do your "make install".

Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL, A Guide to Learning IDL: http://modernidl.idldev.com
Research Mathematician
Tech-X Corporation
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Nasty compatibility issue in lists and hashes (and maybe more?)
Next Topic: Problem with al_legend in IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 12:57:32 PDT 2025

Total time taken to generate the page: 0.78623 seconds