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

Home » Public Forums » archive » IDL on FreeBSD
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
IDL on FreeBSD [message #19169] Fri, 25 February 2000 00:00 Go to next message
Jörg Retzlaff is currently offline  Jörg Retzlaff
Messages: 2
Registered: February 2000
Junior Member
Hi,

I am desperatly trying to run IDL (V5.3) on FreeBSD 3.4 - but no
success! I know that people have reported that previous versions of
IDL (5.2.x) are running fine.

I have modified the relevant shell scripts so that FreeBSD is
recognised as Linux OS. On execution idl immediatly crashes with a
Segmentation fault. Other idl binaries such as idlde and lmstat
which belong to the distribution do the same. Linux compatibility
is installed on my system and I believe nothing points to a missing
library problem. Also I have used brandelf - without success.
Interestingly idlhelp does work without problems. (It seems to be
linked differently).

I am new to FreeBSD. Does the Segmentation fault point towards a
particular kind of problem in this case? Can I check explicitly for
problems with libraries?

Any help appreciated.
Thanks, Joerg.
Re: IDL on FreeBSD [message #19234 is a reply to message #19169] Thu, 02 March 2000 00:00 Go to previous messageGo to next message
Jörg Retzlaff is currently offline  Jörg Retzlaff
Messages: 2
Registered: February 2000
Junior Member
"J.D. Smith" wrote:
>
> J�rg Retzlaff wrote:
>>
>> I am desperatly trying to run IDL (V5.3) on FreeBSD 3.4 - but no
>> success! I know that people have reported that previous versions of
>> IDL (5.2.x) are running fine.
>>
>
> Between 5.2.x and 5.3, IDL for Linux switched to a libc2.1 linked library, which
> would not work with older libc2.0 systems (like Redhat 5.x). I suspect this
> could explain the problems you see, though I'm not sure if a libc2.1 version of
> FreeBSD is available. With 5.2.1, there were two versions, 5.2.1, linked with
> libc2.0, and 5.2.1L, linked with libc2.1. There was a detailed thread on this
> topic over the summer.
>
> JD
>
> --
> J.D. Smith |*| WORK: (607) 255-5842
> Cornell University Dept. of Astronomy |*| (607) 255-6263
> 304 Space Sciences Bldg. |*| FAX: (607) 255-5875
> Ithaca, NY 14853 |*|

Many thanks for your help! Now I use linux_base-6.1 (5.2 before) and IDL
runs fine.
--Joerg.
Re: IDL on FreeBSD [message #19255 is a reply to message #19169] Tue, 29 February 2000 00:00 Go to previous messageGo to next message
John-David T. Smith is currently offline  John-David T. Smith
Messages: 384
Registered: January 2000
Senior Member
J�rg Retzlaff wrote:
>
> Hi,
>
> I am desperatly trying to run IDL (V5.3) on FreeBSD 3.4 - but no
> success! I know that people have reported that previous versions of
> IDL (5.2.x) are running fine.
>
> I have modified the relevant shell scripts so that FreeBSD is
> recognised as Linux OS. On execution idl immediatly crashes with a
> Segmentation fault. Other idl binaries such as idlde and lmstat
> which belong to the distribution do the same. Linux compatibility
> is installed on my system and I believe nothing points to a missing
> library problem. Also I have used brandelf - without success.
> Interestingly idlhelp does work without problems. (It seems to be
> linked differently).
>
> I am new to FreeBSD. Does the Segmentation fault point towards a
> particular kind of problem in this case? Can I check explicitly for
> problems with libraries?
>
> Any help appreciated.
> Thanks, Joerg.

Between 5.2.x and 5.3, IDL for Linux switched to a libc2.1 linked library, which
would not work with older libc2.0 systems (like Redhat 5.x). I suspect this
could explain the problems you see, though I'm not sure if a libc2.1 version of
FreeBSD is available. With 5.2.1, there were two versions, 5.2.1, linked with
libc2.0, and 5.2.1L, linked with libc2.1. There was a detailed thread on this
topic over the summer.

JD

--
J.D. Smith |*| WORK: (607) 255-5842
Cornell University Dept. of Astronomy |*| (607) 255-6263
304 Space Sciences Bldg. |*| FAX: (607) 255-5875
Ithaca, NY 14853 |*|
Re: IDL on FreeBSD [message #19355 is a reply to message #19169] Wed, 08 March 2000 00:00 Go to previous messageGo to next message
Vlad Manilici is currently offline  Vlad Manilici
Messages: 1
Registered: March 2000
Junior Member
> I have modified the relevant shell scripts so that FreeBSD is
> recognised as Linux OS. On execution idl immediatly crashes with a
> Segmentation fault. Other idl binaries such as idlde and lmstat
> which belong to the distribution do the same. Linux compatibility
> is installed on my system and I believe nothing points to a missing
> library problem. Also I have used brandelf - without success.
> Interestingly idlhelp does work without problems. (It seems to be
> linked differently).
>
> I am new to FreeBSD. Does the Segmentation fault point towards a
> particular kind of problem in this case? Can I check explicitly for
> problems with libraries?

hi joerg,

i certainly do not know where your problem originates, but you still can
check against what is a program linked with the "ldd" command. care,
don't run it cross-platform. use the linux ldd for linux programs, all
in a "linux compatibility" environment.

then, i still wonder how did those scripts recognize the package as
FreeBSD, for the first thing!

yours,
vlad
Re: IDL on FreeBSD [message #28076 is a reply to message #19169] Wed, 21 November 2001 03:43 Go to previous messageGo to next message
Heike Koch-Beuttenmue is currently offline  Heike Koch-Beuttenmue
Messages: 6
Registered: October 1999
Junior Member
"Karthikayan B." wrote:
>
> I wonder if anyone had any success installing IDL on FreeBSD.
> The system:
>
> IBM T20 running FreeBSD 4.4
> Display card : S3 model graphics accelerator
> IDL Version : 5.5
>
> The problem:
>
> a) A displayed image gets eaten up if moved from one part of the
> screen to another. In other words, when you move an image it is not
> refreshed. So if you move the image to the centre of the screen those
> portions that were under other windows are just blank spaces.
>
> b) I can not get the online help to work. It brings up an error
> message saying that "No selection is avaliable. Unable to execute the
> command"
>
> Can any one offfer help. Thanks.
> -BK

I am new in using IDL and get the same problem on Sun Solaris.

Heike Koch-Beuttenm�ller
Re: IDL on FreeBSD [message #28090 is a reply to message #19169] Tue, 20 November 2001 09:00 Go to previous messageGo to next message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
[ trimmed newsgroups ]

lovedale27@hotmail.com (Karthikayan B.) writes:

> I wonder if anyone had any success installing IDL on FreeBSD.
> The system:
>
> IBM T20 running FreeBSD 4.4
> Display card : S3 model graphics accelerator
> IDL Version : 5.5
>
> The problem:
>
> a) A displayed image gets eaten up if moved from one part of the
> screen to another. In other words, when you move an image it is not
> refreshed. So if you move the image to the centre of the screen those
> portions that were under other windows are just blank spaces.

This question I know the answer to. You need to either set your X
server to do backing store, or set IDL to do the backing store fore
you. Most recent versions of XFree86 v.4 have backing store turned
off for some reason. It needs to be turned on with an option in your
"Screen" section of XF86Config:

Option "BackingStore"

This can also be achieved with the RETAIN keyword to WINDOW, but is
more of a pain.

I have no idea about your second question.

Craig


--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
Re: IDL on FreeBSD [message #28092 is a reply to message #19169] Tue, 20 November 2001 08:57 Go to previous messageGo to next message
Randall Skelton is currently offline  Randall Skelton
Messages: 169
Registered: October 2000
Senior Member
First, I don't think comp.lang.idl is actually a group you should post
to... when they say 'idl' they mean CORBA or something like that.

I have had IDL 5.3 working on FreeBSD 4.4 and I don't recall there being
any show stopping bugs. The failure to refresh the graphics window is an
X quirk that can show up on almost any unix system. If I recall
correctly, the fix is:

device, retain=2

There have been a few people asking questions about FreeBSD and IDL in the
past so it may be worth checking the archives:
http://groups.google.com/groups?q=FreeBSD+IDL&hl=en

Given that I haven't bothered to upgrade to 5.5, I can't say much about
the help other than I know 5.3 help works. IDL help in 5.3 is spawned by
a separate shell script which executes an independent binary
$IDL_PATH/bin/bin.linux/idlhelp. If you haven't already checked, check
that you have install all the required shared libraries into your linux
compatibility linking libraries in /compat/linux. However, failing to
include linked libraries usually results in segfaults not "No
selection..." errors so I doubt this is it.

For info on FreeBSD linux compatibility see:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/li nuxemu.html

If/when you figure this out, please post to the idl.pvwave newsgroup.


Good luck,
Randall

On 20 Nov 2001, Karthikayan B. wrote:

> I wonder if anyone had any success installing IDL on FreeBSD.
> The system:
>
> IBM T20 running FreeBSD 4.4
> Display card : S3 model graphics accelerator
> IDL Version : 5.5
>
> The problem:
>
> a) A displayed image gets eaten up if moved from one part of the
> screen to another. In other words, when you move an image it is not
> refreshed. So if you move the image to the centre of the screen those
> portions that were under other windows are just blank spaces.
>
> b) I can not get the online help to work. It brings up an error
> message saying that "No selection is avaliable. Unable to execute the
> command"
>
> Can any one offfer help. Thanks.
> -BK
>
Re: IDL on FreeBSD [message #28094 is a reply to message #19169] Tue, 20 November 2001 08:21 Go to previous messageGo to next message
Jaco van Gorkom is currently offline  Jaco van Gorkom
Messages: 97
Registered: November 2000
Member
Hi,

Karthikayan B. wrote:
> a) A displayed image gets eaten up if moved from one part of the
> screen to another. In other words, when you move an image it is not
> refreshed. So if you move the image to the centre of the screen those
> portions that were under other windows are just blank spaces.

Make sure that IDL is providing backing store for your graphics windows.
Type DEVICE, RETAIN=2 and/or set the default value for backing store in the
IDLDE File/Preferences/Graphics/Backing Store to Pixmap. There is more info
in the online help, once you solve part b).

> b) I can not get the online help to work. It brings up an error
> message saying that "No selection is avaliable. Unable to execute the
> command"

This happens to me if I select "Find Topic..." from the IDLDE Help menu.
That command is probably supposed to find the word you have selected in the
index. The help window should start up when you choose "Help on IDL...", or
by typing ? (a question mark) at the IDL prompt.

Hope this helps,
Jaco
Re: IDL on FreeBSD [message #28143 is a reply to message #28076] Sat, 24 November 2001 16:44 Go to previous message
lovedale27 is currently offline  lovedale27
Messages: 7
Registered: November 2001
Junior Member
Koch-Beuttenmueller <Heike.Koch-Beuttenmueller@rz.uni-ulm.de> wrote in message news:<3BFB9349.AF0F2857@rz.uni-ulm.de>...
> I am new in using IDL and get the same problem on Sun Solaris.
>
> Heike Koch-Beuttenm�ller

Dear Heike Koch-Beuttenm�ller,

If you are having the same problems as I, then I can porbably
answer you - from the accumulated wisdom from reading what others
wrote in reply to my initial question.

Prob. a) The display being eaten up

Soln : Go to preferences in the IDLDE menu and change the "backing
store"

Prob. b) The help not working

Soln: One has to brand the ELF libraries. This is something I forgot
to do in FreeBSD while installing IDL("brandelf -t Linux
idl-elf-files"). I suppose there muse be a way to brand ELF in Sun.

Once again thanks to all who responded to my question. IDL is
running without any trouble on BSD. It is a pity that it is not
officially recogonised by the RSI co..

Karthik.
Re: IDL on FreeBSD [message #28151 is a reply to message #19169] Thu, 22 November 2001 12:09 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
lovedale27@hotmail.com (Karthikayan B.) writes:

> Dear Craig,
>
> Thanks very much for the reply - that fixed my display problems. I
> still cannot open the Help windows. I wonder if it would be all-right
> with you if I write to you to ask you about more questions? BTW, I am
> also in Physics and Astronomy (but not Finance)
>
> -Karthik


Hi Karthik--

I think it is better to ask on the newsgroup, so everybody can get the
benefit of discussions.

Craig
Re: IDL on FreeBSD [message #28168 is a reply to message #28092] Wed, 21 November 2001 07:30 Go to previous message
lovedale27 is currently offline  lovedale27
Messages: 7
Registered: November 2001
Junior Member
Hello All,

I got my problems resolved thanks to your help, Randall in particular.
The first problem with the display was resolved with the

"device, retain=2"

in the IDL's preference menu.

The second with the online help was resolved with this command:

"sysctl -w kern.fallback_elf_brand=3"

For the moment IDL works very well indeed. Once thanks to all those who replied.

Karthik


Randall Skelton <rhskelto@atm.ox.ac.uk> wrote in message news:<Pine.LNX.4.33.0111201630500.23474-100000@mulligan.atm.ox.ac.uk>...
> First, I don't think comp.lang.idl is actually a group you should post
> to... when they say 'idl' they mean CORBA or something like that.
>
> I have had IDL 5.3 working on FreeBSD 4.4 and I don't recall there being
> any show stopping bugs. The failure to refresh the graphics window is an
> X quirk that can show up on almost any unix system. If I recall
> correctly, the fix is:
>
> device, retain=2
>
> There have been a few people asking questions about FreeBSD and IDL in the
> past so it may be worth checking the archives:
> http://groups.google.com/groups?q=FreeBSD+IDL&hl=en
>
> Given that I haven't bothered to upgrade to 5.5, I can't say much about
> the help other than I know 5.3 help works. IDL help in 5.3 is spawned by
> a separate shell script which executes an independent binary
> $IDL_PATH/bin/bin.linux/idlhelp. If you haven't already checked, check
> that you have install all the required shared libraries into your linux
> compatibility linking libraries in /compat/linux. However, failing to
> include linked libraries usually results in segfaults not "No
> selection..." errors so I doubt this is it.
>
> For info on FreeBSD linux compatibility see:
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/li nuxemu.html
>
> If/when you figure this out, please post to the idl.pvwave newsgroup.
>
>
> Good luck,
> Randall
>
> On 20 Nov 2001, Karthikayan B. wrote:
>
>> I wonder if anyone had any success installing IDL on FreeBSD.
>> The system:
>>
>> IBM T20 running FreeBSD 4.4
>> Display card : S3 model graphics accelerator
>> IDL Version : 5.5
>>
>> The problem:
>>
>> a) A displayed image gets eaten up if moved from one part of the
>> screen to another. In other words, when you move an image it is not
>> refreshed. So if you move the image to the centre of the screen those
>> portions that were under other windows are just blank spaces.
>>
>> b) I can not get the online help to work. It brings up an error
>> message saying that "No selection is avaliable. Unable to execute the
>> command"
>>
>> Can any one offfer help. Thanks.
>> -BK
>>
Re: IDL on FreeBSD [message #28170 is a reply to message #28090] Wed, 21 November 2001 07:13 Go to previous message
lovedale27 is currently offline  lovedale27
Messages: 7
Registered: November 2001
Junior Member
Dear Craig,

Thanks very much for the reply - that fixed my display problems. I
still cannot open the Help windows. I wonder if it would be all-right
with you if I write to you to ask you about more questions? BTW, I am
also in Physics and Astronomy (but not Finance)

-Karthik



Craig Markwardt <craigmnet@cow.physics.wisc.edu> wrote in message news:<on8zd1s7hg.fsf@cow.physics.wisc.edu>...
> [ trimmed newsgroups ]
>
> lovedale27@hotmail.com (Karthikayan B.) writes:
>
>> I wonder if anyone had any success installing IDL on FreeBSD.
>> The system:
>>
>> IBM T20 running FreeBSD 4.4
>> Display card : S3 model graphics accelerator
>> IDL Version : 5.5
>>
>> The problem:
>>
>> a) A displayed image gets eaten up if moved from one part of the
>> screen to another. In other words, when you move an image it is not
>> refreshed. So if you move the image to the centre of the screen those
>> portions that were under other windows are just blank spaces.
>
> This question I know the answer to. You need to either set your X
> server to do backing store, or set IDL to do the backing store fore
> you. Most recent versions of XFree86 v.4 have backing store turned
> off for some reason. It needs to be turned on with an option in your
> "Screen" section of XF86Config:
>
> Option "BackingStore"
>
> This can also be achieved with the RETAIN keyword to WINDOW, but is
> more of a pain.
>
> I have no idea about your second question.
>
> Craig
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: CW_BGROUP and NONEXCLUSIVE
Next Topic: Re: IDL versus MATLAB : could you help me ?????

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

Current Time: Wed Oct 08 16:00:56 PDT 2025

Total time taken to generate the page: 0.01040 seconds