Re: [PHP-GTK] php-gtk w/ scintilla

[email protected] (Pablo Dall'Oglio)
Newsgroups php.gtk.general
Message-ID <[email protected]>
Hi Andrei,

Tested, works fine.

Just a problem I faced while compiling with --enable-scintilla.
it complaints there's no more gen_scintilla.c and gen_scintilla.h

I found out that ./cvsclean is removing these files. See:

# ls ext/scintilla/
=======================
config.m4 CVS gen_scintilla.h  libscintilla php_scintilla.c 
sci_generator.php config.w32  gen_scintilla.c  gtkscintilla.h  
Makefile.frag  php_scintilla.h  scintilla.in

# ./cvsclean

# ls ext/scintilla/
=======================
config.m4   CVS libscintilla   php_scintilla.c  sci_generator.php
config.w32  gtkscintilla.h  Makefile.frag  php_scintilla.h  scintilla.in

Another thing that is not working. I know it's not related to you, but
possibilly to Anant is that scintilla is not doing sintax highlight
under linux, just under windows with those binaries from mary.

bests
Pablo


Em Seg, 2007-10-22 às 22:35 -0700, Andrei Zmievski escreveu:
> Committed an untested fix. You'll need to force buildconf to rebuild  
> configure.
> 
> -Andrei
> http://10fathoms.org/vu - daily photoblog
> 
> On Oct 22, 2007, at 5:24 PM, Fernando Correa da Conceição wrote:
> 
> > pablo dalloglio escreveu:
> >> Hello,
> >>
> >> When compiling either php-gtk-2.0.0beta or cvs version **WITH**
> >> --enable-scintila gives me the error below. Removing scintilla,
> >> everything is ok.
> >>
> >> PHP-GTK2 alpha compiled with gtkscintilla (separated, not embed)  
> >> used to
> >> work...
> >>
> >> anybody ?
> >>
> >>
> >> php-gtk2 -v
> >> PHP Warning:  PHP Startup: Unable to load dynamic library
> >> '/usr/local/php-gtk2/lib/php/extensions/no-debug-non-zts-20060613/ 
> >> php_gtk2.so' - /usr/local/php-gtk2/lib/php/extensions/no-debug-non- 
> >> zts-20060613/php_gtk2.so: undefined symbol:  
> >> _ZTVN10__cxxabiv117__class_type_infoE in Unknown on line 0
> >> PHP 5.2.4 (cli) (built: Oct 22 2007 19:26:48) Copyright (c)  
> >> 1997-2007 The PHP Group
> >> Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
> >>
> >>
> > I reported this some time. The message and the fix(note: this is a  
> > copy and past from a previous message):
> >
> > GtkScintilla do not work for me(again...) on linux, using debian  
> > etch(kurumin). There is an undefined reference to a cxx funcion.  
> > This time I have a simple fix, on the line PHP_GTK2_SHARED_LIBADD  
> > in the makefile, add as the last item -lstdc++ . Works for me.
> >
> > Change this AFTER the ./configure --enable-scintilla
> > If you enable mozenbed it will wok, because it add -lstdc++
> >
> > But i do not know the best way to fix this on the makefiles
> >
> > Fernando Correa da Conceição
> >
> > -- 
> > PHP-GTK General Mailing List (http://gtk.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> 
-- 
um abraço!
Pablo Dall'Oglio
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.