LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-17-2013, 09:39 AM   #1
geraldine1
LQ Newbie
 
Registered: Feb 2013
Posts: 11

Rep: Reputation: Disabled
what do I do with this lot....


I installed medical research toolkit from physionet.org.
To cut long story short, I need to recompile source package
xview-3.2p1.4-21.1.fc8.src.rpm
from page at http://www.physionet.org/physiotools/xview/src/

Please, can someone tell me what commands I need to enter to recompile this lot.

The reason I need to do so is is detailed in this discussion:
http://www.cygwin.com/ml/cygwin-xfre.../msg00110.html
I have been going round and round in circles. I am so near yet so far.
So far, I have downloaded the src.rpm package to a working directory, entered
rpm -iv xview-3.2p1.4-21.1.fc8.src.rpm
In all probability, this not the thing to do. So what now?
 
Old 02-17-2013, 02:39 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,889

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
Here is a tutorial on how to install and build a src rpm.
 
1 members found this post helpful.
Old 02-17-2013, 08:40 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,115

Rep: Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480
what operating system is this ?

If it is CygWin on windows then the "rpmbuild" will be of little use
CygWin dose not use rpm's

that src rpm is for the very OLD fedora 8
fedora 8 went end of life 5 years ago

also it might be easier to just use the tarball
xview-3.2p1.4-19c.tar.gz

than install and set up a rpmbuild environment
( not hard but a fair amount of work )

also with the source being about 8 to 10 years old

you might need to install the "compatibility" version of gcc ( an old version )
" gcc-3.3 " or called " gcc-compt"
the current gcc 4.7 might not be able to be used with out hacking the program to build with it

Last edited by John VV; 02-17-2013 at 08:58 PM.
 
1 members found this post helpful.
Old 02-18-2013, 12:39 AM   #4
geraldine1
LQ Newbie
 
Registered: Feb 2013
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bigrigdriver View Post
Here is a tutorial on how to install and build a src rpm.
Thank you very much. I will investigate this. I wont give up, not just yet.
 
Old 02-18-2013, 12:45 AM   #5
geraldine1
LQ Newbie
 
Registered: Feb 2013
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
what operating system is this ?

If it is CygWin on windows then the "rpmbuild" will be of little use
CygWin dose not use rpm's

that src rpm is for the very OLD fedora 8
fedora 8 went end of life 5 years ago

also it might be easier to just use the tarball
xview-3.2p1.4-19c.tar.gz

than install and set up a rpmbuild environment
( not hard but a fair amount of work )

also with the source being about 8 to 10 years old

you might need to install the "compatibility" version of gcc ( an old version )
" gcc-3.3 " or called " gcc-compt"
the current gcc 4.7 might not be able to be used with out hacking the program to build with it
Thank you for for your reply. Yes, it is indeed CYGWIN. Seems like I need to do some careful work. I wont give up, not just yet anyway.
 
Old 02-18-2013, 02:01 AM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,115

Rep: Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480
there is a cygwin package of prebuilt binaries
http://www.physionet.org/physiotools/xview/cygwin/
"xview-3.2p1.4-18c-cygwin.tar.bz2"

but is is from 2005
and built for win 95,98,nt,xp
 
1 members found this post helpful.
Old 02-18-2013, 05:15 AM   #7
geraldine1
LQ Newbie
 
Registered: Feb 2013
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
there is a cygwin package of prebuilt binaries
http://www.physionet.org/physiotools/xview/cygwin/
"xview-3.2p1.4-18c-cygwin.tar.bz2"

but is is from 2005
and built for win 95,98,nt,xp
Thank you for your reply. Actually, that is the link I used, following exactly the instructions of the physionet toolkit. It does not work!
It is interesting what you say that it is from old, dating back to 2005, and was built for win 95, 98,nt,xp. I have installed it on win7.
I am currently installing cygwin on my old and redundant laptop that has win xp. Hopefully that will work.
 
Old 02-18-2013, 06:15 AM   #8
geraldine1
LQ Newbie
 
Registered: Feb 2013
Posts: 11

Original Poster
Rep: Reputation: Disabled
Tried it on xp, still same problem....

Quote:
Originally Posted by John VV View Post
there is a cygwin package of prebuilt binaries
http://www.physionet.org/physiotools/xview/cygwin/
"xview-3.2p1.4-18c-cygwin.tar.bz2"

but is is from 2005
and built for win 95,98,nt,xp
I finally installed cygwin on my old xp laptop, good job I kept it, took all night to download/install cywin. Then correctly installed xview, wave, no errors. All make checks passed. Still get the same error, assertion "ret != inval_id" failed: file "/usr/src/ports/libX11/libX11-1.5.0-1/src/libX11-1.5.0/src/xcb_io.c", line 528, function: _XAllocID
 
Old 02-18-2013, 07:10 AM   #9
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,354
Blog Entries: 55

Rep: Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541
The XView home page states "the standard Xorg server is severely incompatible with XView" which is short for "we didn't bother to make XView not call _XAllocID and we didn't update XView to the current, sane standard". I'd first check if your Cygwin X.org libX11 >= 1.1. If it is you have the choice of either downgrading it or installing the preferred Linux distribution used at the time of release (IIRC the obsolete Fedora 7). If you opt for the latter ponder usage of virtualization (VMware, Virtual Box, QEmu, etc, etc) and in the case of running obsolete Linux distribution (or other weaker "operating system") releases isolate it from your network as they're obviously security risks.
 
1 members found this post helpful.
Old 02-18-2013, 07:53 AM   #10
geraldine1
LQ Newbie
 
Registered: Feb 2013
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by unSpawn View Post
The XView home page states "the standard Xorg server is severely incompatible with XView" which is short for "we didn't bother to make XView not call _XAllocID and we didn't update XView to the current, sane standard". I'd first check if your Cygwin X.org libX11 >= 1.1. If it is you have the choice of either downgrading it or installing the preferred Linux distribution used at the time of release (IIRC the obsolete Fedora 7). If you opt for the latter ponder usage of virtualization (VMware, Virtual Box, QEmu, etc, etc) and in the case of running obsolete Linux distribution (or other weaker "operating system") releases isolate it from your network as they're obviously security risks.
Thank you for your advice. Looks like some drastic steps are needed. It is disapponting that the physionet.org site, which has developed this software, and made it freely available, has somehow not managed to ensure their software stil works today. See this problem report, dating back to 2010. http://www.cygwin.com/ml/cygwin-xfre.../msg00110.html
 
Old 02-18-2013, 08:38 AM   #11
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,354
Blog Entries: 55

Rep: Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541
Quote:
Originally Posted by geraldine1 View Post
It is disapponting that the physionet.org site, which has developed this software, and made it freely available, has somehow not managed to ensure their software stil works today.
Try viewing it as a reverse pyramid: at the way small base are the original few developers. On top of that are contributors (if any, and I mean code, not talk). On top of that are the ninety nine point ninety nine per cent of leechers who just use the software, don't give back anything in return and turn their backs as soon as it no longer suits their needs. You don't need a degree in anything to see that's not a true community effort and that it's not a healthy, let alone sustainable, situation. Welcome to the reality of Open Source Software.
 
1 members found this post helpful.
Old 02-18-2013, 11:07 AM   #12
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,115

Rep: Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480
what exactly do you need this for ?

i am betting there are modern programs to do what you need
and also run on windows7

for example
Cinepaint
Yes it is old ( as old as xview ) but for basic work on 32 bit floating-point images it works

Gmic - a terminal based graphics lib that can display images like imagemagick BUT works on singed/unsigned 16 bit and on 32 bit float

or
Nip2 ,the supported format list is short but if "imagemagick" can open it then it can be imported ( using a built in plugin)

I do a LOT of work with imaging data from USA spacecraft ( Cassini, LRO,MRO,Messenger,and Voyager )

but i use a linux only program for that ( isis3 )
 
2 members found this post helpful.
Old 02-18-2013, 12:57 PM   #13
geraldine1
LQ Newbie
 
Registered: Feb 2013
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
what exactly do you need this for ?

i am betting there are modern programs to do what you need
and also run on windows7

for example
Cinepaint
Yes it is old ( as old as xview ) but for basic work on 32 bit floating-point images it works

Gmic - a terminal based graphics lib that can display images like imagemagick BUT works on singed/unsigned 16 bit and on 32 bit float

or
Nip2 ,the supported format list is short but if "imagemagick" can open it then it can be imported ( using a built in plugin)

I do a LOT of work with imaging data from USA spacecraft ( Cassini, LRO,MRO,Messenger,and Voyager )

but i use a linux only program for that ( isis3 )
Thank you for your advice. I will certainly look into this. The software put out by MIT, via www.physionet.org, is used by medical researchers worldwide. It has been developed over the past 20 years or so and is well liked by users. The difficulty I see in using something different, is that the researchers interact with one another, and they can only do that comfortably if they use the same tools, nomencleture etc etc. The researcher who I am helping, tells me that their associates in another lab require that this particular tool is used. Without this common tool, it will be difficult to compare notes etc.
 
Old 02-18-2013, 01:12 PM   #14
geraldine1
LQ Newbie
 
Registered: Feb 2013
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by unSpawn View Post
Try viewing it as a reverse pyramid: at the way small base are the original few developers. On top of that are contributors (if any, and I mean code, not talk). On top of that are the ninety nine point ninety nine per cent of leechers who just use the software, don't give back anything in return and turn their backs as soon as it no longer suits their needs. You don't need a degree in anything to see that's not a true community effort and that it's not a healthy, let alone sustainable, situation. Welcome to the reality of Open Source Software.
Thank you for your reply. This software has been developed over 20 yrars or more, comes from a very well respected institution, MIT, no less. It is used by the medical research community, worldwide. You can say that it has become an industry standard and gives researchers a base line upon which they can compare results of their research. Regrettably, whereas it must be working for the vast majority of installations, the odd ones where it fails, becomes a major major disaster for that user! In the absence of any resolution, that user might as well give up and leave the profession! There must be a solution to this problem, as per http://www.cygwin.com/ml/cygwin-xfre.../msg00110.html
Turney suggested way back in 2010, to either acquire latest binaries from cygwin, or recompile. I would like to explore these alternatives.
 
Old 02-18-2013, 01:36 PM   #15
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,115

Rep: Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480
one possible solution is to install CentOS 6.3 or Scientific Linux 6.3 ( or the older CentOS 5.9 )
the fedora 8 SRC rpm should be able to build on it

-- NO guaranties --

just checked the OpenBuildService
http://software.opensuse.org/package/xview
there is a fedora 18 build
https://build.opensuse.org/package/s...&package=xview

but you will need to install a "home" personal software repo on fedora 18
"home:zhonghuaren"
(xvieew is called "openwin" )

installing fedora 18 and using that might be WAY easier than trying to build a Microsoft Windows version
or hacking a fedora 8 src rpm on centos

or install a VM and do a virtual install for the unsupported fedora 8 on the VM running on win7
but getting software to install on a version of fedora that is 10 versions out of date , will not be easy .
--------
fedora 8 install dvd has the OLD security keys on it and they WILL NOT work on the new security keys issued after the red hat server break ,issued for fedora 8 .
and it has some old software like Firefox2 "firefox-2.0.0.19-1.fc8.i386.rpm "
The current firefox is 18
--------
if you go the route of installing fedora 8 on a vm
i would ask questions over at the "end of life" forum on fedoraforum
-- a link --
http://www.forums.fedoraforum.org/forumdisplay.php?f=75
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting a lot of unexpected io qlands Slackware 1 08-05-2012 03:59 AM
Noobie in need of a lot of help donang72 Linux - Networking 11 06-17-2007 04:57 PM
Problem comes in a LOT !!! arunabh_biswas Linux - Software 3 07-15-2006 03:31 AM
When will Wireless get a lot better? sandrat Linux - Newbie 2 05-22-2006 10:18 PM
Thanks a Lot! XPediTioN Slackware 0 07-11-2003 04:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration