Ticket #1854 (closed defect: worksforme)

Opened 7 years ago

Last modified 6 years ago

missleading_configure_--with-gpm-mouse_option

Reported by: vit_r Owned by: vit_r
Priority: critical Milestone:
Component: mc-tty Version: 4.7.0-pre4
Keywords: Cc:
Blocked By: Blocking:
Branch state: Votes for changeset:

Description (last modified by slavazanko) (diff)

From configure -h:
" --with-gpm-mouse Compile with gpm mouse support (Linux only)

[yes if found]"

On Slack 13.0
when ` ./configure --with-gpm-mouse '

then OS gpm {1.20.1 (X-Mas), Decembre 2002} does _NOT_ work with mc

and when ` ./configure --without-gpm-mouse '

then gmp-1.20.1 does work with mc

So --with-gpm-mouse is missleading:

giving just the opposite result.

Change History

comment:1 follow-up: ↓ 2 Changed 7 years ago by slavazanko

  • Description modified (diff)

Okay,compile mc with '--with-gpm-mouse' option and show here:

ldd /path/to/compiled/mc

Also, compile mc with '--without-gpm-mouse' option and show here again:

ldd /path/to/compiled/mc

comment:2 in reply to: ↑ 1 Changed 7 years ago by vit_r

Replying to slavazanko:

Okay,compile mc with '--with-gpm-mouse' option and show here:

ldd /path/to/compiled/mc

Also, compile mc with '--without-gpm-mouse' option and show here again:

ldd /path/to/compiled/mc


pre4:

./configure --with-gpm-mouse && make && make install


linux-gate.so.1 => (0xffffe000)
libgpm.so.1 => /lib/libgpm.so.1 (0xb7f02000)
libslang.so.2 => /usr/lib/libslang.so.2 (0xb7e1b000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7e18000)
libdl.so.2 => /lib/libdl.so.2 (0xb7e14000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7d41000)
libc.so.6 => /lib/libc.so.6 (0xb7be1000)
libm.so.6 => /lib/libm.so.6 (0xb7bba000)
/lib/ld-linux.so.2 (0xb7f2a000) iok gpm


./configure --without-gpm-mouse && make && make install


linux-gate.so.1 => (0xffffe000)
libslang.so.2 => /usr/lib/libslang.so.2 (0xb7f56000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7f53000)
libdl.so.2 => /lib/libdl.so.2 (0xb7f4f000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7e7c000)
libc.so.6 => /lib/libc.so.6 (0xb7d1c000)
libm.so.6 => /lib/libm.so.6 (0xb7cf6000)
/lib/ld-linux.so.2 (0xb8060000) gpm is fine

comment:3 follow-up: ↓ 4 Changed 7 years ago by slavazanko

Wow!

--with-gpm-mouse
...
libgpm.so.1 => /lib/libgpm.so.1 (0xb7f02000)
...

and

--without-gpm-mouse
...
<Nothing>
...

Looks as well. Are you sure, that this bug present?
May be, some wrong when you test these situations?

comment:4 in reply to: ↑ 3 Changed 7 years ago by vit_r

Are you sure, that this bug present?

On my Slack ? Yes ! i'm sure. For years.

In any case this "--with-gpm-mouse" is _NOT_ clearly pointing :
is that OS-gpm or MC-built-in-gpm (with Slang like clarity)
Also nothing is said: Is this option needed if OS-gpm is running ?

May be, some wrong when you test these situations?

But test is on the screen. Only when MC runs that tty is affected

If is needed i will install any other OS(to test it). Just tell me which one, please

Thanks from me and from those who don't know yet ... gpm is coming !

ps

/usr/sbin # ldd gpm

linux-gate.so.1 => (0xffffe000)
libm.so.6 => /lib/libm.so.6 (0xb7e9d000)
libc.so.6 => /lib/libc.so.6 (0xb7d3d000)
/lib/ld-linux.so.2 (0xb7ee6000)

/lib # ll libc.*
lrwxrwxrwx 1 root root 11 2009-09-09 17:32 libc.so.6 -> libc-2.9.so*

/lib # ll libc-2.9.so
-rwxr-xr-x 1 root root 1658350 2009-04-03 11:00 libc-2.9.so*

/lib # ll libm*
-rwxr-xr-x 1 root root 180840 2009-04-03 11:00 libm-2.9.so*
-rwxr-xr-x 1 root root 16986 2009-04-03 11:00 libmemusage.so*
lrwxrwxrwx 1 root root 11 2009-09-09 17:32 libm.so.6 -> libm-2.9.so*

/lib # ll libgpm*
lrwxrwxrwx 1 root root 16 2009-09-09 17:19 libgpm.so.1 -> libgpm.so.1.19.0*
-rwxr-xr-x 1 root root 18384 2007-06-01 00:15 libgpm.so.1.19.0*

comment:5 Changed 6 years ago by andrew_b

  • Status changed from new to closed
  • Component changed from mc-config-ini to mc-tty
  • Resolution set to worksforme
  • Milestone 4.7 deleted
Note: See TracTickets for help on using tickets.