[Mrtrix-discussion] error installing MRtrix on Centos
Donald Tournier
d.tournier at brain.org.au
Wed Oct 27 18:31:40 PDT 2010
Hi Keith,
Yes, these were the errors I was getting too. You may be able to simply
delete/comment out the offending lines, since they all relate to
tooltips (the little help texts that pop up on mouse-over), which I guess
isn't such a big loss. You'd need to remove any lines that mention
set_tooltip_text(), and the function on_file_tooltip() in src/dialog/file.h
(line 113) as well as its whole definition in src/dialog/file.cpp (lines
326-344). That should sort out that issue. Let's hope that's the only
problem you'll need to fix...
Cheers,
Donald.
On 28 October 2010 04:51, Keith Hulsey <Keith.Hulsey at utsouthwestern.edu>wrote:
> Hi Donald,
>
> Thanks for the help. I took your first suggestion and got somewhat farther.
> I'd rather not change to Ubuntu just yet.
>
> My compiler didn't like the -march=native switch so I changed it to =core2
> which helped. Now I have trouble with a line in file.h. The error I get when
> compiling src/mrview/sidebar/overlay.cpp,
> src/mrview/sidebar/screen_capture.cpp,
> src/mrview/sidebar/orientation_plot.cpp, or
> src/mrview/sidebar/tractography/track_list.cpp is:
>
> src/dialog/file.h:113: error: ‘Tooltip’ is not a member of ‘Gtk’
> src/dialog/file.h:113: error: ‘Tooltip’ is not a member of ‘Gtk’
> src/dialog/file.h:113: error: template argument 1 is invalid
> src/mrview/sidebar/tractography/track_list.cpp: In constructor
> ‘MR::Viewer::SideBar::TrackList::TrackList(const
> MR::Viewer::SideBar::Tractography&)’:
> src/mrview/sidebar/tractography/track_list.cpp:89: error:
> ‘set_tooltip_text’ was not declared in this scope
>
>
> src/dialog/file.h:113: error: ‘Tooltip’ is not a member of ‘Gtk’
> src/dialog/file.h:113: error: ‘Tooltip’ is not a member of ‘Gtk’
> src/dialog/file.h:113: error: template argument 1 is invalid
> src/mrview/sidebar/orientation_plot.cpp: In constructor
> ‘MR::Viewer::SideBar::OrientationPlot::OrientationPlot()’:
> src/mrview/sidebar/orientation_plot.cpp:97: error: ‘class Gtk::Button’ has
> no member named ‘set_tooltip_text’
> src/mrview/sidebar/orientation_plot.cpp:98: error: ‘class Gtk::Button’ has
> no member named ‘set_tooltip_text’
> src/mrview/sidebar/orientation_plot.cpp:99: error: ‘class Gtk::Label’ has
> no member named ‘set_tooltip_text’
> src/mrview/sidebar/orientation_plot.cpp:100: error: ‘class Gtk::Label’ has
> no member named ‘set_tooltip_text’
> src/mrview/sidebar/orientation_plot.cpp: In member function ‘void
> MR::Viewer::SideBar::OrientationPlot::on_source_browse()’:
> src/mrview/sidebar/orientation_plot.cpp:294: error: ‘class Gtk::Button’ has
> no member named ‘set_tooltip_text’
>
> src/dialog/file.h:113: error: ‘Tooltip’ is not a member of ‘Gtk’
> src/dialog/file.h:113: error: ‘Tooltip’ is not a member of ‘Gtk’
> src/dialog/file.h:113: error: template argument 1 is invalid
> src/mrview/sidebar/overlay.cpp: In constructor
> ‘MR::Viewer::SideBar::Overlay::OverlayList::OverlayList(MR::Viewer::SideBar::Overlay&)’:
> src/mrview/sidebar/overlay.cpp:62: error: ‘set_tooltip_text’ was not
> declared in this scope
> src/mrview/sidebar/overlay.cpp: In member function ‘void
> MR::Viewer::SideBar::Overlay::on_scaling()’:
> src/mrview/sidebar/overlay.cpp:384: warning: converting to ‘int’ from
> ‘double’
>
>
> src/dialog/file.h:113: error: ‘Tooltip’ is not a member of ‘Gtk’
> src/dialog/file.h:113: error: ‘Tooltip’ is not a member of ‘Gtk’
> src/dialog/file.h:113: error: template argument 1 is invalid
> src/mrview/sidebar/screen_capture.cpp: In constructor
> ‘MR::Viewer::SideBar::ScreenCapture::ScreenCapture()’:
> src/mrview/sidebar/screen_capture.cpp:85: error: ‘class Gtk::Label’ has no
> member named ‘set_tooltip_text’
> src/mrview/sidebar/screen_capture.cpp:86: error: ‘class Gtk::Label’ has no
> member named ‘set_tooltip_text’
> src/mrview/sidebar/screen_capture.cpp:87: error: ‘class Gtk::Label’ has no
> member named ‘set_tooltip_text’
> src/mrview/sidebar/screen_capture.cpp:88: error: ‘class Gtk::Label’ has no
> member named ‘set_tooltip_text’
> src/mrview/sidebar/screen_capture.cpp:89: error: ‘class Gtk::Label’ has no
> member named ‘set_tooltip_text’
> src/mrview/sidebar/screen_capture.cpp:90: error: ‘class Gtk::Label’ has no
> member named ‘set_tooltip_text’
> src/mrview/sidebar/screen_capture.cpp:91: error: ‘class Gtk::Button’ has no
> member named ‘set_tooltip_text’
> src/mrview/sidebar/screen_capture.cpp: In member function ‘void
> MR::Viewer::SideBar::ScreenCapture::on_browse()’:
> src/mrview/sidebar/screen_capture.cpp:229: error: ‘class Gtk::Label’ has no
> member named ‘set_tooltip_text’
> src/mrview/sidebar/screen_capture.cpp: In member function ‘void
> MR::Viewer::SideBar::ScreenCapture::on_cancel()’:
> src/mrview/sidebar/screen_capture.cpp:243: error: ‘class
> Glib::RefPtr<Gdk::Pixbuf>’ has no member named ‘reset’
>
>
> Is there a gtk module that I need to update? Or, can I modify file.h so
> that Tooltip is not needed?
>
> Keith
>
> ------------------------------
> *From:* Donald Tournier [d.tournier at brain.org.au]
> *Sent:* Wednesday, October 27, 2010 1:59 AM
> *To:* Keith Hulsey
> *Cc:* mrtrix-discussion at www.nitrc.org
> *Subject:* Re: [Mrtrix-discussion] error installing MRtrix on Centos
>
> Hi Keith,
>
> We have the same issue on some of our servers running CentOS. It is
> unfortunately a totally outdated distribution - even the latest release does
> not have package versions that have been available since at least 2007. In
> your case, it looks like your python installation is out of date (the
> followlinks option is available since version 2.6). You could get around
> that by removing that argument from the function call, i.e. change line 211
> in 'build' from :
> for root, dirs, files in os.walk (os.path.split(self.name)[0],
> followlinks=True):
> to:
> for root, dirs, files in os.walk (os.path.split(self.name)[0]):
>
> While this would sort out that particular issue, I would be very
> surprised if it got you much further. I've tried on our CentOS 5.5 systems,
> and found that a few other required packages are also a few versions out of
> date... and gave up at that point.
>
> So in brief, I'd say the path of least resistance would actually be to
> upgrade the OS to the latest version of Ubuntu... Would also recommend
> making sure it's got an nvidia card for the graphics, since the OpenGL
> support for these cards is vastly superior to that for other cards (I've
> just had another negative experience with an ATI card recently).
>
> Another option is to use the Windows version, although I personally don't
> have much experience with it. Maybe Win32 users could report back their
> experience of MRtrix on Windows?
>
> Cheers,
>
> Donald.
>
>
> On 27 October 2010 05:53, Keith Hulsey <Keith.Hulsey at utsouthwestern.edu>wrote:
>
>> Hi,
>>
>> My earlier question was about MRview on a virtual machine. I managed to
>> get access to a Linux box that I can install software and update the OS on.
>> The OS is CentOS release 5.5 (Final).
>>
>> After updating the OS to resolve the outdated libraries, I am left with
>> the following response when I execute ./build from /usr/local/mrtrix-0.2.9.
>>
>>
>> Traceback (most recent call last):
>> File "./build", line 610, in ?
>> [ Entry(item) for item in targets ]
>> File "./build", line 154, in __init__
>> [ Entry(item) for item in self.deps ]
>> File "./build", line 152, in __init__
>> elif is_library (self.name): self.set_library()
>> File "./build", line 211, in set_library
>> for root, dirs, files in os.walk (os.path.split(self.name)[0],
>> followlinks=True):
>> TypeError: walk() got an unexpected keyword argument 'followlinks'
>>
>>
>>
>> What should I do next to prepare for installing MRtrix?
>>
>> Keith
>>
>>
>> ------------------------------
>>
>> UT Southwestern Medical Center
>> The future of medicine, today.
>>
>> _______________________________________________
>> Mrtrix-discussion mailing list
>> Mrtrix-discussion at www.nitrc.org
>> http://www.nitrc.org/mailman/listinfo/mrtrix-discussion
>>
>>
>
>
> --
> Jacques-Donald Tournier (PhD)
> Brain Research Institute, Melbourne, Australia
> Tel: +61 (0)3 9496 4078
>
--
Jacques-Donald Tournier (PhD)
Brain Research Institute, Melbourne, Australia
Tel: +61 (0)3 9496 4078
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.nitrc.org/pipermail/mrtrix-discussion/attachments/20101028/f52e61d5/attachment.html
More information about the Mrtrix-discussion
mailing list