Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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
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.
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.
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
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.
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
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.
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.
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.