# Patch to build shared extensions for Netware

- Thread: https://externals.io/message/16053
- Original archive: https://news-web.php.net/php.internals/16053
- Started by Kamesh Jayachandran on 2005-04-22T08:01:35+00:00
- Messages: 4
- 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

---

## #16053 — Kamesh Jayachandran — 2005-04-22T08:01:35+00:00

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

Hi Jani,
Please apply this patch which enables to build NetWare PHP extensions
using gcc cross compiler.

For 5.0
http://puggy.symonds.net/~kameshj/acinclude.m4.patch.5.0

For 5.1
http://puggy.symonds.net/~kameshj/acinclude.m4.patch.5.1

With regards
Kamesh Jayachandran

---

## #16086 — Jani Taskinen — 2005-04-26T08:21:10+00:00

URL: https://externals.io/message/16053#16086 · In reply to: #16053

Patch applied.

     --Jani




> Hi Jani,
> Please apply this patch which enables to build NetWare PHP extensions
> using gcc cross compiler.
>
> For 5.0
> http://puggy.symonds.net/~kameshj/acinclude.m4.patch.5.0
>
> For 5.1
> http://puggy.symonds.net/~kameshj/acinclude.m4.patch.5.1
>
> With regards
> Kamesh Jayachandran
>
>

-- 
Donate @ http://pecl.php.net/wishlist.php/sniper

---

## #16091 — Kamesh Jayachandran — 2005-04-26T14:16:27+00:00

URL: https://externals.io/message/16053#16091 · In reply to: #16086

Thanks Jani.

Would be great if you can tell me how configure scripts are generated by
snapshot.
Somehow I keep getting the following error while doing a cross compile
on configure that I got from snaps.php.net.

configure: error: can only configure for one host and one target at a
time
I build configure by simple invocation of ./buildconf from my workarea
the resulting ./configure cross compiles perfectly fine. Even ./snapshot
ran on workarea also generates a proper configure files that allows me
to cross compile.

May be if you can suggest whom to contact regarding this is also would
be great.

With regards
Kamesh Jayachandran
On Tue, 26 Apr 2005 11:21:10 +0300 (EEST), "Jani Taskinen"
<sniper@iki.fi> said:
> 
>      Patch applied.
> 
>      --Jani
> 
> 
> 
> 
> > […]
> 
> -- 
> Donate @ http://pecl.php.net/wishlist.php/sniper

---

## #16122 — Kamesh Jayachandran — 2005-04-28T10:27:16+00:00

URL: https://externals.io/message/16053#16122 · In reply to: #16091

Atlast identified the cause of ./configure on cross build failing. 
The cause was autoconf versions. 
In my dev environment I have autoconf version 2.57 whereas snaps.php.net
has autoconf 2.13. 
Fixed NetWare TSRM/threads.m4 to make configure work out of
snaps.php.net release.

With regards
Kamesh Jayachandran
On Tue, 26 Apr 2005 07:16:27 -0700, "Kamesh Jayachandran"
<kameshj@fastmail.fm> said:
> Thanks Jani.
> 
> Would be great if you can tell me how configure scripts are generated by
> snapshot.
> Somehow I keep getting the following error while doing a cross compile
> on configure that I got from snaps.php.net.
> 
> configure: error: can only configure for one host and one target at a
> time
> I build configure by simple invocation of ./buildconf from my workarea
> the resulting ./configure cross compiles perfectly fine. Even ./snapshot
> ran on workarea also generates a proper configure files that allows me
> to cross compile.
> 
> May be if you can suggest whom to contact regarding this is also would
> be great.
> 
> With regards
> Kamesh Jayachandran
> On Tue, 26 Apr 2005 11:21:10 +0300 (EEST), "Jani Taskinen"
> <sniper@iki.fi> said:
> > […]
