Subject: Re: pkg/28564 eclipse does not run
To: None <jschauma@netbsd.org, gnats-admin@netbsd.org,>
From: Antoine Reilles <Antoine.Reilles@loria.fr>
List: pkgsrc-bugs
Date: 06/02/2005 18:47:02
The following reply was made to PR pkg/28564; it has been noted by GNATS.

From: Antoine Reilles <Antoine.Reilles@loria.fr>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/28564 eclipse does not run
Date: Thu, 2 Jun 2005 20:42:56 +0200

 I just found that 
 /usr/pkg/emul/linux/usr/bin/ldd /usr/pkg/eclipse/eclipse   
 
 gives the good libraries (once suse91_openmotif installed),
 while 
 /usr/pkg/emul/linux/usr/bin/ldd ./eclipse   
 says:
 ./eclipse: error while loading shared libraries: libXm.so.2: cannot enable executable stack as shared object requires: Permission denied
 
 using the patch
 --- eclipse.orig        2005-06-02 20:39:53.000000000 +0200
 +++ eclipse     2005-06-02 20:40:32.000000000 +0200
 @@ -14,4 +14,4 @@
  data=${data:-${HOME}}
  configuration=${configuration:-${HOME}/.eclipse}
  
 -(cd ${ECLIPSE_DIR} && ./eclipse -data ${data} -configuration ${configuration} $@)
 +${ECLIPSE_DIR}/eclipse -data ${data} -configuration ${configuration} $@
 
 for the /usr/pkgsrc/devel/eclipse/files/eclipse file looks like a good
 workaround under netbsd, since it prevent eclipse to use the eclipse provided
 libXm.so.2, which looks faulty, but use the one installed by suse91_openmotif
 
 However, this may break the linux part of the package
 
 regards,
 antoine