You are not logged in.

#1 2016-02-18 15:08:48

pensnarik
Member
Registered: 2014-02-16
Posts: 13

makepkg ignores debug option while building pgadmin3

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

#2 2016-02-18 15:16:49

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,365

Re: makepkg ignores debug option while building pgadmin3

The debug flags get added to CFLAGS and CXXFLAGS. If the build ignores those environmental variables, you would end up without debugging symbols.

Offline

#3 2016-02-18 15:30:45

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,193
Website

Re: makepkg ignores debug option while building pgadmin3

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

#4 2016-02-18 15:41:51

pensnarik
Member
Registered: 2014-02-16
Posts: 13

Re: makepkg ignores debug option while building pgadmin3

I think, I shold add '--enable-debug' to configure execution args!

Offline

#5 2016-02-18 16:18:02

pensnarik
Member
Registered: 2014-02-16
Posts: 13

Re: makepkg ignores debug option while building pgadmin3

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.so

Now 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 directory

What am I doing wrong now?

Offline

Board footer

Powered by FluxBB