Re: [INTERNALS-WIN] Lib queries - cclient

[email protected] ("Pierre Joye")
Newsgroups php.internals.win
Message-ID <[email protected]>
On Fri, Dec 19, 2008 at 1:39 AM, Steph Fox <[email protected]> wrote:
>> Ah, useful - I hadn't found that page, obviously.
>
> Actually it's not all that useful - how come some of the libs are different
> versions in 5_2? This is the current stable branch, it's hardly legacy just
> yet.

It is stable yes, that's also why we first test newer libraries with 5.3.

> Used to be the same across the board... hence the setup, y'know, /include,
> /lib, /bin. Do I now have to have an /include_52 directory as well as
> /include?

Yes, see below for the details, but typically, we have:

php-sdk
   |_ bin
      all tools and scripts bintools in pecl2
   |_ php_5_2
      |_ x86
         |_ deps
            |_include
            |_lib
      |_ x64
   |_ php_5_3
   |_ php_6


A typical structure can be created using the following command:

phpsdk_buildtree nameofyourtree

(add the bin dir to your path using bin\phpsdk_setvars.bat)

> How do you work around library versioning on your own system?

See :

http://blog.thepimp.net/archives/Slides-for-PHP-World-Kongress,-Munich.html

It shows a typical structure.

-- 
Pierre

http://blog.thepimp.net | http://www.libgd.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.