apache-2.2.6 not installing [solved]

Noah admin2 at enabled.com
Mon Nov 5 08:14:35 PST 2007


response in line below


Jason Bourne wrote:
> Noah wrote:
> 
>> Hi List,
>>
>> Not receive good support on the ports mail list so I will post here now.
>>
>>
>> Might somebody please explain to me why apache-2.2.6 is not install from
>> /usr/ports ?  I am attempting to complile with mod_ldap and a bunch of
>> modules - nothing that should be causing a fuss, though.  All shell
>> output is below including error message.
>>
>> Help please,
>>
>> Noah
> [snip]
>> Installing configuration files
>> Installing HTML documents
>> *** Error code 1
>>
>> Stop in /usr/ports/www/apache22/work/httpd-2.2.6.
>> *** Error code 1
>>
>> Stop in /usr/ports/www/apache22/work/httpd-2.2.6.
>> *** Error code 1
>>
>> Stop in /usr/ports/www/apache22.
>> *** Error code 1
>>
>> Stop in /usr/ports/www/apache22.
>>
> Sorry to reply by email but I'm not subscribed. I had this problem last 
> night. This is a workaround and not a true fix, but it's quick.
> 
> After doing make and prior to make install navigate to and open with an 
> editor:
> 
> /usr/ports/www/apache22/work/httpd-2.2.6/Makefile
> 
> Look for line 126:
> 
> install-htdocs:
> #	    @echo Installing HTML documents ; \
> #	    $(MKINSTALLDIRS) $(DESTDIR)$(htdocsdir) ; \
> #		test -d $(htdocs-srcdir) && (cd $(htdocs-srcdir) && cp -rp index.html 
> #$(DESTDIR)$(EXAMPLESDIR)) && \
> #		( [ ! -f $(DESTDIR)$(htdocsdir)/index.html ] && cp -p 
> #$(DESTDIR)$(EXAMPLESDIR)/index.html $(DESTDIR)$(htdocsdir)/index.html)
> 
> Comment out the lines like above and then make install will skip over this 
> and complete.



thanks Jason - please respond to the list in the future so other can see 
the fixture.

I suppose commenting out brokenness is a solution.

Cheers,

Noah



> 
> -Jason


More information about the freebsd-questions mailing list