it compiles find, no problems reported during compile (besides "retun"
ist not known by the compiler ;-) )
Am 12.02.10 17:28, schrieb [email protected]:
Hi,
thanks a lot for helping and your quick responses.
I checked out version 0.9701 of wxPerl now and followed the dependencies
(ExtUtils-XSpp-0.09). I'm still getting errors while compiling wxPerl
but slightly different ones:
bash-3.2$ make
/usr/local/bin/perl script/make_v_cback.pl> cpp/v_cback_def.h
/usr/local/bin/perl script/copy_files.pl files.lst
cp cpp/overload.h blib/lib/Wx/cpp/overload.h
...
Writing 'cpp/ovl_const.h'.
Writing 'cpp/ovl_const.cpp'.
touch overload
cp lib/Wx/RichText.pm ../../blib/lib/Wx/RichText.pm
/usr/local/bin/perl /usr/local/lib/perl5/5.10.1/ExtUtils/xsubpp
-noprototypes -nolinenumbers -typemap
/usr/local/lib/perl5/5.10.1/ExtUtils/typemap -typemap ../../typemap
-typemap typemap RichText.xs> RichText.xsc&& mv RichText.xsc RichText.c
g++ -arch i386 -UWX_PRECOMP -c -I. -I../..
-I/usr/local/lib/wx/include/mac-ansi-release-2.8
-I/usr/local/include/wx-2.8 -fno-common -DPERL_DARWIN -no-cpp-precomp
-arch i386 -nostdinc -B/Developer/SDKs/MacOSX10.5.sdk//usr/include/gcc
-B/Developer/SDKs/MacOSX10.5.sdk//usr/lib/gcc
-isystem/Developer/SDKs/MacOSX10.5.sdk//usr/include
-F/Developer/SDKs/MacOSX10.5.sdk//System/Library/Frameworks
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include
-I/opt/local/include -O3 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\"
"-I/usr/local/lib/perl5/5.10.1/darwin-2level/CORE" -DWXPL_EXT
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXMAC__ RichText.c
RichText.c:122:21: error: exception: No such file or directory
RichText.c: In function ‘void XS_Wx__RichTextEvent_GetFlags(CV*)’:
RichText.c:209: error: expected type-specifier
...
make[2]: *** [RichText.o] Error 1
make[1]: *** [subdirs] Error 2
make: *** [subdirs] Error 2
while line 122 of RichText.c states:
#include<exception>
Probably that new problem isn't related to the original one, the
"exception" header should be standard c++ and it's not being found,
means there's something wrong with my g++ compiler search path?
I keep on investigating further..
I think so. Could you try:
- save this in a test.cpp file
#include<exception>
int main(int, char**)
{
retun 0;
}
- compile it with
g++ test.cpp
and report the results?
Thanks!
Mattia
--
Michael Ziege, eLearning Koordinator, Fachbereich IV
Mathematisch-naturwissenschaftliche Fakultät
der Universität Zürich (MNF)
Winterthurerstr. 190, Y 25 K 08
CH-8057 Zürich
Tel: +41 44 635 5261
Mail: [email protected]
Web: http://www.geo.uzh.ch/elearning