Installing nagios +monarch I receive the error: The following dependencies failed to build: monarch

Ryan Schmidt ryandesign at macports.org
Thu May 28 10:48:28 PDT 2009


On May 28, 2009, at 12:21, Lance Lakey wrote:

> I've tried uninstalling and cleaning and reinstalling. The only error
> I receive is below.
>
> $ sudo port install -duc nagios +monarch
> Error: The following dependencies failed to build: monarch
> Error: Status 1 encountered during processing.
>
> I've tried cleaning the above ports and then installing nagios only
> without +monarch and it never finishes "Activating"
>
> What could I investigate to figure out what's causing either of these
> problems? Thanks in advance.
>
>
> $ sudo port install -duc nagios
> --->  Fetching nagios
> --->  Attempting to fetch nagios-3.0.6.tar.gz from
> http://superb-east.dl.sourceforge.net/nagios
> --->  Verifying checksum(s) for nagios
> --->  Extracting nagios
> --->  Configuring nagios
> --->  Building nagios
> --->  Staging nagios into destroot
> --->  Creating launchd control script
> ###########################################################
> # A startup item has been generated that will aid in
> # starting nagios with launchd. It is disabled
> # by default. Execute the following command to start it,
> # and to cause it to launch at startup:
> #
> # sudo launchctl load -w /Library/LaunchDaemons/ 
> org.macports.nagios.plist
> ###########################################################
> --->  Installing nagios @3.0.6_0
> --->  Activating nagios @3.0.6_0

We would need to see debug output to know why either of these is  
failing.

The -d flag gives you debug output, but you're not seeing it because  
you've put the flag in the wrong place. It needs to be before, not  
after, the verb. For example, it needs to be

sudo port -d install nagios

and not

sudo port install -d nagios

Note that "-u" (uninstall old version) only has effect for the  
"upgrade" verb, and "-c" (clean) is the default unless you have  
changed the value of portautoclean in your macports.conf.





More information about the macports-users mailing list