[solved] install mc-light from ports failed, sorta

Started by qinohe, August 16, 2018, 09:10:33 PM

Previous topic - Next topic
August 16, 2018, 09:10:33 PM Last Edit: August 23, 2018, 06:50:51 PM by qinohe
Hey all, trying to install MC which has gmake as (make) dependency.

The problem lies here, it seems to not get installed no error.

This is what I did:

sudo opnsense-code ports
cd /usr/ports/devel/gmake/
sudo make install

The log contained the following:
Aug 16 20:44:52    sudo: opnadmin : TTY=pts/0 ; PWD=/usr/ports/devel/gmake ; USER=root ; COMMAND=/usr/bin/su
Aug 16 20:44:52    sudo: opnadmin : TTY=pts/0 ; PWD=/usr/ports/devel/gmake ; USER=root ; COMMAND=/usr/bin/su
Aug 16 20:44:28    sudo: opnadmin : TTY=pts/0 ; PWD=/usr/ports/devel/gmake ; USER=root ; COMMAND=/usr/bin/make install
Aug 16 20:44:28    sudo: opnadmin : TTY=pts/0 ; PWD=/usr/ports/devel/gmake ; USER=root ; COMMAND=/usr/bin/make install

Thanks mark

edit;forgot to mention it has worked in the past, I have bash & tmux installed  :)

Hi.
Midnight Commander is in the package repo.

pkg search mc
And followed by ,,pkg install ..."

Hey rantwolf, thanks for your answer, okay there is a binary. But that still don't explain why I'm not able to build from source.

Thanks mark

Hi mark,

I don't see anything wrong. Does it hang? Does it produce direct output? The syslog output is not indicating an issue.


Cheers,
Franco

Hi franco,

You're right there seems to be nothing wrong but mc-light needs gmake.

Trying to install gmake gives the output from my previous post.

After that I tried to install mc-light but it needs 'gmake' and will not make install.

I'm not able to check that machine right now, but that's about it  ::)


Thanks mark

Hi mark,

Normally you build the port you want, not the dependencies. So if something is wrong the ports framework will tell you.

You can also install gmake as a package from the repository mirror but that won't hep you with the mc build if something is wrong with building packages itself. ;)


Cheers,
Franco

Hey franco,


I understand and I did try to install mc-light port and let it install the dependecies like gmake but I get the next notification:
Quote===>   mc-light-4.1.40.p9_11 depends on executable: gmake - not found
===>   mc-light-4.1.40.p9_11 depends on executable: gmake - not found
*** Error code 1

Stop.
make: stopped in /usr/ports/misc/mc-light

So, shouldn't mc-light makefile take care of this or...?
Otherwise I will install gmake pkg, btw. I was just testing and don't even know if I keep it installed :)

Thanks mark

Duh, ::) when changing to root I can  install ports, my 'opnadmin' is in wheel and a root and I was able to compile bash and tmux with this user.

Anyway, after compiling mc-light gawk gmake & texinfo(makeinfo)  it's working very well now  8)
I also started reading up on https://www.freebsd.org/doc/en/books/porters-handbook/makefiles.html#makefile-source  :-[ it's been a while..

Thanks for your support, mark

Hi mark,

Could have been that a

# sudo make clean

was missing, too.


Cheers,
Franco

Hi franco,

I did run 'make clean' .. for all ports I installed.

But, I didn't know you had too because you get in trouble installing new ports ;D

Thanks, mark