Re: Building wxWindows on MacOS X

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Leon Out <leon-lists(at)comvision(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Building wxWindows on MacOS X
Date: 2003-12-10 00:00:06
Message-ID: 3FD66206.4040104@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Leon Out wrote:

> Thanks, Andreas. I got the snapshot recently mentioned here
> (wxWindows-pgAdmin3-20031010-8). wxWindows now builds nicely. However,
> I can't build contrib/src/stc. Here's what happens:
>
> --- BEGIN ERROR ---
> g++ -dynamiclib -single_module -o
> ../../../lib/libwx_mac_stc-2.5.1.0.0.dylib stcdll_PlatWX.o
> stcdll_ScintillaWX.o stcdll_stc.o stcdll_AutoComplete.o
> stcdll_CallTip.o stcdll_CellBuffer.o stcdll_ContractionState.o
> stcdll_Document.o stcdll_DocumentAccessor.o stcdll_Editor.o
> stcdll_ExternalLexer.o stcdll_Indicator.o stcdll_KeyMap.o
> stcdll_KeyWords.o stcdll_LexAVE.o stcdll_LexAda.o stcdll_LexAsm.o
> stcdll_LexBaan.o stcdll_LexBullant.o stcdll_LexCPP.o stcdll_LexCSS.o
> stcdll_LexConf.o stcdll_LexCrontab.o stcdll_LexEiffel.o
> stcdll_LexEScript.o stcdll_LexFortran.o stcdll_LexHTML.o
> stcdll_LexLisp.o stcdll_LexLout.o stcdll_LexLua.o stcdll_LexMMIXAL.o
> stcdll_LexMatlab.o stcdll_LexNsis.o stcdll_LexOthers.o stcdll_LexPOV.o
> stcdll_LexPS.o stcdll_LexPascal.o stcdll_LexPerl.o stcdll_LexPython.o
> stcdll_LexRuby.o stcdll_LexSQL.o stcdll_LexScriptol.o stcdll_LexVB.o
> stcdll_LineMarker.o stcdll_PropSet.o stcdll_RESearch.o
> stcdll_ScintillaBase.o stcdll_Style.o stcdll_StyleContext.o
> stcdll_UniConversion.o stcdll_ViewStyle.o stcdll_WindowAccessor.o
> stcdll_XPM.o -framework Carbon -framework System -L../../../lib
> -install_name /usr/local/lib/libwx_mac_stc-2.5.1.dylib
> -compatibility_version 2.5.1 -current_version 2.5.1 -lwxtiff
> -lwxjpeg -lwxpng -lwxexpat -framework Carbon -framework System -lz
> -lpthread -liconv -lwx_mac_core-2.5 -lwx_base_carbon-2.5
> /usr/bin/libtool: can't locate file for: -lwxtiff
> /usr/bin/libtool: file: -lwxtiff is not an object file (not allowed in
> a library)
> /usr/bin/libtool: can't locate file for: -lwxjpeg
> /usr/bin/libtool: file: -lwxjpeg is not an object file (not allowed in
> a library)
> /usr/bin/libtool: can't locate file for: -lwxpng
> /usr/bin/libtool: file: -lwxpng is not an object file (not allowed in
> a library)
> /usr/bin/libtool: can't locate file for: -lwxexpat
> /usr/bin/libtool: file: -lwxexpat is not an object file (not allowed
> in a library)
> make: *** [../../../lib/libwx_mac_stc-2.5.1.0.0.dylib] Error 1
> --- END ERROR ---
>

Hi Leon,

I'm the wrong person to ask about MacOS, so I post it on
pgadmin-hackers. Actually, I'm not sure if that wx version compiles
successfully at all on MacOS X.

Still, some suspect: Maybe you need some "enable-monolithic" option to
build correctly, wouldn't be the first platform that needs it.

In case you don't get it compiled in any way, and nobody of the Mac guys
can help you, please use a current wx cvs snapshot and try if that
compiles for you. If it does, I can help you further to add needed
patches, and we'll be upgrading our snapshot to get pgadmin3 MacOSX10.3
compatible.

Regards,
Andreas

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Andreas Pflug 2003-12-10 00:10:01 Re: Feature Request
Previous Message Leon Out 2003-12-09 20:54:48 Re: Building wxWindows on MacOS X