Re: compilation problems on Mandrake 10.1
От | roy vinner |
---|---|
Тема | Re: compilation problems on Mandrake 10.1 |
Дата | |
Msg-id | 42D6BF5B.4010700@indiana.edu обсуждение исходный текст |
Ответ на | Re: compilation problems on Mandrake 10.1 ("Dave Page" <dpage@vale-housing.co.uk>) |
Список | pgadmin-support |
I've deleted the wx library files with x11 reference and everything which seemed relevant. Having done that made no difference in my case: I could compile wxGTK-2.4, wxGTK-2.6.1 and wxGTK snapshot from the cvs depository individually but I cannot compile pgadmin. The same error persists: Dave: Could you, please, pass this e-mail to the developers? Many thanks in advance! Roy [nrgweb@nrg pgadmin3-1.2.2]# make make all-recursive make[1]: Entering directory `/usr/share/pgadmin3-1.2.2' Making all in src make[2]: Entering directory `/usr/share/pgadmin3-1.2.2/src' if g++ -DHAVE_CONFIG_H -I. -I. -I.. -DDATA_DIR=\"/usr/share/pgadmin3/\" -Wall -g -I../src/include -I../src/agent/include -I/usr/include -I/usr/local/lib/wx/include/gtk2-unicode-debug-static-2.6 -I/usr/local/include/wx-2.6 -D__WXDEBUG__ -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -DDATA_DIR=\"/usr/share/pgadmin3/\" -Wall -g -I../src/include -I../src/agent/include -g -O2 -MT ctlSQLBox.o -MD -MP -MF ".deps/ctlSQLBox.Tpo" -c -o ctlSQLBox.o `test -f 'ui/ctlSQLBox.cpp' || echo './'`ui/ctlSQLBox.cpp; \ then mv -f ".deps/ctlSQLBox.Tpo" ".deps/ctlSQLBox.Po"; else rm -f ".deps/ctlSQLBox.Tpo"; exit 1; fi ui/ctlSQLBox.cpp: In constructor `ctlSQLBox::ctlSQLBox()': ui/ctlSQLBox.cpp:296: error: no matching function for call to `wxStyledTextCtrl::wxStyledTextCtrl()' /usr/include/wx/stc/stc.h:1148: note: candidates are: wxStyledTextCtrl::wxStyledTextCtrl(const wxStyledTextCtrl&) /usr/include/wx/stc/stc.h:1162: note: wxStyledTextCtrl::wxStyledTextCtrl(wxWindow*, wxWindowID, const wxPoint&, const wxSize&, long int, const wxString&) ui/ctlSQLBox.cpp: In constructor `ctlSQLBox::ctlSQLBox(wxWindow*, wxWindowID, const wxPoint&, const wxSize&, long int)': ui/ctlSQLBox.cpp:302: error: no matching function for call to `wxStyledTextCtrl::wxStyledTextCtrl()' /usr/include/wx/stc/stc.h:1148: note: candidates are: wxStyledTextCtrl::wxStyledTextCtrl(const wxStyledTextCtrl&) /usr/include/wx/stc/stc.h:1162: note: wxStyledTextCtrl::wxStyledTextCtrl(wxWindow*, wxWindowID, const wxPoint&, const wxSize&, long int, const wxString&) make[2]: *** [ctlSQLBox.o] Error 1 make[2]: Leaving directory `/usr/share/pgadmin3-1.2.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/share/pgadmin3-1.2.2' make: *** [all] Error 2 [nrgweb@nrg pgadmin3-1.2.2]# Dave Page wrote: > > > >>-----Original Message----- >>From: roy vinner [mailto:roypivn@indiana.edu] >>Sent: 14 July 2005 19:14 >>To: Dave Page >>Cc: pgadmin-support@postgresql.org >>Subject: Re: [pgadmin-support] compilation problems on Mandrake 10.1 >> >>So far, simly recompiling wxGTK-2.6.1 is failing. I am >>recompiling wxGTK >>and then trying to make pgadmin. For some reason, 'make >>uninstall' does >>not work, so I am simply re-writing all over again. If that is the >>issue, where should I delete the install files from? > > > Wx installs by default under /usr/local/. You'll find files in the > include/ lib/ and bin/ directories iirc. Tey should be easy to spot - > just delete them to be sure. > > wxGTK 2.6.1 should compile out of the box from a clean tree. If not, try > removing the entire tree, and unpacking a new copy from the original > tarball. If it still fails, you will need to ask the wx list I'm afraid. > > >>There's a note about changing LD_LIBRARY_PATH after 'make install' is >>completed, but I have it already installed and pointing to >>/usr/lib in >>my case. > > > I've never needed to touch LD_LIBRARY_PATH. > > >>Is there any particular version of the cvs build which is better than >>others for Mandrake 10.1? I've downloaded the latest and am >>going to try >>it now. > > > No idea (I'm a Slackware user) - however, I would definitely stick with > 2.6.1 unless advised otherwise by the wx people. The original bug you > ran into is highly unlikely to cause you any noticable issues in pgAdmin > so is definitely better than using an untested CVS version. > > Regards, Dave.
В списке pgadmin-support по дате отправления: