Bug #170
closedmissed Option in pkg_info
0%
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
Updated by wa1ter over 18 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_infopkg_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.)