On Thu, Nov 12, 2009 at 10:32 AM, Eugene Lisitsky <lisitsky@gmail.com> wrote: >> I can't get excited at the thought of cluttering the UI to resolve a >> minor issue. I'd rather we tried to read the pgpass file so we could >> default the password. Not sure how much effort that would take, but we >> can probably lift much of the code from libpq. > > Excellent idea! > How do you write .pgpass now? Using some functions from libpq or with your > own tools only?
Our own code. libpq doesn't have any code to write to pgpass files.
>> > I tried to work with sources, but svn version didn't compile at my >> > computer. >> > Can you help me a little? >> > Compile errors like these: >> > g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/postgresql -DSSL >> > -I/usr/lib/wx/include/base-unicode-release-2.8 -I/usr/include/wx-2.8 >> > -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DwxUSE_GUI=0 >> >> wxUSE_GUI=0 is never going to work. How did you install wxWidgets? > > > I'm working with Ubuntu 9.10 Karmic Koala.
What does wx-config --cflags return ? The fact that you have wxUSE_GUI=0 set will disable 90% of wxWidgets that pgAdmin needs - we need to find out where that's coming from.