On 1/31/25 9:42 AM, Hans wrote:
Hi Frank,
looks ok here with MC on debian/stable.
Upon further investigation, the problem seems restricted to PDF
files. MC will open ZIP and DEB files. If I run MC in an xterm I see this:
Enter some *.pdf will open it using okular as pdf-viewer.
I have atril as a pdf viewer which ms used to use but now won't ??
I also checked the permissions of local mc files and they are all in my
login name.
/tmp/mc-frank/mcextELJ902: 11: @EXTHELPERSDIR@/doc.sh: not found
Hhmm, looks like it is looking for doc.sh in /tmp ???
Yes that is strange.
The doc.sh file IS in /usr/lib/mc/ext.
Please check also permissions of any MC-related files in your /home/. In the
past I once ran into a problem, when starting MC as root after a "su -". Then
the MC-file in my /home became root permissions and could not br read as
normal user again. Just an idea.....
And you can also try, to purge MC and reinstall (aptitude purge mc && aptitude
install mc).
Tried that but no change.
I do not understand the use of @EXTHELPERDIR@. Google is no help here
either when I was working for how and where it is set.
I am running Debian Trixie. Perhaps I will try installing from bookworm.
One thing I noticed after I downloaded the source for MC and that is the
@EXTHELPERDIR@ is not used in the mc.ext.
If done so, please recheck, if the issue is still there.
Hope this helps.
Best
Hans
--
Frank McCormick