[QScintilla] Another brave soul trying to install Eric4 on OS X

Detlev Offenbach detlev at die-offenbachs.de
Tue Jun 26 18:30:19 BST 2007


On Dienstag, 26. Juni 2007, Dav Clark wrote:
> I'm in the process of compiling and installing Eric4 and dependencies
> on OS X 10.4.9.
>
> The only problem is that there seems to be no install logic for the
> project on OSX.  I also seem to be unable to get qmake to work in
> "unix" mode and "makefile" mode - both of which should work fine
> AFAIK on OS X.
>
> Given that none of the "smart" tools seem to work, I simply went by
> hand and copied the files to places where the system tools would find
> them in /usr/local.
>
> specifically, I copied .../Qt4/build/Release/libqscintilla.dylib to /
> usr/local/lib
>
> (note you will only have this is you built the non-default "Release"
> target)
>
> And then cp -r'd .../Qt4/Qsci to /usr/local/include
>
> Then, when I built PyScintilla, I simply gave '-n /usr/local/include'
> and '-o /usr/local/lib' arguments.  The default place for them is /
> usr/include and /Library/Frameworks.  I suppose you could even leave
> them where they were.  The python items end up in your proper site-
> packages dir...
>
> This kind of information would also give developers on OS X pretty
> much everything they need - why not put this in your documentation
> and expand your potential customer base?
>
> Another gotcha is that the project builds by default in "debug" mode
> on OS X.  You probably don't want that if you're simply using the thing.
>
> Of course, having done that, we're not out of the water yet...
>
> First, eric4's script by default wants pythonw to live in /Library/
> Frameworks/Python.framework/Versions/2.4/bin/pythonw

eric4's installation script uses sys.exec_prefix to generate the code in 
question. If sys.exec_prefix is wrong (i.e. not /usr/local in your case), ask 
the supplier of the Python package. Furthermore, pythonw should be a symlink 
to the correct pythonw executable (e.g. pythonw2.4), if that lives in a 
global directory (like /usr/local/bin).

>
> But, by default, that doesn't exist.  I created a link to my /usr/
> local/bin/pythonw2.4
>
> Then, the system complains of not finding translation files:
>
> Warning: translation file 'qt_en_US'could not be loaded.
> Using default.
> Warning: translation file 'eric4_en_US'could not be loaded.
> Using default.
> Warning: translation file 'qscintilla_en_US'could not be loaded.
> Using default.

You can ignore these. It just means, that there are no translation files 
available for your locale. You can disable the loading of a translation file 
in eric4's configuration dialog, Interface page, Language setting.

>
> I assume these are unecessary.
>
> And, (fingers crossed) everything seems to be working!
>
> Cheers,
> Dav Clark
> 917-544-8408

Regards,
Detlev
-- 
Detlev Offenbach
detlev at die-offenbachs.de


More information about the QScintilla mailing list