Installing GtkScintilla on Mac OSX?
| From: | Benjamin Smith | Date: | Sat, 03 Jun 2006 04:14:05 +0000 |
| Subject: | Installing GtkScintilla on Mac OSX? | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-6969@lists.php.net to get a copy of this message | ||
I was successful in getting PHP/GTK1.X running on MacOSX today!! I've put up
an archive of my sources, along with a mostly functional doit.sh script:
http://chico.benjamindsmith.com/phpgtk_osx
I've also updated the wiki to reflect this.
Now, I need to get GtkScintilla to fly. OSX 10.2, gcc 3.1, GtkScintilla 0.8.2,
GTK 1.2.10.
Here's where it bombs:
slippy% gcc -L/opt/SchoolPathways/lib -L/usr/X11R6/lib -lgtk -lgdk -bexpall
-lgmodule -lglib -lXext -lX11 -lm -DGTK gtkscintilla.o
-dynamic ./scintilla/gtk/LexAVE.o ./scintilla/gtk/LexAda.o ./scintilla/gtk/LexBaan.o
./scintilla/gtk/LexBullant.o ./scintilla/gtk/LexCPP.o ./scintilla/gtk/LexConf.o
./scintilla/gtk/LexCrontab.o ./scintilla/gtk/LexEiffel.o ./scintilla/gtk/LexHTML.o
./scintilla/gtk/LexLisp.o ./scintilla/gtk/LexLua.o ./scintilla/gtk/LexOthers.o
./scintilla/gtk/LexPascal.o ./scintilla/gtk/LexPerl.o ./scintilla/gtk/LexPython.o
./scintilla/gtk/LexRuby.o ./scintilla/gtk/LexSQL.o ./scintilla/gtk/LexVB.o
./scintilla/bin/scintilla.a
-lstdc++ -o libgtkscintilla.so.0.8.2
ld: Undefined symbols:
_main
_g_log
_gtk_accel_group_activate
_gtk_container_add
_gtk_container_get_type
_gtk_frame_get_type
gtk_marshal_NONE(int0_t)
_gtk_marshal_NONE__NONE
_gtk_object_class_add_signals
_gtk_signal_connect
_gtk_signal_emit
_gtk_signal_new
_gtk_type_check_class_cast
<SNIP>
_gtk_widget_get_style
_gtk_widget_queue_draw
_gtk_widget_queue_draw_area
_gtk_widget_set_style
_gtk_widget_set_uposition
_gtk_widget_set_usize
_gtk_window_get_type
_gtk_window_set_title
%
Any idea why it would complain about _main when it's being compiled as a
dynamic shared object?
As I'm not much of a c coder, I'm willing to pay if anybody is willing to take
this project and get it done. I have a sacrificial system...
-Ben
--
"The best way to predict the future is to invent it."
- XEROX PARC slogan, circa 1978