Ticket #4579 (closed defect: invalid)

Opened 4 months ago

Last modified 4 months ago

Trying to build on Ubuntu 22.04 LTS with gpm-mouse

Reported by: andyrozman Owned by:
Priority: major Milestone:
Component: compilation Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

Hi !
I downloaded package (mc-4.8.32) from here and built my midnight commander. Everything worked ok, except when I click mouse on midnight commander, I am getting some codes displayed in command line.

This was configure: ./configure --with-screen=ncurses --enable-vfs-undelfs

I had to use ncurses, because I don't have slang on my system and build can't find the one that was supposed to be included.

Because of this I tried to do another build with gpm mouse:
./configure --with-screen=ncurses --enable-vfs-undelfs --with-gpm-mouse

When I do this it fails:
checking for linux/fs.h... yes
checking for Gpm_Repeat in -lgpm... no
configure: error: libgpm is missing or older than 0.18

I checked my system and I have 1.20.7 version installed :

gpm is already the newest version (1.20.7-10build1).

P.S.: Reason I tried to do manual build is that Ctrl-O command (in mc) doesn't work with zsh. I used workaround to start mc from bash, but now that doesn't work anymore either.

Change History

comment:1 Changed 4 months ago by zaytsev

  • Status changed from new to closed
  • Resolution set to invalid
  • Milestone Future Releases deleted

I downloaded package (mc-4.8.32) from here and built my midnight commander.

apt-get build-dep mc

I don't have slang on my system and build can't find the one that was supposed to be included.

apt-get install libslang2-dev

gpm is already the newest version (1.20.7-10build1)

apt-get install libgpm-dev

comment:2 in reply to: ↑ description Changed 4 months ago by andrew_b

Replying to andyrozman:

when I click mouse on midnight commander, I am getting some codes displayed in command line.

#4144

Note: See TracTickets for help on using tickets.