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


"Gerrit P. Haase" wrote:

> > B) Compiled in cygphp4.dll (bundled libs) / won't work shared:
> > bcmath, calendar, dba (gdbm, cdb, cdb_make, inifile, flatfile), dbase,
> > dbx, dio, exif, filepro, ftp, mysql, pcre, xml
> 
> Why don't these work shared?

I'm not sure.  They build to .dlls fine, but when activated in php.ini I
get the following in error_log:

PHP Warning:  Unknown(): Invalid library (maybe not a PHP library)
'php4_bcmath.dll'  in Unknown on line 0
PHP Warning:  Unknown(): Invalid library (maybe not a PHP library)
'php4_calendar.dll'  in Unknown on line 0
PHP Warning:  Unknown(): Invalid library (maybe not a PHP library)
'php4_dba.dll'  in Unknown on line 0
PHP Warning:  Unknown(): Invalid library (maybe not a PHP library)
'php4_dbase.dll'  in Unknown on line 0
PHP Warning:  Unknown(): Invalid library (maybe not a PHP library)
'php4_dbx.dll'  in Unknown on line 0
PHP Warning:  Unknown(): Invalid library (maybe not a PHP library)
'php4_dio.dll'  in Unknown on line 0
PHP Warning:  Unknown(): Invalid library (maybe not a PHP library)
'php4_exif.dll'  in Unknown on line 0
PHP Warning:  Unknown(): Invalid library (maybe not a PHP library)
'php4_filepro.dll'  in Unknown on line 0
PHP Warning:  Unknown(): Invalid library (maybe not a PHP library)
'php4_ftp.dll'  in Unknown on line 0
PHP Warning:  Unknown(): Invalid library (maybe not a PHP library)
'php4_mysql.dll'  in Unknown on line 0
P

I assumed that it was just the implication of "NOTE: Not all extensions
can be build as 'shared'." that is part of ./configure --help's output. 
It's also noteworthy that all of the above are extensions comprised of
bundled code, not extensions that link to system-libraries.

> Would you like to contribute the mysqlclient package?  I should build
> without problems also with shared libs (of course after relibtoolizing
> and adding the -no-undefined flag).

I'm going to try building it later, and if it's straightforward then I
don't mind maintaining it.

> Isn't is possible to keep the names?  Apache with mod_xyz packages?

Yeah, but I wanted opinions on the package names that have never been in
the Cygwin distribution before, like the php extensions.  And given that
at the moment the only real legacy package is Apache 1.3 I thought it
would be a rare chance to actually plan out the whole layout so that
1.3/2.x and php4/5 etc. doesn't bite later.

Brian


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