OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • [solved] install mc-light from ports failed, sorta
« previous next »
  • Print
Pages: [1]

Author Topic: [solved] install mc-light from ports failed, sorta  (Read 3807 times)

qinohe

  • Full Member
  • ***
  • Posts: 160
  • Karma: 19
    • View Profile
[solved] install mc-light from ports failed, sorta
« on: August 16, 2018, 09:10:33 pm »
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  :)
« Last Edit: August 23, 2018, 06:50:51 pm by qinohe »
Logged

rantwolf

  • Full Member
  • ***
  • Posts: 127
  • Karma: 5
    • View Profile
Re: install mc-light from ports failed, sorta
« Reply #1 on: August 16, 2018, 09:20:20 pm »
Hi.
Midnight Commander is in the package repo.

Code: [Select]
pkg search mcAnd followed by „pkg install ...“
Logged

qinohe

  • Full Member
  • ***
  • Posts: 160
  • Karma: 19
    • View Profile
Re: install mc-light from ports failed, sorta
« Reply #2 on: August 16, 2018, 09:32:05 pm »
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
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13602
  • Karma: 1170
    • View Profile
Re: install mc-light from ports failed, sorta
« Reply #3 on: August 17, 2018, 09:01:12 am »
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
Logged

qinohe

  • Full Member
  • ***
  • Posts: 160
  • Karma: 19
    • View Profile
Re: install mc-light from ports failed, sorta
« Reply #4 on: August 17, 2018, 08:20:03 pm »
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
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13602
  • Karma: 1170
    • View Profile
Re: install mc-light from ports failed, sorta
« Reply #5 on: August 17, 2018, 09:18:03 pm »
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
Logged

qinohe

  • Full Member
  • ***
  • Posts: 160
  • Karma: 19
    • View Profile
Re: install mc-light from ports failed, sorta
« Reply #6 on: August 20, 2018, 04:54:11 pm »
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
Logged

qinohe

  • Full Member
  • ***
  • Posts: 160
  • Karma: 19
    • View Profile
Re: install mc-light from ports failed, sorta
« Reply #7 on: August 23, 2018, 05:30:52 pm »
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
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13602
  • Karma: 1170
    • View Profile
Re: [solved] install mc-light from ports failed, sorta
« Reply #8 on: September 03, 2018, 04:39:26 pm »
Hi mark,

Could have been that a

# sudo make clean

was missing, too.


Cheers,
Franco
Logged

qinohe

  • Full Member
  • ***
  • Posts: 160
  • Karma: 19
    • View Profile
Re: [solved] install mc-light from ports failed, sorta
« Reply #9 on: September 07, 2018, 01:11:11 am »
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
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • [solved] install mc-light from ports failed, sorta
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2