Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Apr 2004 15:04:47 -0500
From:      Chris Shenton <chris@shenton.org>
To:        ports@FreeBSD.org
Subject:   Want mod_php4 AND php4-cli but they conflict
Message-ID:  <868yhe2lk0.fsf@PECTOPAH.shenton.org>

next in thread | raw e-mail | index | archive | help
I have mod_php4 installed from ports a couple days ago.  The port
doesn't appear to build the php cli which I also need (why not?).
So I try to build the php4-cli port. Upon install it complains about
conflict:

    chris@PECTOPAH<118> sudo make install
    Password:
    ===>  Installing for php4-cli-4.3.5_7

    ===>  php4-cli-4.3.5_7 conflicts with installed package(s): 
          mod_php4-4.3.4_6,1
          They install files into the same place.
          Please remove them first with pkg_delete(1).
    *** Error code 1

    Stop in /usr/local/ports/lang/php4-cli.
    *** Error code 1

Yeah, I know I have a point-version mismatch.  But I think if I update
mod_php I'd get the same thing. 

How can I have both mod_php4 and php4-cli? I see that the mod_php4
makefile explicitely sets "WITHOUT_CLI" which prevents the CLI build
in the lang/php4 port.

Is there a way to tell any of the php4 port variants (php4, php4-cli,
mod_php4) to install both?

Thanks.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?868yhe2lk0.fsf>