This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Pre-ITP: apache/mod_php


Hello,


> From the used ini:

> extension_dir = "./modules"
> enable_dl = On
> extension=bcmath.dll
> extension=bz2.dll
> extension=calendar.dll
> extension=ctype.dll
> extension=curl.dll
> extension=dba.dll
> extension=dbase.dll
> extension=dbx.dll
> extension=dio.dll
> extension=exif.dll
> extension=ftp.dll
> extension=gd.dll
> extension=gettext.dll
> extension=gmp.dll
> extension=iconv.dll
> extension=mbstring.dll
> extension=mcrypt.dll
> extension=mhash.dll
> extension=mysql.dll
> extension=openssl.dll
> extension=pgsql.dll
> extension=posix.dll      
> extension=pspell.dll     
> extension=shmop.dll      
> extension=simplexml.dll  
> extension=soap.dll
> extension=sockets.dll
> extension=sqlite.dll
> extension=tidy.dll  
> extension=tokenizer.dll
> extension=wddx.dll
> extension=xmlrpc.dll
> extension=xsl.dll   


> I'll run make clean && make again now to be sure.

This helped:

$ sapi/cli/php.exe -v -c php.ini
PHP Warning:  PHP Startup: Invalid library (maybe not a PHP library) 'iconv.dll'  in Unknown on line 0
PHP 5.0.1 (cli) (built: Sep 25 2004 05:44:27)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.0.1, Copyright (c) 1998-2004 Zend Technologies

Now as Igor suggested:
$ cygcheck modules/iconv.dll
modules/iconv.dll
  H:\bin\cygwin1.dll
    C:\WINNT\System32\ADVAPI32.DLL
      C:\WINNT\System32\ntdll.dll
      C:\WINNT\System32\KERNEL32.dll
      C:\WINNT\System32\USER32.dll
        C:\WINNT\System32\GDI32.dll
      C:\WINNT\System32\RPCRT4.dll

Hmmm, shouldn't it be linked against libiconv and at least it is
missing the depndency on libphp, all the other modules are fine, e.g.
modules/mhash.dll
  H:\php\php-5.0.1\.libs\cygphp5.dll
    H:\bin\cygcrypt-0.dll
      H:\bin\cygwin1.dll
        C:\WINNT\System32\ADVAPI32.DLL
          C:\WINNT\System32\ntdll.dll
          C:\WINNT\System32\KERNEL32.dll
          C:\WINNT\System32\USER32.dll
            C:\WINNT\System32\GDI32.dll
          C:\WINNT\System32\RPCRT4.dll
    H:\bin\cygiodbc-2.dll
      H:\bin\cygiodbcinst-2.dll
    H:\bin\cygminires.dll
    H:\bin\cygxml2-2.dll
      H:\bin\cygz.dll
      H:\bin\cygiconv-2.dll
  H:\bin\cygmhash-2.dll
    C:\WINNT\System32\msvcrt.dll

Weird.  It is true: mhash is broken?


BTW, my PHP uses libiodbc for the built-in ODBC functions, should I
maintain this as a package?  Since I already have it and PHP seems to
prefer it (I have some other ODBC libraries too), I would contribute
it.


Gerrit
-- 
=^..^=



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]