# snaps scripts

- Thread: https://externals.io/message/37520
- Original archive: https://news-web.php.net/php.internals/37520
- Started by Stanislav Malyshev on 2008-05-07T20:13:52+00:00
- Messages: 8
- 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

---

## #37520 — Stanislav Malyshev — 2008-05-07T20:13:52+00:00

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

Hi!

Are the scripts used to build snapshots at snaps.php.net (esp. windows 
ones) publicly available from somewhere?
-- 
Stanislav Malyshev, Zend Software Architect
stas@zend.com   http://www.zend.com/
(408)253-8829   MSN: stas@zend.com

---

## #37523 — Derick Rethans — 2008-05-07T20:21:11+00:00

URL: https://externals.io/message/37520#37523 · In reply to: #37520

> Are the scripts used to build snapshots at snaps.php.net (esp. windows ones)
> publicly available from somewhere?

The windows ones are not made on snaps.php.net, but the script for the 
Unix snaps are in CVS:
http://cvs.php.net/viewvc.cgi/systems/update-snapshots?revision=1.5&view=markup

regards,
Derick

-- 
Derick Rethans
http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org

---

## #37524 — Hannes Magnusson — 2008-05-07T20:22:51+00:00

URL: https://externals.io/message/37520#37524 · In reply to: #37520

> Hi!
>
>  Are the scripts used to build snapshots at snaps.php.net (esp. windows
> ones) publicly available from somewhere?

I don't think any windows build scripts are available anywhere.
The snaps.php.net/index.php is available in systems/snaps_index.php
and the tars are built with systems/update-snapshots (or should at
least).

I believe Pierre, Richard, Elizabeth and Scott did some changes to the
Windows release builds to eliminate a bus factor of one, but I don't
think any "official scripts" exist.

-Hannes

---

## #37525 — Elizabeth M Smith — 2008-05-07T20:25:23+00:00

URL: https://externals.io/message/37520#37525 · In reply to: #37520

Stanislav Malyshev wrote:
> Hi!
> 
> Are the scripts used to build snapshots at snaps.php.net (esp. windows
> ones) publicly available from somewhere?

As far as I know, they're not - however the important stuff is all taken
care of by the makefile and windows configure scripts as long as you use
--enable-snapshot-build when compiling.  That includes detecting a pecl
folder (for pecl extensions) detecting the php_build (windows libraries)
location, and even zipping up the finished product.

The snap scrips just do a cvs checkout, set the environment variables
for the compiler (this varies for every machine) and then calls
buildconf, configure --enable-snapshot-build, and finally nmake snap

The finished builds (which the makefile packages) are then ssh'd into place.

Is there something you need that a cvs checkout and
--enable-snapshot-build can't provide on windows?

Thanks,
Elizabeth Smith

---

## #37526 — Stanislav Malyshev — 2008-05-07T20:29:40+00:00

URL: https://externals.io/message/37520#37526 · In reply to: #37525

Hi!

> As far as I know, they're not - however the important stuff is all taken
> care of by the makefile and windows configure scripts as long as you use
> --enable-snapshot-build when compiling.  That includes detecting a pecl
> folder (for pecl extensions) detecting the php_build (windows libraries)
> location, and even zipping up the finished product.

Thanks! I wasn't aware of --enable-snapshot-build - maybe it will do 
everything I wanted from it, will check.
-- 
Stanislav Malyshev, Zend Software Architect
stas@zend.com   http://www.zend.com/
(408)253-8829   MSN: stas@zend.com

---

## #37529 — Steph Fox — 2008-05-08T00:46:35+00:00

URL: https://externals.io/message/37520#37529 · In reply to: #37526

> Thanks! I wasn't aware of --enable-snapshot-build - maybe it will do 
> everything I wanted from it, will check.

Maybe we need to re-organize configure --help output to put this kind of 
info near the top :)

- Steph

> -- 
> Stanislav Malyshev, Zend Software Architect
> stas@zend.com   http://www.zend.com/
> (408)253-8829   MSN: stas@zend.com

---

## #37533 — Hannes Magnusson — 2008-05-08T07:15:47+00:00

URL: https://externals.io/message/37520#37533 · In reply to: #37529

>
> > […]
> everything I wanted from it, will check.
> > […]
>
>  Maybe we need to re-organize configure --help output to put this kind of
> info near the top :)

...or increase the readability of the windows build manual:
http://no.php.net/manual/en/install.windows.building.php
Currently it does mention the option though: " A very useful configure
option to build snapshots is --enable-snapshot-build, which add a new
compiling mode (nmake build-snap). This tries to build every extension
available (as shared, by default), but it will ignore build errors in
individual extensions or SAPI. "

Given the amount of questions this list has been getting over the last
weeks about Windows building I would really appreciate if someone of
you Windows people could take a look at that manual page and improve
it.

-Hannes

---

## #37535 — Derick Rethans — 2008-05-08T07:18:52+00:00

URL: https://externals.io/message/37520#37535 · In reply to: #37529

> > […]
> 
> Maybe we need to re-organize configure --help output to put this kind of info
> near the top :)

Why? This is something that's not meant for users. The --help output 
should be for users. Although this --enable-snapshot-build should be 
there, it might need to go at the bottom under a new heading "Developer 
Switches" or something. Don't confuse users with switches like this, 
because they think it will be a good idea to use it (whatever the 
reason).

regards,
Derick

-- 
Derick Rethans
http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org
