You are not logged in.
I need to build a debug version of pgadmin. I modified PKGBUILD, - added a options=(debug !strip). But makepkg ignores it - I do not see a -g option, for example in build log. Any ideas?
Offline
The debug flags get added to CFLAGS and CXXFLAGS. If the build ignores those environmental variables, you would end up without debugging symbols.
Offline
Mod note: moving to creating/modifying packages.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I think, I shold add '--enable-debug' to configure execution args!
Offline
I've added --enable-debug. Now this build requires a debug version of wxWidgts. A rebuilt wxWidgets with --enable-debug, but it creates a .so files with a letter "d" added to each file:
mutex ~ abs pgadmin3 pacman -Ql wxgtk2.8 | grep so$
wxgtk2.8 /usr/lib/libwx_baseud-2.8.so
wxgtk2.8 /usr/lib/libwx_baseud_net-2.8.so
wxgtk2.8 /usr/lib/libwx_baseud_xml-2.8.so
wxgtk2.8 /usr/lib/libwx_gtk2ud_adv-2.8.so
wxgtk2.8 /usr/lib/libwx_gtk2ud_aui-2.8.so
wxgtk2.8 /usr/lib/libwx_gtk2ud_core-2.8.so
wxgtk2.8 /usr/lib/libwx_gtk2ud_fl-2.8.so
wxgtk2.8 /usr/lib/libwx_gtk2ud_gizmos-2.8.so
wxgtk2.8 /usr/lib/libwx_gtk2ud_gizmos_xrc-2.8.so
wxgtk2.8 /usr/lib/libwx_gtk2ud_gl-2.8.so
wxgtk2.8 /usr/lib/libwx_gtk2ud_html-2.8.so
wxgtk2.8 /usr/lib/libwx_gtk2ud_media-2.8.so
wxgtk2.8 /usr/lib/libwx_gtk2ud_mmedia-2.8.so
wxgtk2.8 /usr/lib/libwx_gtk2ud_ogl-2.8.so
wxgtk2.8 /usr/lib/libwx_gtk2ud_plot-2.8.so
wxgtk2.8 /usr/lib/libwx_gtk2ud_qa-2.8.so
wxgtk2.8 /usr/lib/libwx_gtk2ud_richtext-2.8.so
wxgtk2.8 /usr/lib/libwx_gtk2ud_stc-2.8.so
wxgtk2.8 /usr/lib/libwx_gtk2ud_svg-2.8.so
wxgtk2.8 /usr/lib/libwx_gtk2ud_xrc-2.8.soNow building and running of pgadmin3 fails with this message:
wxrc-2.8: error while loading shared libraries: libwx_baseu_xml-2.8.so.0: cannot open shared object file: No such file or directoryWhat am I doing wrong now?
Offline