For Programmers: Free Programming Magazines  


Home > Archive > PHP Programming > June 2007 > ./configure and build with .so libraries









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author ./configure and build with .so libraries
jonas.schnelli

2007-06-28, 7:00 pm

hi all

i'm not a experianced php builder.. :)
but i try to build php with a external mcrypt.so (i only need this
file!)...

the build with --with-mcrypt works fine... even the make test...
but the build "includes" mcrypt instest of creating the file in the
extensions dir.

does anyone knows how i can force ./configure to build the .so file?

thanks

Jerry Stuckle

2007-06-28, 7:00 pm

jonas.schnelli wrote:
> hi all
>
> i'm not a experianced php builder.. :)
> but i try to build php with a external mcrypt.so (i only need this
> file!)...
>
> the build with --with-mcrypt works fine... even the make test...
> but the build "includes" mcrypt instest of creating the file in the
> extensions dir.
>
> does anyone knows how i can force ./configure to build the .so file?
>
> thanks
>


Start by checking all the configure parameters. To build as an
extension, you need to use --with-mcrypt=shared

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
jonas.schnelli

2007-06-28, 7:00 pm

On 28 Jun., 21:19, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> jonas.schnelli wrote:
>
>
>
>
>
> Start by checking all the configure parameters. To build as an
> extension, you need to use --with-mcrypt=shared
>


but how can i set the path... because i uses --with-mcrypt=/path/ for
configure the path to my installed libmcrypt..

any ideas?

Jerry Stuckle

2007-06-28, 7:00 pm

jonas.schnelli wrote:
> On 28 Jun., 21:19, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>
> but how can i set the path... because i uses --with-mcrypt=/path/ for
> configure the path to my installed libmcrypt..
>
> any ideas?
>


Check the configure documentation. ./configure --help, IIRC.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com