LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   what do I do with this lot.... (https://www.linuxquestions.org/questions/linux-newbie-8/what-do-i-do-with-this-lot-4175450538/)

geraldine1 02-17-2013 09:39 AM

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?

bigrigdriver 02-17-2013 02:39 PM

Here is a tutorial on how to install and build a src rpm.

John VV 02-17-2013 08:40 PM

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

geraldine1 02-18-2013 12:39 AM

Quote:

Originally Posted by bigrigdriver (Post 4893873)
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.

geraldine1 02-18-2013 12:45 AM

Quote:

Originally Posted by John VV (Post 4894064)
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.

John VV 02-18-2013 02:01 AM

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

geraldine1 02-18-2013 05:15 AM

Quote:

Originally Posted by John VV (Post 4894186)
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.

geraldine1 02-18-2013 06:15 AM

Tried it on xp, still same problem....
 
Quote:

Originally Posted by John VV (Post 4894186)
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

unSpawn 02-18-2013 07:10 AM

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.

geraldine1 02-18-2013 07:53 AM

Quote:

Originally Posted by unSpawn (Post 4894331)
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

unSpawn 02-18-2013 08:38 AM

Quote:

Originally Posted by geraldine1 (Post 4894362)
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.

John VV 02-18-2013 11:07 AM

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 )

geraldine1 02-18-2013 12:57 PM

Quote:

Originally Posted by John VV (Post 4894476)
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.

geraldine1 02-18-2013 01:12 PM

Quote:

Originally Posted by unSpawn (Post 4894382)
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.

John VV 02-18-2013 01:36 PM

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


All times are GMT -5. The time now is 09:41 AM.