Tuesday, 10 February 2015

How to use package from old version? topic






Hi,
I installed XUbuntu 14.04 "trusty".
Now for compiling some old X11/Motif C program I need the Motif libs as wel as the development header files.
Trusty offers libmotif-dev (http://packages.ubuntu.com/trusty/libmotif-dev). However the Xm/Print.h is very old (1996) and obsolete.
On my previous computer I used Lesstif, with a header file dating from 2004 that worked there.
But Lesstif is not in trusty. It used to be in "precise" (http://packages.ubuntu.com/precise/lesstif2-dev).

So my question:
Can I install packages from "precise" on my "trusty" system?
How? http://ubuntuforums.org/showthread.php?t=2223607 suggests that it is difficult or impossible to downgrade a package to a previous version.
Also I foresee complications. I suppose I'll have to remove libmotif - but that might force removing any application packages that depend on it. But if I try install lesstif2-dev next to libmotif then it will overwrite the files (like Xm/Print.h) that are also in the libmotif packages.






No comments:

Post a Comment