Re: pgAdmin3 on Linux

Поиск
Список
Период
Сортировка
От Richard Bacon
Тема Re: pgAdmin3 on Linux
Дата
Msg-id 3F68F012.6060703@dsl.pipex.com
обсуждение исходный текст
Ответ на Re: pgAdmin3 on Linux  ("Dave Page" <dpage@vale-housing.co.uk>)
Ответы Re: pgAdmin3 on Linux  (Richard Bacon <richard.bacon@dsl.pipex.com>)
Список pgadmin-support
Hi Dave,
I've had another go. I hope this doesn't swamp your mail, but I'm a 
little out of my depth here.


root@orthanc wxWindows-20030916 # ./configure --with-gtk --enable-gtk2 
--enable-unicode --disable-shared --enable-debug
...
summary:   Configured wxWindows 2.5.0 for `i686-pc-linux-gnu'
 Which GUI toolkit should wxWindows use?                 GTK Should wxWindows be compiled into single library?       no
ShouldwxWindows be compiled in debug mode?             yes Should wxWindows be linked as a shared library?         no
ShouldwxWindows be compiled in Unicode mode?           yes What level of wxWindows compatibility should be enabled?
                                wxWindows 2.2      no                                      wxWindows 2.4      yes Which
librariesshould wxWindows use?                                      jpeg               sys
       png                sys                                      regex              sys
      tiff               sys                                      zlib               sys
     odbc               no                                      expat              sys
 

root@orthanc wxWindows-20030916 # make
make: Nothing to be done for `all'.
root@orthanc wxWindows-20030916 # make install
/bin/install -c -d @DESTDIR@/usr/local/lib
/bin/install -c -m 644 lib/libwx_baseud-2.5.a @DESTDIR@/usr/local/lib
/bin/install -c -d @DESTDIR@/usr/local/lib
/bin/install -c -m 644 lib/libwx_baseud_net-2.5.a @DESTDIR@/usr/local/lib
/bin/install -c -d @DESTDIR@/usr/local/lib
/bin/install -c -m 644 lib/libwx_gtk2ud_core-2.5.a @DESTDIR@/usr/local/lib
/bin/install -c -d @DESTDIR@/usr/local/lib
/bin/install -c -m 644 lib/libwx_gtk2ud_adv-2.5.a @DESTDIR@/usr/local/lib
/bin/install -c -d @DESTDIR@/usr/local/lib
/bin/install -c -m 644 lib/libwx_gtk2ud_html-2.5.a @DESTDIR@/usr/local/lib
/bin/install -c -d @DESTDIR@/usr/local/lib
/bin/install -c -m 644 lib/libwx_baseud_xml-2.5.a @DESTDIR@/usr/local/lib
/bin/install -c -d @DESTDIR@/usr/local/share/wx/2.5/afm
(cd . ; /bin/install -c -m 644  misc/afm/*.afm 
@DESTDIR@/usr/local/share/wx/2.5/                                                          
afm)
/bin/install -c -d @DESTDIR@/usr/local/share/wx/2.5/gs_afm
(cd . ; /bin/install -c -m 644  misc/gs_afm/*.afm 
@DESTDIR@/usr/local/share/wx/2                                                          
.5/gs_afm)
/bin/install -c -d @DESTDIR@/usr/local/bin
/bin/install -c wxgtk2ud-2.5-config @DESTDIR@/usr/local/bin
(cd @DESTDIR@/usr/local/bin && rm -f wx-config && ln -s 
wxgtk2ud-2.5-config 
wx-c                                                          
onfig)
/bin/install -c -d @DESTDIR@/usr/local/share/locale
for l in ca cs da de el es fi fr hu id it ja nl pl ru sl sv tr uk zh 
zh_CN zh_TW                                                          ; do \
/bin/install -c -d @DESTDIR@/usr/local/share/locale/$l ; \
/bin/install -c -d @DESTDIR@/usr/local/share/locale/$l/LC_MESSAGES ; \
if test -f ./locale/$l.mo ; then \
/bin/install -c -m 644 ./locale/$l.mo 
@DESTDIR@/usr/local/share/locale/$l/LC_MES                                                          
SAGES/wxstd.mo ; \
fi ; \
done
/bin/install -c -d @DESTDIR@/usr/local/share/aclocal
(cd . ; /bin/install -c -m 644  wxwin.m4 @DESTDIR@/usr/local/share/aclocal)
/bin/install -c -d @DESTDIR@/usr/local/lib/wx/include/gtk2ud-2.5/wx
(cd ./ ; /bin/install -c -m 644  lib/wx/include/gtk2ud-2.5/wx/setup.h 
@DESTDIR@/                                                          
usr/local/lib/wx/include/gtk2ud-2.5/wx)
/bin/install -c -d @DESTDIR@/usr/local/include
for f in wx/afterstd.h wx/app.h wx/apptrait.h wx/arrimpl.cpp wx/arrstr.h 
wx/befo                                                          
restd.h wx/buffer.h wx/build.h wx/chkconf.h wx/clntdata.h wx/cmdline.h 
wx/confba                                                          
se.h wx/config.h wx/containr.h wx/datetime.h wx/datetime.inl 
wx/datstrm.h 
wx/dde                                                          
.h wx/debug.h wx/defs.h wx/dir.h wx/dynarray.h wx/dynlib.h wx/dynload.h 
wx/encco                                                          
nv.h wx/event.h wx/features.h wx/ffile.h wx/file.h wx/fileconf.h 
wx/filefn.h wx/                                                          
filename.h wx/filesys.h wx/fontenc.h wx/fontmap.h wx/fs_mem.h 
wx/fs_zip.h 
wx/has                                                          
h.h wx/hashmap.h wx/hashset.h wx/iconloc.h wx/init.h wx/intl.h 
wx/iosfwrap.h wx/                                                          
ioswrap.h wx/ipc.h wx/ipcbase.h wx/isql.h wx/isqlext.h wx/list.h 
wx/listimpl.cpp                                                          wx/log.h wx/longlong.h wx/math.h wx/memconf.h
wx/memory.hwx/memtext.h 
 
wx/mimet                                                          
ype.h wx/module.h wx/msgout.h wx/msgout.h wx/mstream.h wx/object.h 
wx/platform.h                                                          wx/process.h wx/ptr_scpd.h wx/regex.h
wx/scopeguard.hwx/snglinst.h 
 
wx/stopwatc                                                          
h.h wx/strconv.h wx/stream.h wx/string.h wx/sysopt.h wx/textbuf.h 
wx/textfile.h                                                           
wx/thread.h wx/thrimpl.cpp wx/timer.h wx/tokenzr.h wx/txtstrm.h 
wx/types.h wx/ut                                                          
ils.h wx/variant.h wx/vector.h wx/version.h wx/volume.h wx/wfstream.h 
wx/wx.h wx                                                          
/wxchar.h wx/wxprec.h wx/xti.h wx/xtistrm.h wx/zipstrm.h wx/zstream.h 
wx/unix/ap                                                          
ptbase.h wx/unix/apptrait.h wx/unix/execute.h wx/unix/mimetype.h 
wx/unix/pipe.h                                                           
wx/fs_inet.h wx/gsocket.h wx/protocol/file.h wx/protocol/ftp.h 
wx/protocol/http.                                                          
h wx/protocol/protocol.h wx/sckaddr.h wx/sckipc.h wx/sckstrm.h 
wx/socket.h wx/ur                                                          
l.h wx/unix/gsockunx.h wx/xml/xml.h wx/xtixml.h wx/db.h wx/dbkeyg.h 
wx/dbtable.h                                                          wx/bmpbuttn.h wx/brush.h wx/button.h
wx/checkbox.hwx/checklst.h 
 
wx/choicdlg.h                                                           
wx/choice.h wx/cmndata.h wx/combobox.h wx/control.h wx/ctrlsub.h 
wx/cursor.h wx/                                                          
dc.h wx/dcclient.h wx/dcmemory.h wx/dcprint.h wx/dcscreen.h wx/dialog.h 
wx/dirdl                                                          
g.h wx/dragimag.h wx/filedlg.h wx/frame.h wx/gauge.h wx/gdicmn.h 
wx/generic/acce                                                          
l.h wx/generic/choicdgg.h wx/generic/colrdlgg.h wx/generic/dcpsg.h 
wx/generic/di                                                          
rctrlg.h wx/generic/dragimgg.h wx/generic/filedlgg.h 
wx/generic/fontdlgg.h 
wx/ge                                                          
neric/imaglist.h wx/generic/logg.h wx/generic/msgdlgg.h 
wx/generic/notebook.h 
wx                                                          
/generic/panelg.h wx/generic/prntdlgg.h wx/generic/printps.h 
wx/generic/progdlgg                                                          
.h wx/generic/scrolwin.h wx/generic/spinctlg.h wx/generic/splitter.h 
wx/generic/                                                          
textdlgg.h wx/generic/timer.h wx/generic/treectlg.h wx/helphtml.h 
wx/icon.h wx/l                                                          
ayout.h wx/listbox.h wx/mdi.h wx/menu.h wx/msgdlg.h wx/palette.h 
wx/panel.h wx/p                                                          
en.h wx/radiobox.h wx/radiobut.h wx/renderer.h wx/scrolbar.h 
wx/scrolbar.h 
wx/sc
rolwin.h wx/selstore.h wx/settings.h wx/sizer.h wx/slider.h wx/statbmp.h 
wx/stat                                                          
box.h wx/stattext.h wx/statusbr.h wx/textctrl.h wx/textdlg.h 
wx/toolbar.h 
wx/val                                                          
idate.h wx/valtext.h wx/window.h wx/accel.h wx/access.h wx/artprov.h 
wx/bitmap.h                                                          wx/bookctrl.h wx/busyinfo.h wx/caret.h
wx/clipbrd.hwx/cmdproc.h 
 
wx/colordlg.h                                                           
wx/colour.h wx/cshelp.h wx/dataobj.h wx/dcmirror.h wx/dcps.h wx/dialup.h 
wx/dirc                                                          
trl.h wx/display.h wx/dnd.h wx/docmdi.h wx/docview.h wx/effects.h 
wx/evtloop.h w                                                          
x/fdrepdlg.h wx/fmappriv.h wx/font.h wx/fontdlg.h wx/fontenum.h 
wx/fontutil.h wx                                                          
/gdiobj.h wx/geometry.h wx/gifdecod.h wx/glcanvas.h wx/help.h 
wx/helpbase.h 
wx/h                                                          
elpwin.h wx/iconbndl.h wx/imagbmp.h wx/image.h wx/imaggif.h wx/imagiff.h 
wx/imag                                                          
jpeg.h wx/imaglist.h wx/imagpcx.h wx/imagpng.h wx/imagpnm.h 
wx/imagtiff.h 
wx/ima                                                          
gxpm.h wx/listbase.h wx/listbook.h wx/listctrl.h wx/matrix.h 
wx/menuitem.h 
wx/me                                                          
tafile.h wx/minifram.h wx/notebook.h wx/ownerdrw.h wx/paper.h 
wx/popupwin.h 
wx/p                                                          
rint.h wx/printdlg.h wx/prntbase.h wx/progdlg.h wx/ptr_scpd.h 
wx/quantize.h 
wx/r                                                          
awbmp.h wx/region.h wx/scopeguard.h wx/spinbutt.h wx/spinctrl.h 
wx/splitter.h wx                                                          
/stack.h wx/statline.h wx/tab.h wx/tabctrl.h wx/tbarbase.h wx/tglbtn.h 
wx/tipwin                                                          
.h wx/tooltip.h wx/toplevel.h wx/treebase.h wx/treectrl.h wx/valgen.h 
wx/vlbox.h                                                          wx/vms_x_fix.h wx/vscroll.h wx/xpmdecod.h
wx/xpmhand.h
 
wx/generic/caret.h 
wx/un                                                          
ix/fontutil.h wx/unix/utilsx11.h wx/generic/paletteg.h 
wx/generic/dirdlgg.h 
wx/g                                                          
eneric/fdrepdlg.h wx/generic/listctrl.h wx/generic/statusbr.h 
wx/generic/tabg.h                                                           
wx/gtk/accel.h wx/gtk/app.h wx/gtk/bitmap.h wx/gtk/bmpbuttn.h 
wx/gtk/brush.h 
wx/                                                          
gtk/button.h wx/gtk/checkbox.h wx/gtk/checklst.h wx/gtk/choice.h 
wx/gtk/clipbrd. h wx/gtk/colour.h wx/gtk/combobox.h wx/gtk/control.h 
wx/gtk/cursor.h 
wx/gtk/data                                                          
form.h wx/gtk/dataobj.h wx/gtk/dataobj2.h wx/gtk/dc.h wx/gtk/dcclient.h 
wx/gtk/d                                                          
cmemory.h wx/gtk/dcscreen.h wx/gtk/dialog.h wx/gtk/dnd.h 
wx/gtk/filedlg.h 
wx/gtk                                                          
/font.h wx/gtk/fontdlg.h wx/gtk/frame.h wx/gtk/gauge.h wx/gtk/gdiobj.h 
wx/gtk/ic                                                          
on.h wx/gtk/listbox.h wx/gtk/mdi.h wx/gtk/menu.h wx/gtk/menuitem.h 
wx/gtk/minifr                                                          
am.h wx/gtk/msgdlg.h wx/gtk/notebook.h wx/gtk/pen.h wx/gtk/popupwin.h 
wx/gtk/rad                                                          
iobox.h wx/gtk/radiobut.h wx/gtk/region.h wx/gtk/scrolbar.h 
wx/gtk/scrolwin.h 
wx                                                          
/gtk/slider.h wx/gtk/spinbutt.h wx/gtk/spinctrl.h wx/gtk/statbmp.h 
wx/gtk/statbo                                                          
x.h wx/gtk/statline.h wx/gtk/stattext.h wx/gtk/tbargtk.h 
wx/gtk/textctrl.h 
wx/gt                                                          
k/tglbtn.h wx/gtk/timer.h wx/gtk/tooltip.h wx/gtk/toplevel.h 
wx/gtk/treectrl.h 
w                                                          
x/gtk/win_gtk.h wx/gtk/window.h wx/calctrl.h wx/dcbuffer.h 
wx/generic/calctrl.h                                                           
wx/generic/grid.h wx/generic/gridctrl.h wx/generic/gridsel.h 
wx/generic/helpext.                                                          
h wx/generic/laywin.h wx/generic/sashwin.h wx/generic/splash.h 
wx/generic/wizard                                                          
.h wx/grid.h wx/joystick.h wx/laywin.h wx/sashwin.h wx/splash.h 
wx/taskbar.h wx/                                                          
tipdlg.h wx/wave.h wx/wizard.h wx/unix/joystick.h wx/unix/taskbarx11.h 
wx/unix/w                                                          
ave.h wx/html/forcelnk.h wx/html/helpctrl.h wx/html/helpdata.h 
wx/html/helpfrm.h                                                          wx/html/htmlcell.h wx/html/htmldefs.h
wx/html/htmlfilt.h
 
wx/html/htmlpars.h 
wx/                                                          
html/htmlproc.h wx/html/htmltag.h wx/html/htmlwin.h wx/html/htmprint.h 
wx/html/m                                                          
_templ.h wx/html/winpars.h wx/wxhtml.h wx/htmllbox.h wx/gtk/glcanvas.h 
wx/dbgrid                                                          
.h; do \
if test ! -d @DESTDIR@/usr/local/include/`dirname $f` ; then \
/bin/install -c -d @DESTDIR@/usr/local/include/`dirname $f`; \
fi; \
/bin/install -c -m 644 ./include//$f @DESTDIR@/usr/local/include/$f; \
done------------------------------------------------------The installation of wxWindows is finished.  On
certainplatforms(e.g. Linux) you'll now have to run ldconfigif you installed a shared library and also modify
theLD_LIBRARY_PATH(or equivalent) environment variable.wxWindows comes with no guarantees and doesn't claimto be
suitablefor any purpose.Read the wxWindows Licence on licencing
conditions.------------------------------------------------------
root@orthanc wxWindows-20030916 # ldconfig
root@orthanc wxWindows-20030916 # cd contrib/src
root@orthanc src # ls
Makefile     animate  deprecated  gizmos  net  plot  svg
Makefile.in  applet   fl          mmedia  ogl  stc   xrc
root@orthanc src # cd stc
root@orthanc stc # make      
make: Nothing to be done for `all'.
root@orthanc stc # make install
/bin/install -c -d @DESTDIR@/usr/local/lib
/bin/install -c -m 644 ../../../lib/libwx_gtk2ud_stc-2.5.a 
@DESTDIR@/usr/local/l                                                          
ib
/bin/install -c -d @DESTDIR@/usr/local/include
for f in wx/stc/stc.h; do \
if test ! -d @DESTDIR@/usr/local/include/`dirname $f` ; then \
/bin/install -c -d @DESTDIR@/usr/local/include/`dirname $f`; \
fi; \
/bin/install -c -m 644 ./../../include//$f @DESTDIR@/usr/local/include/$f; \
done
root@orthanc stc # ldconfig
root@orthanc stc # cd ../xrc
root@orthanc xrc # make
make: Nothing to be done for `all'.
root@orthanc xrc # make install
/bin/install -c -d @DESTDIR@/usr/local/lib
/bin/install -c -m 644 ../../../lib/libwx_gtk2ud_xrc-2.5.a 
@DESTDIR@/usr/local/l                                                          
ib
/bin/install -c -d @DESTDIR@/usr/local/include
for f in wx/xrc/xmlres.h wx/xrc/xh_all.h wx/xrc/xh_bmp.h 
wx/xrc/xh_bmpbt.h 
wx/xr                                                          
c/xh_bttn.h wx/xrc/xh_cald.h wx/xrc/xh_chckb.h wx/xrc/xh_chckl.h 
wx/xrc/xh_choic                                                          
.h wx/xrc/xh_combo.h wx/xrc/xh_dlg.h wx/xrc/xh_frame.h wx/xrc/xh_gauge.h 
wx/xrc/                                                          
xh_gdctl.h wx/xrc/xh_html.h wx/xrc/xh_listb.h wx/xrc/xh_listc.h 
wx/xrc/xh_menu.h                                                          wx/xrc/xh_notbk.h wx/xrc/xh_panel.h
wx/xrc/xh_radbt.hwx/xrc/xh_radbx.h  
wx/xrc/                                                          
xh_scrol.h wx/xrc/xh_scwin.h wx/xrc/xh_sizer.h wx/xrc/xh_slidr.h 
wx/xrc/xh_spin.                                                          
h wx/xrc/xh_split.h wx/xrc/xh_stbmp.h wx/xrc/xh_stbox.h 
wx/xrc/xh_stlin.h 
wx/xrc                                                          
/xh_sttxt.h wx/xrc/xh_text.h wx/xrc/xh_toolb.h wx/xrc/xh_tree.h 
wx/xrc/xh_unkwn.                                                          
h wx/xrc/xh_wizrd.h; do \
if test ! -d @DESTDIR@/usr/local/include/`dirname $f` ; then \
/bin/install -c -d @DESTDIR@/usr/local/include/`dirname $f`; \
fi; \
/bin/install -c -m 644 ./../../include//$f @DESTDIR@/usr/local/include/$f; \
done
root@orthanc xrc # ldconfig

root@orthanc pgadmin3-0.9.2 # ./configure --enable-static --enable-debug
...
checking for libpq-fe.h... yes
checking pgsql in /usr... ok
checking for wxWindows... yes
configure: error: you need to install the xrc package from 
wxWindows/contrib/src/stc



Dave Page wrote:

>Hi Richard,
>
>
>>-----Original Message-----
>>From: Richard Bacon [mailto:richard.bacon@dsl.pipex.com] 
>>Sent: 17 September 2003 23:35
>>To: pgadmin-support@postgresql.org
>>Subject: Re: [pgadmin-support] pgAdmin3 on Linux
>>
>>
>>hi folks,
>>I'm trying to compile pgadminIII on Gentoo 1.4. I've followed 
>>the advice 
>>in the docs and wxWindows seems to compile fine, I make the contrib 
>>controls and run make install and ldconfig, but when I run 
>>./configure 
>>on pgadmin I get the folowing
>>
>> ./configure --enable-static --enable-debug
>>...
>>configure: error: you need to install the xrc package from 
>>wxWindows/contrib/src/stc
>>
>
>Hmm, there's a typo there that I've just committed a fix for. That error
>should read:
>
>configure: error: you need to install the xrc package from
>wxWindows/contrib/src/xrc
>
>Anyway, it checks for the styled text control first, so presumably found
>that. Did you definately run 'make install' in the
>wxWindows/contrib/src/xrc directory? If so, did it appear to run
>correctly and install ${WX_HOME}/include/wx/xrc/xml.h? 
>
>BTW, are you using our patched version of wxWindows? I ask because I
>have seen some CVS versions in which xrc failed to build - ours should
>be OK though.
>
>
>>it looks like the install is not working, is this because I need to 
>>replace @DESTDIR@ in the Makefiles with something? if so what?
>>
>
>You shouldn't need to modify the Makefiles.
>
>Regards, Dave.
>
>---------------------------(end of broadcast)---------------------------
>TIP 7: don't forget to increase your free space map settings
>
>




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

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: pgAdmin3 on Linux
Следующее
От: Andreas Pflug
Дата:
Сообщение: Re: Debian Alpha (unstable) build produces bad