Re: getting past wxMac-cvs build?

Поиск
Список
Период
Сортировка
От Florian G. Pflug
Тема Re: getting past wxMac-cvs build?
Дата
Msg-id 42592363.2020405@phlo.org
обсуждение исходный текст
Ответ на getting past wxMac-cvs build?  (OpenMacNews <OpenMacNews@speakeasy.net>)
Ответы [RESOLVED] Re: getting past wxMac-cvs build?  (OpenMacNews <OpenMacNews@speakeasy.net>)
Список pgadmin-hackers
OpenMacNews wrote:
> hi all,
>
> 1st, i know this is not, directly, a pgadmin issue.
>
> i've posted this (er ... similar) issue on wx-dev as well, but as my
> ultimate goal is to 'get to ' pgadminIII on MacOSX *and* there seems to
> be active interest/activity on this list in the same, i'll unabashedly
> crosspost/beg for help *here* ...
>
> i'm diving in to try building the latest wxMac (both v2.5.5 & cvs trunk)
> on OSX 10.3.8 on my powerbook G4 (800 MHz, 1 GB RAM).
>
> after reading <http://www.wxwidgets.org/faqmac.htm#buildx>, a
> simple/successful
> 'configure' with:
>
>        mkdir -p macosx-build
>        cd macosx-build
>
>        ../configure \
>        --prefix=/usr/ports/wxMacINSTALL \
>        --with-mac \
>        --disable-shared \
>        --disable-debug >
> finishes without errors.
I used the following configure command:
CPPFLAGS="-DwxUSE_DEPRECATED=0" ./configure \
    --prefix=/usr/local/wx/2.5.5/static_nodebug \
    --disable-shared \
    --disable-debug \
    --enable-unicode \
    --disable-universal \
    --with-mac

I didn't observe the Rez/DeRez difficulties you had. Which
Version of the DeveloperTools are you using? I'm using
1.5 at the moment
(gcc version 3.3 20030304 (Apple Computer, Inc. build 1671)),
but I believe it worked with 1.2 too...

However - I'd suggest that you write down the arguments to DeRez
that crashed it, kill the process, and try to run it "by hand".
If it still crashes, you could either ktrace it, to see whats going on,
or you just "touch lib/libwx_mac-2.5.5.r", and restart the build.
If you create the file using "touch", make should than decide that
the file doesn't need to be recreated, and just continue with the steps
after the DeRez call.

I don't really get what wx is trying to do with this Rez/DeRez calls, but
to me it looks like the want to combine some ressource-sources
(apprsrc.r,carbrsrc.r and corersrc.r) into one ressource-source. Since
that doesn't seem to be supported by Rez and DeRez, they compile all
those sources into a compiled-ressource, and than decompile the Ressource
into one big ressource-source. Since ressource-sources (*.r files) are
plaintext, you could try to combine than by using "cat file1 file2 file3 > resultfile".

> it seems others *here* have had success with this, so ...
Building wx was very smooth for me...
If you just want to hack on pgadmin, and not on wx, I could
email you the result of my wx build.

greetings, Florian Pflug

Вложения

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Hossein Noorikhah
Дата:
Сообщение: Re: Website translation, a bug in right-to-left languages
Следующее
От: "Florian G. Pflug"
Дата:
Сообщение: [PATCH] PgAdminIII OSX Bundle support - New Version