Re: CVS version does not compile

From: Andreas Pflug <Andreas(dot)Pflug(at)web(dot)de>
To: jm(dot)poure(at)freesurf(dot)fr
Cc: pgadmin-hackers(at)postgresql(dot)org, Dave Page <dpage(at)vale-housing(dot)co(dot)uk>, Adam Pendleton <APendleton(at)vgsinc(dot)com>
Subject: Re: CVS version does not compile
Date: 2003-06-20 20:51:20
Message-ID: 3EF373C8.5090509@web.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Jean-Michel POURE wrote:

>Cheers, Jean-Michel
>
>*******************************************
>if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include
>-I/usr/lib/wx/include/gtk2ud-2.5 -D__WXDEBUG__ -D__WXGTK__
>-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include
>-DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall -g -I./include/ -I
>-g -O2 -MT ctlSQLResult.o -MD -MP -MF ".deps/ctlSQLResult.Tpo" \
> -c -o ctlSQLResult.o `test -f 'ui/ctlSQLResult.cpp' || echo
>'./'`ui/ctlSQLResult.cpp; \
>then mv -f ".deps/ctlSQLResult.Tpo" ".deps/ctlSQLResult.Po"; \
>else rm -f ".deps/ctlSQLResult.Tpo"; exit 1; \
>fi
>
>
There are two problems:

- I used "export" as a variable name, not good for gcc.

- Linkage has been changed again. in stead of
LIB=... -L$(WX_HOME)/lib -l wx_gtk2ud_stc -lwc -l wx_gtk2ud_xrc
which will link static or dynamic libraries as appropriate, it now says
LIB=... -l$(WX_HOME)/lib/libwx_gtk2ud_stc.a,
tying it to the static libraries (I dont have them...) This is done for
stc and xrc, not for the base wx lib.

Please revert it back to the flexible solution.

Regards,
Andreas

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2003-06-20 21:04:17 Re: Autoconf options
Previous Message Jean-Michel POURE 2003-06-20 19:08:40 CVS version does not compile