Bug#598480: salome: Import .MED file failed -> mprint_version not found

Adam C Powell IV hazelsct at debian.org
Wed Sep 29 22:33:01 UTC 2010


tags 598480 pending
thanks

On Wed, 2010-09-29 at 10:44 -0400, Adam C Powell IV wrote:
> On Wed, 2010-09-29 at 10:44 +0000, thomas.dallapiazza at bluewin.ch wrote:
> > Checking MED_Factory.cxx at line 60 gives:
> > aStr<<"bash -c \""<<getenv
> > ("MED_ROOT_DIR")<<"/bin/salome/mprint_version
> > 
> > In my case, MED_ROOT_DIR is /usr and mprint_version is located in
> > 
> > /usr/lib/salome/bin/mprint_version so it's not surprising if the file is not
> > found...
> > Patching the file should not be a 
> > big issue replacing "/bin/salome/" with
> > "/lib/salome/bin/" but I don't know how to do it... (in a clean way like commit
> > 
> > a patch in git repo)
> 
> Thank you for identifying the source of this problem, it looks very easy
> to patch.  I'll reply to you and the bug when it's fixed in the git
> repository.

Just applied a fix to the git repository.  I added it to the file
debian/patches/med-debian-dirs.patch .

> [Do you know how to build from git?]

If you can build from git, everything should work now.

-Adam
-- 
GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Engineering consulting with open source tools
http://www.opennovation.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20100929/f4dccffd/attachment.pgp>


More information about the debian-science-maintainers mailing list