# Compiling php (installed build directory)

- Thread: https://externals.io/message/21179
- Original archive: https://news-web.php.net/php.internals/21179
- Started by Dragan Stanojevic - Nevidljivi on 2005-12-12T02:16:59+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #21179 — Dragan Stanojevic - Nevidljivi — 2005-12-12T02:16:59+00:00

URL: https://externals.io/message/21179#21179

Hi all,

I'm just trying to figure out various configure options on php-5.1.1.

When I "make install" I get the following files (among others):

/usr/local/lib/php/build/shtool
/usr/local/lib/php/build/config.guess
/usr/local/lib/php/build/config.sub
/usr/local/lib/php/build/phpize.m4
/usr/local/lib/php/build/mkdep.awk
/usr/local/lib/php/build/scan_makefile_in.awk
/usr/local/lib/php/build/libtool.m4
/usr/local/lib/php/build/Makefile.global
/usr/local/lib/php/build/acinclude.m4
/usr/local/lib/php/build/ltmain.sh
/usr/local/lib/php/build/run-tests.php

but when I run the ./configure script as:
./configure --prefix=/usr/local  --libdir=/usr/local/bogus-dir 
--disable-all --with-gnu-ld --quiet

since bogus-dir doesn't exists, those files are not created... Shouldn't 
"make install" make a /usr/local/bogus-dir?

And also, I'm quite interested why are those files needed anyway...

thank you for your time,
N::

---

## #21181 — Pierre — 2005-12-12T03:53:14+00:00

URL: https://externals.io/message/21179#21181 · In reply to: #21179

On Mon, 12 Dec 2005 03:16:59 +0100
invisible@hidden-city.net (Dragan Stanojevic - Nevidljivi) wrote:

> since bogus-dir doesn't exists, those files are not created...
> Shouldn't "make install" make a /usr/local/bogus-dir?

If you do not have special folders for your libs (like lib64), you do
not have to use this option.

For example, on my amd64 box I have to use --with-libdir=/lib64

--Pierre
