NEDIT revival for SUSE 42.2
Installing the NEDIT from repo
http://download.opensuse.org/reposit...2/editors.repo for SUSE 42.2 one gets an unusable NEDIT as discussed in the thread "NEDIT for SUSE 42.2, strange display" An earlier version that has been working perfectly on earlier SUSE setups does not start because the library "libXp.so.6" is not found I found that in the earlier SUSE system "libXp.so.6" was in /usr/lib while in SUSE 42.2 it is in /usr/lib64 As an experiment I put a symbolic link to the existing "/usr/lib64/libXp.so.6" from /usr/lib Not surprisingly this is not working, I get as error code "error while loading shared libraries: libXp.so.6: wrong ELF class: ELFCLASS64" The earlier "good" version was obvously compiled as a 32 bits application and SUSE42.2 is only for 64 bits applications! Any good ideas how to get an NEDIT working in the SUSE 42.2 environment? I do not think the source code of NEDIT has changed the last few years! I guess something went wrong in the preparation of NEDIT for the 42.2 "editors.repo" |
Quote:
Looks like there was some activity in February of this year: https://sourceforge.net/projects/ned.../nedit-source/ |
1 Attachment(s)
The NEDIT binary included in SUSE 13.2 needs the following libraries to run:
libICE.so.6 libSM.so.6 libX11.so.6 libXau.so.6 libxcb.so.1 libXext.so.6 libXpm.so.4 libXp.so.6 libXt.so.6 libuuid.so.1 The 9 first were in SUSE 13.2 included in /usr/lib, the last in /lib In SUSE 42.2 they are all in /usr/lib64 but absent in the directories /usr/lib and /lib When I move all these SUSE 13.2 libraries into /usr/lib and /lib of SUSE 42.2 the NEDIT binary copied from SUSE 13.2 starts and opens an EDIT window but this EDIT window does not work. On error-sysout a large amount of error messages all related to "TranslationTable" are produced. The error messages are in attachment! Any good idea how to solve these "TranslationTable" problems? |
I see in your other thread that pan64 recommends compiling from source also. http://www.linuxquestions.org/questi...1/#post5704202
Is there a reason that you haven't tried compiling from source? |
fwiw, archlinux has nedit in their repos and it works.
but just for giggles i compiled it myself now, took about 30s (OK, 5 minutes including reading the README), and works. note there's some options to compile it statically linked. also i think it defaults to lesstif instead of motif, and the README states that there's some (longstanding?) bugs with lesstif. |
"norobro" writes:
Quote:
But I was not succesful: Code:
mats@linux-ze70:~/nedit-5.7> make linux Code:
X11/Intrinsic.h "norobro" and "ondoho", does your setup include this file? What shall I do to have a sucessful "build" like you had? |
From Norobro:
Quote:
Sure, the "makefile" could be analysed but for a non-specialist in shell scripting this is not so obvious! Anyway, the required "Intrinsic.h" file is not found, there is neither a 32 bit or a 64 bit version with this file name in SUSE 42.2! |
Quote:
|
yes, if that was unclear: you need to install that package (and probably there will be others) to be able to compile it.
|
Thanks, norobro! With this file available the "make" went a bit further! Now it is
Xm/Xm.h that is failing! Code:
mats@linux-ze70:~/nedit-5.7> make linux |
Code:
# $Id: Makefile.linux,v 1.14 2006/10/26 02:20:16 tringali Exp $ You need to install lesstif probably |
I copied your makefile to ~/nedit-5.7:
Code:
mats@linux-ze70:~/nedit-5.7> cat Makefile Code:
mats@linux-ze70:~/nedit-5.7> make Code:
include Makefile.common The "Makefile" from Sourceforge got further! |
you misunderstood. This makefile was from sourceforge, you will find that yourself in the makefiles folder. I just posted what you should check to be able to compile.
|
Code:
# If using a Motif 2.1 compatible library (LessTif, OM) add Anyway, to compile the source code with the makefile provided by Sourceforge is no immediate solution to the SUSE problem, this compile does not work in the SUSE environment! Is there a channel for official bug reporting for SUSE? |
Quote:
One solution could be to look for all the missing files similar way as it was in post #8. |
All times are GMT -5. The time now is 10:56 AM. |