| Summary: | lang/php5 - Incorrect pkg-plist for custom apache installation | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | slw |
| Component: | Individual Port(s) | Assignee: | Alex Dupre <ale> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-ports-bugs->ale Over to maintainer (via the GNATS Auto Assign Tool) State Changed From-To: open->closed Sorry, but FreeBSD ports are designed to work in this way. |
For installation w/ Apache from source (not from ports) and install software from ports (for example lang/php5) ports system don't use correct path to APXS (use hardcode path %D/sbin/apxs in pkg-plist) and don't query LIBEXECDIR form APXS (use default from bsd.apache.mk). Result: incorrect pkg-plist w/ wrong path to modules. ==== ===> Building package for php5-5.2.10 Creating package /usr/ports/packages/All/php5-5.2.10.tbz Registering depends: libxml2-2.7.3_1 libiconv-1.13.1 pkg-config-0.23_1. Registering conflicts: php4-4*. Creating bzip'd tar ball in '/usr/ports/packages/All/php5-5.2.10.tbz' tar: libexec/apache/libphp5.so: Cannot stat: No such file or directory tar: Error exit delayed from previous errors. pkg_create: make_dist: tar command failed with code 256 *** Error code 1 Stop in /usr/ports/lang/php5. *** Error code 1 Stop in /usr/ports/lang/php5. ==== Fix: Use ${APXS} -q LIBEXECDIR for path to apache module. Use %%APXS%% in pkg-plist. How-To-Repeat: Install apache from source, not form ports. Make port (for example lang/php5) as apache module and try build package.