Author Topic: Scite Don't Starts Anymore  (Read 6493 times)

climber

  • Full Member
  • ***
  • Posts: 189
    • View Profile
Scite Don't Starts Anymore
« on: September 07, 2010, 09:49:40 am »
Hello,

I tried to start "scite" but I get a error message although it had been working in past.

Error message:

scite: relocation error:  scite: symbol _dl_catch_error, version GLIB_2.0 not defined in file ld-linux.so.2 with link time reference.

I have no ideas how I can fix the problem.

Thank
climber

SL-C3100 & pdaXii13 v2

utx

  • Full Member
  • ***
  • Posts: 135
    • View Profile
    • http://www.penguin.cz/~utx/zaurus/
Scite Don't Starts Anymore
« Reply #1 on: September 07, 2010, 04:19:58 pm »
Quote from: climber
scite: relocation error:  scite: symbol _dl_catch_error, version GLIB_2.0 not defined in file ld-linux.so.2 with link time reference.

I have no ideas how I can fix the problem.

It is most probably caused by mixing binaries from more repositories. Update to newer version of glibc or glib or recompilation of scite against library versions you have should fix your problem.

climber

  • Full Member
  • ***
  • Posts: 189
    • View Profile
Scite Don't Starts Anymore
« Reply #2 on: September 08, 2010, 01:47:15 am »
I have reinstalled the newer version of glib and glibc and scite again but without success. You mentioned the "... recompilation of sicte against library". Is there a way how can I do this?

Thanks
climber

jcabrer

  • Full Member
  • ***
  • Posts: 161
    • View Profile
Scite Don't Starts Anymore
« Reply #3 on: September 08, 2010, 02:10:12 am »
If you want to set up a compile environment on your Z, you need to install the following (minimum)

awk
sed
bison
binutils
make
gcc
wget

additionally

patch
diff
autoconf

I'm afraid learning to compile is a little more than I have time for right now to explaint, but basically, if you download the source code for scite, and extract it, there will be a file called ./configure.  Execute it.  If all goes well, type make.  If that goes well, you can either follow the guides for creating an ipk file, or you can install the software directly by typing make install

It's not too hard if everything (libraries) is in place.  Most times, you'll find that you have to compile other dependencies first.

Best of luck!

Quote from: climber
I have reinstalled the newer version of glib and glibc and scite again but without success. You mentioned the "... recompilation of sicte against library". Is there a way how can I do this?

Thanks
climber
Sharp SL-C3100 - pdaXrom Beta 3
Sharp SL-6000L - pdaXrom Beta 1

climber

  • Full Member
  • ***
  • Posts: 189
    • View Profile
Scite Don't Starts Anymore
« Reply #4 on: September 08, 2010, 09:58:02 am »
I downloaded the sourcefile of scite. Reading the "Readme" file you have to go to the GTK folder and type in the command make. After a while I get the following error:

Widget.cxx: In member function `bool WBse::Sensitive()':
Widget.cxx:31: error: `gtk_widget_get_sensitive`was not declared in this scope
Widget.cxx:31: warning: unused variable 'gtk_widget_get_sensitive'
make: *** [Widget.o] Error 1

Any ideas?

Thanks
climber

utx

  • Full Member
  • ***
  • Posts: 135
    • View Profile
    • http://www.penguin.cz/~utx/zaurus/
Scite Don't Starts Anymore
« Reply #5 on: September 10, 2010, 02:21:16 pm »
Quote from: climber
Widget.cxx: In member function `bool WBse::Sensitive()':
Widget.cxx:31: error: `gtk_widget_get_sensitive`was not declared in this scope
Widget.cxx:31: warning: unused variable 'gtk_widget_get_sensitive'

gtk_widget_get_sensitive is a function defined in the gtk header files. Your compiler thinks that it is variable for some reason (missing include?).

climber

  • Full Member
  • ***
  • Posts: 189
    • View Profile
Scite Don't Starts Anymore
« Reply #6 on: September 14, 2010, 03:43:23 am »
Yes you're right.  Installing an older version of Scite had worked fine!

Thanks to all!

Climber