php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12007 Conflict in ncurses and cpdf?
Submitted: 2001-07-10 08:20 UTC Modified: 2001-10-23 09:14 UTC
From: graeme at inetix dot com dot au Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.0CVS-2001-07-10 OS: Linux -386
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
47 - 29 = ?
Subscribe to this entry?

 
 [2001-07-10 08:20 UTC] graeme at inetix dot com dot au
Using ncurses 5.2.20010318-2 (from Debian unstable) and clibpdf-2.02.

When compiling:

/bin/sh /usr/local/src/build/php4/libtool --silent --mode=compile gcc  -I. -I/usr/local/src/build/php4/main -I/usr/local/src/build/php4/main -I/usr/local/src/build/php4 -I/usr/local/apache/include -I/usr/local/src/build/php4/Zend -I/usr/include/freetype2/freetype -I/usr/include/mysql -I/usr/include/ucd-snmp -I/usr/local/src/build/php4/ext/xml/expat -I/usr/local/src/build/php4/TSRM  -I/usr/local/apache/include -I/usr/local/src/build/php4/Zend -I/usr/include/freetype2/freetype -I/usr/include/mysql -I/usr/include/ucd-snmp -I/usr/include/ucd-snmp -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -g -O2 -prefer-pic  -c internal_functions.c
In file included from /usr/local/src/build/php4/ext/ncurses/php_ncurses.h:23,
                 from internal_functions.c:38:
/usr/include/curses.h:991: warning: `inch' redefined
/usr/local/include/cpdflib.h:83: warning: this is the location of the previous definition
In file included from /usr/local/src/build/php4/ext/ncurses/php_ncurses.h:23,
                 from internal_functions.c:38:
/usr/include/curses.h:487: parse error before `72.0'
make[2]: *** [internal_functions.lo] Error 1
make[2]: Leaving directory `/usr/local/src/build/php4/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/build/php4/main'
make: *** [all-recursive] Error 1

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-10 08:24 UTC] derick@php.net
There is very little we can do about this, as ncurses and cpdflib are both 3rd party libraries.
It's not really a PHP problem either, it exists in all programs that use both ncurses and cpdflib.
I don't know if cpdflib is very well maintained, but if that's the case, the author might want to consider to change this symbol.

I'm suspending this bug for the time being.

Derick
 [2001-10-23 09:14 UTC] sniper@php.net
Not a PHP bug. You should report this to the maintainers
of the ncurses/cpdf libraries.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 04 06:01:35 2024 UTC