On 1/30/07, Nicolas Cannasse <[EMAIL PROTECTED]> wrote:
Hi, thanks for the patch.
I have a few questions before applying it :
Oh, it was just meant as a help to Lars. :-)
- I prefer that static linking for libmysqlclient.a should remain
default. This is because MySQL often change its structure headers so the
runtime library should exactly match the one it was compiled with, or
you will experiment crashes. This can also cause problems if PHP is
loading it's own version of LibMySQL in the same Apache module.
Let's add maybe some parameters to install.neko to turn this off when
compiling for Debian, if ok for you.
That would be great. We don't want any static linking on Debian systems
because it makes security updates a nightmare. For the interested, the
library dependency is generated automatically at package build time and looks
like
Depends: libc6 (>= 2.3.6-6), libgc1c2, libpcre3 (>= 4.5),
libsqlite3-0 (>= 3.3.8), zlib1g (>= 1:1.2.1)
- Why is `pkg-config --cflags apr-1` needed ? How do you ensure that
apr-1 is installed on the system ?
pkg-config is a Debian thing. It provides the right include path and compile
flags.
The libraries that neko depends on is specified somewhere else. For the
interested, it is specified by
Build-Depends: pkg-config, libgc-dev, apache-dev, apache2-dev,
libmysqlclient15-dev | libmysqlclient10-dev,
libsqlite3-dev, libpcre3-dev, libapr1-dev | libapr0-dev
- Could you elaborate on -Wl,-rpath -Wl,/usr/lib/neko usage ?
It hardcodes the library path /usr/lib/neko into the object files, which
removes the problems of setting LDPATH.
- I added /usr/include/apache-1.3 a few days ago on CVS
Great.
- why removing all other directories in search_includes and libraries ?
they are useful for non-Debian on non-Linux systems.
Yes, it is just meant for the Debian package. I just do that to eliminate
possible build failures on the various Debian build machines; One never knows
exactly what is installed on those...
Cheers,
--
Jens Peter Secher.
_DD6A 05B0 174E BFB2 D4D9 B52E 0EE5 978A FE63 E8A1 jpsecher gmail com_.
A. Because it breaks the logical sequence of discussion.
Q. Why is top posting bad?
--
Neko : One VM to run them all
(http://nekovm.org)