Hi,
I tested a fresh install of CitrusPerl and can compile
Device::SerialPort with no problem. Both Unversal and intel only builds
seem OK.
So, to fix your issue:
You are using a u32 (Universal ppc and i386) version of CitrusPerl on
Mac OSX 10.6.8 - Snow Leopard.
You must ensure that the Xcode SDK 10.4u is installed. This is an
optional install when you install XCode. It is available on your
installation CD's.
Alternatively, if you are not interested in having ppc compatibility,
use an i32 (intel only) version of CitrusPerl instead which doesn't
require this SDK.
I suspect either option will solve your Device::SerialPort compilation
problem.
With regard to your original Macports + XRC issue, I'm not an XRC user
so I'm unable to offer any immediate answers. I'll certainly test out
your code samples when I have the opportunity and see if I can pinpoint
the problem.
Regards
Mark
On 19/01/2012 22:00, ademmler wrote:
hi folks,
I am really frustrated. I am hunting since 3 days to get my WxPerl software
working
on Mac OS X 10.6.8 I have send a couple of mails to this list without response.
I tried allready:
1. a fresh perl installation using macports => negative result
2. reinstalling older perl, WxWidgets and WxPerl => negative result
3. reinstalling perl and WxPerl using Alien::WxWidgets => negative result
4. Installing CitrusPerl (for cross testing) => my app launches succsessfully,
but I need Device::SerialPort,
which does not compile on CitrusPerl . . .
SerialPort.c:326: error: ‘NULL’ undeclared (first use in this function)
lipo: can't open input file:
/var/folders/Fe/FezzvIW-ESC0AvDxA7BWEk+++TI/-Tmp-//cct4hP2L.out (No such file
or directory)
make: *** [SerialPort.o] Error 1
I am bit under pressure, because I have a demo of my software on monday.
:-( I need help
thx Alexander