Author Topic: wx-config is not found by configure snd bootstrap  (Read 2502 times)

Offline alexbour

  • Multiple posting newcomer
  • *
  • Posts: 10
wx-config is not found by configure snd bootstrap
« on: March 22, 2017, 04:29:06 pm »
Dear Fellow Code::blockers, I need help on building this great tool on fedora25I'm trying to build codeblocks-16.01.release, but on fetched from svn repo(11029), have absolutely the same problem.
I have wx-config installed in /opt/bin...........and al  libs, headers also are in  /opt. I add /opt/bin to the $PATH  and to the $path, I even try symbolic link in /usr/bin and /usr/local/bin. All the same: bootstrap and configure do not see wx-config.
I'm using next command to configure:
Quote
//configure --with-wx-config=/opt   --with-contrib-plugins=all --prefix=/opt]
The reason I'm using /opt - I have to absolutely isolate my changes to the system.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: wx-config is not found by configure snd bootstrap
« Reply #1 on: March 22, 2017, 04:36:17 pm »
IIRC, this is wrong.

Code
--with-wx-config=/opt

I believe it should be the wx-config command to be used.

Edit1:
But, I normally use "WX_CONFIG_PATH" instead of the option "--with-wx-config".

Code
export WX_CONFIG_PATH="/mingw32/bin/wx-config"


Tim S.
« Last Edit: March 22, 2017, 04:39:13 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Online Commaster

  • Almost regular
  • **
  • Posts: 171
Re: wx-config is not found by configure snd bootstrap
« Reply #2 on: March 22, 2017, 06:34:55 pm »
Yes, the "--with-wx-config" value HAS to end with "/wx-config" and point to the actual wx-config script.