Bug #170

missed Option in pkg_info

Added by willi over 8 years ago. Updated almost 8 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

Hello,

I dont know whether this is the correct address for my problem but i hope you
can help me.

1. problem

if i want install a new port then search the MAKEFILE of any Port the tool
"pkg_info" to install after compile the port in /usr/local/sbin but i found
in dragonflybsd this tool in /usr/pkg/sbin/
I have make links in /usr/local/sbin to pkg_info and stuff and it works.

2. Problem

If i want execute "make install" after compiling then i recieve the follow
error message from make and pkg_info

pkg_info illegal option -- O
usage: pkg_info .... blabla

*** Error code 1

the system want checking whether the port is already installed but the option
for this check is missed.

what can i do?????

Sorry for my bad english but i hope you can me help.

Thanks and greetings,

Willi

History

#1 Updated by wa1ter over 8 years ago

willi wrote:
> Hello,
>
> I dont know whether this is the correct address for my problem but i hope you
> can help me.
>
> 1. problem
>
> if i want install a new port then search the MAKEFILE of any Port the tool
> "pkg_info" to install after compile the port in /usr/local/sbin but i found
> in dragonflybsd this tool in /usr/pkg/sbin/
> I have make links in /usr/local/sbin to pkg_info and stuff and it works.
>
> 2. Problem
>
> If i want execute "make install" after compiling then i recieve the follow
> error message from make and pkg_info
>
> pkg_info illegal option -- O
> usage: pkg_info .... blabla

I can think of two possible reasons: You may have two different
versions of pkg_info on your machine; one from the old FBSD ports
system, and another in /usr/pkg/sbin from the new pkgsrc system.

Or, if you are using the new pkgsrc system, you should use 'bmake'
instead of 'make' for building *and* installing ports. (You still
use 'make' for building the operating system, though.)

And 'bmake' must be in your $PATH, of course. (I thinks it's in
/usr/pkg/bin IIRC.)

#2 Updated by corecode about 8 years ago

wrong ports infrastructure

Also available in: Atom PDF