Hi there,

Since I just got the graphics card working again after a similar upgrade, I'm feeling brave enough to try without wine (running).

$ file fp2k
ELF 32-bit LSB executable, Intel 80386, version 1, statically linked, corrupted section header size

... which shows up on google/ubuntu forums as being a upx issue, so:

$ sudo apt-get install upx-ucl
$ upx -d fp2k
                      Ultimate Packer for eXecutables
 Copyright (C) 1996,1997,1998,1999,2000,2001,2002,2003,2004,2005,2006,2007
UPX 3.00 Markus Oberhumer, Laszlo Molnar & John Reiser Apr 27th 2007

       File size         Ratio      Format      Name
  --------------------   ------   -----------   -----------
  6070937 <-   1629094   26.83%    linux/386    fp2k

Unpacked 1 file.

$ ./fp2k
=>        **********************************************************
=>        ** PROGRAM FullProf.2k (Version 3.80 - Jan2007-ILL JRC) **
=>        **********************************************************
=>                       M U L T I -- P A T T E R N
=>            Rietveld, Profile Matching & Integrated Intensity
=>                 Refinement of X-ray and/or Neutron Data
=>                 (Multi_Pattern: WindowsConsole-version)

 ==> Give the code of the files (xx for xx.pcr):


I haven't tested it any further than that. For winplotr_2006, after the upx -d, I also needed:

$ sudo apt-get install libmotif3

... and winplotr runs too.

What's so amazing about linux? Someone else will have found the problem before you, also solved the problem before you; and yet still it is your problem to work on! Not like research eh?

Best,

Jon

Wenduo Zhou wrote:
Dear Rietvelders,

I met a problem to use FullProf on Ubuntu 7.10. I just installed this Linux system. fp2k cannot run right now, but return 127 (-1) without any output. In my another machine with Ubuntu 7.06, fp2k runs just fine. Is there anyone who met this problem before and know how to solve it?
Thanks for your advices.

Best,

Wenduo Zhou

Reply via email to