#24703 [Opn->WFx]: failure building sqlite extension

From: Date: Sat, 19 Jul 2003 12:48:48 +0000
Subject: #24703 [Opn->WFx]: failure building sqlite extension
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-44302@lists.php.net to get a copy of this message
 ID:               24703
 Updated by:       sniper@php.net
 Reported By:      php at sjondamon dot org
-Status:           Open
+Status:           Wont fix
 Bug Type:         SQLite related
 Operating System: Windows/Cygwin
 PHP Version:      4.3.2
 New Comment:

You could try the snapshots instead, you might have some non-working
autoconf/etc. there. But in any case, Cygwin is not (and will not be)
on our unwritten supported platforms list.

I committed this small fix though.



Previous Comments:
------------------------------------------------------------------------

[2003-07-18 10:08:45] php at sjondamon dot org

to clarify: os.h => ext/sqlite/libsqlite/src/os.h

------------------------------------------------------------------------

[2003-07-18 10:07:06] php at sjondamon dot org

the patch did help, but then another error appeared.
It seems that /usr/include/cygwin/types.h has off_t defined like
"typedef __off32_t off_t;" where in os.h it's "typedef long long
off_t;", wich caused the next set of errors.

It seems that there's more borked, but then in the whole cygwin/php
region. if I specify --prefix with configure (in /ext/xxx), it still
insists on installing to /usr, and while I used --with-sqlite=shared,
it will only build and install .a files...


I guess it's time for some real unix :)


I have no intension nor knowledge on fixing this, so unless anybody
want's more info, this bug can be closed/suspended/etc.


Sjon.

------------------------------------------------------------------------

[2003-07-18 05:58:56] sniper@php.net

Try this patch:
  
    http://www.php.net/~jani/sqlite_config_m4.patch


------------------------------------------------------------------------

[2003-07-18 05:47:01] wez@php.net

cygwin is not a supported configuration for PHP.
However, if you come up with a patch, it will most likely be comitted.

------------------------------------------------------------------------

[2003-07-18 05:20:52] php at sjondamon dot org

oh, and sqlite version is 1.0, latest from pear.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/24703

-- 
Edit this bug report at http://bugs.php.net/?id=24703&edit=1



Thread (7 messages)

« previous php.bugs (#44302) next »