Apologies for the long post. Short version: I need help compiling wx-Scinitilla 
on my Mac.

I posted a msg. on the scintilla-interest forum, but that seems to get very 
little use and I'm not sure where else to turn…
I *love* Padre and use it for hours [at work] every day. For years my dev 
platform has been Linux. A few days ago I bought my first ever Mac - the new 
MacBook Pro Retina. It's freakin' unbelievable…

Anyway, I very much want to get Pare working on my new Mac. I'm so close I can 
taste it, but cannot get ax-scintilla to build. All other Padre reps build 
fine, including Alien::wxWidgets and Wx.

What I've done:
- Installed Xcode 4.4 and added the CLI utils bundle (gcc, g++, etc.)
- Installed perlbrew
- Used perlbrew to build perl 5.16.1 (also tried 5.14.2 and 5.17.3, all with 
the same result)

My perl build options:
perlbrew install $1 \
-Dcc=gcc \
-Dld=g++ \
-Dusethreads \
-Duseithreads \
-Duselargefiles \
-Accflags="-isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk"
 \
-Accflags="-mmacosx-version-min=10.6" \
-Accflags="-DUSE_SITECUSTOMIZE -Duselargefiles -fno-merge-constants" \
-Aldflags="-Wl,-search_paths_first" \
-Aldflags="-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
 -mmacosx-version-min=10.6" \
-Alddlflags="-Wl,-search_paths_first" \
-Alddlflags="-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
 -mmacosx-version-min=10.6"

After getting perl working, I do "cpanm install Padre". It all goes well until 
wx-Scinitilla. Note that I have tried building perl as 32-bit, building 
Alien::wxWidgets vs. various widgets versions (2.8.12, 2.9.4), etc. Nothing 
helps.

I see that some binary Mac OS X perl distributions come with Padre, so I /know/ 
what I am trying to do is possible… I just don't have the expertise required to 
debug and make it happen. (I want to stay with perlbrew and am not interested 
in a binary dist.)

For fun I installed SciTE using Mac Ports. It built fine, so I'm guessing I 
just need the right build options?

Any help appreciated!
_______________________________________________
Padre-dev mailing list
Padre-dev@perlide.org
http://mail.perlide.org/mailman/listinfo/padre-dev

Reply via email to