Amanda-Users

Re: Problem with Solaris Amanda Build

2003-03-10 18:32:30
Subject: Re: Problem with Solaris Amanda Build
From: Jon LaBadie <jon AT jgcomp DOT com>
To: amanda-users AT amanda DOT org
Date: Mon, 10 Mar 2003 16:47:06 -0500
On Mon, Mar 10, 2003 at 01:25:17PM -0500, Brian Cuttler wrote:
> John,
> 
> I wasn't able to figure out what was wrong with the changer-src
> Makefile, however I was able to get around it.
> 
> My fix is rather unorthadox and not recommended and I have no idea
> what I might have broken or what now failed to compile so if you
> follow this bit of 'programming' you take your chances.
> 
> The affected (aflicted?) section of code as diplayed via
> # cat -evt, because Makefiles are touchy about white-space
> 
> uninstall-am: uninstall-info-am uninstall-libexecPROGRAMS \$
> ^Iuninstall-libexecSCRIPTS$
> $
> .PHONY: GTAGS all all-am check check-am clean clean-generic \$
> ^Iclean-libexecPROGRAMS clean-libtool distclean distclean-compile \$
> ^Idistclean-depend distclean-generic distclean-libtool \$
> ^Idistclean-tags distdir dvi dvi-am info info-am install \$
> ^Iinstall-am install-data install-data-am install-exec \$
> ^Iinstall-exec-am install-info install-info-am \$
> ^Iinstall-libexecPROGRAMS install-libexecSCRIPTS install-man \$
> ^Iinstall-strip installcheck installcheck-am installdirs \$
> ^Imaintainer-clean maintainer-clean-generic mostlyclean \$
> ^Imostlyclean-compile mostlyclean-generic mostlyclean-libtool \$
> ^Itags uninstall uninstall-am uninstall-info-am \$
> ^Iuninstall-libexecPROGRAMS uninstall-libexecSCRIPTS$
> $
> ^I^I^Ichg-null$
> 
> I was unable to figure out what was wrong with this code, specifically
> the error seemed to be on the line ending "distclean-compile \$"
> 
> ...so I deleted the entire section ie the ".PHONY:" tag down to the
> next white line.
> 
> Like I said, I don't know what I broke along the way, make run from
> the root ran to completion though.


I'm pretty certain the real culprit is "chg-null" line after the
".PHONY" line.  Either delete that or comment it out and the
compile succeeds on my Solaris 9 system.

-- 
Jon H. LaBadie                  jon AT jgcomp DOT com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

<Prev in Thread] Current Thread [Next in Thread>