Will Wxperl work with a static build ?
For stand-alones on linux I have had success with both PAR & Perlapp using .so files


Gabor Szabo wrote:
I tried to buld wxWidgets with these flags

./configure  --with-gtk --disable-shared --enable-unicode

and got this error in the make phase:

home/szabgab/.perldist_xl/src/wxWidgets-2.8.10/bk-deps g++ -c -o
corelib_gtk_gsockgtk.o -I./.pch/wxprec_corelib -D__WXGTK__
-I./src/tiff     -I./src/regex  -DwxUSE_BASE=0 -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES 
-I/home/szabgab/.perldist_xl/src/wxWidgets-2.8.10/lib/wx/include/gtk2-unicode-release-static-2.8
-I./include -D_REENTRANT -pthread -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/directfb
-I/usr/include/libpng12 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -DWX_PRECOMP -pthread -Wall -Wundef
-Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing ./src/gtk/gsockgtk.cpp
In file included from ./src/gtk/gsockgtk.cpp:21:
./include/wx/gsocket.h:40: error: using typedef-name ‘GSocket’ after ‘class’
/usr/include/glib-2.0/gio/giotypes.h:120: error: ‘GSocket’ has a
previous declaration here
In file included from ./include/wx/gsocket.h:179,
                 from ./src/gtk/gsockgtk.cpp:21:
./include/wx/unix/gsockunx.h:40: error: using typedef-name ‘GSocket’
after ‘class’
/usr/include/glib-2.0/gio/giotypes.h:120: error: ‘GSocket’ has a
previous declaration here
./src/gtk/gsockgtk.cpp: In function ‘void _GSocket_GDK_Input(void*,
gint, GdkInputCondition)’:
./src/gtk/gsockgtk.cpp:34: error: ‘struct _GSocket’ has no member
named ‘Detected_Read’
./src/gtk/gsockgtk.cpp:36: error: ‘struct _GSocket’ has no member
named ‘Detected_Write’
./src/gtk/gsockgtk.cpp: In member function ‘virtual bool
GSocketGUIFunctionsTableConcrete::Init_Socket(GSocket*)’:
./src/gtk/gsockgtk.cpp:56: error: ‘struct _GSocket’ has no member
named ‘m_gui_dependent’
./src/gtk/gsockgtk.cpp:57: error: ‘struct _GSocket’ has no member
named ‘m_gui_dependent’
./src/gtk/gsockgtk.cpp: In member function ‘virtual void
GSocketGUIFunctionsTableConcrete::Destroy_Socket(GSocket*)’:
./src/gtk/gsockgtk.cpp:67: error: ‘struct _GSocket’ has no member
named ‘m_gui_dependent’
./src/gtk/gsockgtk.cpp: In member function ‘virtual void
GSocketGUIFunctionsTableConcrete::Install_Callback(GSocket*,
GSocketEvent)’:
./src/gtk/gsockgtk.cpp:72: error: ‘struct _GSocket’ has no member
named ‘m_gui_dependent’
./src/gtk/gsockgtk.cpp:75: error: ‘struct _GSocket’ has no member named ‘m_fd’
./src/gtk/gsockgtk.cpp:83: error: ‘struct _GSocket’ has no member
named ‘m_server’
./src/gtk/gsockgtk.cpp:90: error: ‘struct _GSocket’ has no member named ‘m_fd’
./src/gtk/gsockgtk.cpp: In member function ‘virtual void
GSocketGUIFunctionsTableConcrete::Uninstall_Callback(GSocket*,
GSocketEvent)’:
./src/gtk/gsockgtk.cpp:98: error: ‘struct _GSocket’ has no member
named ‘m_gui_dependent’
./src/gtk/gsockgtk.cpp:108: error: ‘struct _GSocket’ has no member
named ‘m_server’
make: *** [corelib_gtk_gsockgtk.o] Error 1
szab...@ubuntu-dev:~/.perldist_xl/src/wxWidgets-2.8.10$


I once already managed to build wxWidgets via Alien but now I am
trying to build it --disable-shared

It is Ubuntu 9.10

Gabor


Reply via email to